diff --git a/src/views/modules/property/propertyproject-add-or-update.vue b/src/views/modules/property/propertyproject-add-or-update.vue index d9f8b3e..9508e7e 100644 --- a/src/views/modules/property/propertyproject-add-or-update.vue +++ b/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) } diff --git a/src/views/modules/property/propertyproject.vue b/src/views/modules/property/propertyproject.vue index cc60828..4452b07 100644 --- a/src/views/modules/property/propertyproject.vue +++ b/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: {