mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-06 11:00:13 +08:00
update 新建运营商结算账户时添加加载图标 ,防止多次提交
This commit is contained in:
@@ -1418,6 +1418,12 @@ export default {
|
||||
},
|
||||
// 新建提交按钮
|
||||
submitDialogForm(adapayCorpMember) {
|
||||
const loading = this.$loading({
|
||||
lock: true,
|
||||
text: '提交中',
|
||||
spinner: 'el-icon-loading',
|
||||
background: 'rgba(0, 0, 0, 0.7)'
|
||||
});
|
||||
this.adapayCorpMember.businessName = this.adapayCorpMember.name;
|
||||
console.log(
|
||||
"新建 企业名称传递的值.businessName",
|
||||
@@ -1459,16 +1465,18 @@ export default {
|
||||
createSettleAccount(this.adapayCorpMember).then(
|
||||
(response) => {
|
||||
console.log("新增", response);
|
||||
this.$message.success("新增成功,请勿重新提交");
|
||||
this.$message.success("新增成功,请勿重新提交!");
|
||||
this.dialog = false;
|
||||
this.selectAdapayMember();
|
||||
}
|
||||
);
|
||||
} else {
|
||||
console.log("表格提交失败");
|
||||
console.log("表格提交失败,请联系系统管理员!");
|
||||
return false;
|
||||
}
|
||||
this.dialog = false;
|
||||
});
|
||||
loading.close();
|
||||
},
|
||||
resetForm(adapayCorpMember) {
|
||||
this.$refs[adapayCorpMember].resetFields();
|
||||
|
||||
Reference in New Issue
Block a user