diff --git a/app/adminapi/logic/create_task_template/CreateTaskTemplateLogic.php b/app/adminapi/logic/create_task_template/CreateTaskTemplateLogic.php index f495989cc..539595acc 100644 --- a/app/adminapi/logic/create_task_template/CreateTaskTemplateLogic.php +++ b/app/adminapi/logic/create_task_template/CreateTaskTemplateLogic.php @@ -143,14 +143,19 @@ class CreateTaskTemplateLogic extends BaseLogic switch ($taskRoleId) { case 1: $type = 'town_task_type_master'; + break; case 2: $type = 'town_task_type_marketing_director'; + break; case 3: $type = 'town_task_type'; + break; case 4: $type = 'village_task_type'; + break; case 5: $type = 'task_type'; + break; } if ($type) { $data = ConfigLogic::getDictByType($type);