From 4a9c8cb6371f81df4d123739384b6afe905d38b3 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Wed, 13 May 2020 18:19:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E4=B8=9A=E9=A1=B9=E7=9B=AE=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=90=8D=E7=A7=B0=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/property/propertyproject-add-or-update.vue | 4 ++-- src/views/modules/property/propertyproject.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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: {