diff --git a/src/views/sponeScreen/projectHM/ProjectDisplay_1.vue b/src/views/sponeScreen/projectHM/ProjectDisplay_1.vue index 3b7e523..ff77f41 100644 --- a/src/views/sponeScreen/projectHM/ProjectDisplay_1.vue +++ b/src/views/sponeScreen/projectHM/ProjectDisplay_1.vue @@ -71,7 +71,6 @@ if (code == 200) { //newfiberMap.removeByIds(['projectBoundaryLayers', 'haimianFacility']); listDataXm.value = data; - console.log(typeof p); // if (!p || !p.projectTypeId) { // newfiberMap.setLayersVisible(['HMJZYSQ', 'HMXDLGC', 'HMXGYLD', 'HMXSX', 'GWPCYXF', 'GWJBZ', 'GIS'], true); //全部 // } else if (p.projectTypeId == '1701128641279070210') { @@ -128,6 +127,8 @@ name: element.projectAbbreviation, projectName: element.projectName, projectNo: element.projectNo, + projectLocation: element.projectLocation, + id: element.id, }, }; if (element.projectrange.includes('POINT')) { @@ -206,6 +207,7 @@ ]) .filter(i => !!i.layer.id)[0]; let properties = feature.properties; + ProjectClick(properties); console.log('feature--', '海绵项目点击事件', properties); }); // newfiberMap.setCenter({ diff --git a/src/views/sponeScreen/projectHM/ProjectDisplay_1.vue b/src/views/sponeScreen/projectHM/ProjectDisplay_1.vue index 3b7e523..ff77f41 100644 --- a/src/views/sponeScreen/projectHM/ProjectDisplay_1.vue +++ b/src/views/sponeScreen/projectHM/ProjectDisplay_1.vue @@ -71,7 +71,6 @@ if (code == 200) { //newfiberMap.removeByIds(['projectBoundaryLayers', 'haimianFacility']); listDataXm.value = data; - console.log(typeof p); // if (!p || !p.projectTypeId) { // newfiberMap.setLayersVisible(['HMJZYSQ', 'HMXDLGC', 'HMXGYLD', 'HMXSX', 'GWPCYXF', 'GWJBZ', 'GIS'], true); //全部 // } else if (p.projectTypeId == '1701128641279070210') { @@ -128,6 +127,8 @@ name: element.projectAbbreviation, projectName: element.projectName, projectNo: element.projectNo, + projectLocation: element.projectLocation, + id: element.id, }, }; if (element.projectrange.includes('POINT')) { @@ -206,6 +207,7 @@ ]) .filter(i => !!i.layer.id)[0]; let properties = feature.properties; + ProjectClick(properties); console.log('feature--', '海绵项目点击事件', properties); }); // newfiberMap.setCenter({ diff --git a/src/views/sponeScreen/projectHM/index.vue b/src/views/sponeScreen/projectHM/index.vue index 6f73580..50838f5 100644 --- a/src/views/sponeScreen/projectHM/index.vue +++ b/src/views/sponeScreen/projectHM/index.vue @@ -50,7 +50,6 @@ allDate.value = v; setTimeout(() => { if (isShow) { - // debugger visibleqipao.value = true; } }, 10);