diff --git a/ui/dv/AiDvMap.vue b/ui/dv/AiDvMap.vue index e8635a7b..d7edfbc0 100644 --- a/ui/dv/AiDvMap.vue +++ b/ui/dv/AiDvMap.vue @@ -19,7 +19,8 @@ export default { name: 'AiDvMap', props: { geoJson: String, - data: Array + data: Array, + area: String }, data() { return { diff --git a/ui/dv/AiDvRender.vue b/ui/dv/AiDvRender.vue index ed665ba0..ca15e022 100644 --- a/ui/dv/AiDvRender.vue +++ b/ui/dv/AiDvRender.vue @@ -64,7 +64,7 @@ - + @@ -110,7 +110,6 @@ export default { timer: null, dvTableConfig: [], mapDialog: false, - areaId: "" } }, computed: { diff --git a/ui/dv/AiLinkageMap.vue b/ui/dv/AiLinkageMap.vue index 69a766b1..62858d79 100644 --- a/ui/dv/AiLinkageMap.vue +++ b/ui/dv/AiLinkageMap.vue @@ -24,7 +24,7 @@ export default { new DvCompData(this.config, this.instance).getData({type: this.areaId}).then(res => { const json = JSON.parse(res.param) this.mapData = json.map - this.config.summaryConfigs = json.sta?.map(e => ({...e, pos: "rt", display: "summary20"})) || [] + this.config.summaryConfigs = json.sta?.map((e, i) => ({pos: ["rt", "lb", 'lt', 'rb'][i % 4], display: "summary20", ...e})) || [] }) } },