diff --git a/src/views/business/agentVerification/index.vue b/src/views/business/agentVerification/index.vue index 1c21bea..c26aac7 100644 --- a/src/views/business/agentVerification/index.vue +++ b/src/views/business/agentVerification/index.vue @@ -345,7 +345,7 @@ export default { computed: { // 计算属性:动态生成上传URL uploadUrl() { - return `${process.env.VUE_APP_BASE_API}/file/upload`; + return `${process.env.VUE_APP_BASE_API}/commonFile/upload`; } }, methods: { diff --git a/src/views/business/merchantVerification/index.vue b/src/views/business/merchantVerification/index.vue index b3cbfa3..04a7b47 100644 --- a/src/views/business/merchantVerification/index.vue +++ b/src/views/business/merchantVerification/index.vue @@ -327,7 +327,7 @@ export default { computed: { // 计算属性:动态生成上传URL uploadUrl() { - return `${process.env.VUE_APP_BASE_API}/file/upload`; + return `${process.env.VUE_APP_BASE_API}/commonFile/upload`; } }, methods: { diff --git a/src/views/business/userInfoBus/index.vue b/src/views/business/userInfoBus/index.vue index fe5f9d8..df02983 100644 --- a/src/views/business/userInfoBus/index.vue +++ b/src/views/business/userInfoBus/index.vue @@ -288,14 +288,14 @@ export default { handleAdd() { this.reset(); this.open = true; - this.title = $t('business.merchant.userInfoBus.addUserInfoBus'); + this.title = this.$t('business.merchant.userInfoBus.addUserInfoBus'); }, /** 详情按钮操作 */ handleDetail(row){ this.reset(); this.form = row; this.detailOpen = true; - this.title = $t('business.merchant.userInfoBus.userInfoBusDetail'); + this.title = this.$t('business.merchant.userInfoBus.userInfoBusDetail'); }, /** 修改按钮操作 */ handleUpdate(row) { @@ -306,7 +306,7 @@ export default { this.loading = false; this.form = response.data; this.open = true; - this.title = $t('business.merchant.userInfoBus.editUserInfoBus'); + this.title = this.$t('business.merchant.userInfoBus.editUserInfoBus'); }); }, /** 提交按钮 */ @@ -316,7 +316,7 @@ export default { this.buttonLoading = true; if (this.form.id != null) { updateUserInfoBus(this.form).then(response => { - this.$modal.msgSuccess($t('common.promptMsg.editSuccess')); + this.$modal.msgSuccess(this.$t('common.promptMsg.editSuccess')); this.open = false; this.getList(); }).finally(() => { @@ -324,7 +324,7 @@ export default { }); } else { addUserInfoBus(this.form).then(response => { - this.$modal.msgSuccess($t('common.promptMsg.addSuccess')); + this.$modal.msgSuccess(this.$t('common.promptMsg.addSuccess')); this.open = false; this.getList(); }).finally(() => { @@ -337,13 +337,13 @@ export default { /** 删除按钮操作 */ handleDelete(row) { const ids = row.id || this.ids; - this.$modal.confirm($t('common.promptMsg.confirmDelete', { ids: ids })).then(() => { + this.$modal.confirm(this.$t('common.promptMsg.confirmDelete', { ids: ids })).then(() => { this.loading = true; return delUserInfoBus(ids); }).then(() => { this.loading = false; this.getList(); - this.$modal.msgSuccess($t('common.promptMsg.deleteSuccess')); + this.$modal.msgSuccess(this.$t('common.promptMsg.deleteSuccess')); }).catch(() => { }).finally(() => { this.loading = false; @@ -353,7 +353,7 @@ export default { handleExport() { this.download('business/userInfoBus/export', { ...this.queryParams - }, `${$t('business.merchant.userInfoBus.userInfoBus')}_${new Date().getTime()}.xlsx`) + }, `${this.$t('business.merchant.userInfoBus.userInfoBus')}_${new Date().getTime()}.xlsx`) } } }; diff --git a/src/views/business/userVerification/index.vue b/src/views/business/userVerification/index.vue index 51ca45e..427dae1 100644 --- a/src/views/business/userVerification/index.vue +++ b/src/views/business/userVerification/index.vue @@ -91,7 +91,7 @@