Forráskód Böngészése

更新弹框展示细节和新增弹框链接

oyq28 3 éve
szülő
commit
b0e0d7ba6a

+ 3 - 2
imcs-ui/src/layout/index.vue

@@ -84,8 +84,9 @@ export default {
               let datas = data.data.warnMap.warnData.records              
               datas.forEach((data)=>{
                   let msg = data.feedback ? data.feedback : " 响应超时 ";
-                  let content = "["+ data.resourceName +"] "+ data.procedureName +"("+data.instructionName+")" + msg;
-                  this.$notification.error(content, { infiniteTimer: false, timer:60, title:"异常警报", showCloseIcn:true });
+                  let content = "<a href='#/developer/warnLong'>"+(data.resourceName? "["+ data.resourceName +"] " : "" )+(data.procedureName? data.procedureName : "")
+                   + (data.instructionName? "("+data.instructionName+")" : "") + msg+"</a>";                  
+                  this.$notification.error(content, { messageIsHTML: true, timer:60, title:"异常警报", showCloseIcn:true });
               })
           });
         }

+ 1 - 1
imcs-ui/src/views/zuihou/developer/warnLong/Index.vue

@@ -101,7 +101,7 @@
       <!-- 处理状态 -->
       <el-table-column prop="optType" :label='$t("developer.table.warnLong.goodsType")' align="center" width="120px">
       	<template slot-scope="{ row }">
-      		    <el-tag v-if="row.status == '0'" type="success">{{$t("developer.common.status.start")}}</el-tag>
+      		    <el-tag v-if="row.status == '0'" type="failed">{{$t("developer.common.status.start")}}</el-tag>
 	      	    <el-tag v-if="row.status == '1'" type="success">{{$t("developer.common.status.end")}}</el-tag>
 					
 		</template>