任务安排-添加任务时选择任务创建模板,自动填充表单

This commit is contained in:
chenbo 2023-12-18 18:05:33 +08:00
parent 4d2dfa3540
commit e57e7052e9

View File

@ -56,7 +56,7 @@ class CreateTaskTemplateLists extends BaseAdminDataLists implements ListsSearchI
public function lists(): array
{
return CreateTaskTemplate::where($this->searchWhere)
->field(['id', 'title', 'admin_id', 'task_role_id', 'type', 'stage_day_one', 'money', 'proportion_one', 'stage_day_two', 'proportion_two', 'money_two', 'stage_day_three', 'new_money_three', 'money_longtime', 'types', 'extend', 'recharge', 'content'])
->field(['id', 'title', 'admin_id', 'task_role_id', 'type', 'stage_day_one', 'money', 'proportion_one', 'stage_day_two', 'proportion_two', 'money_two', 'stage_day_three', 'new_money_three', 'money_longtime', 'types', 'recharge', 'content'])
->append(['admin_name'])
->limit($this->limitOffset, $this->limitLength)
->order(['id' => 'desc'])