更新审核机制

This commit is contained in:
yaooo 2023-11-18 12:03:15 +08:00
parent b6afb6840d
commit 4821d3728a
1 changed files with 19 additions and 0 deletions

View File

@ -261,6 +261,25 @@ class Index extends BaseController
if(!empty($flowData)){
foreach ($flowData as $key => &$val) {
$val['user_id_info'] = Db::name('Admin')->field('id,name,thumb')->where('id','in',$val['flow_uids'])->select()->toArray();
$val['flow_type_txt'] = '';
if($val['flow_type'] == 1){
$val['flow_type_txt'] = '当前部门负责人';
}
if($val['flow_type'] == 2){
$val['flow_type_txt'] = '上级部门负责人';
}
if($val['flow_type'] == 3){
$val['flow_type_txt'] = '指定人员或签';
}
if($val['flow_type'] == 4){
$val['flow_type_txt'] = '指定人员会签';
}
if($val['flow_type'] == 5){
$val['flow_type_txt'] = '当前部门分管领导';
}
if($val['flow_type'] == 6){
$val['flow_type_txt'] = '上级部门分管领导';
}
}
}
$data['copy_uids'] = $flow['copy_uids'];