From 3f4797f11888aa7c9deba339de2ba9aab776feee Mon Sep 17 00:00:00 2001 From: zch Date: Tue, 3 Dec 2024 17:12:44 +0800 Subject: [PATCH] =?UTF-8?q?add(recordBusbarAlarm):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=94=B5=E6=9F=9C=E4=BF=A1=E6=81=AF=E4=B8=8B=E6=8B=89=E6=A0=91?= =?UTF-8?q?=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 InfoOptions 数组用于存储电柜信息下拉树选项 - 添加左侧树结构筛选框相关属性 - 定义 props 对象以配置树形结构的展示 --- ruoyi-ui/src/views/record/recordBusbarAlarm/index.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ruoyi-ui/src/views/record/recordBusbarAlarm/index.vue b/ruoyi-ui/src/views/record/recordBusbarAlarm/index.vue index 2b985a3..0e291c6 100644 --- a/ruoyi-ui/src/views/record/recordBusbarAlarm/index.vue +++ b/ruoyi-ui/src/views/record/recordBusbarAlarm/index.vue @@ -297,6 +297,17 @@ export default { dicts: ['record_busbar_alarm_is_flag'], data() { return { + + //电柜信息下拉树选项 + InfoOptions: [], + //左侧树结构筛选框 + filterBoxName: undefined, + props:{ + children: 'children', + label: 'label' + /* label: (data) => `(编号${data.code}) ${data.label} `*/ + }, + // 遮罩层 loading: true, // 选中数组