diff --git a/.gitignore b/.gitignore index 9dd9cb8..a87c39d 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,5 @@ bin-release/ *.DS_Store node_modules/ package-lock.json -dist/ \ No newline at end of file +dist/ +dist.tar.gz \ No newline at end of file diff --git a/src/api/model/logicconfig.js b/src/api/model/logicconfig.js new file mode 100644 index 0000000..1991da6 --- /dev/null +++ b/src/api/model/logicconfig.js @@ -0,0 +1,53 @@ +import request from '@/utils/request' + +// 查询告警逻辑列表 +export function listLogicconfig(query) { + return request({ + url: '/model/dcBusiAlertLogicConfig/list', + method: 'get', + params: query + }) +} + +// 查询告警逻辑详细 +export function getLogicconfig(id) { + return request({ + url: '/model/dcBusiAlertLogicConfig/' + id, + method: 'get' + }) +} + +// 新增告警逻辑 +export function addLogicconfig(data) { + return request({ + url: '/model/dcBusiAlertLogicConfig', + method: 'post', + data: data + }) +} + +// 修改告警逻辑 +export function updateLogicconfig(data) { + return request({ + url: '/model/dcBusiAlertLogicConfig', + method: 'put', + data: data + }) +} + +// 删除告警逻辑 +export function delLogicconfig(id) { + return request({ + url: '/model/dcBusiAlertLogicConfig/' + id, + method: 'delete' + }) +} + +// 导出告警逻辑 +export function exportLogicconfig(query) { + return request({ + url: '/${baseUrl}/export', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/src/api/model/policy.js b/src/api/model/policy.js index 73e372a..7a8803a 100644 --- a/src/api/model/policy.js +++ b/src/api/model/policy.js @@ -81,11 +81,11 @@ export function listPolicyNoPage(query) { } // 批量修改参数值状态策略 -export function updatePolicyBatch(data) { +export function updatePolicyBatch(updateList,deleteList,addList) { return request({ url: '/model/dcBusiAlertParamPolicy/batchUpdate', method: 'put', - data: data + data: {"updateList":updateList,"deleteList":deleteList,"addList":addList} }) } diff --git a/src/assets/styles/self-defined.scss b/src/assets/styles/self-defined.scss index 7f20b52..6680eb4 100644 --- a/src/assets/styles/self-defined.scss +++ b/src/assets/styles/self-defined.scss @@ -59,7 +59,6 @@ margin-top:10px; } -<<<<<<< Updated upstream .el-step__icon { position: relative; z-index: 1; @@ -90,15 +89,12 @@ width: 0; height: 0; } -======= ->>>>>>> Stashed changes .divsonmarginleft0{ div{ margin-left:0 !important; } } -<<<<<<< Updated upstream .marginbottom{ @@ -184,8 +180,3 @@ display: block; } -======= -.marginbottom{ - margin-bottom: 0 !important; -} ->>>>>>> Stashed changes diff --git a/src/views/model/alert/deviceparamalert.vue b/src/views/model/alert/deviceparamalert.vue index a8c6d83..5c5c242 100644 --- a/src/views/model/alert/deviceparamalert.vue +++ b/src/views/model/alert/deviceparamalert.vue @@ -1,43 +1,54 @@