From 8101f2d29542ba260dcb495409fdaeca349e97ba Mon Sep 17 00:00:00 2001 From: 77 <77@77.com> Date: Tue, 21 May 2024 09:54:44 +0800 Subject: [PATCH] 123 --- src/views/dk/AgreementSetting/index.vue | 2 +- src/views/dk/BorrowStatus/index.vue | 6 +++--- src/views/dk/HomeSetting/index.vue | 2 +- src/views/dk/LoansSetting/index.vue | 2 +- src/views/dk/borrow/update-bank.vue | 2 +- src/views/dk/borrow/update-loan.vue | 2 +- src/views/dk/borrow/update-status.vue | 2 +- src/views/dk/borrow/update-trans-remark.vue | 2 +- src/views/dk/dkCustomer/index.vue | 10 +++++----- src/views/dk/dkCustomer/update-amount.vue | 2 +- src/views/system/user/index.vue | 2 +- vue.config.js | 4 ++-- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/views/dk/AgreementSetting/index.vue b/src/views/dk/AgreementSetting/index.vue index 2ba64cf..3d6d409 100644 --- a/src/views/dk/AgreementSetting/index.vue +++ b/src/views/dk/AgreementSetting/index.vue @@ -91,7 +91,7 @@ export default { updateAgreementSetting(params).then(response => { this.buttonLoading = false; this[key] = false; - this.msgSuccess("修改成功"); + this.$modal.msgSuccess("修改成功"); }).catch(() => { this.buttonLoading = false; }); diff --git a/src/views/dk/BorrowStatus/index.vue b/src/views/dk/BorrowStatus/index.vue index 9db0a65..648cd3f 100644 --- a/src/views/dk/BorrowStatus/index.vue +++ b/src/views/dk/BorrowStatus/index.vue @@ -261,14 +261,14 @@ export default { if (this.form.id != null) { updateBorrowStatus(this.form).then(response => { this.buttonLoading = false; - this.msgSuccess("修改成功"); + this.$modal.msgSuccess("修改成功"); this.open = false; this.getList(); }); } else { addBorrowStatus(this.form).then(response => { this.buttonLoading = false; - this.msgSuccess("新增成功"); + this.$modal.msgSuccess("新增成功"); this.open = false; this.getList(); }); @@ -289,7 +289,7 @@ export default { }).then(() => { this.loading = false; this.getList(); - this.msgSuccess("删除成功"); + this.$modal.msgSuccess("删除成功"); }).catch(() => {}); }, /** 导出按钮操作 */ diff --git a/src/views/dk/HomeSetting/index.vue b/src/views/dk/HomeSetting/index.vue index 426eaaf..c89108e 100644 --- a/src/views/dk/HomeSetting/index.vue +++ b/src/views/dk/HomeSetting/index.vue @@ -130,7 +130,7 @@ export default { }).then(response => { this.formDisable = true; this.buttonLoading = false; - this.msgSuccess("修改成功"); + this.$modal.msgSuccess("修改成功"); }).catch(() => { this.formDisable = true; this.buttonLoading = false; diff --git a/src/views/dk/LoansSetting/index.vue b/src/views/dk/LoansSetting/index.vue index adfe2bd..5081620 100644 --- a/src/views/dk/LoansSetting/index.vue +++ b/src/views/dk/LoansSetting/index.vue @@ -93,7 +93,7 @@ export default { updateLoansSetting(this.form).then(response => { this.formDisable = true; this.buttonLoading = false; - this.msgSuccess("修改成功"); + this.$modal.msgSuccess("修改成功"); }).catch(() => { this.formDisable = true; this.buttonLoading = false; diff --git a/src/views/dk/borrow/update-bank.vue b/src/views/dk/borrow/update-bank.vue index 2ea93b4..151fc3e 100644 --- a/src/views/dk/borrow/update-bank.vue +++ b/src/views/dk/borrow/update-bank.vue @@ -110,7 +110,7 @@ bankType: this.form.bankType, backCardNum: this.form.backCardNum, }).then(data => { - this.msgSuccess("修改成功"); + this.$modal.msgSuccess("修改成功"); this.buttonLoading = false; this.open = false this.$emit('refreshDataList') diff --git a/src/views/dk/borrow/update-loan.vue b/src/views/dk/borrow/update-loan.vue index 0727efb..b4fb090 100644 --- a/src/views/dk/borrow/update-loan.vue +++ b/src/views/dk/borrow/update-loan.vue @@ -100,7 +100,7 @@ export default { totalMonth: this.form.totalMonth, loanMonthRate: this.form.loanMonthRate, }).then(data => { - this.msgSuccess("修改成功"); + this.$modal.msgSuccess("修改成功"); this.buttonLoading = false; this.open = false this.$emit('refreshDataList') diff --git a/src/views/dk/borrow/update-status.vue b/src/views/dk/borrow/update-status.vue index b685df8..544190a 100644 --- a/src/views/dk/borrow/update-status.vue +++ b/src/views/dk/borrow/update-status.vue @@ -104,7 +104,7 @@ usedRemit: this.form.usedRemit, borrowStatusId: this.form.borrowStatusId }).then(data => { - this.msgSuccess("修改成功"); + this.$modal.msgSuccess("修改成功"); this.buttonLoading = false; this.open = false this.$emit('refreshDataList') diff --git a/src/views/dk/borrow/update-trans-remark.vue b/src/views/dk/borrow/update-trans-remark.vue index 6041b04..4c16b39 100644 --- a/src/views/dk/borrow/update-trans-remark.vue +++ b/src/views/dk/borrow/update-trans-remark.vue @@ -60,7 +60,7 @@ export default { id: this.form.id, transRemark: this.form.transRemark || " ", }).then(data => { - this.msgSuccess("修改成功"); + this.$modal.msgSuccess("修改成功"); this.buttonLoading = false; this.open = false this.$emit('refreshDataList') diff --git a/src/views/dk/dkCustomer/index.vue b/src/views/dk/dkCustomer/index.vue index d1269fe..7c9e036 100644 --- a/src/views/dk/dkCustomer/index.vue +++ b/src/views/dk/dkCustomer/index.vue @@ -197,7 +197,7 @@ export default { inputErrorMessage: "用户密码长度必须介于 5 和 20 之间", }).then(({ value }) => { resetCustomerPwd(row.id, value).then(() => { - this.msgSuccess("修改成功,新密码是:" + value); + this.$modal.msgSuccess("修改成功,新密码是:" + value); }); }).catch(() => {}); }, @@ -210,7 +210,7 @@ export default { }).then(function() { return updateDkCustomer({ id: row.id, status: row.status }) }).then(() => { - this.msgSuccess(text + '成功') + this.$modal.msgSuccess(text + '成功') }).catch(function() { row.status = row.status === 0 ? 1 : 0 }) @@ -224,7 +224,7 @@ export default { }).then(function() { return updateDkCustomer({ id: row.id, allowWithdrawFlag: row.allowWithdrawFlag }) }).then(() => { - this.msgSuccess(text + '成功') + this.$modal.msgSuccess(text + '成功') }).catch(function() { row.allowWithdrawFlag = row.allowWithdrawFlag !== false }) @@ -238,7 +238,7 @@ export default { }).then(function() { return updateAllowSignature({ customerId: row.id, allowSignature: row.allowSignature }) }).then(() => { - this.msgSuccess(text + '成功') + this.$modal.msgSuccess(text + '成功') }).catch(function() { row.allowSignature = row.allowSignature !== false }) @@ -263,7 +263,7 @@ export default { }).then(() => { this.loading = false; this.getList(); - this.msgSuccess("操作成功"); + this.$modal.msgSuccess('操作成功') }).catch(() => { this.loading = false; }); diff --git a/src/views/dk/dkCustomer/update-amount.vue b/src/views/dk/dkCustomer/update-amount.vue index f5fb271..1aaca6a 100644 --- a/src/views/dk/dkCustomer/update-amount.vue +++ b/src/views/dk/dkCustomer/update-amount.vue @@ -98,7 +98,7 @@ id: this.form.id, account: this.form.account }).then(data => { - this.msgSuccess("修改成功"); + this.$modal.msgSuccess("修改成功"); this.buttonLoading = false; this.open = false this.$emit('refreshDataList') diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 483ac8a..91f0d89 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -234,7 +234,7 @@ - + diff --git a/vue.config.js b/vue.config.js index 5d79bfd..f6b04a1 100644 --- a/vue.config.js +++ b/vue.config.js @@ -35,8 +35,8 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://localhost:8080`, - // target: `http://124.222.254.188:8090`, + // target: `http://localhost:8080`, + target: `http://124.222.254.188:8090`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''