Browse Source

优化

master
陈裕财 3 years ago
parent
commit
453182ea4c
  1. 6
      src/views/xm/rpt/product/questionAttDist.vue
  2. 3
      src/views/xm/rpt/product/questionRetestDist.vue

6
src/views/xm/rpt/product/questionAttDist.vue

@ -222,11 +222,10 @@
testCasedb:null, testCasedb:null,
}, },
params:{ params:{
groupBy:'bug_status',
}, },
title:'',// title:'',//
remark:'', // remark:'', //
groupBy:'bug_status',
groupBys:[ groupBys:[
{id:'bug_status', name:'缺陷状态'}, {id:'bug_status', name:'缺陷状态'},
{id:'bug_type', name:'缺陷类型'}, {id:'bug_type', name:'缺陷类型'},
@ -299,6 +298,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

3
src/views/xm/rpt/product/questionRetestDist.vue

@ -204,11 +204,10 @@
testCasedb:null, testCasedb:null,
}, },
params:{ params:{
groupBy:'handler_userid'
}, },
title:'',// title:'',//
remark:'', // remark:'', //
groupBy:'handler_userid',
groupBys:[ groupBys:[
{id:'create_userid', name:'创建人'}, {id:'create_userid', name:'创建人'},
{id:'ask_userid', name:'提出人'}, {id:'ask_userid', name:'提出人'},

Loading…
Cancel
Save