1
0
forked from dyf/dyf-vue-ui

控制中心添加670的控制,大屏页面问题

This commit is contained in:
liub
2025-09-30 12:08:50 +08:00
parent af45e3fda3
commit 4aac36cd4c
6 changed files with 61 additions and 54 deletions

View File

@ -472,6 +472,16 @@ const getList = () => {
Status.sosMode = res.data.staSOSGrade;
Status.staticPower = res.data.staDetectGrade;
Status.lightMode = res.data.staLightGrade;
if(!deviceDetail.value.personnelInfo){
deviceDetail.value.personnelInfo={
'id': null,
'deviceId': null,
'name': null,
'position': null,
'unitName': null,
'code': null
}
}
}
});
};
@ -538,6 +548,8 @@ const sendTextMessage = async () => {
batchId: ''
};
api.SendMessage(json).then((res) => {
if (res.code === 200) {
ElMessage.closeAll();