From c574fab55fb86e229de8f2c751e462676d5e863b Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Thu, 19 Oct 2023 16:44:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95bug=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=AC=AC6=E6=B3=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/model/method.js | 11 ++++- src/api/model/paramclass.js | 9 ++++ src/views/model/alert/deviceparamalert.vue | 16 +++---- src/views/model/alert/method.vue | 6 +-- src/views/model/alert/policy.vue | 6 ++- src/views/model/device/index.vue | 2 +- src/views/model/paramclass/index.vue | 50 ++++++++++++++-------- src/views/model/params/index.vue | 27 +++++++----- 8 files changed, 85 insertions(+), 42 deletions(-) diff --git a/src/api/model/method.js b/src/api/model/method.js index 6d200d5..c21d4e6 100644 --- a/src/api/model/method.js +++ b/src/api/model/method.js @@ -59,4 +59,13 @@ export function listMethodNoPage(query) { method: 'get', params: query }) -} \ No newline at end of file +} + +// 查询告警方式列表为去重 +export function listForJudgeRepetition(query) { + return request({ + url: '/model/dcBusiAlertMethod/listForJudgeRepetition', + method: 'get', + params: query + }) +} diff --git a/src/api/model/paramclass.js b/src/api/model/paramclass.js index 612bc17..824fd90 100644 --- a/src/api/model/paramclass.js +++ b/src/api/model/paramclass.js @@ -59,4 +59,13 @@ export function listParamclassNoPage(query) { method: 'get', params: query }) +} + +// 查询参数模型信息列表 +export function listParamclassForRepetition(query) { + return request({ + url: '/model/dcModelParamclass/listParamclassForRepetition', + method: 'get', + params: query + }) } \ No newline at end of file diff --git a/src/views/model/alert/deviceparamalert.vue b/src/views/model/alert/deviceparamalert.vue index f8ce7da..770124f 100644 --- a/src/views/model/alert/deviceparamalert.vue +++ b/src/views/model/alert/deviceparamalert.vue @@ -232,7 +232,7 @@ - + @@ -1212,13 +1212,13 @@ function changeEnabled(row){ } function levelChange(value){ - if(logicCode.value == 'A'){ - dc_alert_level.value.forEach(item=>{ - if(item.value == String(value)){ - formPolicy.value.name = item.label - } - }) - } + // if(logicCode.value == 'A'){ + // dc_alert_level.value.forEach(item=>{ + // if(item.value == String(value)){ + // formPolicy.value.name = item.label + // } + // }) + // } } function toggleFixedColumns() { diff --git a/src/views/model/alert/method.vue b/src/views/model/alert/method.vue index 98e07e8..325b950 100644 --- a/src/views/model/alert/method.vue +++ b/src/views/model/alert/method.vue @@ -141,7 +141,7 @@ @import "@/assets/styles/self-defined.scss";