部门选择 外协单位 选项优化

This commit is contained in:
2025-10-30 17:11:59 +08:00
parent bea6e51eea
commit 6f4be5956e
4 changed files with 23 additions and 6 deletions

View File

@@ -233,6 +233,10 @@ const getProcessInstance = async () => {
if (processDefinition.formType === 10) {
detailForm.value.formId = processDefinition.formId
detailForm.value.optionsData = JSON.parse(processDefinition.formConf)
if (data.formVariables.jeelowcode_subtable_data) {
data.formVariables = { ...data.formVariables, ...data.formVariables.jeelowcode_subtable_data }
delete data.formVariables.jeelowcode_subtable_data
}
detailForm.value.defaultData = data.formVariables
// setConfAndFields2(
// detailForm,