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);