任务列表-任务执行人

This commit is contained in:
chenbo 2023-12-21 11:31:52 +08:00
parent 358bc3e098
commit 266953c4d2

View File

@ -80,6 +80,7 @@ class TaskController extends BaseApiController
$townMasterTaskTypeList = DictData::where(['type_value' => 'town_task_type_master', 'status' => 1])->column('value', 'id'); $townMasterTaskTypeList = DictData::where(['type_value' => 'town_task_type_master', 'status' => 1])->column('value', 'id');
$res = Task::where($where) $res = Task::where($where)
->with(['directorInfo'])
->field(['id', 'title', 'money', 'template_id', 'director_uid', 'company_id', 'start_time', 'end_time', 'type', 'status', 'content', 'extend']) ->field(['id', 'title', 'money', 'template_id', 'director_uid', 'company_id', 'start_time', 'end_time', 'type', 'status', 'content', 'extend'])
->page($page, 25) ->page($page, 25)
->order(['id' => 'desc', 'status' => 'asc']) ->order(['id' => 'desc', 'status' => 'asc'])