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";