Browse Source

优化报表

master
陈裕财 3 years ago
parent
commit
88329d4861
  1. 375
      src/views/xm/rpt/branch/branchWorkItemDayList copy.vue
  2. 31
      src/views/xm/rpt/branch/branchWorkItemDayList.vue
  3. 38
      src/views/xm/rpt/branch/menuDayAccumulate.vue
  4. 38
      src/views/xm/rpt/branch/menuDayTrend.vue
  5. 38
      src/views/xm/rpt/branch/questionDayAccumulate.vue
  6. 38
      src/views/xm/rpt/branch/questionDayTrend.vue
  7. 38
      src/views/xm/rpt/iteration/IterationWorkItemDayList.vue
  8. 38
      src/views/xm/rpt/iteration/burnout.vue
  9. 38
      src/views/xm/rpt/iteration/menuDayAccumulate.vue
  10. 38
      src/views/xm/rpt/iteration/menuDayTrend.vue
  11. 38
      src/views/xm/rpt/iteration/questionDayAccumulate.vue
  12. 38
      src/views/xm/rpt/iteration/questionDayTrend.vue
  13. 38
      src/views/xm/rpt/product/menuAgeDist.vue
  14. 38
      src/views/xm/rpt/product/menuAttDist.vue
  15. 38
      src/views/xm/rpt/product/menuDayAccumulate.vue
  16. 38
      src/views/xm/rpt/product/menuDayTrend.vue
  17. 38
      src/views/xm/rpt/product/menuSort.vue
  18. 38
      src/views/xm/rpt/product/productWorkItemDayList.vue
  19. 38
      src/views/xm/rpt/product/questionAgeDist.vue
  20. 38
      src/views/xm/rpt/product/questionAttDist.vue
  21. 38
      src/views/xm/rpt/product/questionDayAccumulate.vue
  22. 38
      src/views/xm/rpt/product/questionDayTrend.vue
  23. 38
      src/views/xm/rpt/product/questionRetestDist.vue
  24. 38
      src/views/xm/rpt/product/questionSort.vue
  25. 7
      src/views/xm/rpt/project/projectWorkItemDayList.vue
  26. 7
      src/views/xm/rpt/project/projectWorkloadSetDayList.vue
  27. 7
      src/views/xm/rpt/project/projectWorkloadSetMonthList.vue
  28. 7
      src/views/xm/rpt/project/taskAgeDist.vue
  29. 7
      src/views/xm/rpt/project/taskAttDist.vue
  30. 7
      src/views/xm/rpt/project/taskDayAccumulate.vue
  31. 7
      src/views/xm/rpt/project/taskDayTrend.vue
  32. 7
      src/views/xm/rpt/project/taskSort.vue
  33. 7
      src/views/xm/rpt/testCase/testCaseSort.vue
  34. 38
      src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue
  35. 38
      src/views/xm/rpt/testPlan/testDayTimesCalc.vue
  36. 38
      src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue
  37. 38
      src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue

375
src/views/xm/rpt/branch/branchWorkItemDayList copy.vue

@ -1,375 +0,0 @@
<template>
<section>
<el-row :gutter="5" >
<el-col :span="18">
<div class="rpt-box">
<el-row v-if="isRptCfg">
<el-row class="row-box padding-top">
<span class="title">{{title?title:'请输入标题'}}</span><el-input class="input" v-model="title" placeholder="请输入标题"></el-input>
</el-row>
<el-row class="row-box">
<el-row class="remark"><div v-html="remark?remark:'请输入说明'"></div></el-row>
<el-row ><el-input class="input" type="textarea" :rows="4" v-model="remark" placeholder="请输入说明"></el-input></el-row>
</el-row>
</el-row>
<el-row v-else-if="cfg && cfg.id">
<el-row v-if="title" class="row-box">
<span class="title">{{title}}</span>
</el-row>
<el-row v-if="remark" class="row-box">
<span class="remark">{{remark}}</span>
</el-row>
</el-row>
<el-row>
<div class="echart-box" :id="this.id"></div>
</el-row>
</div>
</el-col>
<el-col :span="6" class="border" v-if="isRptCfg">
<el-row v-if="showToolBar">
<el-button type="danger" icon="el-icon-delete" @click="doDelete">从报告移除该报表</el-button>
</el-row>
<el-row v-if="showParams">
<el-form :model="params" class="padding" :style="{width:'100%',maxHeight:maxTableHeight+'px',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="日期区间">
<br>
<mdp-date-range v-model="params" value-format="yyyy-MM-dd" start-key="startBizDate" end-key="endBizDate"></mdp-date-range>
</el-form-item>
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="listXmBranchStateHis">查询</el-button>
</el-form-item>
</el-form>
</el-row>
</el-col>
</el-row>
</section>
</template>
<script>
import util from '@/common/js/util';//
import { initSimpleDicts } from '@/api/mdp/meta/item';//
import { mapGetters } from 'vuex'
import XmProductSelect from '@/views/xm/core/components/XmProductSelect';//
import XmIterationSelect from '@/views/xm/core/components/XmIterationSelect';//
import { listXmBranchStateHis } from '@/api/xm/core/xmBranchStateHis';
export default {
components: {
XmIterationSelect,XmProductSelect,
},
props:['id','xmProduct','xmProject','xmIteration','cfg','category','showToolBar','showParams','isRptCfg'],
computed: {
...mapGetters([
'userInfo','roles'
]),
dataSetCpd(){
return [
['日期',...this.xmProductStateHiss.map(i=>i.bizDate)],
['未关故事',...this.xmProductStateHiss.map(i=>i.menuCnt-i.menuCloseCnt)],
['已关故事',...this.xmProductStateHiss.map(i=>i.menuCloseCnt)],
['未关任务',...this.xmProductStateHiss.map(i=>i.taskCnt-i.taskCloseCnt)],
['已关任务',...this.xmProductStateHiss.map(i=>i.taskCloseCnt)],
['未关缺陷',...this.xmProductStateHiss.map(i=>i.bugCnt-i.closedBugs)],
['已关缺陷',...this.xmProductStateHiss.map(i=>i.closedBugs)]
]
},
titleCpd(){
return "企业工作项每日趋势图"
},
xmProductCpd(){
if(this.xmIteration && this.xmIteration.id){
return {id:this.xmIteration.productId,productName:this.xmIteration.productName}
}
if(this.xmProduct && this.xmProduct.id){
return this.xmProduct
}
if(this.cfg && this.cfg.params && this.cfg.params.productId){
return {id:this.cfg.params.productId}
}
return null;
}
},
watch: {
dataSetCpd(){
this.$nextTick(()=>{
this.drawCharts();
})
}
},
data() {
return {
filters:{
category:'',
product:null,
project:null,
testPlan:null,
iteration:null,
testCasedb:null,
startBizDate:'',
endBizDate:'',
},
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[],
maxTableHeight:300,
visible:false,
xmProductStateHiss:[],
}//end return
},//end data
methods: {
listXmBranchStateHis(){
var params=this.params
listXmBranchStateHis(params).then(res=>{
this.xmProductStateHiss=res.data.tips.isOk?res.data.data:this.xmProductStateHiss;
})
},
open(){
this.visible=true;
this.filters.testPlan=this.xmTestPlan
this.filters.product=this.xmProduct
this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();
this.$nextTick(()=>{
this.listXmBranchStateHis();
})
},
drawCharts() {
this.myChart = this.$echarts.init(document.getElementById(this.id));
var that=this;
this.myChart.on('updateAxisPointer', function (event) {
const xAxisInfo = event.axesInfo[0];
if (xAxisInfo) {
const dimension = xAxisInfo.value + 1;
that.myChart.setOption({
series: {
id: 'pie',
label: {
formatter: '{b}: {@[' + dimension + ']} ({d}%)'
},
encode: {
value: dimension,
tooltip: dimension
}
}
});
}
});
this.myChart.setOption({
title: {
text: this.titleCpd,
left: 'center'
},
tooltip: {
trigger: 'axis',
},
barMaxWidth: 100,
toolbox: {
show: true,
top:"5%",
right:"10px",
feature: {
dataView: { show: true, readOnly: false },
magicType: { show: true, type: ['line', 'bar'] },
saveAsImage: { show: true }
}
},
calculable: true,
legend: {
bottom: 'bottom',
},
dataset: {
source: this.dataSetCpd
},
xAxis: {
type: 'category',
},
yAxis: { gridIndex: 0 },
grid: { top: '55%' },
series: [
{ name:'未关故事',
type: 'line',
seriesLayoutBy: 'row',
smooth:true,
emphasis: { focus: 'series' },
},
{ name:'已关故事',
type: 'line',
seriesLayoutBy: 'row',
smooth:true,
emphasis: { focus: 'series' },
},
{
name:'未关任务',
type: 'line',
seriesLayoutBy: 'row',
smooth:true,
emphasis: { focus: 'series' },
},
{
name:'已关任务',
type: 'line',
seriesLayoutBy: 'row',
smooth:true,
emphasis: { focus: 'series' },
},
{ name:'未关缺陷',
type: 'line',
seriesLayoutBy: 'row',
smooth:true,
emphasis: { focus: 'series' },
},
{ name:'已关缺陷',
type: 'line',
seriesLayoutBy: 'row',
smooth:true,
emphasis: { focus: 'series' },
},
{
type: 'pie',
id: 'pie',
radius: '30%',
center: ['50%', '30%'],
emphasis: {
focus: 'self'
},
label: {
formatter: '{b}: {@日期} ({d}%)'
},
encode: {
itemName: '日期',
value:this.dataSetCpd[0][this.dataSetCpd[0].length-1],
tooltip: '日期'
}
}
]
});
this.myChart.resize();
},
onProductSelected(product){
this.filters.product=product
this.xmProductStateHiss=[];
},
onProductClear(){
this.filters.product=null
this.xmProductStateHiss=[];
},
onIterationSelected(iteration){
this.filters.iteration=iteration
},
onIterationClear(){
this.filters.iteration=null
}
},//end method
mounted() {
/**
initSimpleDicts('all',['demandSource','demandLvl','demandType','priority','menuStatus'] ).then(res=>{
this.dicts=res.data.data;
})
*/
this.maxTableHeight = this.$refs.filtersRef?util.calcTableMaxHeight(this.$refs.filtersRef.$el):this.maxTableHeight;
//this.charts();
this.open();
}//end mounted
}
</script>
<style lang="less" scoped>
.image {
width: 100%;
display: block;
}
.row-box{
.title{
font-weight: 600;
font-size: large;
visibility: visible;
}
.remark{
font-size:medium;
visibility: visible;
}
.input {
visibility: hidden;
z-index: 10000;
top: 0%;
left:0%;
position:absolute;
}
}
.row-box:hover{
.title{
display:none;
}
.remark{
display:none;
}
.input{
visibility: visible;
}
}
.rpt-box{
margin-left: 10px;
margin-right: 10px;
border: 1px solid #e8e8e8;
}
</style>

