更新oa审批应用

This commit is contained in:
yaooo 2023-11-24 13:54:43 +08:00
parent 124d2879fb
commit f3b20fdacb
1 changed files with 6 additions and 1 deletions

View File

@ -39,8 +39,13 @@ class OaApprove extends ApiController
foreach($list as $k=>$v) { foreach($list as $k=>$v) {
$list[$k]['create_time'] = date('Y-m-d H:i:s', $v['create_time']); $list[$k]['create_time'] = date('Y-m-d H:i:s', $v['create_time']);
$list[$k]['update_time'] = date('Y-m-d H:i:s', $v['update_time']); $list[$k]['update_time'] = date('Y-m-d H:i:s', $v['update_time']);
if ($v['type'] == 6 || $v['type'] == 7) { if ($v['type'] == 6 ) {
$list[$k]['type'] = 3; $list[$k]['type'] = 3;
$list[$k]['id'] = 9996;
}
if ($v['type'] == 7) {
$list[$k]['type'] = 3;
$list[$k]['id'] = 9997;
} }
} }
/* /*