From d2a4df9a6aed89a0a923b12a3c0c43515c18d237 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Fri, 6 May 2022 17:14:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=9D=83=E9=99=90=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../change/changerelocation-add-or-update.vue | 4 ++-- .../modules/plugins/change/changerelocation.vue | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/modules/plugins/change/changerelocation-add-or-update.vue b/src/views/modules/plugins/change/changerelocation-add-or-update.vue index 048dc72f..24b9960f 100644 --- a/src/views/modules/plugins/change/changerelocation-add-or-update.vue +++ b/src/views/modules/plugins/change/changerelocation-add-or-update.vue @@ -234,7 +234,7 @@ export default { }, // 获取信息 getInfo () { - this.$http.get(`/change/changeRelocation/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/pli/power/changeRelocation/${this.dataForm.id}`).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } @@ -250,7 +250,7 @@ export default { if (!valid) { return false } - this.$http[!this.dataForm.id ? 'post' : 'put']('/change/changeRelocation/', this.dataForm).then(({ data: res }) => { + this.$http[!this.dataForm.id ? 'post' : 'put']('/pli/power/changeRelocation/', this.dataForm).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/views/modules/plugins/change/changerelocation.vue b/src/views/modules/plugins/change/changerelocation.vue index ce9ea836..563e1d57 100644 --- a/src/views/modules/plugins/change/changerelocation.vue +++ b/src/views/modules/plugins/change/changerelocation.vue @@ -9,11 +9,11 @@ {{ $t('query') }} - {{ $t('add') }} - - - {{ $t('deleteBatch') }} + {{ $t('add') }} + + + @@ -48,8 +48,8 @@ @@ -76,9 +76,9 @@ export default { data () { return { mixinViewModuleOptions: { - getDataListURL: '/change/changeRelocation/page', + getDataListURL: '/pli/power/changeRelocation/page', getDataListIsPage: true, - deleteURL: '/change/changeRelocation', + deleteURL: '/pli/power/changeRelocation', deleteIsBatch: true }, dataForm: {