31
src/views/xm/rpt/branch/branchWorkItemDayList.vue

@ -57,7 +57,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmProject','xmIteration','cfg','category','showToolBar','showParams','isRptCfg'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject','xmIteration'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -159,6 +159,35 @@
} }
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
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
} }

38
src/views/xm/rpt/branch/menuDayAccumulate.vue

@ -47,7 +47,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmProject','xmIteration'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject','xmIteration'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -121,6 +121,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -148,7 +153,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.xmProductStateHiss=[] this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();

38
src/views/xm/rpt/branch/menuDayTrend.vue

@ -36,7 +36,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmProject','xmIteration'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject','xmIteration'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -111,6 +111,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -138,7 +143,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();

38
src/views/xm/rpt/branch/questionDayAccumulate.vue

@ -34,7 +34,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmProject','xmIteration'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject','xmIteration'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -109,6 +109,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -136,7 +141,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.xmProductStateHiss=[] this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();

38
src/views/xm/rpt/branch/questionDayTrend.vue

@ -36,7 +36,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmProject','xmIteration'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject','xmIteration'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -111,6 +111,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -138,7 +143,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();
this.$nextTick(()=>{ this.$nextTick(()=>{

38
src/views/xm/rpt/iteration/IterationWorkItemDayList.vue

@ -46,7 +46,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmProject','xmIteration'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject','xmIteration'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -119,6 +119,11 @@
startBizDate:'', startBizDate:'',
endBizDate:'', endBizDate:'',
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -154,7 +159,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.xmProductStateHiss=[] this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();

38
src/views/xm/rpt/iteration/burnout.vue

@ -46,7 +46,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmIteration','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmIteration','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles', 'userInfo','roles',
@ -149,6 +149,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -195,7 +200,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.$nextTick(()=>{ this.$nextTick(()=>{
this.listXmIterationStateHis(); this.listXmIterationStateHis();
}) })

38
src/views/xm/rpt/iteration/menuDayAccumulate.vue

@ -47,7 +47,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmProject','xmIteration'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject','xmIteration'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -144,6 +144,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -179,7 +184,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.xmProductStateHiss=[] this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();

38
src/views/xm/rpt/iteration/menuDayTrend.vue

@ -49,7 +49,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmProject','xmIteration'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject','xmIteration'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -146,6 +146,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -182,7 +187,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();

38
src/views/xm/rpt/iteration/questionDayAccumulate.vue

@ -44,7 +44,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmProject','xmIteration'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject','xmIteration'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -141,6 +141,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -177,7 +182,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.xmProductStateHiss=[] this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();

38
src/views/xm/rpt/iteration/questionDayTrend.vue

@ -48,7 +48,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmProject','xmIteration'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject','xmIteration'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -145,6 +145,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -180,7 +185,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect(); if(this.$refs['xmIterationSelect'])this.$refs['xmIterationSelect'].clearSelect();
this.$nextTick(()=>{ this.$nextTick(()=>{

38
src/views/xm/rpt/product/menuAgeDist.vue

@ -71,7 +71,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmIteration','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmIteration','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -155,6 +155,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -171,7 +176,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.searchXmMenuAgeDist() this.searchXmMenuAgeDist()

38
src/views/xm/rpt/product/menuAttDist.vue

@ -75,7 +75,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmIteration','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmIteration','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -180,6 +180,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
groupBy:'status', groupBy:'status',
groupBys:[ groupBys:[
{id:'status', name:'需求状态'}, {id:'status', name:'需求状态'},
@ -228,7 +233,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.searchXmMenuAttDist() this.searchXmMenuAttDist()

38
src/views/xm/rpt/product/menuDayAccumulate.vue

@ -38,7 +38,7 @@
components: { components: {
XmProductSelect, XmProductSelect,
}, },
props:['id','xmProduct','xmProject',],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject',],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -130,6 +130,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -161,7 +166,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.xmProductStateHiss=[] this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
this.$nextTick(()=>{ this.$nextTick(()=>{

38
src/views/xm/rpt/product/menuDayTrend.vue

@ -40,7 +40,7 @@
components: { components: {
XmProductSelect, XmProductSelect,
}, },
props:['id','xmProduct','xmProject',],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject',],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -133,6 +133,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -164,7 +169,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
this.$nextTick(()=>{ this.$nextTick(()=>{
this.listXmProductStateHis(); this.listXmProductStateHis();

38
src/views/xm/rpt/product/menuSort.vue

@ -75,7 +75,7 @@
components: { components: {
XmIterationSelect,XmProductSelect, XmIterationSelect,XmProductSelect,
}, },
props:['id','xmProduct','xmIteration','xmProject','initGroupBy',],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmIteration','xmProject','initGroupBy',],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -145,6 +145,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
groupBy:'proposer_id', groupBy:'proposer_id',
groupBys:[ groupBys:[
{id:'proposer_id', name:'提出人'}, {id:'proposer_id', name:'提出人'},
@ -181,7 +186,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.searchXmMenuSort() this.searchXmMenuSort()

38
src/views/xm/rpt/product/productWorkItemDayList.vue

@ -39,7 +39,7 @@
components: { components: {
XmProductSelect, XmProductSelect,
}, },
props:['id','xmProduct','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -108,6 +108,11 @@
startBizDate:'', startBizDate:'',
endBizDate:'', endBizDate:'',
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -139,7 +144,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.xmProductStateHiss=[] this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
this.$nextTick(()=>{ this.$nextTick(()=>{

38
src/views/xm/rpt/product/questionAgeDist.vue

@ -104,7 +104,7 @@
components: { components: {
XmProjectSelect,XmIterationSelect,XmProductSelect,xmTestPlanSelect, XmProjectSelect,XmIterationSelect,XmProductSelect,xmTestPlanSelect,
}, },
props:['id','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -185,6 +185,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -201,7 +206,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.searchXmQuestionAgeDist() this.searchXmQuestionAgeDist()
}, },

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

@ -108,7 +108,7 @@
components: { components: {
XmProjectSelect,XmIterationSelect,XmProductSelect,xmTestPlanSelect, XmProjectSelect,XmIterationSelect,XmProductSelect,xmTestPlanSelect,
}, },
props:['id','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -221,6 +221,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
groupBy:'bug_status', groupBy:'bug_status',
groupBys:[ groupBys:[
{id:'bug_status', name:'缺陷状态'}, {id:'bug_status', name:'缺陷状态'},
@ -272,7 +277,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.searchXmQuestionAttDist() this.searchXmQuestionAttDist()
}, },
drawCharts() { drawCharts() {

38
src/views/xm/rpt/product/questionDayAccumulate.vue

@ -38,7 +38,7 @@
components: { components: {
XmProductSelect, XmProductSelect,
}, },
props:['id','xmProduct','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -132,6 +132,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -163,7 +168,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.xmProductStateHiss=[] this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
this.$nextTick(()=>{ this.$nextTick(()=>{

38
src/views/xm/rpt/product/questionDayTrend.vue

@ -40,7 +40,7 @@
components: { components: {
XmProductSelect, XmProductSelect,
}, },
props:['id','xmProduct','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -133,6 +133,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -164,7 +169,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
this.$nextTick(()=>{ this.$nextTick(()=>{
this.listXmProductStateHis(); this.listXmProductStateHis();

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

@ -103,7 +103,7 @@
components: { components: {
XmProjectSelect,XmIterationSelect,XmProductSelect,xmTestPlanSelect, XmProjectSelect,XmIterationSelect,XmProductSelect,xmTestPlanSelect,
}, },
props:['id','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -203,6 +203,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
groupBy:'handler_userid', groupBy:'handler_userid',
groupBys:[ groupBys:[
{id:'create_userid', name:'创建人'}, {id:'create_userid', name:'创建人'},
@ -236,7 +241,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.searchXmQuestionRetestDist() this.searchXmQuestionRetestDist()
}, },

38
src/views/xm/rpt/product/questionSort.vue

@ -110,7 +110,7 @@
components: { components: {
XmProjectSelect,XmIterationSelect,XmProductSelect,xmTestPlanSelect, XmProjectSelect,XmIterationSelect,XmProductSelect,xmTestPlanSelect,
}, },
props:['id','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan','initGroupBy'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan','initGroupBy'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -185,6 +185,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
groupBy:'handler_userid', groupBy:'handler_userid',
groupBys:[ groupBys:[
{id:'create_userid', name:'创建人'}, {id:'create_userid', name:'创建人'},
@ -218,7 +223,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
if(this.initGroupBy){ if(this.initGroupBy){
this.groupBy=this.initGroupBy this.groupBy=this.initGroupBy
} }

7
src/views/xm/rpt/project/projectWorkItemDayList.vue

@ -39,7 +39,7 @@
components: { components: {
XmProjectSelect, XmProjectSelect,
}, },
props:['id','xmProduct','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -104,6 +104,11 @@
startBizDate:'', startBizDate:'',
endBizDate:'', endBizDate:'',
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],

7
src/views/xm/rpt/project/projectWorkloadSetDayList.vue

@ -49,7 +49,7 @@
XmProjectSelect, XmProjectSelect,
"mdp-select-user-xm":()=>import("@/views/xm/core/components/MdpSelectUserXm/index") "mdp-select-user-xm":()=>import("@/views/xm/core/components/MdpSelectUserXm/index")
}, },
props:['id','xmProduct','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -117,6 +117,11 @@
userid:'', userid:'',
taskId:'' taskId:''
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...

7
src/views/xm/rpt/project/projectWorkloadSetMonthList.vue

@ -48,7 +48,7 @@
XmProjectSelect, XmProjectSelect,
"mdp-select-user-xm":()=>import("@/views/xm/core/components/MdpSelectUserXm/index"), "mdp-select-user-xm":()=>import("@/views/xm/core/components/MdpSelectUserXm/index"),
}, },
props:['id','xmProduct','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -117,6 +117,11 @@
userid:'', userid:'',
taskId:'' taskId:''
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],

7
src/views/xm/rpt/project/taskAgeDist.vue

@ -61,7 +61,7 @@
components: { components: {
XmProjectSelect, XmProjectSelect,
}, },
props:['id','xmProduct','xmIteration','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmIteration','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -133,6 +133,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],

7
src/views/xm/rpt/project/taskAttDist.vue

@ -68,7 +68,7 @@
components: { components: {
XmProjectSelect, XmProjectSelect,
}, },
props:['id','xmProduct','xmIteration','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmIteration','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -163,6 +163,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
groupBy:'task_state', groupBy:'task_state',
groupBys:[ groupBys:[
{id:'task_state', name:'任务状态'}, {id:'task_state', name:'任务状态'},

7
src/views/xm/rpt/project/taskDayAccumulate.vue

@ -38,7 +38,7 @@
components: { components: {
XmProjectSelect, XmProjectSelect,
}, },
props:['id','xmProduct','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -138,6 +138,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],

7
src/views/xm/rpt/project/taskDayTrend.vue

@ -40,7 +40,7 @@
components: { components: {
XmProjectSelect, XmProjectSelect,
}, },
props:['id','xmProduct','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -132,6 +132,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],

7
src/views/xm/rpt/project/taskSort.vue

@ -67,7 +67,7 @@
components: { components: {
XmProjectSelect, XmProjectSelect,
}, },
props:['id','xmProduct','xmIteration','xmProject'],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProduct','xmIteration','xmProject'],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -128,6 +128,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
groupBy:'create_userid', groupBy:'create_userid',
groupBys:[ groupBys:[
{id:'create_userid', name:'创建人'}, {id:'create_userid', name:'创建人'},

7
src/views/xm/rpt/testCase/testCaseSort.vue

@ -82,7 +82,7 @@
components: { components: {
XmProjectSelect,XmProductSelect,XmIterationSelect XmProjectSelect,XmProductSelect,XmIterationSelect
}, },
props:['id','xmProject','xmProduct','xmIteration','xmTestCasedb','initGroupBy',],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProject','xmProduct','xmIteration','xmTestCasedb','initGroupBy',],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -154,6 +154,11 @@
cpriority:'', cpriority:'',
caseType:'', caseType:'',
}, },
params:{
},
title:'',//
remark:'', //
groupBy:'menu_id', groupBy:'menu_id',
groupBys:[ groupBys:[
{id:'menu_id', name:'故事'}, {id:'menu_id', name:'故事'},

38
src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue

@ -70,7 +70,7 @@
components: { components: {
XmProjectSelect,XmProductSelect,XmIterationSelect,xmTestPlanSelect, XmProjectSelect,XmProductSelect,XmIterationSelect,xmTestPlanSelect,
}, },
props:['id','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -161,6 +161,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{testStepTcode:[]},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{testStepTcode:[]},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
@ -323,7 +328,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.searchXmTestCaseToPlanCalcList(); this.searchXmTestCaseToPlanCalcList();

38
src/views/xm/rpt/testPlan/testDayTimesCalc.vue

@ -72,7 +72,7 @@
components: { components: {
XmProjectSelect,XmProductSelect,XmIterationSelect,xmTestPlanSelect, XmProjectSelect,XmProductSelect,XmIterationSelect,xmTestPlanSelect,
}, },
props:['id','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -143,6 +143,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
dateRanger:[], dateRanger:[],
@ -185,7 +190,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect(); if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
this.$nextTick(()=>{ this.$nextTick(()=>{
this.getXmTestDayTimesList(); this.getXmTestDayTimesList();

38
src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue

@ -70,7 +70,7 @@
components: { components: {
XmProjectSelect,XmProductSelect,XmIterationSelect,xmTestPlanSelect, XmProjectSelect,XmProductSelect,XmIterationSelect,xmTestPlanSelect,
}, },
props:['id','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -153,6 +153,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{testStepTcode:[]},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{testStepTcode:[]},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
@ -310,7 +315,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.searchXmTestPlanCaseExecStatusDist(); this.searchXmTestPlanCaseExecStatusDist();

38
src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue

@ -70,7 +70,7 @@
components: { components: {
XmProjectSelect,XmProductSelect,XmIterationSelect,xmTestPlanSelect, XmProjectSelect,XmProductSelect,XmIterationSelect,xmTestPlanSelect,
}, },
props:['id','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',],
props:['id','cfg','category','showToolBar','showParams','isRptCfg','xmProject','xmProduct','xmIteration','xmTestCasedb','xmTestPlan',],
computed: { computed: {
...mapGetters([ ...mapGetters([
'userInfo','roles' 'userInfo','roles'
@ -162,6 +162,11 @@
iteration:null, iteration:null,
testCasedb:null, testCasedb:null,
}, },
params:{
},
title:'',//
remark:'', //
dicts:{testPlanTcode:[]},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]} dicts:{testPlanTcode:[]},// params=[{categoryId:'0001',itemCode:'sex'}] {'sex':[{optionValue:'1',optionName:'',seqOrder:'1',fp:'',isDefault:'0'},{optionValue:'2',optionName:'',seqOrder:'2',fp:'',isDefault:'0'}]}
load:{ list: false, edit: false, del: false, add: false },//... load:{ list: false, edit: false, del: false, add: false },//...
@ -312,7 +317,36 @@
this.filters.product=this.xmProduct this.filters.product=this.xmProduct
this.filters.project=this.xmProject this.filters.project=this.xmProject
this.filters.iteration=this.xmIteration this.filters.iteration=this.xmIteration
this.filters.testCasedb=this.xmTestCasedb
this.filters.testCasedb=this.xmTestCasedb
if( this.filters.testPlan && this.filters.testPlan.id){
this.params.planId= this.filters.testPlan.id
}
if( this.filters.product && this.filters.product.id){
this.params.productId= this.filters.product.id
}
if( this.filters.project && this.filters.project.id){
this.params.projectId= this.filters.project.id
}
if( this.filters.iteration && this.filters.iteration.id){
this.params.iterationId= this.filters.iteration.id
}
if( this.filters.testCasedb && this.filters.testCasedb.id){
this.params.casedbId= this.filters.testCasedb.id
}
if(this.cfg && this.cfg.id){
this.params=this.cfg.params
this.title=this.cfg.title
this.remark=this.cfg.remark
}
if(this.showToolBar && !this.title){
this.title="企业工作项每日趋势图"
}
this.searchXmTestPlanCaseUserDist(); this.searchXmTestPlanCaseUserDist();
} }
},//end method },//end method

Loading…
Cancel
Save