diff --git a/src/view/sy_map.vue b/src/view/sy_map.vue index c5db84d..4069fad 100644 --- a/src/view/sy_map.vue +++ b/src/view/sy_map.vue @@ -561,7 +561,7 @@ const addPolygonCounty = () => { choose.value.person == "kjer" ) { console.log(5555555555555555); - getDataBq(cfJd.value, ""); + // getDataBq(cfJd.value, ""); getDataBqs2(cfJd.value, cfCs.value, choose.value.person, false); } else { getDatas("溪口镇", choose.value.person); @@ -833,6 +833,7 @@ const addCsUnChoose = () => { map.removeOverlay(cs_qk_arr.value[index]); }); getDataBqs(cfJd.value, cfCs.value); + getDataBq(cfJd.value, cfCs.value); getDatas2(cfJd.value, choose.value.person, cfCs.value); if ( choose.value.person == "cjr" || @@ -843,7 +844,7 @@ const addCsUnChoose = () => { choose.value.person == "tyjr" || choose.value.person == "kjer" ) { - getDataBq(cfJd.value, cfCs.value); + // getDataBq(cfJd.value, cfCs.value); getDataBqs2(cfJd.value, cfCs.value, choose.value.person, false); } if (choose.value.person == "") { @@ -2473,7 +2474,7 @@ const getDataBq = async (jd, cs) => { tsbqTotal.value.push({ id: idd, name: name, - rksl: res.data[name], + rksl: res.data[name] || 0, }); } }