* Finish task #49297.

This commit is contained in:
zhangzilong
2022-02-28 14:27:55 +08:00
parent df55b0af1b
commit e30a8b1343
3 changed files with 32 additions and 3 deletions
+2
View File
@@ -2125,6 +2125,7 @@ class execution extends control
/* Get execution's product. */
$productID = 0;
$products = $this->loadModel('product')->getProducts($executionID);
foreach($products as $product) $productNames[$product->id] = $product->name;
if($products) $productID = key($products);
$plans = $this->execution->getPlans($products);
@@ -2147,6 +2148,7 @@ class execution extends control
$this->view->orderBy = 'id_asc';
$this->view->executionID = $executionID;
$this->view->productID = $productID;
$this->view->productNames = $productNames;
$this->view->allPlans = $allPlans;
$this->view->browseType = $browseType;
$this->view->kanbanGroup = $kanbanGroup;