Browse Source

居民需求相关接口修改

/heart/userdemand => /governance/userdemand
feature
zhaoqifeng 3 years ago
parent
commit
5a86e5051c
  1. 4
      src/views/components/scoreRecord.vue
  2. 2
      src/views/modules/communityService/fuwujilu/addForm.vue
  3. 2
      src/views/modules/communityService/fuwujilu/fuwuList.vue
  4. 14
      src/views/modules/communityService/measure/index.vue
  5. 14
      src/views/modules/communityService/measure/info.vue
  6. 2
      src/views/modules/shequ/index.vue
  7. 2
      src/views/modules/shequzhili/event/cpts/process-form-demand.vue
  8. 2
      src/views/modules/shequzhili/xiangmu/cpts/demand-info.vue
  9. 2
      src/views/modules/visual/basicinfo/people.vue
  10. 2
      src/views/modules/visual/communityGovern/duoyuanfuwu/duoyuanDialog.vue
  11. 2
      src/views/modules/visual/communityParty/memberInfo.vue
  12. 8
      src/views/modules/visual/measure/dialogInfo.vue
  13. 6
      src/views/modules/visual/measure/service.vue
  14. 2
      src/views/modules/visual/plugin/power/organization.vue

4
src/views/components/scoreRecord.vue

@ -169,8 +169,8 @@ export default {
async loadTable () {
this.tableLoading = true
const url = "/heart/userdemand/recordList"
// const url = "http://yapi.elinkservice.cn/mock/245/heart/userdemand/recordList"
const url = "/governance/userdemand/recordList"
// const url = "http://yapi.elinkservice.cn/mock/245/governance/userdemand/recordList"
let params = {
serviceType: this.serviceType,
serviceId: this.serviceId,

2
src/views/modules/communityService/fuwujilu/addForm.vue

@ -693,7 +693,7 @@ export default {
queryPurpose: query,
};
await this.$http
.post("/heart/userdemand/servicelist", params)
.post("/governance/userdemand/servicelist", params)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

2
src/views/modules/communityService/fuwujilu/fuwuList.vue

@ -478,7 +478,7 @@ export default {
queryPurpose: query,
};
await this.$http
.post("/heart/userdemand/servicelist", params)
.post("/governance/userdemand/servicelist", params)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

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

@ -1002,7 +1002,7 @@ export default {
...this.form,
};
await this.$http
.post("/heart/userdemand/add", _form)
.post("/governance/userdemand/add", _form)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -1023,7 +1023,7 @@ export default {
serverId: this.form.serverId,
};
await this.$http
.post("/heart/userdemand/assign", _form)
.post("/governance/userdemand/assign", _form)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -1049,7 +1049,7 @@ export default {
score: reportType == "self_help" ? 0 : this.form.score,
};
await this.$http
.post("/heart/userdemand/finish", _form)
.post("/governance/userdemand/finish", _form)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -1082,7 +1082,7 @@ export default {
...this.form,
};
await this.$http
.post("/heart/userdemand/update", _form)
.post("/governance/userdemand/update", _form)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -1116,7 +1116,7 @@ export default {
};
console.log("row1", row);
this.$http
.post("/heart/userdemand/cancel", params)
.post("/governance/userdemand/cancel", params)
.then(({ data: res }) => {
console.log("row2", row);
if (res.code !== 0) {
@ -1232,7 +1232,7 @@ export default {
queryPurpose: query,
};
await this.$http
.post("/heart/userdemand/servicelist", params)
.post("/governance/userdemand/servicelist", params)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -1297,7 +1297,7 @@ export default {
pageSize: this.pageSize,
};
await this.$http
.post("/heart/userdemand/pagelist", params)
.post("/governance/userdemand/pagelist", params)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

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

@ -701,7 +701,7 @@ export default {
serverId: this.form.serverId,
};
await this.$http
.post("/heart/userdemand/assign", _form)
.post("/governance/userdemand/assign", _form)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -730,7 +730,7 @@ export default {
score: reportType == "self_help" ? 0 : this.form.score,
};
await this.$http
.post("/heart/userdemand/finish", _form)
.post("/governance/userdemand/finish", _form)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -766,7 +766,7 @@ export default {
...this.form,
};
await this.$http
.post("/heart/userdemand/update", _form)
.post("/governance/userdemand/update", _form)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -804,7 +804,7 @@ export default {
...this.form,
};
await this.$http
.post("/heart/userdemand/add", _form)
.post("/governance/userdemand/add", _form)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -824,7 +824,7 @@ export default {
demandRecId: this.demandRecId,
};
this.$http
.post("/heart/userdemand/cancel", params)
.post("/governance/userdemand/cancel", params)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -944,7 +944,7 @@ export default {
queryPurpose: query,
};
await this.$http
.post("/heart/userdemand/servicelist", params)
.post("/governance/userdemand/servicelist", params)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -1010,7 +1010,7 @@ export default {
demandRecId: this.demandRecId,
};
await this.$http
.post("/heart/userdemand/demandDetail", params)
.post("/governance/userdemand/demandDetail", params)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);

2
src/views/modules/shequ/index.vue

@ -1029,7 +1029,7 @@ export default {
},
async getSearchXuqiu() {
const url = "/heart/userdemand/search";
const url = "/governance/userdemand/search";
const {
searchData: { keyword },
searchXuqiu: { pageSize, pageNo },

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

@ -524,7 +524,7 @@ export default {
};
const url = "/heart/userdemand/servicelist"
const url = "/governance/userdemand/servicelist"
const { data, code, msg } = await requestPost(url, params)

2
src/views/modules/shequzhili/xiangmu/cpts/demand-info.vue

@ -236,7 +236,7 @@ export default {
},
//
async getInfo () {
const url = "/heart/userdemand/demandDetail";
const url = "/governance/userdemand/demandDetail";
const { data, code, msg } = await requestPost(url, {
demandRecId: this.demandRecId,

2
src/views/modules/visual/basicinfo/people.vue

@ -712,7 +712,7 @@ export default {
//
async getDemandData () {
const url = "/heart/userdemand/mydemand";
const url = "/governance/userdemand/mydemand";
let params = {
epmetUserIdList: this.info.epmetUserIdList,
icResiUserId: this.userId,

2
src/views/modules/visual/communityGovern/duoyuanfuwu/duoyuanDialog.vue

@ -175,7 +175,7 @@ export default {
//
async getDemandDetail (id) {
this.info = {}
const url = '/heart/userdemand/demandDetail'
const url = '/governance/userdemand/demandDetail'
const params = {
demandRecId: id, // id
}

2
src/views/modules/visual/communityParty/memberInfo.vue

@ -148,7 +148,7 @@ export default {
async getDetail (id) {
this.info = {}
const _id = this.list[0].id
const url = "/heart/userdemand/demandDetail"
const url = "/governance/userdemand/demandDetail"
let params = {
demandRecId: id || _id
}

8
src/views/modules/visual/measure/dialogInfo.vue

@ -241,7 +241,7 @@ export default {
},
async getInfo (demandId) {
// const url = "/gov/org/customeragency/staffinagencylist";
const url = "/heart/userdemand/demandDetail";
const url = "/governance/userdemand/demandDetail";
let params = {
demandRecId: demandId,
};
@ -284,7 +284,7 @@ export default {
queryPurpose: query,
};
await this.$http
.post("/heart/userdemand/servicelist", params)
.post("/governance/userdemand/servicelist", params)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -312,7 +312,7 @@ export default {
serverId: this.form.serverId,
};
await this.$http
.post("/heart/userdemand/assign", _form)
.post("/governance/userdemand/assign", _form)
.then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg);
@ -333,7 +333,7 @@ export default {
async getAnalyse (demandId) {
// const url = "/gov/org/customeragency/staffinagencylist";
this.loading = true;
const url = "/heart/userdemand/demand-research-analysis";
const url = "/governance/userdemand/demand-research-analysis";
let params = {
firstCategoryCode: this.info.firstCategoryCode,
demandRecId: demandId,

6
src/views/modules/visual/measure/service.vue

@ -320,7 +320,7 @@ export default {
},
async getServicePie(orgId, orgType) {
const url = "/heart/userdemand/category-analysis";
const url = "/governance/userdemand/category-analysis";
let params = {
orgId,
orgType,
@ -361,7 +361,7 @@ export default {
this.visibleLoading = false;
},
async getServiceList(orgId, orgType, _code) {
const url = "/heart/userdemand/pagelist-analysis";
const url = "/governance/userdemand/pagelist-analysis";
let params = {
orgId,
orgType,
@ -445,7 +445,7 @@ export default {
}
// .post('epmetuser/icresiuser/exportExcel', params)
axios({
url: window.SITE_CONFIG['apiURL'] + '/heart/userdemand/analysis-export',
url: window.SITE_CONFIG['apiURL'] + '/governance/userdemand/analysis-export',
// url: 'epmetuser/icresiuser/exportExcel',
method: 'post',
data: params,

2
src/views/modules/visual/plugin/power/organization.vue

@ -265,7 +265,7 @@ export default {
}
},
async getVolunteerTeamNum () {
const url = "/heart/userdemand/servicelist"
const url = "/governance/userdemand/servicelist"
let params = {
serviceType: 'community_org'
}

Loading…
Cancel
Save