From f1db09faec2b4fbcd310a1510f13e0925bf5d572 Mon Sep 17 00:00:00 2001 From: daimenglei <2585309659@qq.com> Date: Thu, 29 May 2025 04:15:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E7=89=87=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E8=B7=AF=E5=BE=84=E3=80=81=E5=95=86=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E5=8C=96=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/business/agentVerification/index.vue | 2 +- .../business/merchantVerification/index.vue | 2 +- src/views/business/userInfoBus/index.vue | 16 ++++++++-------- src/views/business/userVerification/index.vue | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) 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 @@