From d7ee5ad79f6ce792b5290372ce0c089f36680579 Mon Sep 17 00:00:00 2001 From: Wangxin Date: Wed, 5 Nov 2025 23:09:37 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90web=E3=80=91=20=E9=A2=84=E8=AD=A6?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=8C=E8=A7=A6=E5=8F=91=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/inMonitoring/inMonitor/rules/index.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/inMonitor/rules/index.vue b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/inMonitor/rules/index.vue index ae42d508..0d6e71ec 100644 --- a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/inMonitor/rules/index.vue +++ b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/inMonitor/rules/index.vue @@ -37,7 +37,7 @@ @@ -293,8 +293,8 @@ export default { }, methods: { - findParamName(tableName) { - const item = this.byTableData.find(item => item.tableName == tableName); + findParamName(paramName) { + const item = this.byTableData.find(item => item.paramName == paramName); return item ? item.paramName : ''; }, /** 查询设备列表 */ @@ -344,6 +344,7 @@ export default { } this.form.alertRule.tableName = this.byTableItem.tableName; } + }, // byTableDataChange(val) { // let findData = this.waming_rules.find(item => item.columnName == val) @@ -393,10 +394,10 @@ export default { enable:0 } formData.alertRuleConditionList = [{ - paramName: form.paramName, + paramName: this.byTableItem.paramName, compareValue: form.compareValue2?form.compareValue1+','+form.compareValue2:form.compareValue1, operator: form.operator, - paramType: this.byTableItem.paramType + valueType: this.byTableItem.paramType }] if (this.form.id != undefined) {