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: {