update 流程完善

This commit is contained in:
danshihao
2023-12-12 09:17:41 +08:00
parent 3a588fdd73
commit a5c3c49ef5
6 changed files with 22 additions and 2 deletions
@@ -370,6 +370,15 @@ export default {
*/
handleSubmit () {
if (this.loading) return
// 节点3,判断表格中实际稽查完成日期和实际稽查人是否填写
if (
this.currentNode === EsInspectionProcess.inputInspectionReport.value &&
this.$refs.inspectionProcessTable.dataSource.some(item => (!item.completeDate || !item.actualInspectUser))
) {
this.switchChange('base')
this.$message.warning(this.$t('pleaseCompleteTableInfo'))
return
}
// 有taskId说明已经发起过,调审批接口,否则调发起接口
if (this.$route.query.taskId) {
this.handleAgree(true)