From 8c9b8f9ffe8788c84347aed3ac132fc0fd024243 Mon Sep 17 00:00:00 2001 From: zhoule Date: Thu, 21 Mar 2024 09:57:52 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E4=BA=A4=E8=B0=83=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Dialogs/Intermodulation/index.vue | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Intermodulation/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Intermodulation/index.vue index 30942903..5c905f9d 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Intermodulation/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Intermodulation/index.vue @@ -16,10 +16,7 @@ - + @@ -160,9 +157,9 @@ export default { } else { this.yData = this.hzYData; } - console.log('xdata', this.xData); - console.log('ydata', this.hzYData); - console.log('rdata', this.jnYData); + // console.log('xdata', this.xData); + // console.log('ydata', this.hzYData); + // console.log('rdata', this.jnYData); setTimeout(() => { this.isShowCar = true; }, 1000) @@ -179,8 +176,8 @@ export default { method: "get", }).then((result) => { if (result.code != 200) return Message.error(result?.msg); - this.objectValue = result.data[0]; - this.carNum = result.data[0]['1']; + this.objectValue = result.data[result.data.length - 1]; + this.carNum = result.data[result.data.length - 1]['1']; result.data.forEach(it => { this.xData.push(moment(it.timestamp).format("HH:mm")); this.hzYData.push(it['1']); From c1f6c851612cccdf01ef65926a7a18c1e89f31e2 Mon Sep 17 00:00:00 2001 From: zhangzhang <1747194829@qq.com> Date: Thu, 21 Mar 2024 11:22:03 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/equipment/type/api.js | 2 +- .../components/Dialogs/Broadcast/index.vue | 2 +- .../Home/components/Dialogs/Camera/index.vue | 2 +- .../Dialogs/DrivingGuidance/index.vue | 2 +- .../Dialogs/FatigueWakesUp/index.vue | 27 +++++++++--- .../Dialogs/GuardrailCollision/index.vue | 4 +- .../Dialogs/Intermodulation/index.vue | 42 +++++++++++-------- .../components/Dialogs/SmartDevice/index.vue | 33 ++++++++++----- .../pages/Home/components/InfoBoard/index.vue | 2 +- 9 files changed, 76 insertions(+), 40 deletions(-) diff --git a/ruoyi-ui/src/api/equipment/type/api.js b/ruoyi-ui/src/api/equipment/type/api.js index 72980505..f4a47dd1 100644 --- a/ruoyi-ui/src/api/equipment/type/api.js +++ b/ruoyi-ui/src/api/equipment/type/api.js @@ -145,7 +145,7 @@ export function listDevicesType() { // 设备在线率统计 export function deviceStatusList(id) { return request({ - url: "/system/status/deviceStatusList?deviceld=" + id, + url: "/system/status/deviceStatusList/" + id, method: "get", }); } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/index.vue index 2cc5b2f8..1c85889a 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Broadcast/index.vue @@ -12,7 +12,7 @@ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue index c1666b0a..6c78bec1 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/Camera/index.vue @@ -27,7 +27,7 @@ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue index 8ba65e9e..2b75466b 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/DrivingGuidance/index.vue @@ -11,7 +11,7 @@ diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/index.vue index 03508f22..22e2b3b1 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/FatigueWakesUp/index.vue @@ -4,11 +4,20 @@