diff --git a/src/api/model/alertmodel.js b/src/api/model/alertmodel.js index f3a0872..121e040 100644 --- a/src/api/model/alertmodel.js +++ b/src/api/model/alertmodel.js @@ -50,4 +50,14 @@ export function exportModel(query) { method: 'get', params: query }) +} + + +// 查询告警模版列表 +export function listModelEnabledNoPage(query) { + return request({ + url: '/model/dcBusiAlertModel/listEnabledNoPage', + method: 'get', + params: query + }) } \ No newline at end of file diff --git a/src/assets/styles/self-defined.scss b/src/assets/styles/self-defined.scss index ad1eea6..ad26f99 100644 --- a/src/assets/styles/self-defined.scss +++ b/src/assets/styles/self-defined.scss @@ -34,7 +34,7 @@ } .textaligncenter{ - text-align:center; + text-align: center!important; } .textalignleft{ text-align:left; @@ -195,4 +195,5 @@ .el-input__wrapper { box-shadow: 0 0 0 1px var(--el-color-danger) inset; } -} \ No newline at end of file +} + diff --git a/src/views/model/alert/deviceparamalert.vue b/src/views/model/alert/deviceparamalert.vue index 6456d04..524c5c5 100644 --- a/src/views/model/alert/deviceparamalert.vue +++ b/src/views/model/alert/deviceparamalert.vue @@ -185,7 +185,7 @@ - + + + + + + + + + + + + + @@ -224,6 +241,7 @@ + @@ -252,7 +270,7 @@