From 9d48a834a9fa0f604aab0aa5eea9523cb513127a Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Fri, 8 Sep 2023 10:54:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=8A=E8=AD=A6=E8=B0=83=E8=AF=951=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/model/policy.js | 4 +- src/views/model/alert/deviceparamalert.vue | 62 +++++----------------- 2 files changed, 15 insertions(+), 51 deletions(-) diff --git a/src/api/model/policy.js b/src/api/model/policy.js index 7a8803a..2a6ab36 100644 --- a/src/api/model/policy.js +++ b/src/api/model/policy.js @@ -81,11 +81,11 @@ export function listPolicyNoPage(query) { } // 批量修改参数值状态策略 -export function updatePolicyBatch(updateList,deleteList,addList) { +export function updatePolicyBatch(updateList,deleteList,addList,deviceUuid) { return request({ url: '/model/dcBusiAlertParamPolicy/batchUpdate', method: 'put', - data: {"updateList":updateList,"deleteList":deleteList,"addList":addList} + data: {"updateList":updateList,"deleteList":deleteList,"addList":addList,"deviceUuid":deviceUuid} }) } diff --git a/src/views/model/alert/deviceparamalert.vue b/src/views/model/alert/deviceparamalert.vue index 10e1578..92b6ee1 100644 --- a/src/views/model/alert/deviceparamalert.vue +++ b/src/views/model/alert/deviceparamalert.vue @@ -97,21 +97,11 @@ -