mirror of
https://gitee.com/myxzgzs/boyue-ui-admin-vue3
synced 2025-08-08 16:32:43 +08:00
fix: 修改pr中698的问题
This commit is contained in:
parent
b53bfbd49e
commit
ee8de08103
@ -700,6 +700,12 @@ const handleAudit = async (pass: boolean, formRef: FormInstance | undefined) =>
|
|||||||
// 校验表单
|
// 校验表单
|
||||||
if (!formRef) return
|
if (!formRef) return
|
||||||
await formRef.validate()
|
await formRef.validate()
|
||||||
|
//校验流程表单必填字段
|
||||||
|
const valid = await validateNormalForm()
|
||||||
|
if (!valid) {
|
||||||
|
message.warning('表单校验不通过,请先完善表单!!')
|
||||||
|
return
|
||||||
|
}
|
||||||
if (pass) {
|
if (pass) {
|
||||||
// 获取修改的流程变量, 暂时只支持流程表单
|
// 获取修改的流程变量, 暂时只支持流程表单
|
||||||
const variables = getUpdatedProcessInstanceVariables()
|
const variables = getUpdatedProcessInstanceVariables()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user