diff --git a/project/fengdu/AppBIBoard/AppBIBoard.vue b/project/fengdu/AppBIBoard/AppBIBoard.vue index f933aab4..e0980d64 100644 --- a/project/fengdu/AppBIBoard/AppBIBoard.vue +++ b/project/fengdu/AppBIBoard/AppBIBoard.vue @@ -53,7 +53,7 @@
- + @@ -360,7 +360,6 @@ export default { !v && (this.detail = {}) }, areaId(v) { - console.log(v) !!v && this.getData() } }, @@ -372,7 +371,7 @@ export default { this.$refs.fddv.dialog = v }, calcProgress(data = []) { - const value = data.length > 0 ? (data[0].value / data.at(-1).value * 100).toFixed(0) : 0 + const value = data.length > 0 ? (data[0].value / data.at(-1).value * 100 || 0).toFixed(0) : 0 return [{value}] }, watchTablePageChange(c = 0) { @@ -476,6 +475,7 @@ export default { this.instance.post("/app/appintegralsupermarketshop/list", null, {params: {areaId, size: 9999}}).then(res => { if (res?.data) { initMap.then(() => { + this.$refs.map.handleReset() const {records} = res.data this.map.on('click', e => { console.log(e) diff --git a/project/fengdu/AppBIBoard/assets/fdEdge.json b/project/fengdu/AppBIBoard/assets/fdEdge.json index dd7b957b..fc3cf6df 100644 --- a/project/fengdu/AppBIBoard/assets/fdEdge.json +++ b/project/fengdu/AppBIBoard/assets/fdEdge.json @@ -8293,7 +8293,8 @@ ] }, "properties": { - "pid": "500230" + "pid": "500230", + "name": "丰都县" } } ] diff --git a/project/fengdu/AppBIBoard/assets/mapReset.png b/project/fengdu/AppBIBoard/assets/mapReset.png new file mode 100644 index 00000000..53b77891 Binary files /dev/null and b/project/fengdu/AppBIBoard/assets/mapReset.png differ diff --git a/project/fengdu/AppBIBoard/components/fdMap.vue b/project/fengdu/AppBIBoard/components/fdMap.vue index 09b08590..06c0a665 100644 --- a/project/fengdu/AppBIBoard/components/fdMap.vue +++ b/project/fengdu/AppBIBoard/components/fdMap.vue @@ -1,5 +1,8 @@