Browse Source

情报板发布日志由后端处理

wangqin
lau572 1 year ago
parent
commit
4ded31b794
  1. 10
      ruoyi-ui/src/views/JiHeExpressway/mixins/InfoBoard.js

10
ruoyi-ui/src/views/JiHeExpressway/mixins/InfoBoard.js

@ -37,7 +37,7 @@ export default{
displayAreaWidth: +arr[0], displayAreaWidth: +arr[0],
displayAreaHeight: +arr[1] displayAreaHeight: +arr[1]
} }
this.editDialog = { this.editDialog = {
visible: showDialog == false ? false : true, visible: showDialog == false ? false : true,
mode: "toDevice", mode: "toDevice",
@ -80,16 +80,16 @@ export default{
let data = { content: content, deviceId: this.selectedDevice.iotDeviceId } let data = { content: content, deviceId: this.selectedDevice.iotDeviceId }
if (IS_TESTING) { if (IS_TESTING) {
this.saveLog(content); // this.saveLog(content);
this.____getDeviceInfo(); this.____getDeviceInfo();
loading.close() loading.close()
} else { } else {
publishToBoard(data).then(res => { publishToBoard(data).then(res => {
this.saveLog(content); // this.saveLog(content);
this.____getDeviceInfo(); this.____getDeviceInfo();
}).catch(err=>{ }).catch(err=>{
}).finally(()=>{ }).finally(()=>{
loading.close() loading.close()
}); });
@ -138,4 +138,4 @@ export default{
}) })
} }
} }
} }

Loading…
Cancel
Save