1
0
forked from dyf/APP

018A初步完成

This commit is contained in:
liub
2026-04-14 15:19:05 +08:00
parent d82ae6445e
commit 01ff9c7a05
43 changed files with 2626 additions and 892 deletions

View File

@ -291,7 +291,8 @@
MsgClose,
MsgWarning,
showPop,
MsgInfo
MsgInfo,
MsgClear
} from '@/utils/MsgPops.js'
const pagePath = "/pages/4877/BJQ4877";
@ -1180,6 +1181,7 @@
if (receive.deviceId !== this.formData.deviceId) {
return;
}
console.log("收到设备的数据", receive)
let data = recei.ReceiveData(receive, device, pagePath, recArr);
console.log("处理后的数据:", data);
@ -1206,6 +1208,7 @@
}
if (msg.length) {
msg = msg.join(",");
MsgClear(these);
this.showMsg(msg);
}
@ -1349,23 +1352,13 @@
},
showMsg(msg, isSucc) {
let icoUrl = '/static/images/common/uploadErr.png';
let borderColor = "#e034344d";
let buttonBgColor = "#E03434";
showMsg(msg, isSucc) {
if (isSucc) {
icoUrl = '/static/images/common/success.png';
borderColor = "#BBE600";
buttonBgColor = "#BBE600";
MsgSuccess(msg,'',this);
}
else{
MsgError(msg,'',this);
}
showPop({
message: msg,
iconUrl: icoUrl,
borderColor: borderColor,
buttonBgColor: buttonBgColor,
buttonText: '确定',
okCallback: null
},this);
}
}
}