update
This commit is contained in:
parent
756fd45d3a
commit
3ad1cd2bb0
@ -80,14 +80,14 @@ class FlowApproveLists extends BaseAdminDataLists implements ListsSearchInterfac
|
||||
break;
|
||||
}
|
||||
return FlowApprove::where($this->searchWhere)->where($where)
|
||||
->field(['id', 'title', 'flow_type_id', 'flow_id', 'content_id', 'path', 'create_user', 'check_status', 'create_time'])
|
||||
->field(['id', 'title', 'flow_id', 'content_id', 'path', 'create_user', 'check_status', 'create_time'])
|
||||
->limit($this->limitOffset, $this->limitLength)
|
||||
->order(['id' => 'desc'])
|
||||
->select()->each(function($data){
|
||||
//获取审批类型
|
||||
$flow_type = FlowType::field('title')->where('id',$data['flow_type_id'])->findOrEmpty();
|
||||
//获取审批流程信息
|
||||
$flow = Flow::field('name,copy_uids')->where('id',$data['flow_id'])->findOrEmpty();
|
||||
$flow = Flow::field('name,copy_uids,flow_cate')->where('id',$data['flow_id'])->findOrEmpty();
|
||||
//获取审批类型
|
||||
$flow_type = FlowType::field('title')->where('id',$flow['flow_cate'])->findOrEmpty();
|
||||
//获取创建人信息
|
||||
$create_user = Admin::field('name')->where('id',$data['create_user'])->findOrEmpty();
|
||||
//获取抄送人信息
|
||||
|
Loading…
x
Reference in New Issue
Block a user