Browse Source

前端页面功能展示

oyq28 2 months ago
parent
commit
8d902fdd3b

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

@@ -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 });
               })
           });
         }

+ 2 - 5
imcs-ui/src/views/zuihou/developer/warnLong/components/View.vue

@@ -1,7 +1,7 @@
 <template>
   <el-dialog
     :title="$t(&quot;common.view&quot;)"
-    width="70%"
+    :width="width"
     :append-to-body="true"
     :visible.sync="isVisible"
     class="tenant-view"
@@ -333,16 +333,13 @@ export default {
     dialogVisible: {
       type: Boolean,
       default: false
-    },
-    width: {
-      type: String,
-      default: '70%'
     }
   },
   data () {
     return {      
       screenWidth: 0,      
       active: 1,
+      width: this.initWidth(),
       dataList: [], 
       storageNodeList:[],
       confirmDisabled: false,

+ 1 - 1
imcs-ui/src/views/zuihou/dispatchMgr/toolQuery/Index.vue

@@ -401,7 +401,7 @@
 		  },
 		  form3:{
             completeBatchNo: "",
-		  },		  
+		  },		    
 		  workflowList:[],
 		  zoneRateList:[],
 		  orderTaskList: [],	     		  

+ 2 - 1
imcs-ui/src/views/zuihou/qualityCenter/qualityResult/Index.vue

@@ -87,6 +87,7 @@
               class="el-icon-download table-operation"
               style="color: #87d068"
               title="下载"
+              v-if="row.measuringReport"
               @click ="downloadReport(row)"
             />
           </el-tooltip>
@@ -157,7 +158,7 @@
         this.queryParams.id = row.id
         measuringOffsetMgrApi.download(this.queryParams).then(response => {
           downloadFile(response)
-        })
+        }).finally(() => this.loading = false)
       },
       fetch (params = {}) {
         this.loading = true