From 580d82639d26dcf90c33ec491c57a3ece770cbc9 Mon Sep 17 00:00:00 2001 From: zhaohy <1695786511@qq.com> Date: Mon, 19 Aug 2024 16:15:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=B9=E6=8E=A5=E7=94=B5=E5=8A=A8?= =?UTF-8?q?=E9=97=A8=E6=8E=A5=E5=8F=A3=20=E7=94=B5=E6=A2=AF=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hx-ai-intelligent/src/api/liftSystem.ts | 6 + .../src/view/alarmManagement/energyAlarm/look.vue | 28 ++--- .../view/alarmManagement/equipmentAlarm/look.vue | 28 +++-- .../src/view/alarmManagement/gatewayAlarm/look.vue | 24 ++-- .../src/view/equipmentControl/liftSystem/index.vue | 134 +++++++++------------ .../view/equipmentControl/liftSystem/liftInfo.vue | 42 +++---- .../view/equipmentControl/liftSystem/liftPage.vue | 101 ++++++++-------- .../equipmentControl/liftSystem/liftPosition.ts | 20 ++- .../src/view/equipmentControl/planToAdd/index.vue | 37 ++++-- 9 files changed, 215 insertions(+), 205 deletions(-) create mode 100644 hx-ai-intelligent/src/api/liftSystem.ts diff --git a/hx-ai-intelligent/src/api/liftSystem.ts b/hx-ai-intelligent/src/api/liftSystem.ts new file mode 100644 index 0000000..6cfebb9 --- /dev/null +++ b/hx-ai-intelligent/src/api/liftSystem.ts @@ -0,0 +1,6 @@ +import { BASE_URL } from './index'; + +export enum liftSystemApi { + getDeviceState = `${BASE_URL}/elevatorCtrl/getDeviceState`, // 查询设备最新状态 + getDeviceRecordList = `${BASE_URL}/elevatorCtrl/getDeviceRecordList`, // 查询设备日志列表 +} diff --git a/hx-ai-intelligent/src/view/alarmManagement/energyAlarm/look.vue b/hx-ai-intelligent/src/view/alarmManagement/energyAlarm/look.vue index ae8686b..2db8129 100644 --- a/hx-ai-intelligent/src/view/alarmManagement/energyAlarm/look.vue +++ b/hx-ai-intelligent/src/view/alarmManagement/energyAlarm/look.vue @@ -10,12 +10,13 @@ @close="handleClose">
-
-
-
+
+
告警编号:{{ infoObject.alarmCode }}
-
+
{{ infoObject.updateTime }}
@@ -284,23 +285,18 @@ }); diff --git a/hx-ai-intelligent/src/view/alarmManagement/equipmentAlarm/look.vue b/hx-ai-intelligent/src/view/alarmManagement/equipmentAlarm/look.vue index 3b2c754..af94130 100644 --- a/hx-ai-intelligent/src/view/alarmManagement/equipmentAlarm/look.vue +++ b/hx-ai-intelligent/src/view/alarmManagement/equipmentAlarm/look.vue @@ -10,12 +10,13 @@ @close="handleClose">
-
-
-
+
+
告警编号:{{ infoObject.alarmCode }}
-
+
{{ infoObject.updateTime }}
@@ -34,7 +35,7 @@ }} {{ infoObject.errorCode }} -
{{ infoObject.alarmTitle }}
+
{{ infoObject.alarmTitle }}
{{ infoObject.abnormalDescription }}
{{ infoObject.deviceInfo }} @@ -291,15 +292,18 @@ font-size: @font-size-base; border-bottom: 1px solid @primary-color; } - .card { - position: absolute; - left: 0px; - top: 0px; - width: 5px; + .boxstyle { + width: 100%; height: 35px; - background-color: @primary-color; + display: flex; + position: relative; + color: rgba(51, 51, 51, 1); + font-size: 16px; + font-weight: 700; } :deep(.ant-descriptions-item-label) { - width: 25%; + width: 134px; + text-align: center; + font-weight: 700; } diff --git a/hx-ai-intelligent/src/view/alarmManagement/gatewayAlarm/look.vue b/hx-ai-intelligent/src/view/alarmManagement/gatewayAlarm/look.vue index 70227bf..73256ae 100644 --- a/hx-ai-intelligent/src/view/alarmManagement/gatewayAlarm/look.vue +++ b/hx-ai-intelligent/src/view/alarmManagement/gatewayAlarm/look.vue @@ -11,11 +11,12 @@
-
-
+
告警编号:{{ infoObject.alarmCode }}
-
+
{{ infoObject.updateTime }}
@@ -276,18 +277,13 @@ height: 35px; display: flex; position: relative; - font-size: @font-size-base; - border-bottom: 1px solid @primary-color; - } - .card { - position: absolute; - left: 0px; - top: 0px; - width: 5px; - height: 35px; - background-color: @primary-color; + color: rgba(51, 51, 51, 1); + font-size: 16px; + font-weight: 700; } :deep(.ant-descriptions-item-label) { - width: 25%; + width: 134px; + text-align: center; + font-weight: 700; } diff --git a/hx-ai-intelligent/src/view/equipmentControl/liftSystem/index.vue b/hx-ai-intelligent/src/view/equipmentControl/liftSystem/index.vue index ae1058a..3284438 100644 --- a/hx-ai-intelligent/src/view/equipmentControl/liftSystem/index.vue +++ b/hx-ai-intelligent/src/view/equipmentControl/liftSystem/index.vue @@ -29,9 +29,17 @@