This commit is contained in:
wangyidong
2019-07-12 17:08:13 +08:00
parent e40bb305df
commit 760a4cde76
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -334,7 +334,7 @@ class testtask extends control
* @access public
* @return void
*/
public function report($productID, $taskID, $browseType, $branchID, $moduleID = 0, $chartType = 'default')
public function report($productID, $taskID, $browseType, $branchID, $moduleID = 0, $chartType = 'pie')
{
$this->loadModel('report');
$this->view->charts = array();
+1
View File
@@ -510,6 +510,7 @@ class testtaskModel extends model
if(!$datas) return array();
$this->app->loadLang('testcase');
foreach($datas as $result => $data) $data->name = isset($this->lang->testcase->resultList[$result])? $this->lang->testcase->resultList[$result] : $this->lang->testtask->unexecuted;
return $datas;