* [task#142376,done,0.5h] finish task.

This commit is contained in:
sunguangming
2025-04-29 15:03:07 +08:00
committed by 刘刚
parent 9bf90480a0
commit cd1014aa28
2 changed files with 14 additions and 11 deletions
+13 -11
View File
@@ -287,17 +287,19 @@ class programplanZen extends programplan
$parentStage = $this->project->getByID($plan->parent, 'stage');
$this->view->title = $this->lang->programplan->edit;
$this->view->isCreateTask = $this->programplan->isCreateTask($plan->id);
$this->view->plan = $plan;
$this->view->project = $this->project->getByID($plan->project);
$this->view->parentStageList = $this->programplan->getParentStageList($plan->project, $plan->id, $plan->product);
$this->view->enableOptionalAttr = empty($parentStage) || (!empty($parentStage) && $parentStage->attribute == 'mix');
$this->view->isTopStage = $this->programplan->isTopStage($plan->id);
$this->view->isLeafStage = $this->programplan->checkLeafStage($plan->id);
$this->view->PMUsers = $this->loadModel('user')->getPairs('noclosed|nodeleted|pmfirst', $plan->PM);
$this->view->project = $this->project->getByID($plan->project);
$this->view->requiredFields = $this->config->execution->edit->requiredFields;
$this->view->title = $this->lang->programplan->edit;
$this->view->isCreateTask = $this->programplan->isCreateTask($plan->id);
$this->view->plan = $plan;
$this->view->project = $this->project->getByID($plan->project);
$this->view->parentStageList = $this->programplan->getParentStageList($plan->project, $plan->id, $plan->product);
$this->view->enableOptionalAttr = empty($parentStage) || (!empty($parentStage) && $parentStage->attribute == 'mix');
$this->view->isTopStage = $this->programplan->isTopStage($plan->id);
$this->view->isLeafStage = $this->programplan->checkLeafStage($plan->id);
$this->view->PMUsers = $this->loadModel('user')->getPairs('noclosed|nodeleted|pmfirst', $plan->PM);
$this->view->project = $this->project->getByID($plan->project);
$this->view->requiredFields = $this->config->execution->edit->requiredFields;
$this->view->hasUploadedDeliverable = in_array($this->config->edition, array('max', 'ipd')) ? $this->execution->hasUploadedDeliverable($plan) : false;
$this->display();
}