修改技术监督问题

This commit is contained in:
GGJ
2024-07-18 14:25:53 +08:00
parent 4a6eaf50e8
commit 049d0c1132
11 changed files with 373 additions and 18 deletions

View File

@@ -251,6 +251,11 @@ const handleAudit = async (task, pass) => {
tab.value = '审批记录'
ElMessage.success('审批通过成功')
} else {
const formCreateApi = approveFormFApis.value[index]
if (formCreateApi) {
await formCreateApi.validate()
data.variables = approveForms.value[index].value
}
await rejectTask(data)
tab.value = '审批记录'
ElMessage.success('审批不通过成功')