流程发起和审核,验证选项卡必填项
parent
d02369b785
commit
fe84dda83b
|
|
@ -303,6 +303,9 @@
|
|||
formBoxRef.value
|
||||
.getForm()
|
||||
.then(async (res) => {
|
||||
if (!res) {
|
||||
createMessage.error('请检查表单必填项');
|
||||
} else {
|
||||
res[designerData.formCurrentNode.formRelationId] = processId;
|
||||
for (var item in res) {
|
||||
if (res[item] == undefined) {
|
||||
|
|
@ -317,6 +320,7 @@
|
|||
if (formValue) {
|
||||
handleCreateFlow(processId);
|
||||
}
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log(error);
|
||||
|
|
|
|||
|
|
@ -605,6 +605,10 @@
|
|||
formBoxRef.value
|
||||
.getForm()
|
||||
.then(async (res) => {
|
||||
console.log(res);
|
||||
if (!res) {
|
||||
createMessage.error('请检查表单必填项');
|
||||
} else {
|
||||
res[designerData.formCurrentNode.formRelationId] = instanceInfo.pkeyValue;
|
||||
for (var item in res) {
|
||||
if (res[item] == undefined) {
|
||||
|
|
@ -619,6 +623,7 @@
|
|||
if (formValue) {
|
||||
handleSubmit(btn);
|
||||
}
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log(error);
|
||||
|
|
|
|||
Loading…
Reference in New Issue