|
@@ -55,6 +55,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
draw_vector_tdgy_gy_jd(data) {
|
|
|
+ // tdsy.remove();
|
|
|
data.forEach((res) => {
|
|
|
res.type = '国有建设用地完成项目'
|
|
|
if (res.geom) {
|
|
@@ -272,7 +273,14 @@ export default {
|
|
|
// }
|
|
|
|
|
|
Promise.all([QueryList(gy_ju)]).then((values) => {
|
|
|
+ values[0].data.map((res) => {
|
|
|
+ if (res.geom) {
|
|
|
+ res.geom = wellknown.parse(res.geom.split(";")[1]);
|
|
|
+ }
|
|
|
+ })
|
|
|
this.active_dableData = values[0].data
|
|
|
+
|
|
|
+
|
|
|
}).catch((error) => {
|
|
|
console.error(error); // 如果有任何一个 promise 失败,则捕获这个错误
|
|
|
});
|