* Code for execution list.

This commit is contained in:
孙广明
2022-07-12 00:43:56 +08:00
parent f507af4cd0
commit daf3ef4c99
5 changed files with 158 additions and 144 deletions
+1 -1
View File
@@ -957,6 +957,7 @@ class project extends control
public function execution($status = 'all', $projectID = 0, $orderBy = 'order_asc', $productID = 0, $recTotal = 0, $recPerPage = 100, $pageID = 1)
{
$this->loadModel('execution');
$this->loadModel('task');
$this->loadModel('programplan');
$projects = $this->project->getPairsByProgram();
@@ -974,7 +975,6 @@ class project extends control
$this->view->title = $this->lang->execution->allExecutions;
$this->view->position[] = $this->lang->execution->allExecutions;
$this->view->executionStats = $this->project->getStats($projectID, $status, $productID, 0, 30, $orderBy, $pager, true);
$this->view->productList = $this->loadModel('product')->getProductPairsByProject($projectID);
$this->view->productID = $productID;