Browse Source

优化

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

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

@ -120,6 +120,11 @@ export default {
}, },
rptConfigParamsCpd(){ rptConfigParamsCpd(){
//1-2-3-4-5- //1-2-3-4-5-
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={bizType:'5',bizId:this.userInfo.branchId,name:''} var params={bizType:'5',bizId:this.userInfo.branchId,name:''}
if(this.category=='企业级'){ if(this.category=='企业级'){
params.bizType='5'; params.bizType='5';
@ -244,6 +249,11 @@ export default {
if(!this.toLoadXmRptConfigCpd){ if(!this.toLoadXmRptConfigCpd){
return; return;
} }
if(this.rptDatas){
this.rawDatas=this.rptDatas
return;
}
var params={bizType:this.rptConfigParamsCpd.bizType,bizId:this.rptConfigParamsCpd.bizId} 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]

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

@ -141,6 +141,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/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;

7
src/views/xm/rpt/iteration/menuDayAccumulate.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;
@ -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=>{

5
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,

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

@ -134,6 +134,10 @@
},//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;

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

@ -147,11 +147,15 @@
},//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