123
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
@@ -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(() => {});
|
||||
},
|
||||
/** 导出按钮操作 */
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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;
|
||||
});
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -234,7 +234,7 @@
|
||||
<el-col :span="12">
|
||||
<el-form-item v-if="form.userId == undefined" label="用户名称" prop="userName">
|
||||
<el-input v-model="form.userName" placeholder="请输入用户名称" maxlength="30" >
|
||||
<template slot="prepend">{{form.prefix+'-'}}</template>
|
||||
<template slot="prepend">{{form.prefix+'_'}}</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
@@ -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]: ''
|
||||
|
||||
Reference in New Issue
Block a user