From 1051e09a7c5281908c19a8e94aaaf29744051931 Mon Sep 17 00:00:00 2001 From: zhaohy <1695786511@qq.com> Date: Thu, 29 Aug 2024 15:41:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=86=B7=E7=83=AD=E6=BA=90=E5=AF=B9?= =?UTF-8?q?=E6=8E=A5=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/coldAndHeatSources.ts | 10 + .../coldAndHeatSources/index.vue | 583 ++++++++++++------ .../coldAndHeatSources/position.ts | 111 ++++ .../image/coldAndHeatSources/arrow.svg | 6 + .../image/coldAndHeatSources/sensor.png | Bin 0 -> 6570 bytes .../view/equipmentControl/planToAdd/index.vue | 10 +- lib/component/tree/tree-api.vue | 4 +- 7 files changed, 536 insertions(+), 188 deletions(-) create mode 100644 hx-ai-intelligent/src/api/coldAndHeatSources.ts create mode 100644 hx-ai-intelligent/src/view/equipmentControl/coldAndHeatSources/position.ts create mode 100644 hx-ai-intelligent/src/view/equipmentControl/image/coldAndHeatSources/arrow.svg create mode 100644 hx-ai-intelligent/src/view/equipmentControl/image/coldAndHeatSources/sensor.png diff --git a/hx-ai-intelligent/src/api/coldAndHeatSources.ts b/hx-ai-intelligent/src/api/coldAndHeatSources.ts new file mode 100644 index 0000000..6169a7c --- /dev/null +++ b/hx-ai-intelligent/src/api/coldAndHeatSources.ts @@ -0,0 +1,10 @@ +import { BASE_URL } from './index'; + +export enum coldAndHeatSourcesApi { + getUserWaterPumpState = `${BASE_URL}/api/tempSysCtrl/getUserWaterPumpState`, // 用户水泵查询最新状态 + getLandWaterPumpState = `${BASE_URL}/api/tempSysCtrl/getLandWaterPumpState`, // 地源水泵查询最新状态 + getLandHeatPumpState = `${BASE_URL}/api/tempSysCtrl/getLandHeatPumpState`, //螺旋式地源热泵 - 查询最新状态 + getEnergyTankState = `${BASE_URL}/api/tempSysCtrl/getEnergyTankState`, //冷热水双蓄储能罐 - 查询最新状态 + getCoolPumpState = `${BASE_URL}/api/tempSysCtrl/getCoolPumpState`, //释冷泵 - 查询最新状态 + getAirHeatPumpState = `${BASE_URL}/api/tempSysCtrl/getAirHeatPumpState`, //空气源热泵 - 查询最新状态 +} diff --git a/hx-ai-intelligent/src/view/equipmentControl/coldAndHeatSources/index.vue b/hx-ai-intelligent/src/view/equipmentControl/coldAndHeatSources/index.vue index 8d03c79..c201781 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/coldAndHeatSources/index.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/coldAndHeatSources/index.vue @@ -17,16 +17,40 @@ {{ item.deviceInfoName }}
- 模式: {{ item.type }} + 模式: {{ item.autoStatus.label }}
- 设定温度: {{ item.number }} + 设定温度: {{ item.temp }} {{ item.tempUnit }}
+ +
- + @change="toggleAllSelection" /> -->
水泵
+ + @@ -90,15 +138,17 @@ z-index: 2; " :style="{ left: item.style.mLeft, bottom: item.style.mBottom }"> -
+
{{ item.deviceInfoName }}
-
- 出水温度: {{ item.number }} -
-
- 流量: {{ item.lNumber }} -
@@ -117,17 +167,14 @@ z-index: 2; " :style="{ left: item.style.mLeft, bottom: item.style.mBottom }"> -
+
{{ item.deviceInfoName }}
- 出水温度: {{ item.number }} + 出水温度: {{ item.temp }} {{ item.tempUnit }}
- 容量: {{ item.rNumber }} -
-
- 流量: {{ item.lNumber }} + 容量: {{ item.vol }} {{ item.volUnit }}
{{ item.deviceInfoName }}
+ + @@ -294,13 +360,13 @@ " :style="{ left: item.style.mLeft, bottom: item.style.mBottom }"> + + + +