更新审核机制
This commit is contained in:
parent
b6afb6840d
commit
4821d3728a
|
@ -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'];
|
||||
|
|
Loading…
Reference in New Issue