|
|
@@ -454,16 +454,16 @@
|
|
|
openMessageTips(data){ //排除数字大屏
|
|
|
if(this.$route.fullPath.indexOf("/largeScreen")<0){
|
|
|
//console.log("接收websocket的推送信息 == ", data)
|
|
|
- if(data!=null && data.type == 'PUSH_TYPE_GLOBAL_EXCEPTION'){
|
|
|
- this.$nextTick(()=> {
|
|
|
+ if(data!=null && data.type == 'PUSH_TYPE_GLOBAL_EXCEPTION'){
|
|
|
+ this.$nextTick(()=> {
|
|
|
let datas = data.data.warnMap.warnData.records
|
|
|
datas.forEach((data)=>{
|
|
|
let msg = data.feedback ? data.feedback : " 响应超时 ";
|
|
|
//let url = data.taskNodeId ? "#/dispatchMgr/exception":"#/developer/warnLong";
|
|
|
let url = "#/developer/warnLong"
|
|
|
let content = "<a href='"+url+"'>"+(data.resourceName? "["+ data.resourceName +"] " : "" )+(data.procedureName? data.procedureName : "")
|
|
|
- + (data.instructionName? "("+data.instructionName+")" : "") + msg+"</a>";
|
|
|
- this.$notification.error(content, { messageIsHTML: true, timer:10, title:"异常警报", showCloseIcn:true });
|
|
|
+ + (data.instructionName? "("+data.instructionName+")" : "") + msg+"</a>";
|
|
|
+ this.$notification.error(content, { messageIsHTML: true, timer:20, title:"异常警报", showCloseIcn:true });
|
|
|
})
|
|
|
});
|
|
|
}
|