This commit is contained in:
sunguangming
2024-01-02 16:08:50 +08:00
parent 5a24dabec9
commit c1dac9c431
4 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -102,9 +102,6 @@ class programplan extends control
$productList = $this->session->hasProduct ? $this->product->getProductPairsByProject($projectID) : array();
$executions = !empty($planID) ? $this->loadModel('execution')->getChildExecutions($planID, 'order_asc') : array();
/* Set programplan typeList. */
if($executionType != 'stage') unset($this->lang->execution->typeList[''], $this->lang->execution->typeList['stage']);
$plans = $this->programplan->getStage($planID ?: $projectID, $this->productID, 'parent', 'order_asc');
if(!empty($planID) and in_array($project->model, array('ipd', 'waterfallplus')))
{
@@ -120,6 +117,9 @@ class programplan extends control
}
}
/* Set programplan typeList. */
if($executionType != 'stage') unset($this->lang->execution->typeList[''], $this->lang->execution->typeList['stage']);
$viewData = new stdclass();
$viewData->productID = $productID;
$viewData->planID = $planID;