修改文件:app/Http/Service/Approve/ApproveApplyService.php文件268-280行
修改内容:
foreach ($forms as $v) {
if (isset($v['content']['children'])) {
foreach ($v['content']['children'] as $value) {
if (is_string($value)){
$v['value'] = $form[$v['uniqued']];
$v['symbol'] = $v['content']['symbol'] ?? '';
}else{
$v['value'] = $form[$value['field']];
$v['types'] = $value['type'];
$v['uniqued'] = $value['field'];
$v['symbol'] = $value['symbol'] ?? '';
$v['content'] = $value;
}
$saveForm[] = $v;
}
} else {
$v['value'] = $form[$v['uniqued']];
$v['symbol'] = $v['content']['symbol'] ?? '';
$saveForm[] = $v;
}
}
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}