任务安排-添加任务时选择任务创建模板,自动填充表单
This commit is contained in:
parent
120e40c6e6
commit
7f3b99005c
@ -20,6 +20,7 @@ use app\adminapi\controller\BaseAdminController;
|
||||
use app\adminapi\lists\create_task_template\CreateTaskTemplateLists;
|
||||
use app\adminapi\logic\create_task_template\CreateTaskTemplateLogic;
|
||||
use app\adminapi\validate\create_task_template\CreateTaskTemplateValidate;
|
||||
use app\common\model\dict\DictData;
|
||||
|
||||
|
||||
/**
|
||||
@ -118,4 +119,11 @@ class CreateTaskTemplateController extends BaseAdminController
|
||||
return $this->data($list);
|
||||
}
|
||||
|
||||
public function taskTypeInfo()
|
||||
{
|
||||
$type = ['town_task_type_master', 'town_task_type_marketing_director', 'town_task_type', 'village_task_type', 'task_type'];
|
||||
$lists = DictData::whereIn('type_value', $type)->column('name', 'id');
|
||||
return $this->data($lists);
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user