From 3766b2c0fad7b221582d79e4d865ae2c202e5757 Mon Sep 17 00:00:00 2001 From: baicai <18221243570@163.com> Date: Sun, 26 Oct 2025 22:44:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E4=BF=9D=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/ems.js | 2 + src/views/ems/site/sbbh/AddDevice.vue | 584 ++++++++++++++++++++++++++ src/views/ems/site/sbbh/index.vue | 225 ++++++++++ 3 files changed, 811 insertions(+) create mode 100644 src/views/ems/site/sbbh/AddDevice.vue create mode 100644 src/views/ems/site/sbbh/index.vue diff --git a/src/store/modules/ems.js b/src/store/modules/ems.js index 00678be..a72f0fa 100644 --- a/src/store/modules/ems.js +++ b/src/store/modules/ems.js @@ -18,6 +18,8 @@ const ems = { strategyStatusOptions:{'0':'未启用', '1':'已运行', '2':'已暂停', '3':'禁用', '4':'删除'},//策略状态 chargeStatusOptions:{'1':'充电','2':'待机'},//冲放状态 deviceCategoryOptions:{'PCS':'PCS','STACK':'电池堆','CLUSTER':'电池簇','COOLING':'液冷','BATTERY':'单体电池','AMMETER':'电表'},//设备类别 + comparisonOperatorOptions:{'>':'>','<':'<','=':'=','>=':'>=','<=':'<='}, + relationWithPoint:{'||':'||','&&':'&&'} }, mutations: { SET_ZD_LIST(state, list) { diff --git a/src/views/ems/site/sbbh/AddDevice.vue b/src/views/ems/site/sbbh/AddDevice.vue new file mode 100644 index 0000000..9e5e1ea --- /dev/null +++ b/src/views/ems/site/sbbh/AddDevice.vue @@ -0,0 +1,584 @@ + + + + + + + + + + + + + + + + + + 等级1 + 等级2 + 等级3 + + + + + 保护前提: + + 延时: + + + + + + 新增保护前提 + + + + + + 设备类型 + 点位 + 故障值比较符号 + 故障值 + 释放值比较符号 + 释放值 + 关系 + 操作 + + + + + + + + + handleSelect(v, index, 'protectionSettings')" + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + 删除 + + + + + + + + + 保护方案: + + 延时: + + + + + + 新增保护方案 + + + + + + 设备类型 + 点位 + 故障值比较符号 + 故障值 + 操作 + + + + + + + + + handleSelect(v, index, 'protectionPlan')" + > + + + = + + + + + + + 删除 + + + + + + + + + 取消 + 确定 + + + + + diff --git a/src/views/ems/site/sbbh/index.vue b/src/views/ems/site/sbbh/index.vue new file mode 100644 index 0000000..dbf428f --- /dev/null +++ b/src/views/ems/site/sbbh/index.vue @@ -0,0 +1,225 @@ + + + + + + + + + + + + + + 新增设备 + + + + + + + + 编辑 + + + 删除 + + + + + + + + + + + + +