Browse Source

居民需求相关接口修改

/heart/icresidemanddict => /governance/icresidemanddict
feature
zhaoqifeng 3 years ago
parent
commit
276aad86a3
  1. 2
      src/views/modules/communityService/measure/index.vue
  2. 2
      src/views/modules/communityService/measure/info.vue
  3. 2
      src/views/modules/communityService/policy/addPolicy.vue
  4. 2
      src/views/modules/shequzhili/event/cpts/process-form-demand.vue
  5. 12
      src/views/modules/workSys/demandCate.vue

2
src/views/modules/communityService/measure/index.vue

@ -1207,7 +1207,7 @@ export default {
async getDemandOptions () {
this.$http
.post("/heart/icresidemanddict/demandoption")
.post("/governance/icresidemanddict/demandoption")
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

2
src/views/modules/communityService/measure/info.vue

@ -918,7 +918,7 @@ export default {
async getDemandOptions() {
this.$http
.post("/heart/icresidemanddict/demandoption")
.post("/governance/icresidemanddict/demandoption")
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

2
src/views/modules/communityService/policy/addPolicy.vue

@ -344,7 +344,7 @@ export default {
//
loadDemandoption () {
const url = '/heart/icresidemanddict/demandoption'
const url = '/governance/icresidemanddict/demandoption'
// const url = 'http://yapi.elinkservice.cn/mock/245/gov/org/isServiceProject/service/serviceScopeTree'
let params = {}
window.app.ajax.post(

2
src/views/modules/shequzhili/event/cpts/process-form-demand.vue

@ -431,7 +431,7 @@ export default {
},
async getDemandOptions () {
const url = "/heart/icresidemanddict/demandoption"
const url = "/governance/icresidemanddict/demandoption"
let params = {}
const { data, code, msg } = await requestPost(url, params)

12
src/views/modules/workSys/demandCate.vue

@ -259,7 +259,7 @@ export default {
usableFlag: !row.usableFlag
}
this.$http
.post('/heart/icresidemanddict/updatestatus', params)
.post('/governance/icresidemanddict/updatestatus', params)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -284,7 +284,7 @@ export default {
categoryName: this.form.categoryName
}
await this.$http
.post('/heart/icresidemanddict/addfirst', _form)
.post('/governance/icresidemanddict/addfirst', _form)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -306,7 +306,7 @@ export default {
awardPoint: this.form.awardPoint
}
await this.$http
.post('/heart/icresidemanddict/addchild', _form)
.post('/governance/icresidemanddict/addchild', _form)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -329,7 +329,7 @@ export default {
awardPoint: this.form.awardPoint
}
await this.$http
.post('/heart/icresidemanddict/update', _form)
.post('/governance/icresidemanddict/update', _form)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -408,7 +408,7 @@ export default {
parentCategoryCode: 0
}
this.$http
.post('/heart/icresidemanddict/subcodelist', params)
.post('/governance/icresidemanddict/subcodelist', params)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
@ -430,7 +430,7 @@ export default {
firstCategoryCode: this.form.firstCategoryCode
}
await this.$http
.post('/heart/icresidemanddict/pagelist', params)
.post('/governance/icresidemanddict/pagelist', params)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

Loading…
Cancel
Save