Browse Source

物业项目接口名称修改。

feature/yujt_analysis_pc
zhangyuan 5 years ago
parent
commit
4a9c8cb637
  1. 4
      src/views/modules/property/propertyproject-add-or-update.vue
  2. 4
      src/views/modules/property/propertyproject.vue

4
src/views/modules/property/propertyproject-add-or-update.vue

@ -134,7 +134,7 @@
},
//
getInfo() {
this.$http.get(`/property/propertyproject/${this.dataForm.id}`).then(({data: res}) => {
this.$http.get(`/property/project/${this.dataForm.id}`).then(({data: res}) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
@ -155,7 +155,7 @@
if (!valid) {
return false
}
this.$http[!this.dataForm.id ? 'post' : 'put']('/property/propertyproject/', this.dataForm).then(({data: res}) => {
this.$http[!this.dataForm.id ? 'post' : 'put']('/property/project/', this.dataForm).then(({data: res}) => {
if (res.code !== 0) {
return this.$message.error(res.msg)
}

4
src/views/modules/property/propertyproject.vue

@ -87,9 +87,9 @@
data() {
return {
mixinViewModuleOptions: {
getDataListURL: '/property/propertyproject/page',
getDataListURL: '/property/project/page',
getDataListIsPage: true,
deleteURL: '/property/propertyproject',
deleteURL: '/property/project',
deleteIsBatch: true
},
dataForm: {

Loading…
Cancel
Save