Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,13 @@ async function initProcessInfo(row: any, formVariables?: any) {
}
setConfAndFields2(detailForm, row.formConf, row.formFields, formVariables);

// 隐藏 form-create 的提交按钮和重置按钮
detailForm.value.option.submitBtn = false;
detailForm.value.option.resetBtn = false;

// 设置表单就绪状态
isFormReady.value = true;

await nextTick();
fApi.value?.btn.show(false); // 隐藏提交按钮

// 获取流程审批信息,当再次发起时,流程审批节点要根据原始表单参数预测出来
await getApprovalDetail({
id: row.id,
Expand Down