|
@@ -501,9 +501,7 @@
|
|
|
initDatas(){
|
|
|
|
|
|
// [预警信息]
|
|
|
- this.yujingList = [
|
|
|
- {itemname: '[设备离线]柔性线打标机离线', time: '2021-11-04 08:41'},
|
|
|
- {itemname: '[设备离线]柔性线机器人离线', time: '2021-11-04 08:57'}
|
|
|
+ this.yujingList = [
|
|
|
];
|
|
|
},
|
|
|
|
|
@@ -589,7 +587,12 @@
|
|
|
let msg = data.feedback ? data.feedback : " 响应超时 ";
|
|
|
let arr = data.createTime;
|
|
|
let time = arr[0] + "-" + arr[1] + "-" + arr[2] + "\t" + arr[3] + ":" + arr[4];
|
|
|
- let itemname = "["+ data.resourceName +"] "+data.procedureName+"("+data.instructionName+")" + msg;
|
|
|
+ let itemname = ""
|
|
|
+ if(data.taskNodeId){
|
|
|
+ itemname = "["+ data.resourceName +"] "+data.procedureName+"("+data.instructionName+")" + msg;
|
|
|
+ }else{
|
|
|
+ itemname = "[监控推送]" + msg;
|
|
|
+ }
|
|
|
if(data.status == '0'){
|
|
|
setTimeout(function(){
|
|
|
that.$notify({
|