diff --git a/.env.development b/.env.development index f7a1145d..fa857bf2 100644 --- a/.env.development +++ b/.env.development @@ -2,6 +2,7 @@ NODE_ENV=development # VUE_APP_API_SERVER = http://epmet-dev.elinkservice.cn:41080/api VUE_APP_API_SERVER = http://192.168.1.140/api # VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api +# VUE_APP_API_SERVER = https://epdc-shibei.elinkservice.cn/api #家中开发连级的后端服务 # VUE_APP_API_SERVER = https://epmet-dev.elinkservice.cn:41080/api diff --git a/src/views/modules/shequzhili/event/cpts/add.vue b/src/views/modules/shequzhili/event/cpts/add.vue index 294c1b1a..d22ccc17 100644 --- a/src/views/modules/shequzhili/event/cpts/add.vue +++ b/src/views/modules/shequzhili/event/cpts/add.vue @@ -484,7 +484,8 @@ export default { const url = "/gov/org/customergrid/gridoption" let params = { - agencyId: this.agencyId + agencyId: this.agencyId, + purpose: "addorupdate" } const { data, code, msg } = await requestPost(url, params) diff --git a/src/views/modules/shequzhili/event/eventList.vue b/src/views/modules/shequzhili/event/eventList.vue index c35141f1..c82cd9c0 100644 --- a/src/views/modules/shequzhili/event/eventList.vue +++ b/src/views/modules/shequzhili/event/eventList.vue @@ -470,7 +470,8 @@ export default { const url = "/gov/org/customergrid/gridoption" let params = { - agencyId: this.agencyId + agencyId: this.agencyId, + purpose: "query" } const { data, code, msg } = await requestPost(url, params) diff --git a/src/views/modules/visual/basicinfo/basicInfoMain.vue b/src/views/modules/visual/basicinfo/basicInfoMain.vue index 28372ee7..c304c20c 100644 --- a/src/views/modules/visual/basicinfo/basicInfoMain.vue +++ b/src/views/modules/visual/basicinfo/basicInfoMain.vue @@ -172,7 +172,8 @@ let iconSource; // icon let polygonSource;//变电站标注多边形 let select;//选中标注 -let xoffset = 0.005 +let xoffset = 0.0051 +let yoffset = 0.0002 //url图标 @@ -633,10 +634,12 @@ const vueGis = { coorArray.forEach((item, index) => { if (index % 2 == 0) {//偶 - // item = (parseFloat(item) + xoffset) + '' + item = (parseFloat(item) + xoffset) + '' itemArray.push(item) } else {//奇 + item = (parseFloat(item) + yoffset) + '' itemArray.push(item) + polygonArray.push(itemArray) itemArray = [] } @@ -700,12 +703,12 @@ const vueGis = { coorArray.forEach((item, index) => { // itemArray.push(item) if (index % 2 == 0) {//偶 - // item = (parseFloat(item) + xoffset) + '' + item = (parseFloat(item) + xoffset) + '' itemArray.push(item) } else {//奇 - + item = (parseFloat(item) + yoffset) + '' itemArray.push(item) polygonArray.push(itemArray) itemArray = []