diff --git a/.env.development b/.env.development index 4fd2dfa7d..f2669fe1c 100644 --- a/.env.development +++ b/.env.development @@ -1,6 +1,6 @@ NODE_ENV=development -VUE_APP_API_SERVER = http://219.146.91.110:30801/api +VUE_APP_API_SERVER = http://localhost:8080/api # VUE_APP_API_SERVER = http://118.190.150.119:41080/api # VUE_APP_API_SERVER = https://epmet-yantai.elinkservice.cn/api # VUE_APP_API_SERVER = https://epmet-test.elinkservice.cn/api diff --git a/src/views/modules/communityService/commonDemand/addForm.vue b/src/views/modules/communityService/commonDemand/addForm.vue index 152fa7c3f..cf9309bc1 100644 --- a/src/views/modules/communityService/commonDemand/addForm.vue +++ b/src/views/modules/communityService/commonDemand/addForm.vue @@ -151,9 +151,9 @@ > @@ -913,14 +913,17 @@ export default { }, async getPolicyList() { - const url = "/governance/policy/policyListSelect"; + const url = "/governance/policy/policyList"; - let params = {}; + let params = { + pageNo: 1, + pageSize: 1000 + }; const { data, code, msg } = await requestPost(url, params); if (code === 0) { - this.policyList = data; + this.policyList = data.list; } else { this.$message.error(msg); } diff --git a/src/views/modules/communityService/commonDemand/detailForm.vue b/src/views/modules/communityService/commonDemand/detailForm.vue index fe904f72d..0a014e194 100644 --- a/src/views/modules/communityService/commonDemand/detailForm.vue +++ b/src/views/modules/communityService/commonDemand/detailForm.vue @@ -226,14 +226,14 @@ }, async getPolicyList() { - const url = "/governance/policy/policyListSelect"; + const url = "/governance/policy/policyList"; let params = {}; const { data, code, msg } = await requestPost(url, params); if (code === 0) { - this.policyList = data; + this.policyList = data.list; } else { this.$message.error(msg); } @@ -273,7 +273,7 @@ } }); this.policyList.forEach((element) => { - if (this.formData.policyId === element.policyId) { + if (this.formData.id === element.id) { this.formData.policyName = element.title; } }); diff --git a/src/views/modules/communityService/commonDemand/editForm.vue b/src/views/modules/communityService/commonDemand/editForm.vue index e080f702d..5fd8b4869 100644 --- a/src/views/modules/communityService/commonDemand/editForm.vue +++ b/src/views/modules/communityService/commonDemand/editForm.vue @@ -82,9 +82,9 @@ > @@ -555,14 +555,14 @@ export default { }); }, async getPolicyList() { - const url = "/governance/policy/policyListSelect"; + const url = "/governance/policy/policyList"; let params = {}; const { data, code, msg } = await requestPost(url, params); if (code === 0) { - this.policyList = data; + this.policyList = data.list; } else { this.$message.error(msg); } diff --git a/src/views/modules/communityService/fuwuzhaoren/addForm.vue b/src/views/modules/communityService/fuwuzhaoren/addForm.vue index d31156dbe..8e2b6a809 100644 --- a/src/views/modules/communityService/fuwuzhaoren/addForm.vue +++ b/src/views/modules/communityService/fuwuzhaoren/addForm.vue @@ -798,7 +798,7 @@ export default { }, async getPolicyList() { - const url = "/governance/policy/policyListSelect"; + const url = "/governance/policy/policyList"; let params = {}; diff --git a/src/views/modules/communityService/fuwuzhaoren/detailForm.vue b/src/views/modules/communityService/fuwuzhaoren/detailForm.vue index 5d3166fbc..27821c371 100644 --- a/src/views/modules/communityService/fuwuzhaoren/detailForm.vue +++ b/src/views/modules/communityService/fuwuzhaoren/detailForm.vue @@ -226,7 +226,7 @@ }, async getPolicyList() { - const url = "/governance/policy/policyListSelect"; + const url = "/governance/policy/policyList"; let params = {}; diff --git a/src/views/modules/communityService/fuwuzhaoren/editForm.vue b/src/views/modules/communityService/fuwuzhaoren/editForm.vue index cca329fa6..a1920189e 100644 --- a/src/views/modules/communityService/fuwuzhaoren/editForm.vue +++ b/src/views/modules/communityService/fuwuzhaoren/editForm.vue @@ -493,7 +493,7 @@ import { nextTick } from 'vue'; }); }, async getPolicyList () { - const url = '/governance/policy/policyListSelect' + const url = '/governance/policy/policyList' let params = {} diff --git a/src/views/modules/communityService/gxxq/addForm.vue b/src/views/modules/communityService/gxxq/addForm.vue index 5979f1212..f3b3a2076 100644 --- a/src/views/modules/communityService/gxxq/addForm.vue +++ b/src/views/modules/communityService/gxxq/addForm.vue @@ -555,7 +555,7 @@ export default { }, async getPolicyList() { - const url = "/governance/policy/policyListSelect"; + const url = "/governance/policy/policyList"; let params = {}; @@ -839,4 +839,4 @@ export default { padding-right: 12px; } - \ No newline at end of file + diff --git a/src/views/modules/communityService/gxxq/detailForm.vue b/src/views/modules/communityService/gxxq/detailForm.vue index a0a5c9e66..74999f331 100644 --- a/src/views/modules/communityService/gxxq/detailForm.vue +++ b/src/views/modules/communityService/gxxq/detailForm.vue @@ -127,7 +127,7 @@ export default { }, async getPolicyList() { - const url = "/governance/policy/policyListSelect"; + const url = "/governance/policy/policyList"; let params = {}; diff --git a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/scoreRecord.vue b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/scoreRecord.vue index 594ea9e69..938b5d179 100644 --- a/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/scoreRecord.vue +++ b/src/views/modules/shequzhili/tuceng/yingji/zizuzhi/scoreRecord.vue @@ -1,51 +1,114 @@