فهرست منبع

报警框处理

oyq28 1 روز پیش
والد
کامیت
58a2bfdc5f
2فایلهای تغییر یافته به همراه21 افزوده شده و 0 حذف شده
  1. 10 0
      imcs-ui/src/api/lineSideLibrary/warnLog.js
  2. 11 0
      imcs-ui/src/views/zuihou/developer/warnLong/Index.vue

+ 10 - 0
imcs-ui/src/api/lineSideLibrary/warnLog.js

@@ -65,6 +65,10 @@ const apiList = {
   nodeCallback: {
     method: 'POST',
     url: `/authority/dispatchException/nodeCallback`
+  },
+  synLineWarn: {
+    method: 'POST',
+    url: `/authority/warnLog/synLineWarn`
   }
 }
 
@@ -178,5 +182,11 @@ export default {
       ...apiList.nodeCallback,
       data
     })
+  },
+  synLineWarn (data) {
+    return axiosApi({
+      ...apiList.synLineWarn,
+      data
+    })
   }
 }

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

@@ -250,6 +250,8 @@
 	  	this.audioStatus = this.$constWKS.OPTTYPE
 	  	// 加载【字典】
 	  	initDicts(['NATION'], this.dicts);
+		// 同步产线警报
+		this.synLineWarn()
 	  	// 加载列表数据
 	  	this.fetch()
 		},
@@ -409,6 +411,15 @@
 	      this.dialog.title = this.$t("common.edit")
 	      this.dialog.isVisible = true
 	    },
+		synLineWarn(){			
+			warnLogApi.synLineWarn({}).then(response => {
+	        const res = response.data
+	        if (res.isSuccess) {
+	          
+	        }
+	      }).finally(() => {})
+
+		},
 	    fetch (params = {}) {
 	      this.loading = true		  
 	      if (this.queryParams.timeRange) {