|
|
@@ -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) {
|