From 96a41957ef1ea05a80c9d068b4e5e948b338e873 Mon Sep 17 00:00:00 2001 From: qingzhengli <1204552371@qq.com> Date: Fri, 19 Apr 2024 09:58:10 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=20=E6=89=B9=E9=87=8F=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=20=E8=A1=8C=E8=BD=A6=E8=AF=B1=E5=AF=BC=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/DeviceControlDialog.vue | 222 +------------ .../components/DeviceParam.vue | 307 ++++++++++++++++++ .../Dialogs/DrivingGuidance/index.vue | 19 +- .../components/DeviceControlDialog.vue | 6 +- .../FatigueWakesUp/components/DeviceParam.vue | 3 +- .../Dialogs/FatigueWakesUp/index.vue | 24 +- .../components/HomeFrameControl/index.vue | 10 +- 7 files changed, 343 insertions(+), 248 deletions(-) create mode 100644 ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceParam.vue diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue index a34a4490..5080769c 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceControlDialog.vue @@ -1,28 +1,12 @@ @@ -115,7 +103,7 @@ export default { if (roadInfo) this.$set(this.data, "roadName", roadInfo.roadName); }, methods: { - handleClickTabs() {}, + handleClickTabs() { }, }, }; @@ -156,7 +144,7 @@ export default { align-items: center; justify-content: end; - > div { + >div { font-size: 16px; padding: 6px 12px; } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue index df3343db..c5fd436f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/HomeFrameControl/index.vue @@ -41,11 +41,16 @@ import { initSearch } from "@screen/utils/enum/common.js" import SmartDeviceParams from "@screen/pages/Home/components/Dialogs/SmartDevice/components/DeviceParamsMulti.vue"; import BroadcastParam from "@screen/pages/Home/components/Dialogs/Broadcast/components/BroadcastParamMulti.vue"; import FatigueWakesUpParam from "@screen/pages/Home/components/Dialogs/FatigueWakesUp/components/DeviceParam.vue"; +import DrivingGuidanceParam from "@screen/pages/Home/components/Dialogs/DrivingGuidance/components/DeviceParam.vue"; + import { DeviceForMap } from "@screen/pages/Home/components/RoadAndEvents/utils/buttonEvent"; -const componentMap = { "设备箱": "SmartDeviceParams", "语音广播": "BroadcastParam", "疲劳唤醒": "FatigueWakesUpParam" } //DeviceTopics[deviceType] -//"情报板": undefined, "行车诱导": undefined, , "合流区": undefined, +const componentMap = { + "设备箱": "SmartDeviceParams", "语音广播": "BroadcastParam", "疲劳唤醒": "FatigueWakesUpParam", + "行车诱导": "DrivingGuidanceParam" +} //DeviceTopics[deviceType] +//"情报板": undefined, , , "合流区": undefined, const hiddenDevices = ["SmartDeviceParams"]; const controlMulti = Object.keys(componentMap);//6种批量控制 const DeviceTopics = {};//6种批量控制 事件专题 {key:label} @@ -79,6 +84,7 @@ export default { SmartDeviceParams, BroadcastParam, FatigueWakesUpParam, + DrivingGuidanceParam, }, data() { return {