|
|
@ -164,11 +164,10 @@ |
|
|
testCasedb:null, |
|
|
testCasedb:null, |
|
|
}, |
|
|
}, |
|
|
params:{ |
|
|
params:{ |
|
|
|
|
|
|
|
|
|
|
|
groupBy:'task_state', |
|
|
}, |
|
|
}, |
|
|
title:'',//报表配置项 |
|
|
title:'',//报表配置项 |
|
|
remark:'', //报表配置项 |
|
|
remark:'', //报表配置项 |
|
|
groupBy:'task_state', |
|
|
|
|
|
groupBys:[ |
|
|
groupBys:[ |
|
|
{id:'task_state', name:'任务状态'}, |
|
|
{id:'task_state', name:'任务状态'}, |
|
|
{id:'task_type', name:'任务类型'}, |
|
|
{id:'task_type', name:'任务类型'}, |
|
|
@ -236,6 +235,9 @@ |
|
|
if( this.filters.testCasedb && this.filters.testCasedb.id){ |
|
|
if( this.filters.testCasedb && this.filters.testCasedb.id){ |
|
|
this.params.casedbId= this.filters.testCasedb.id |
|
|
this.params.casedbId= this.filters.testCasedb.id |
|
|
} |
|
|
} |
|
|
|
|
|
if(this.initGroupBy){ |
|
|
|
|
|
this.params.groupBy=this.initGroupBy |
|
|
|
|
|
} |
|
|
if(this.cfg && this.cfg.id){ |
|
|
if(this.cfg && this.cfg.id){ |
|
|
this.params=this.cfg.params |
|
|
this.params=this.cfg.params |
|
|
this.title=this.cfg.title |
|
|
this.title=this.cfg.title |
|
|
|