diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue index def75814..d0f92ec8 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/FormConfig/index.vue @@ -60,6 +60,10 @@ export default { * options?: {} * }[] */ + dFormData: { + type: Object, + default: () => {} + }, formList: { type: Array, default: () => [] @@ -95,10 +99,12 @@ export default { } }, }, - // created() { - // this.reset(true); - // console.log("%c [ this.formData ]-82-「index.vue」", "font-size:15px; background:#9c7eed; color:#e0c2ff;", this.formData); - // }, + created() { + this.reset(true); + if(this.dFormData) { + this.modelFormData = this.dFormData; + } + }, computed: { modelFormData: { get() { diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue index 182542e1..dfa86fd5 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/RoadStateCard/index.vue @@ -12,10 +12,10 @@

- -
@@ -61,11 +61,11 @@ export default { type: Array, default: () => ([ { - key: "source", + key: "stringEventSource", label: "来源" }, { - key: "location", + key: "stakeMark", label: "位置" }, { @@ -73,7 +73,7 @@ export default { label: "方向" }, { - key: "time", + key: "startTime", label: "时间" }, ]) @@ -141,7 +141,7 @@ export default { gap: 9px; >div { - flex: 1; + // flex: 1; } } } diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine1/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine1/index.vue index c47194dc..007853cb 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine1/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/TimeLine/TimeLine1/index.vue @@ -1,7 +1,7 @@