This commit is contained in:
parent
1a4515dd41
commit
2824aae6e8
|
@ -534,7 +534,7 @@ const addPolygonCounty = () => {
|
|||
getDataBq(cfJd.value, "");
|
||||
} else 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") {
|
||||
getDataBq(cfJd.value, "");
|
||||
getDataBqs2(cfJd.value, '', choose.value.person,);
|
||||
getDataBqs2(cfJd.value, cfCs.value, choose.value.person,);
|
||||
console.log(3);
|
||||
} else {
|
||||
console.log(4);
|
||||
|
@ -702,12 +702,11 @@ 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") {
|
||||
getDataBqs2(cfJd.value, cfCs.value, '');
|
||||
getDataBq(cfJd.value, cfCs.value)
|
||||
getDataBqs2(cfJd.value, cfCs.value, choose.value.person);
|
||||
} else {
|
||||
console.log(2, '溪口镇');
|
||||
getDatas2('溪口镇', choose.value.person, cfCs.value);
|
||||
getDataBq(cfJd.value, cfCs.value)
|
||||
}
|
||||
addCsChoose();
|
||||
addCsUnChoose();
|
||||
|
@ -798,7 +797,6 @@ 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);
|
||||
|
@ -2394,9 +2392,8 @@ const getDataBqs = async (jd, cs, bq) => {
|
|||
console.log(mapTownCount, 'mapTownCount');
|
||||
changeRs2(bq);
|
||||
if (jd) {
|
||||
addCs2();
|
||||
getDataBqs2(cfJd.value, cfCs.value, choose.value.person,);
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue