|
|
@ -384,44 +384,7 @@ |
|
|
this.$notify({position:'bottom-left',showClose:true,message:'请选中分组属性',type:'warning'}) |
|
|
this.$notify({position:'bottom-left',showClose:true,message:'请选中分组属性',type:'warning'}) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
var params={} |
|
|
|
|
|
if(this.filters.solution){ |
|
|
|
|
|
params.solution=this.filters.solution |
|
|
|
|
|
} |
|
|
|
|
|
if(this.filters.bugType){ |
|
|
|
|
|
params.bugType=this.filters.bugType |
|
|
|
|
|
} |
|
|
|
|
|
if(this.filters.bugStatus){ |
|
|
|
|
|
params.bugStatus=this.filters.bugStatus |
|
|
|
|
|
} |
|
|
|
|
|
if(this.filters.bugReason){ |
|
|
|
|
|
params.bugReason=this.filters.bugReason |
|
|
|
|
|
} |
|
|
|
|
|
if(this.filters.bugSeverity){ |
|
|
|
|
|
params.bugSeverity=this.filters.bugSeverity |
|
|
|
|
|
} |
|
|
|
|
|
if(this.filters.repRate){ |
|
|
|
|
|
params.repRate=this.filters.repRate |
|
|
|
|
|
} |
|
|
|
|
|
if(this.filters.priority){ |
|
|
|
|
|
params.priority=this.filters.priority |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(this.filters.project){ |
|
|
|
|
|
params.projectId=this.filters.project.id |
|
|
|
|
|
} |
|
|
|
|
|
if(this.filters.product){ |
|
|
|
|
|
params.productId=this.filters.product.id |
|
|
|
|
|
} |
|
|
|
|
|
if(this.filters.iteration){ |
|
|
|
|
|
params.linkIterationId=this.filters.iteration.id |
|
|
|
|
|
} |
|
|
|
|
|
if(this.filters.testPlan && this.filters.testPlan.id){ |
|
|
|
|
|
params.planId=this.filters.testPlan.id |
|
|
|
|
|
} |
|
|
|
|
|
if(this.filters.testCasedb && this.filters.testCasedb.id){ |
|
|
|
|
|
params.casedbId=this.filters.testCasedb.id |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
var params={...this.params} |
|
|
params.groupBy=this.groupBy |
|
|
params.groupBy=this.groupBy |
|
|
getXmQuestionAttDist(params).then(res=>{ |
|
|
getXmQuestionAttDist(params).then(res=>{ |
|
|
this.xmQuestionAttDists=res.data.data |
|
|
this.xmQuestionAttDists=res.data.data |
|
|
|