This commit is contained in:
tianshujie
2024-05-22 13:48:06 +08:00
committed by caoyanyi
parent c8e9364e19
commit 344c4e4def
+2 -2
View File
@@ -17,9 +17,9 @@ $fields->field('project')
->items(data('allProjects'))
->value(data('projectID'));
if(!empty($project->model) and in_array($project->model, array('agileplus', 'ipd', 'waterfallplus')))
if(!empty($project->model) and $project->model == 'agileplus')
{
if($project->model == 'agileplus' ) unset($lang->execution->typeList['stage'], $lang->execution->typeList['']);
unset($lang->execution->typeList['stage'], $lang->execution->typeList['']);
$fields->field('method')
->required()
->name('type')