diff --git a/.env.development b/.env.development index fa857bf2..9e8a5266 100644 --- a/.env.development +++ b/.env.development @@ -1,6 +1,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 = http://192.168.1.140/api +VUE_APP_API_SERVER = https://epmet-test.elinkservice.cn/api # VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api # VUE_APP_API_SERVER = https://epdc-shibei.elinkservice.cn/api diff --git a/src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue b/src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue index 6eaef99d..5535dc57 100644 --- a/src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue +++ b/src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue @@ -305,7 +305,7 @@ -
+
企事业信息
场所类型: {{ selInfo.placeTypeName }} @@ -782,10 +782,11 @@ const vueGis = { this.loadGroupRent(info) } + if (info.placeType === 'party_unit') {//来自联建单位的机关直属部门 this.loadPartyUnit(info) } - if (info.placeType === 'enterprise_partrol') {//来自企事业查询的 + if (info.placeType === 'enterprise_patrol') {//来自企事业查询的 this.loadEnterprisePartrol(info) } @@ -1009,10 +1010,10 @@ const vueGis = { }, async loadEnterprisePartrol (info) { - const url = "/gov/org/enterprise/detail" + const url = "/gov/org/enterprise/detail/" + info.id // const url = "http://yapi.elinkservice.cn/mock/245/gov/org/enterprise/detail" - const { data, code, msg } = await requestGet(url) + const { data, code, msg } = await requestPost(url) if (code === 0) { // debugger