任务列表-任务执行人

This commit is contained in:
chenbo 2023-12-21 11:31:52 +08:00
parent 83dfd17485
commit d2c76df104

View File

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