diff --git a/src/api/model/paramclass.js b/src/api/model/paramclass.js
index b1ffda2..612bc17 100644
--- a/src/api/model/paramclass.js
+++ b/src/api/model/paramclass.js
@@ -50,4 +50,13 @@ export function exportParamclass(query) {
method: 'get',
params: query
})
+}
+
+// 查询参数模型信息列表
+export function listParamclassNoPage(query) {
+ return request({
+ url: '/model/dcModelParamclass/listNoPage',
+ 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 f1c8e55..a62342d 100644
--- a/src/views/model/alert/deviceparamalert.vue
+++ b/src/views/model/alert/deviceparamalert.vue
@@ -89,7 +89,7 @@
-
操作![Image]()
+
中台设备ID
@@ -121,7 +121,7 @@
删除
@@ -649,6 +649,27 @@ function handleDelete() {
}).catch(() => {});
}
+function handleDeleteByRow(row) {
+ let rows = [];
+ let names = "";
+ let _ids = [];
+ rows.push(row);
+ rows.forEach(item=>{
+ _ids.push(item.id);
+ if(names == ""){
+ names = item.deviceName + item.paramName;
+ }else{
+ names = names + "," + item.deviceName + item.paramName;
+ }
+ })
+ proxy.$modal.confirm('是否确认删除设备参数名称为"' + names + '"的数据项?').then(function() {
+ return delAlert(_ids);
+ }).then(() => {
+ getList();
+ proxy.$modal.msgSuccess("删除成功");
+ }).catch(() => {});
+}
+
/** 删除按钮操作 */
function handleDeleteRow(row) {
const _ids = row.id || ids.value;
diff --git a/src/views/model/params/index.vue b/src/views/model/params/index.vue
index 2a27039..c3f94e7 100644
--- a/src/views/model/params/index.vue
+++ b/src/views/model/params/index.vue
@@ -375,7 +375,7 @@