* Adjust code.

This commit is contained in:
leiyong
2021-03-12 14:14:56 +08:00
parent 1241e1a769
commit 9ff48bdb53
9 changed files with 120 additions and 80 deletions
+3
View File
@@ -135,6 +135,8 @@ class testtask extends control
{
/* Save session. */
$this->session->set('testtaskList', $this->app->getURI(true));
$this->loadModel('testcase');
$this->app->loadLang('tree');
/* Set menu. */
$productID = $this->product->saveState($productID, $this->products);
@@ -162,6 +164,7 @@ class testtask extends control
$this->view->users = $this->loadModel('user')->getPairs('noclosed|noletter');
$this->view->pager = $pager;
$this->view->product = $this->product->getByID($productID);
$this->view->suiteList = $this->loadModel('testsuite')->getSuites($productID);
$this->display();
}