sprint_204_57094

This commit is contained in:
sunjun
2022-06-14 08:13:25 +00:00
parent dbb1ccc413
commit 431a832cda
2 changed files with 56 additions and 0 deletions
+10
View File
@@ -2044,6 +2044,16 @@ class execution extends control
$executionID = $this->execution->saveState((int)$executionID, $this->executions);
$execution = $this->execution->getById($executionID, true);
$execution->projectInfo = $this->loadModel('project')->getByID($execution->project);
if($this->config->systemMode == 'new')
{
$programList = array_filter(explode(',', $execution->projectInfo->path));
array_pop($programList);
$this->view->programList = $this->loadModel('program')->getPairsByList($programList);
}
$type = $this->config->vision == 'lite' ? 'kanban' : 'stage,sprint,kanban';
if(empty($execution) || strpos($type, $execution->type) === false) return print(js::error($this->lang->notFound) . js::locate('back'));