From 4718f9b527f49696192bd905e713080be4fd7fdb Mon Sep 17 00:00:00 2001 From: zhoule Date: Thu, 9 May 2024 15:17:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=84=9F=E7=9F=A5=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dialogs/PerceiveEvent/index.vue | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue index 3da4843a..5d3ba978 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Dialogs/PerceiveEvent/index.vue @@ -5,8 +5,8 @@
- - + +
@@ -188,7 +188,16 @@ export default { self.getDetails(); }); }, - async mounted() { }, + async mounted() { + + if (this.dialogData.otherConfig) { + const otherConfig = JSON.parse(this.dialogData.otherConfig); + this.dialogData.videoList = otherConfig.videoList + this.dialogData.pictures = otherConfig.pictures + } + + console.log(1122, this.dialogData, 3344); + }, beforeDestroy() { clearInterval(this.interval); }, @@ -300,8 +309,10 @@ export default { lane: data.lane?.split(",") || [], }; - this.formList[5].options = { options: - WarningSubclassList[data.warningType] || []}; + this.formList[5].options = { + options: + WarningSubclassList[data.warningType] || [] + }; setTimeout(() => { this.$refs.FormConfigRef.reset(true);