修改技术监督问题
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
:icon="View"
|
||||
style="margin-left: 10px;"
|
||||
@click='handleFormDetail(item)'
|
||||
v-if="item.formId && item.status!=3"
|
||||
v-if="item.formId "
|
||||
>
|
||||
<Icon icon='ep:document'/>
|
||||
查看表单
|
||||
|
||||
@@ -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('审批不通过成功')
|
||||
|
||||
Reference in New Issue
Block a user