* Adjsut QA menu.

This commit is contained in:
leiyong
2021-03-22 23:53:00 +08:00
parent 03d986bd85
commit ea086296b0
19 changed files with 77 additions and 120 deletions
+4 -2
View File
@@ -76,8 +76,8 @@ class testtask extends control
public function browse($productID = 0, $branch = '', $type = 'local,totalStatus', $orderBy = 'id_desc', $recTotal = 0, $recPerPage = 20, $pageID = 1, $beginTime = 0, $endTime = 0)
{
/* Save session. */
$this->session->set('testtaskList', $this->app->getURI(true));
$this->session->set('buildList', $this->app->getURI(true));
$this->session->set('testtaskList', $this->app->getURI(true), 'qa');
$this->session->set('buildList', $this->app->getURI(true), 'execution');
$scopeAndStatus = explode(',', $type);
$this->session->set('testTaskVersionScope', $scopeAndStatus[0]);
@@ -1211,7 +1211,9 @@ class testtask extends control
die(js::locate($this->createLink('testtask', 'unitCases', "taskID=$taskID"), 'parent'));
}
/* Set menu. */
$this->loadModel('qa')->setMenu($this->products, $productID);
$this->app->rawModule = 'testcase';
$this->app->loadLang('job');