按钮loading-手机端-项目合规评估流程
This commit is contained in:
@@ -180,9 +180,9 @@
|
|||||||
show-back
|
show-back
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
:transfer-loading="isTransfer"
|
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:isSubmitBack="isSubmit"
|
||||||
|
:saveLoading="isSubmit"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@back="beforeBack"
|
@back="beforeBack"
|
||||||
@@ -316,6 +316,7 @@ export default {
|
|||||||
this.roleTransfer = data
|
this.roleTransfer = data
|
||||||
this.phoneRoleList = this.roleTransfer
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.turnLoading = true
|
this.turnLoading = true
|
||||||
|
this.isSubmit = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
@@ -331,6 +332,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
@@ -471,6 +474,7 @@ export default {
|
|||||||
this.listForm.passFlag = "1";
|
this.listForm.passFlag = "1";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
@@ -484,6 +488,7 @@ export default {
|
|||||||
this.$router.go(-2)
|
this.$router.go(-2)
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -179,9 +179,9 @@
|
|||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
show-submit
|
show-submit
|
||||||
show-transfer
|
show-transfer
|
||||||
:transfer-loading="isTransfer"
|
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
:saveLoading="saveLoading"
|
:isSubmitBack="isSubmit"
|
||||||
|
:saveLoading="isSubmit"
|
||||||
:approval="true"
|
:approval="true"
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
@@ -314,6 +314,7 @@ export default {
|
|||||||
this.roleTransfer = data
|
this.roleTransfer = data
|
||||||
this.phoneRoleList = this.roleTransfer
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.turnLoading = true
|
this.turnLoading = true
|
||||||
|
this.isSubmit = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
@@ -329,6 +330,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
@@ -469,6 +472,7 @@ export default {
|
|||||||
this.listForm.dlFlag = "2";
|
this.listForm.dlFlag = "2";
|
||||||
this.listForm.commentText = this.commentText;
|
this.listForm.commentText = this.commentText;
|
||||||
const json = JSON.stringify(this.listForm);
|
const json = JSON.stringify(this.listForm);
|
||||||
|
this.isSubmit = true;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
@@ -482,6 +486,7 @@ export default {
|
|||||||
this.$router.go(-2)
|
this.$router.go(-2)
|
||||||
// this.$router.push("/processCenter");
|
// this.$router.push("/processCenter");
|
||||||
}
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user