Browse Source

优化

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

14
src/views/xm/rpt/CompsCard.vue

@ -120,7 +120,12 @@ export default {
}, },
rptConfigParamsCpd(){ rptConfigParamsCpd(){
//1-2-3-4-5- //1-2-3-4-5-
var params={bizType:'5',bizId:this.userInfo.branchId,name:''}
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={bizType:'5',bizId:this.userInfo.branchId,name:''}
if(this.category=='企业级'){ if(this.category=='企业级'){
params.bizType='5'; params.bizType='5';
params.bizId=this.userInfo.branchId params.bizId=this.userInfo.branchId
@ -244,7 +249,12 @@ export default {
if(!this.toLoadXmRptConfigCpd){ if(!this.toLoadXmRptConfigCpd){
return; return;
} }
var params={bizType:this.rptConfigParamsCpd.bizType,bizId:this.rptConfigParamsCpd.bizId}
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={bizType:this.rptConfigParamsCpd.bizType,bizId:this.rptConfigParamsCpd.bizId}
listXmRptConfig(params).then(res=>{ listXmRptConfig(params).then(res=>{
this.xmRptConfig=res.data.data[0] this.xmRptConfig=res.data.data[0]
}) })

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

@ -139,7 +139,12 @@
}//end return }//end return
},//end data },//end data
methods: { methods: {
listXmBranchStateHis(){
listXmBranchStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmBranchStateHis(params).then(res=>{ listXmBranchStateHis(params).then(res=>{

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

@ -143,6 +143,11 @@
},//end data },//end data
methods: { methods: {
listXmBranchStateHis(){ listXmBranchStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmBranchStateHis(params).then(res=>{ listXmBranchStateHis(params).then(res=>{
this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas; this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas;

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

@ -142,6 +142,11 @@
methods: { methods: {
listXmBranchStateHis(){ listXmBranchStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmBranchStateHis(params).then(res=>{ listXmBranchStateHis(params).then(res=>{
this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas; this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas;

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

@ -144,6 +144,11 @@
methods: { methods: {
listXmBranchStateHis(){ listXmBranchStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmBranchStateHis(params).then(res=>{ listXmBranchStateHis(params).then(res=>{
this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas; this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas;

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

@ -150,6 +150,10 @@
},//end data },//end data
methods: { methods: {
listXmIterationStateHis(){ listXmIterationStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.product){ if(!this.filters.product){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'})
return; return;
@ -159,6 +163,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={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmIterationStateHis(params).then(res=>{ listXmIterationStateHis(params).then(res=>{
this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas; this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas;

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

@ -203,7 +203,7 @@
return 0; return 0;
} }
}, },
listXmIterationStateHis(){
listXmIterationStateHis(){
if(this.rptDatas){ if(this.rptDatas){
this.rawDatas=this.rptDatas this.rawDatas=this.rptDatas
return; return;

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

@ -173,7 +173,12 @@
}//end return }//end return
},//end data },//end data
methods: { methods: {
listXmIterationStateHis(){
listXmIterationStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.product){ if(!this.filters.product){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'})
return; return;
@ -182,6 +187,8 @@
this.$notify({position:'bottom-left',showClose:true,message:'请先选中迭代',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中迭代',type:'warning'})
return; return;
} }
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmIterationStateHis(params).then(res=>{ listXmIterationStateHis(params).then(res=>{

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

@ -176,6 +176,10 @@
},//end data },//end data
methods: { methods: {
listXmIterationStateHis(){ listXmIterationStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.product){ if(!this.filters.product){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'})
return; return;
@ -185,6 +189,8 @@
this.$notify({position:'bottom-left',showClose:true,message:'请先选中迭代',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中迭代',type:'warning'})
return; return;
} }
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmIterationStateHis(params).then(res=>{ listXmIterationStateHis(params).then(res=>{

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

@ -174,6 +174,11 @@
},//end data },//end data
methods: { methods: {
listXmIterationStateHis(){ listXmIterationStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.product){ if(!this.filters.product){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'})
return; return;
@ -183,6 +188,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={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmIterationStateHis(params).then(res=>{ listXmIterationStateHis(params).then(res=>{

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

@ -175,6 +175,10 @@
},//end data },//end data
methods: { methods: {
listXmIterationStateHis(){ listXmIterationStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.product){ if(!this.filters.product){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'})
return; return;
@ -183,6 +187,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={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmIterationStateHis(params).then(res=>{ listXmIterationStateHis(params).then(res=>{

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

@ -300,6 +300,11 @@
}, },
searchXmMenuAgeDist(){ searchXmMenuAgeDist(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={...this.params} var params={...this.params}
getXmMenuAgeDist(params).then(res=>{ getXmMenuAgeDist(params).then(res=>{

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

@ -355,6 +355,11 @@
}, },
searchXmMenuAttDist(){ searchXmMenuAttDist(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={...this.params} var params={...this.params}
if(!params.groupBy){ if(!params.groupBy){
this.$notify({position:'bottom-left',showClose:true,message:'请选中分组属性',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请选中分组属性',type:'warning'})

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

@ -157,10 +157,15 @@
},//end data },//end data
methods: { methods: {
listXmProductStateHis(){ listXmProductStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.product){ if(!this.filters.product){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'})
return; return;
} }
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmProductStateHis(params).then(res=>{ listXmProductStateHis(params).then(res=>{

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

@ -160,10 +160,15 @@
},//end data },//end data
methods: { methods: {
listXmProductStateHis(){ listXmProductStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.product){ if(!this.filters.product){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'})
return; return;
} }
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmProductStateHis(params).then(res=>{ listXmProductStateHis(params).then(res=>{

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

@ -292,6 +292,10 @@
}, },
searchXmMenuSort(){ searchXmMenuSort(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
let params = { let params = {
pageSize: this.pageInfo.pageSize, pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum, pageNum: this.pageInfo.pageNum,

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

@ -138,11 +138,16 @@
},//end data },//end data
methods: { methods: {
listXmProductStateHis(){ listXmProductStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.product){ if(!this.filters.product){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'})
return; return;
} }
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmProductStateHis(params).then(res=>{ listXmProductStateHis(params).then(res=>{

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

@ -335,6 +335,11 @@
}, },
searchXmQuestionAgeDist(){ searchXmQuestionAgeDist(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={...this.params} var params={...this.params}
getXmQuestionAgeDist(params).then(res=>{ getXmQuestionAgeDist(params).then(res=>{

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

@ -403,6 +403,11 @@
}, },
searchXmQuestionAttDist(){ searchXmQuestionAttDist(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={...this.params} var params={...this.params}
if(!params.groupBy){ if(!params.groupBy){
this.$notify({position:'bottom-left',showClose:true,message:'请选中分组属性',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请选中分组属性',type:'warning'})

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

@ -162,10 +162,15 @@
},//end data },//end data
methods: { methods: {
listXmProductStateHis(){ listXmProductStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.product){ if(!this.filters.product){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'})
return; return;
} }
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmProductStateHis(params).then(res=>{ listXmProductStateHis(params).then(res=>{

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

@ -163,10 +163,15 @@
},//end data },//end data
methods: { methods: {
listXmProductStateHis(){ listXmProductStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.product){ if(!this.filters.product){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中产品',type:'warning'})
return; return;
}
}
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmProductStateHis(params).then(res=>{ listXmProductStateHis(params).then(res=>{

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

@ -371,6 +371,10 @@
}, },
searchXmQuestionRetestDist(){ searchXmQuestionRetestDist(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
let params = { let params = {
pageSize: this.pageInfo.pageSize, pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum, pageNum: this.pageInfo.pageNum,

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

@ -331,6 +331,10 @@
}, },
searchXmQuestionSort(){ searchXmQuestionSort(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
let params = { let params = {
pageSize: this.pageInfo.pageSize, pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum, pageNum: this.pageInfo.pageNum,

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

@ -134,10 +134,14 @@
},//end data },//end data
methods: { methods: {
listXmProjectStateHis(){ listXmProjectStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.project){ if(!this.filters.project){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'})
return; return;
}
}
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}

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

@ -146,12 +146,16 @@
}//end return }//end return
},//end data },//end data
methods: { methods: {
listProjectWorkloadSetDay(){
listProjectWorkloadSetDay(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.project){ if(!this.filters.project){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'})
return; return;
}
}
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listProjectWorkloadSetDay(params).then(res=>{ listProjectWorkloadSetDay(params).then(res=>{

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

@ -147,11 +147,16 @@
},//end data },//end data
methods: { methods: {
listProjectWorkloadSetMonth(){ listProjectWorkloadSetMonth(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.project){ if(!this.filters.project){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'})
return; return;
} }
var params={...this.params} var params={...this.params}
listProjectWorkloadSetMonth(params).then(res=>{ listProjectWorkloadSetMonth(params).then(res=>{

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

@ -282,6 +282,11 @@
}, },
searchXmTaskAgeDist(){ searchXmTaskAgeDist(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={...this.params} var params={...this.params}
params.ntype='0' params.ntype='0'
getXmTaskAgeDist(params).then(res=>{ getXmTaskAgeDist(params).then(res=>{

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

@ -339,6 +339,11 @@
}, },
searchXmTaskAttDist(){ searchXmTaskAttDist(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={...this.params} var params={...this.params}
if(!params.groupBy){ if(!params.groupBy){
this.$notify({position:'bottom-left',showClose:true,message:'请选中分组属性',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请选中分组属性',type:'warning'})

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

@ -167,10 +167,15 @@
},//end data },//end data
methods: { methods: {
listXmProjectStateHis(){ listXmProjectStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.project){ if(!this.filters.project){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'})
return; return;
} }
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmProjectStateHis(params).then(res=>{ listXmProjectStateHis(params).then(res=>{

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

@ -163,10 +163,15 @@
},//end data },//end data
methods: { methods: {
listXmProjectStateHis(){ listXmProjectStateHis(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
if(!this.filters.project){ if(!this.filters.project){
this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'}) this.$notify({position:'bottom-left',showClose:true,message:'请先选中项目',type:'warning'})
return; return;
} }
var params={...this.params,orderBy:'biz_date asc'} var params={...this.params,orderBy:'biz_date asc'}
listXmProjectStateHis(params).then(res=>{ listXmProjectStateHis(params).then(res=>{

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

@ -262,6 +262,10 @@
}, },
searchXmTaskSort(){ searchXmTaskSort(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
let params = { let params = {
pageSize: this.pageInfo.pageSize, pageSize: this.pageInfo.pageSize,
pageNum: this.pageInfo.pageNum, pageNum: this.pageInfo.pageNum,

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

@ -255,6 +255,11 @@
) )
}, },
searchXmTestCaseSort(){ searchXmTestCaseSort(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={ ...this.params} var params={ ...this.params}
getXmTestCaseSort(params).then(res=>{ getXmTestCaseSort(params).then(res=>{
var data=res.data.data var data=res.data.data

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

@ -270,6 +270,11 @@
}, },
searchXmTestCaseToPlanCalcList(){ searchXmTestCaseToPlanCalcList(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={...this.params } var params={...this.params }
getXmTestCaseToPlanCalcList(params).then(res=>{ getXmTestCaseToPlanCalcList(params).then(res=>{
this.rawDatas=res.data.data this.rawDatas=res.data.data

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

@ -170,6 +170,11 @@
},//end data },//end data
methods: { methods: {
getXmTestDayTimesList(){ getXmTestDayTimesList(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={ ...this.params,} var params={ ...this.params,}
getXmTestDayTimesList(params).then(res=>{ getXmTestDayTimesList(params).then(res=>{
this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas; this.rawDatas=res.data.tips.isOk?res.data.data:this.rawDatas;

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

@ -260,6 +260,11 @@
}, },
searchXmTestPlanCaseExecStatusDist(){ searchXmTestPlanCaseExecStatusDist(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={...this.params } var params={...this.params }
getXmTestPlanCaseExecStatusDist(params).then(res=>{ getXmTestPlanCaseExecStatusDist(params).then(res=>{
this.rawDatas=res.data.data this.rawDatas=res.data.data

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

@ -260,6 +260,11 @@
) )
}, },
searchXmTestPlanCaseUserDist(){ searchXmTestPlanCaseUserDist(){
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={...this.params } var params={...this.params }
getXmTestPlanCaseUserDist(params).then(res=>{ getXmTestPlanCaseUserDist(params).then(res=>{
this.rawDatas=res.data.data this.rawDatas=res.data.data

Loading…
Cancel
Save