+
添加报警
@@ -102,9 +104,9 @@
取消
-
+
@@ -123,9 +125,9 @@
+
@@ -191,29 +193,12 @@ export default {
url: '/base/equipment-group-alarm/getCode',
rules: [{ required: true, message: '不能为空', trigger: 'blur' }],
},
- {
- select: true,
- label: '报警类型', // 固定选项
- prop: 'type',
- options: [
- { label: '布尔型', value: 2 },
- { label: '字符型', value: 1 },
- ],
- rules: [{ required: true, message: '不能为空', trigger: 'blur' }],
- },
- ],
- [
{
select: true,
label: '报警级别', // 字典
prop: 'grade',
options: this.getDictDatas(this.DICT_TYPE.EQU_ALARM_LEVEL),
},
- {
- input: true,
- label: '设备报警编码', // 对应到设备实际的报警编码
- prop: 'alarmCode',
- },
],
[
{
@@ -229,6 +214,23 @@ export default {
rules: [{ required: true, message: '不能为空', trigger: 'blur' }],
},
],
+ [
+ {
+ select: true,
+ label: '报警类型', // 固定选项
+ prop: 'type',
+ options: [
+ { label: '布尔型', value: 2 },
+ { label: '字符型', value: 1 },
+ ],
+ rules: [{ required: true, message: '不能为空', trigger: 'blur' }],
+ },
+ {
+ input: true,
+ label: '设备报警编码', // 对应到设备实际的报警编码
+ prop: 'alarmCode',
+ },
+ ],
],
attrQuery: {
params: {
diff --git a/src/views/equipment/base/config/AlarmGroup/components/dialogForm.vue b/src/views/equipment/base/config/AlarmGroup/components/dialogForm.vue
index ec7a67a0..ca8afb7b 100644
--- a/src/views/equipment/base/config/AlarmGroup/components/dialogForm.vue
+++ b/src/views/equipment/base/config/AlarmGroup/components/dialogForm.vue
@@ -23,6 +23,7 @@
@change="$emit('update', dataForm)"
placeholder="请输入报警编码" />
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -122,6 +86,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/equipment/base/config/BindGroup/components/BasicDrawer.vue b/src/views/equipment/base/config/BindGroup/components/BasicDrawer.vue
index bd599044..ea1eab95 100644
--- a/src/views/equipment/base/config/BindGroup/components/BasicDrawer.vue
+++ b/src/views/equipment/base/config/BindGroup/components/BasicDrawer.vue
@@ -29,7 +29,10 @@