123
This commit is contained in:
@@ -91,7 +91,7 @@ export default {
|
|||||||
updateAgreementSetting(params).then(response => {
|
updateAgreementSetting(params).then(response => {
|
||||||
this.buttonLoading = false;
|
this.buttonLoading = false;
|
||||||
this[key] = false;
|
this[key] = false;
|
||||||
this.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.buttonLoading = false;
|
this.buttonLoading = false;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -261,14 +261,14 @@ export default {
|
|||||||
if (this.form.id != null) {
|
if (this.form.id != null) {
|
||||||
updateBorrowStatus(this.form).then(response => {
|
updateBorrowStatus(this.form).then(response => {
|
||||||
this.buttonLoading = false;
|
this.buttonLoading = false;
|
||||||
this.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
addBorrowStatus(this.form).then(response => {
|
addBorrowStatus(this.form).then(response => {
|
||||||
this.buttonLoading = false;
|
this.buttonLoading = false;
|
||||||
this.msgSuccess("新增成功");
|
this.$modal.msgSuccess("新增成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
});
|
});
|
||||||
@@ -289,7 +289,7 @@ export default {
|
|||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
this.msgSuccess("删除成功");
|
this.$modal.msgSuccess("删除成功");
|
||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
},
|
},
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ export default {
|
|||||||
}).then(response => {
|
}).then(response => {
|
||||||
this.formDisable = true;
|
this.formDisable = true;
|
||||||
this.buttonLoading = false;
|
this.buttonLoading = false;
|
||||||
this.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.formDisable = true;
|
this.formDisable = true;
|
||||||
this.buttonLoading = false;
|
this.buttonLoading = false;
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ export default {
|
|||||||
updateLoansSetting(this.form).then(response => {
|
updateLoansSetting(this.form).then(response => {
|
||||||
this.formDisable = true;
|
this.formDisable = true;
|
||||||
this.buttonLoading = false;
|
this.buttonLoading = false;
|
||||||
this.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.formDisable = true;
|
this.formDisable = true;
|
||||||
this.buttonLoading = false;
|
this.buttonLoading = false;
|
||||||
|
|||||||
@@ -110,7 +110,7 @@
|
|||||||
bankType: this.form.bankType,
|
bankType: this.form.bankType,
|
||||||
backCardNum: this.form.backCardNum,
|
backCardNum: this.form.backCardNum,
|
||||||
}).then(data => {
|
}).then(data => {
|
||||||
this.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.buttonLoading = false;
|
this.buttonLoading = false;
|
||||||
this.open = false
|
this.open = false
|
||||||
this.$emit('refreshDataList')
|
this.$emit('refreshDataList')
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ export default {
|
|||||||
totalMonth: this.form.totalMonth,
|
totalMonth: this.form.totalMonth,
|
||||||
loanMonthRate: this.form.loanMonthRate,
|
loanMonthRate: this.form.loanMonthRate,
|
||||||
}).then(data => {
|
}).then(data => {
|
||||||
this.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.buttonLoading = false;
|
this.buttonLoading = false;
|
||||||
this.open = false
|
this.open = false
|
||||||
this.$emit('refreshDataList')
|
this.$emit('refreshDataList')
|
||||||
|
|||||||
@@ -104,7 +104,7 @@
|
|||||||
usedRemit: this.form.usedRemit,
|
usedRemit: this.form.usedRemit,
|
||||||
borrowStatusId: this.form.borrowStatusId
|
borrowStatusId: this.form.borrowStatusId
|
||||||
}).then(data => {
|
}).then(data => {
|
||||||
this.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.buttonLoading = false;
|
this.buttonLoading = false;
|
||||||
this.open = false
|
this.open = false
|
||||||
this.$emit('refreshDataList')
|
this.$emit('refreshDataList')
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ export default {
|
|||||||
id: this.form.id,
|
id: this.form.id,
|
||||||
transRemark: this.form.transRemark || " ",
|
transRemark: this.form.transRemark || " ",
|
||||||
}).then(data => {
|
}).then(data => {
|
||||||
this.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.buttonLoading = false;
|
this.buttonLoading = false;
|
||||||
this.open = false
|
this.open = false
|
||||||
this.$emit('refreshDataList')
|
this.$emit('refreshDataList')
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ export default {
|
|||||||
inputErrorMessage: "用户密码长度必须介于 5 和 20 之间",
|
inputErrorMessage: "用户密码长度必须介于 5 和 20 之间",
|
||||||
}).then(({ value }) => {
|
}).then(({ value }) => {
|
||||||
resetCustomerPwd(row.id, value).then(() => {
|
resetCustomerPwd(row.id, value).then(() => {
|
||||||
this.msgSuccess("修改成功,新密码是:" + value);
|
this.$modal.msgSuccess("修改成功,新密码是:" + value);
|
||||||
});
|
});
|
||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
},
|
},
|
||||||
@@ -210,7 +210,7 @@ export default {
|
|||||||
}).then(function() {
|
}).then(function() {
|
||||||
return updateDkCustomer({ id: row.id, status: row.status })
|
return updateDkCustomer({ id: row.id, status: row.status })
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.msgSuccess(text + '成功')
|
this.$modal.msgSuccess(text + '成功')
|
||||||
}).catch(function() {
|
}).catch(function() {
|
||||||
row.status = row.status === 0 ? 1 : 0
|
row.status = row.status === 0 ? 1 : 0
|
||||||
})
|
})
|
||||||
@@ -224,7 +224,7 @@ export default {
|
|||||||
}).then(function() {
|
}).then(function() {
|
||||||
return updateDkCustomer({ id: row.id, allowWithdrawFlag: row.allowWithdrawFlag })
|
return updateDkCustomer({ id: row.id, allowWithdrawFlag: row.allowWithdrawFlag })
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.msgSuccess(text + '成功')
|
this.$modal.msgSuccess(text + '成功')
|
||||||
}).catch(function() {
|
}).catch(function() {
|
||||||
row.allowWithdrawFlag = row.allowWithdrawFlag !== false
|
row.allowWithdrawFlag = row.allowWithdrawFlag !== false
|
||||||
})
|
})
|
||||||
@@ -238,7 +238,7 @@ export default {
|
|||||||
}).then(function() {
|
}).then(function() {
|
||||||
return updateAllowSignature({ customerId: row.id, allowSignature: row.allowSignature })
|
return updateAllowSignature({ customerId: row.id, allowSignature: row.allowSignature })
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.msgSuccess(text + '成功')
|
this.$modal.msgSuccess(text + '成功')
|
||||||
}).catch(function() {
|
}).catch(function() {
|
||||||
row.allowSignature = row.allowSignature !== false
|
row.allowSignature = row.allowSignature !== false
|
||||||
})
|
})
|
||||||
@@ -263,7 +263,7 @@ export default {
|
|||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
this.getList();
|
this.getList();
|
||||||
this.msgSuccess("操作成功");
|
this.$modal.msgSuccess('操作成功')
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -98,7 +98,7 @@
|
|||||||
id: this.form.id,
|
id: this.form.id,
|
||||||
account: this.form.account
|
account: this.form.account
|
||||||
}).then(data => {
|
}).then(data => {
|
||||||
this.msgSuccess("修改成功");
|
this.$modal.msgSuccess("修改成功");
|
||||||
this.buttonLoading = false;
|
this.buttonLoading = false;
|
||||||
this.open = false
|
this.open = false
|
||||||
this.$emit('refreshDataList')
|
this.$emit('refreshDataList')
|
||||||
|
|||||||
@@ -234,7 +234,7 @@
|
|||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-if="form.userId == undefined" label="用户名称" prop="userName">
|
<el-form-item v-if="form.userId == undefined" label="用户名称" prop="userName">
|
||||||
<el-input v-model="form.userName" placeholder="请输入用户名称" maxlength="30" >
|
<el-input v-model="form.userName" placeholder="请输入用户名称" maxlength="30" >
|
||||||
<template slot="prepend">{{form.prefix+'-'}}</template>
|
<template slot="prepend">{{form.prefix+'_'}}</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
target: `http://localhost:8080`,
|
// target: `http://localhost:8080`,
|
||||||
// target: `http://124.222.254.188:8090`,
|
target: `http://124.222.254.188:8090`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user