按钮loading-手机端-项目合规评估流程

This commit is contained in:
zyn
2023-11-07 10:09:26 +08:00
parent ea2e1345e7
commit 8b0c98b9c3
2 changed files with 14 additions and 4 deletions
@@ -180,9 +180,9 @@
show-back
show-submit
show-transfer
:transfer-loading="isTransfer"
:submitLoading="isSubmit"
:saveLoading="saveLoading"
:isSubmitBack="isSubmit"
:saveLoading="isSubmit"
:approval="true"
@transfer="handleTransfer"
@back="beforeBack"
@@ -316,6 +316,7 @@ export default {
this.roleTransfer = data
this.phoneRoleList = this.roleTransfer
this.turnLoading = true
this.isSubmit = true
changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id
assignee: data[0].id, // 被委托人
@@ -331,6 +332,8 @@ export default {
} else {
this.$message.warning(res.message)
}
}).finally(() => {
this.isSubmit = false
})
this.modalshowflag = false
},
@@ -471,6 +474,7 @@ export default {
this.listForm.passFlag = "1";
this.listForm.commentText = this.commentText;
const json = JSON.stringify(this.listForm);
this.isSubmit = true;
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.taskIds,
userId: this.userId,
@@ -484,6 +488,7 @@ export default {
this.$router.go(-2)
// this.$router.push("/processCenter");
}
this.isSubmit = false;
}, e => {
});
}
@@ -179,9 +179,9 @@
<ProcessFooter
show-submit
show-transfer
:transfer-loading="isTransfer"
:submitLoading="isSubmit"
:saveLoading="saveLoading"
:isSubmitBack="isSubmit"
:saveLoading="isSubmit"
:approval="true"
@transfer="handleTransfer"
@submit="handleSubmit"
@@ -314,6 +314,7 @@ export default {
this.roleTransfer = data
this.phoneRoleList = this.roleTransfer
this.turnLoading = true
this.isSubmit = true
changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id
assignee: data[0].id, // 被委托人
@@ -329,6 +330,8 @@ export default {
} else {
this.$message.warning(res.message)
}
}).finally(() => {
this.isSubmit = false
})
this.modalshowflag = false
},
@@ -469,6 +472,7 @@ export default {
this.listForm.dlFlag = "2";
this.listForm.commentText = this.commentText;
const json = JSON.stringify(this.listForm);
this.isSubmit = true;
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.taskIds,
userId: this.userId,
@@ -482,6 +486,7 @@ export default {
this.$router.go(-2)
// this.$router.push("/processCenter");
}
this.isSubmit = false;
}, e => {
});
}