Browse Source

优化

master
陈裕财 3 years ago
parent
commit
8f3724e54e
  1. 6
      src/views/xm/rpt/iteration/IterationWorkItemDayList.vue
  2. 9
      src/views/xm/rpt/product/menuAgeDist.vue
  3. 9
      src/views/xm/rpt/product/menuAttDist.vue
  4. 3
      src/views/xm/rpt/product/menuDayAccumulate.vue
  5. 3
      src/views/xm/rpt/product/menuDayTrend.vue
  6. 6
      src/views/xm/rpt/product/menuSort.vue
  7. 12
      src/views/xm/rpt/product/productWorkItemDayList.vue
  8. 5
      src/views/xm/rpt/product/questionAgeDist.vue
  9. 5
      src/views/xm/rpt/product/questionAttDist.vue
  10. 5
      src/views/xm/rpt/product/questionSort.vue

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

@ -63,10 +63,8 @@
},
dialogTitle(){
if(this.xmIteration && this.xmIteration.id){
return (this.xmIteration?'迭代【'+this.xmIteration.iterationName+'】':'')+'需求年龄数量分布'
}else {
return (filters.product?'产品【'+filters.product.productName+'】':'')+'需求年龄数量分布'
}
return (this.xmIteration?'迭代【'+this.xmIteration.iterationName+'】':'')+'工作项每日趋势图'
}
},
xmProductCpd(){

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

@ -138,9 +138,12 @@
methods: {
open(params){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.Product=params.xmProduct
this.filters.product=params.xmProduct
this.filters.iteration=params.xmIteration
if((this.filters.product && this.filters.product.id) || ( this.filters.iteration && this.filters.iteration.id)){
this.searchXmMenuAgeDist()
}
},
drawCharts() {

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

@ -196,9 +196,12 @@
},
open(params){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.Product=params.xmProduct
this.filters.product=params.xmProduct
this.filters.iteration=params.xmIteration
if((this.filters.product && this.filters.product.id) || ( this.filters.iteration && this.filters.iteration.id)){
this.searchXmMenuAttDist()
}
},
drawCharts() {

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

@ -126,8 +126,7 @@
open(params){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.Product=params.xmProduct
this.filters.project=params.xmProject
this.xmProductStateHiss=[]
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
this.$nextTick(()=>{

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

@ -128,8 +128,7 @@
open(params){
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.Product=params.xmProduct
this.filters.project=params.xmProject
if(this.$refs['xmProductSelect'])this.$refs['xmProductSelect'].clearSelect();
this.$nextTick(()=>{
this.listXmProductStateHis();

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

@ -156,7 +156,11 @@
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.Product=params.xmProduct
this.filters.iteration=params.xmIteration
if((this.filters.product && this.filters.product.id) || ( this.filters.iteration && this.filters.iteration.id)){
this.searchXmMenuSort()
}
},
drawCharts() {

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

@ -1,6 +1,6 @@
<template>
<section>
<el-dialog fullscreen :title="(this.filters.product?'【'+this.filters.product.productName+'】':'')+'工作项按日分布趋势图'" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-dialog fullscreen :title="dialogTitle" append-to-body modal-append-to-body width="80%" top="20px" :visible.sync="visible">
<el-row :gutter="5">
<el-col :span="18">
@ -54,6 +54,16 @@
['未关缺陷',...this.xmProductStateHiss.map(i=>i.bugCnt-i.closedBugs)],
['已关缺陷',...this.xmProductStateHiss.map(i=>i.closedBugs)]
]
},
dialogTitle(){
return (this.filters.product?'产品【'+this.filters.product.productName+'】':'')+'工作项每日趋势图'
},
xmProductCpd(){
if(this.xmProduct && this.xmProduct.id){
return this.xmProduct
}
return null;
}
},

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

@ -151,7 +151,10 @@
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.Product=params.xmProduct
this.filters.iteration=params.xmIteration
if((this.filters.product && this.filters.product.id) || ( this.filters.iteration && this.filters.iteration.id)){
this.searchXmQuestionAgeDist()
}
},
drawCharts() {

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

@ -219,8 +219,11 @@
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.Product=params.xmProduct
this.filters.iteration=params.xmIteration
if((this.filters.product && this.filters.product.id) || ( this.filters.iteration && this.filters.iteration.id)){
this.searchXmQuestionAttDist()
}
},
drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("xmQuestionAttDist"));

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

@ -170,8 +170,11 @@
this.visible=true;
this.filters.product=params.xmProduct
this.filters.project=params.xmProject
this.filters.Product=params.xmProduct
this.filters.iteration=params.xmIteration
if((this.filters.product && this.filters.product.id) || ( this.filters.iteration && this.filters.iteration.id)){
this.searchXmQuestionSort()
}
},
drawCharts() {
this.myChart = this.$echarts.init(document.getElementById("xmQuestionSort"));

Loading…
Cancel
Save