From 1a4515dd41df17807c2bab7897a37c2c73d256d5 Mon Sep 17 00:00:00 2001 From: wanghui Date: Fri, 26 Jul 2024 16:11:15 +0800 Subject: [PATCH] 11 --- src/view/sy_map.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/view/sy_map.vue b/src/view/sy_map.vue index 837dcc6..b492c5b 100644 --- a/src/view/sy_map.vue +++ b/src/view/sy_map.vue @@ -232,6 +232,7 @@ const csh = () => { } goMapCenter([119.178783, 29.034583], 11); getData(); + getDataBq() }; //选中社区 const chooseCsList = ref([]); @@ -594,6 +595,8 @@ const addPolygonCounty = () => { cs_un_choose_arr.value = []; cs_dd_arr.value = []; getData(); + getDataBq() + } } @@ -699,13 +702,12 @@ const addPolygonCountyCs = () => { }); } if (choose.value.person == "cjr" || choose.value.person == "dibian" || choose.value.person == "db" || choose.value.person == "gxy" || choose.value.person == "tnb" || choose.value.person == "tyjr" || choose.value.person == "kjer") { - console.log(1, '溪口镇'); getDataBqs2(cfJd.value, cfCs.value, ''); + getDataBq(cfJd.value, cfCs.value) } else { console.log(2, '溪口镇'); - getDatas2('溪口镇', choose.value.person, cfCs.value); - + getDataBq(cfJd.value, cfCs.value) } addCsChoose(); addCsUnChoose(); @@ -796,6 +798,7 @@ const addCsUnChoose = () => { map.removeOverlay(cs_qk_arr.value[index]); }); getDatas2(cfJd.value, choose.value.person, cfCs.value); + getDataBq(cfJd.value, cfCs.value) if (choose.value.person == "") { cs_dd_arr.value.map((item, index) => { DGcreateCs(item, index);