Browse Source

优化

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

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

@ -51,7 +51,7 @@
['已关缺陷',...this.xmProductStateHiss.map(i=>i.closedBugs)]
]
},
title(){
titleCpd(){
return "企业工作项每日趋势图"
},
@ -85,7 +85,13 @@
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:[],
@ -145,7 +151,7 @@
this.myChart.setOption({
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -88,7 +88,7 @@
return this.xmProductStateHiss.map(i=>i.menuFinishCnt)
}
},
title(){
titleCpd(){
return '企业需求每日累积图'
},
xmProductCpd(){
@ -162,7 +162,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -77,7 +77,7 @@
return this.xmProductStateHiss.map(i=>i.menuFinishCnt)
}
},
title(){
titleCpd(){
return '企业需求每日趋势图'
},
@ -150,7 +150,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -75,7 +75,7 @@
return this.xmProductStateHiss.map(i=>i.resolvedBugs)
}
},
title(){
titleCpd(){
return '企业缺陷每日累积图'
},
@ -150,7 +150,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -77,7 +77,7 @@
return this.xmProductStateHiss.map(i=>i.resolvedBugs)
}
},
title(){
titleCpd(){
return '企业缺陷每日趋势图'
},
@ -151,7 +151,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -62,7 +62,7 @@
['已关缺陷',...this.xmProductStateHiss.map(i=>i.closedBugs)]
]
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -187,7 +187,7 @@
this.myChart.setOption({
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -95,7 +95,7 @@
return this.xmIterationStateHiss.map(i=>i.budgetWorkload-i.estimateWorkload)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -205,7 +205,7 @@
this.myChart = this.$echarts.init(document.getElementById("burnout"));
this.myChart.setOption({
title: {
text: this.title,
text: this.titleCpd,
left:'center'
},
tooltip: {

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

@ -88,7 +88,7 @@
return this.xmProductStateHiss.map(i=>i.menuFinishCnt)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -193,7 +193,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -90,7 +90,7 @@
return this.xmProductStateHiss.map(i=>i.menuFinishCnt)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -194,7 +194,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -85,7 +85,7 @@
return this.xmProductStateHiss.map(i=>i.resolvedBugs)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -191,7 +191,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -89,7 +89,7 @@
return this.xmProductStateHiss.map(i=>i.resolvedBugs)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -193,7 +193,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -103,7 +103,7 @@
}, 0)
}
},
title(){
titleCpd(){
var preName=""
@ -181,7 +181,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},
tooltip: {

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

@ -129,7 +129,7 @@
}, 0)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -238,7 +238,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},
tooltip: {

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

@ -79,7 +79,7 @@
return this.xmProductStateHiss.map(i=>i.menuFinishCnt)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -174,7 +174,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left:"center"
},

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

@ -82,7 +82,7 @@
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -176,7 +176,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -87,7 +87,7 @@
return this.xmMenuSorts.map(i=>i.value)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -191,7 +191,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -55,7 +55,7 @@
['已关缺陷',...this.xmProductStateHiss.map(i=>i.closedBugs)]
]
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -171,7 +171,7 @@
this.myChart.setOption({
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},
trigger: 'axis',

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

@ -132,7 +132,7 @@
}, 0)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -210,7 +210,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},
tooltip: {

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

@ -170,7 +170,7 @@
return this.dicts[itemId].map(i=>i.name)
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -282,7 +282,7 @@
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},
tooltip: {

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

@ -80,7 +80,7 @@
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -176,7 +176,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -83,7 +83,7 @@
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -176,7 +176,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -152,7 +152,7 @@
}, 0)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -245,7 +245,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},
tooltip: {

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

@ -129,7 +129,7 @@
return this.xmQuestionSorts.map(i=>i.name)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -229,7 +229,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center',
},

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

@ -55,7 +55,7 @@
['已关缺陷',...this.xmProjectStateHiss.map(i=>i.closedBugs)]
]
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -166,7 +166,7 @@
this.myChart.setOption({
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -67,7 +67,7 @@
]
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -184,7 +184,7 @@
});
this.myChart.setOption({
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -66,7 +66,7 @@
]
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -185,7 +185,7 @@
});
this.myChart.setOption({
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -89,7 +89,7 @@
}, 0)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -155,7 +155,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},
tooltip: {

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

@ -106,7 +106,7 @@
}, 0)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -215,7 +215,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},
tooltip: {

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

@ -94,7 +94,7 @@
return this.xmProjectStateHiss.map(i=>i.taskSetCnt)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -180,7 +180,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left:"center"
},

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

@ -88,7 +88,7 @@
return this.xmProjectStateHiss.map(i=>i.taskSetCnt)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -173,7 +173,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -79,7 +79,7 @@
return this.xmTaskSorts.map(i=>i.value)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
@ -165,7 +165,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -102,7 +102,7 @@
return this.xmTestCaseSort.map(i=>i.name)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testCasedb && this.filters.testCasedb.id){
preName=`测试库【${this.filters.testCasedb.name}`
@ -187,7 +187,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center',
},

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

@ -108,7 +108,7 @@
}, 0)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
preName=`测试计划【${this.filters.testPlan.name}`
@ -188,7 +188,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},
tooltip: {

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

@ -93,7 +93,7 @@
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
preName=`测试计划【${this.filters.testPlan.name}`
@ -197,7 +197,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

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

@ -99,7 +99,7 @@
}, 0)
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
preName=`测试计划【${this.filters.testPlan.name}`
@ -180,7 +180,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},
tooltip: {

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

@ -114,7 +114,7 @@
return datas;
}
},
title(){
titleCpd(){
var preName=""
if(this.filters.testPlan && this.filters.testPlan.id){
preName=`测试计划【${this.filters.testPlan.name}`
@ -189,7 +189,7 @@
this.myChart.setOption(
{
title: {
text: this.title,
text: this.titleCpd,
left: 'center'
},

Loading…
Cancel
Save