From 486085be54a1191c65f3d1ea0711a76b605dd951 Mon Sep 17 00:00:00 2001 From: Joe <1712833832@qq.com> Date: Thu, 18 Jan 2024 09:55:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C=E8=BD=A6=E8=AF=B1=E5=AF=BC=20?= =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/TimeLine/TimeLine2/index.vue | 1 + .../JiHeExpressway/components/Video/index.vue | 3 +- .../JiHeExpressway/images/form/location.svg | 12 ++ .../Dialogs/DrivingGuidance/index.vue | 3 +- .../components/SpecialTable.vue | 3 + .../views/dutyOfficer/index.vue | 113 +++++------------- .../Cards/AuditDetails/index.vue | 9 +- 7 files changed, 58 insertions(+), 86 deletions(-) create mode 100644 ruoyi-ui/src/views/JiHeExpressway/images/form/location.svg diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/index.vue index 89259547..db664bd7 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine2/index.vue @@ -78,6 +78,7 @@ export default { .TimeLine2 { color: #fff; overflow-y: auto; + height: 100%; .node { width: 100%; diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue index 1d4648b5..18e2fb64 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Video/index.vue @@ -20,7 +20,8 @@ export default { }, mounted() { const player = new HttpLivePlayer(this.$refs.videoContainerRef, { camId: this.camId, url: this.url }); - this.$once("hook:beforeDestroy", () => player.destroy()) + + this.$once("hook:beforeDestroy", () => player.destroy()); } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/images/form/location.svg b/ruoyi-ui/src/views/JiHeExpressway/images/form/location.svg new file mode 100644 index 00000000..8e5561ee --- /dev/null +++ b/ruoyi-ui/src/views/JiHeExpressway/images/form/location.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + 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 88c1f41b..b66a1808 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 @@ -91,6 +91,7 @@ export default { dialogData: { immediate: true, handler() { + this.dialogData.roadName = "G35济泽高速"; request({ url: `/business/product/${this.dialogData.product_id}`, method: "get", @@ -124,7 +125,7 @@ export default { .then(({ code, data }) => { if (code != 200) return; - this.dialogData.roadName = data.dc_road; + if (data.dc_road) this.dialogData.roadName = data.dc_road; }) }) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/components/SpecialTable.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/components/SpecialTable.vue index 982c4201..f3408bcd 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/components/SpecialTable.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/components/SpecialTable.vue @@ -107,8 +107,10 @@ export default { } .content { + width: 100%; display: flex; align-items: center; + justify-content: center; flex: 1; } @@ -131,6 +133,7 @@ export default { padding: 24px 18px; .content { + width: 100%; gap: 9px; } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/index.vue index 8e963eda..67d22e46 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/index.vue @@ -43,75 +43,31 @@ {{ data['值班日期'] }} -