This commit is contained in:
parent
15077ca978
commit
eaf6e71483
|
@ -914,13 +914,14 @@ const createCustomOverlayJd2 = (polygon, indexx) => {
|
||||||
}
|
}
|
||||||
let num = "";
|
let num = "";
|
||||||
if (choose.value.person == "6666") {
|
if (choose.value.person == "6666") {
|
||||||
|
console.log(1);
|
||||||
num = "swrs";
|
num = "swrs";
|
||||||
} 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") {
|
} 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") {
|
||||||
num = "numbers";
|
num = "numbers";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
num = "number";
|
num = "number";
|
||||||
}
|
}
|
||||||
|
console.log(num);
|
||||||
jdm_number_arr.value[indexx] = new BMapGL.CustomOverlay(createLabelDOM, {
|
jdm_number_arr.value[indexx] = new BMapGL.CustomOverlay(createLabelDOM, {
|
||||||
point: new BMapGL.Point(...polygon.center),
|
point: new BMapGL.Point(...polygon.center),
|
||||||
opacity: 0.5,
|
opacity: 0.5,
|
||||||
|
@ -997,7 +998,7 @@ const createCs2 = (polygon, indexx) => {
|
||||||
let num = "";
|
let num = "";
|
||||||
if (choose.value.person == "6666") {
|
if (choose.value.person == "6666") {
|
||||||
num = "swrs";
|
num = "swrs";
|
||||||
} 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") {
|
} 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") {
|
||||||
num = "numbers";
|
num = "numbers";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
@ -1177,7 +1178,7 @@ const DGcreateCs2 = (polygon, indexx) => {
|
||||||
let num = "";
|
let num = "";
|
||||||
if (choose.value.person == "6666") {
|
if (choose.value.person == "6666") {
|
||||||
num = "swrs";
|
num = "swrs";
|
||||||
} 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") {
|
} 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") {
|
||||||
num = "numbers";
|
num = "numbers";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue