* Finish task #58288.

This commit is contained in:
liumengyi
2022-06-22 16:15:06 +08:00
parent 8f0073050f
commit b7a32b354b
8 changed files with 96 additions and 10 deletions
+7
View File
@@ -1498,6 +1498,7 @@ class execution extends control
}
}
$this->app->loadLang('kanban');
$this->loadModel('user');
$poUsers = $this->user->getPairs('noclosed|nodeleted|pofirst', '', $this->config->maxCount);
if(!empty($this->config->user->moreLink)) $this->config->moreLinks["PM"] = $this->config->user->moreLink;
@@ -1700,6 +1701,7 @@ class execution extends control
}
$this->loadModel('user');
$this->loadModel('kanban');
$poUsers = $this->user->getPairs('noclosed|nodeleted|pofirst', $execution->PO, $this->config->maxCount);
if(!empty($this->config->user->moreLink)) $this->config->moreLinks["PM"] = $this->config->user->moreLink;
@@ -1737,6 +1739,11 @@ class execution extends control
$this->view->branchGroups = $this->execution->getBranchByProduct(array_keys($linkedProducts), $this->config->systemMode == 'new' ? $execution->project : 0, 'noclosed', $linkedBranchList);
$this->view->teamMembers = $this->execution->getTeamMembers($executionID);
if($this->config->systemMode == 'new') $this->view->allProjects = $this->project->getPairsByModel($project->model, 0, 'noclosed', $project->id);
$this->view->laneCount = $this->kanban->getLaneCount($executionID, $execution->model);
$this->view->heightType = $execution->displayCards > 2 ? 'custom' : 'auto';
$this->view->displayCards = $execution->displayCards ? $execution->displayCards : '';
$this->display();
}