This commit is contained in:
汪汇 2024-07-26 16:11:15 +08:00
parent 001ecb89ba
commit 1a4515dd41
1 changed files with 6 additions and 3 deletions

View File

@ -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);