[流程发布]createOrModifyList结构变化修改

zzq
Zhufu 2024-06-18 11:08:52 +08:00
parent 3867d86679
commit 909566938f
1 changed files with 9 additions and 7 deletions

View File

@ -428,14 +428,16 @@
} }
// //
if (createOrModifyList.value.length > 0) { if (createOrModifyList.value.length > 0) {
createOrModifyList.value.forEach((item) => { createOrModifyList.value.forEach((childTab) => {
if (!item.componentProps.disabled) { childTab.forEach(item => {
if (item.type == 'createuser' || item.type == 'modifyuser') { if (!item.componentProps.disabled) {
query[item.field] = userName; if (item.type == 'createuser' || item.type == 'modifyuser') {
} else if (item.type == 'createtime' || item.type == 'modifytime') { query[item.field] = userName;
query[item.field] = nowTime.value; } else if (item.type == 'createtime' || item.type == 'modifytime') {
query[item.field] = nowTime.value;
}
} }
} })
}); });
} }
return query; return query;