diff --git a/src/views/xm/rpt/product/menuSort.vue b/src/views/xm/rpt/product/menuSort.vue index dbb14c97..2ff800bf 100644 --- a/src/views/xm/rpt/product/menuSort.vue +++ b/src/views/xm/rpt/product/menuSort.vue @@ -208,6 +208,9 @@ if( this.filters.testCasedb && 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){ this.params=this.cfg.params this.title=this.cfg.title diff --git a/src/views/xm/rpt/product/questionSort.vue b/src/views/xm/rpt/product/questionSort.vue index 355d6b83..12a27024 100644 --- a/src/views/xm/rpt/product/questionSort.vue +++ b/src/views/xm/rpt/product/questionSort.vue @@ -186,11 +186,10 @@ testCasedb:null, }, params:{ - + groupBy:'handler_userid', }, title:'',//报表配置项 remark:'', //报表配置项 - groupBy:'handler_userid', groupBys:[ {id:'create_userid', name:'创建人'}, {id:'ask_userid', name:'提出人'}, @@ -245,6 +244,9 @@ if( this.filters.testCasedb && 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){ this.params=this.cfg.params this.title=this.cfg.title @@ -253,9 +255,7 @@ if(this.showToolBar && !this.title){ this.title="企业工作项每日趋势图" } - if(this.initGroupBy){ - this.params.groupBy=this.initGroupBy - } + this.searchXmQuestionSort() }, drawCharts() { diff --git a/src/views/xm/rpt/project/taskSort.vue b/src/views/xm/rpt/project/taskSort.vue index 72eaa954..efb426d7 100644 --- a/src/views/xm/rpt/project/taskSort.vue +++ b/src/views/xm/rpt/project/taskSort.vue @@ -129,11 +129,10 @@ testCasedb:null, }, params:{ - + groupBy:'create_userid', }, title:'',//报表配置项 remark:'', //报表配置项 - groupBy:'create_userid', groupBys:[ {id:'create_userid', name:'创建人'}, {id:'executor_userid', name:'执行人'}, diff --git a/src/views/xm/rpt/testCase/testCaseSort.vue b/src/views/xm/rpt/testCase/testCaseSort.vue index 03fea29e..5e9e4c51 100644 --- a/src/views/xm/rpt/testCase/testCaseSort.vue +++ b/src/views/xm/rpt/testCase/testCaseSort.vue @@ -155,11 +155,10 @@ caseType:'', }, params:{ - + groupBy:'menu_id', }, title:'',//报表配置项 - remark:'', //报表配置项 - groupBy:'menu_id', + remark:'', //报表配置项 groupBys:[ {id:'menu_id', name:'故事'}, {id:'cuserid', name:'负责人'},