【功能完善】流程发起时,增加流程表单的校验
parent
0b6af855ac
commit
a6de16a02d
|
@ -179,6 +179,8 @@ const submitForm = async () => {
|
||||||
if (!fApi.value || !props.selectProcessDefinition) {
|
if (!fApi.value || !props.selectProcessDefinition) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
// 流程表单校验
|
||||||
|
await fApi.value.validate()
|
||||||
// 如果有指定审批人,需要校验
|
// 如果有指定审批人,需要校验
|
||||||
if (startUserSelectTasks.value?.length > 0) {
|
if (startUserSelectTasks.value?.length > 0) {
|
||||||
for (const userTask of startUserSelectTasks.value) {
|
for (const userTask of startUserSelectTasks.value) {
|
||||||
|
|
Loading…
Reference in New Issue