任务安排-添加任务时选择任务创建模板,自动填充表单
This commit is contained in:
parent
5f3e46b4a2
commit
7a3c482870
@ -143,14 +143,19 @@ class CreateTaskTemplateLogic extends BaseLogic
|
|||||||
switch ($taskRoleId) {
|
switch ($taskRoleId) {
|
||||||
case 1:
|
case 1:
|
||||||
$type = 'town_task_type_master';
|
$type = 'town_task_type_master';
|
||||||
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
$type = 'town_task_type_marketing_director';
|
$type = 'town_task_type_marketing_director';
|
||||||
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
$type = 'town_task_type';
|
$type = 'town_task_type';
|
||||||
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
$type = 'village_task_type';
|
$type = 'village_task_type';
|
||||||
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
$type = 'task_type';
|
$type = 'task_type';
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if ($type) {
|
if ($type) {
|
||||||
$data = ConfigLogic::getDictByType($type);
|
$data = ConfigLogic::getDictByType($type);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user