diff --git a/src/views/xm/rpt/branch/branchWorkItemDayList.vue b/src/views/xm/rpt/branch/branchWorkItemDayList.vue index 3850e940..7e073aab 100644 --- a/src/views/xm/rpt/branch/branchWorkItemDayList.vue +++ b/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' }, diff --git a/src/views/xm/rpt/branch/menuDayAccumulate.vue b/src/views/xm/rpt/branch/menuDayAccumulate.vue index d037a265..5140120c 100644 --- a/src/views/xm/rpt/branch/menuDayAccumulate.vue +++ b/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' }, diff --git a/src/views/xm/rpt/branch/menuDayTrend.vue b/src/views/xm/rpt/branch/menuDayTrend.vue index a4d4e31e..a1e5e728 100644 --- a/src/views/xm/rpt/branch/menuDayTrend.vue +++ b/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' }, diff --git a/src/views/xm/rpt/branch/questionDayAccumulate.vue b/src/views/xm/rpt/branch/questionDayAccumulate.vue index 136076d8..fa3deff8 100644 --- a/src/views/xm/rpt/branch/questionDayAccumulate.vue +++ b/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' }, diff --git a/src/views/xm/rpt/branch/questionDayTrend.vue b/src/views/xm/rpt/branch/questionDayTrend.vue index d5bf53d9..c87b8deb 100644 --- a/src/views/xm/rpt/branch/questionDayTrend.vue +++ b/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' }, diff --git a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue b/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue index 88f3a0f1..4f141d51 100644 --- a/src/views/xm/rpt/iteration/IterationWorkItemDayList.vue +++ b/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' }, diff --git a/src/views/xm/rpt/iteration/burnout.vue b/src/views/xm/rpt/iteration/burnout.vue index 69f24cc9..b020f464 100644 --- a/src/views/xm/rpt/iteration/burnout.vue +++ b/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: { diff --git a/src/views/xm/rpt/iteration/menuDayAccumulate.vue b/src/views/xm/rpt/iteration/menuDayAccumulate.vue index 224e8f23..ff82653a 100644 --- a/src/views/xm/rpt/iteration/menuDayAccumulate.vue +++ b/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' }, diff --git a/src/views/xm/rpt/iteration/menuDayTrend.vue b/src/views/xm/rpt/iteration/menuDayTrend.vue index 2cef03f8..f5554a6c 100644 --- a/src/views/xm/rpt/iteration/menuDayTrend.vue +++ b/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' }, diff --git a/src/views/xm/rpt/iteration/questionDayAccumulate.vue b/src/views/xm/rpt/iteration/questionDayAccumulate.vue index 613eb59a..95d4edf1 100644 --- a/src/views/xm/rpt/iteration/questionDayAccumulate.vue +++ b/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' }, diff --git a/src/views/xm/rpt/iteration/questionDayTrend.vue b/src/views/xm/rpt/iteration/questionDayTrend.vue index a749be81..631d5bf8 100644 --- a/src/views/xm/rpt/iteration/questionDayTrend.vue +++ b/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' }, diff --git a/src/views/xm/rpt/product/menuAgeDist.vue b/src/views/xm/rpt/product/menuAgeDist.vue index 0881bf90..c715b778 100644 --- a/src/views/xm/rpt/product/menuAgeDist.vue +++ b/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: { diff --git a/src/views/xm/rpt/product/menuAttDist.vue b/src/views/xm/rpt/product/menuAttDist.vue index aa67bc73..c512e74e 100644 --- a/src/views/xm/rpt/product/menuAttDist.vue +++ b/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: { diff --git a/src/views/xm/rpt/product/menuDayAccumulate.vue b/src/views/xm/rpt/product/menuDayAccumulate.vue index 60834879..d0846b41 100644 --- a/src/views/xm/rpt/product/menuDayAccumulate.vue +++ b/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" }, diff --git a/src/views/xm/rpt/product/menuDayTrend.vue b/src/views/xm/rpt/product/menuDayTrend.vue index d76bf527..3e4e79ee 100644 --- a/src/views/xm/rpt/product/menuDayTrend.vue +++ b/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' }, diff --git a/src/views/xm/rpt/product/menuSort.vue b/src/views/xm/rpt/product/menuSort.vue index 858c4d41..905e7f74 100644 --- a/src/views/xm/rpt/product/menuSort.vue +++ b/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' }, diff --git a/src/views/xm/rpt/product/productWorkItemDayList.vue b/src/views/xm/rpt/product/productWorkItemDayList.vue index e556aa09..37e9322b 100644 --- a/src/views/xm/rpt/product/productWorkItemDayList.vue +++ b/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', diff --git a/src/views/xm/rpt/product/questionAgeDist.vue b/src/views/xm/rpt/product/questionAgeDist.vue index fa2e57d6..e4225a8b 100644 --- a/src/views/xm/rpt/product/questionAgeDist.vue +++ b/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: { diff --git a/src/views/xm/rpt/product/questionAttDist.vue b/src/views/xm/rpt/product/questionAttDist.vue index f7c8cedd..397cee84 100644 --- a/src/views/xm/rpt/product/questionAttDist.vue +++ b/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: { diff --git a/src/views/xm/rpt/product/questionDayAccumulate.vue b/src/views/xm/rpt/product/questionDayAccumulate.vue index 1a941680..18d43350 100644 --- a/src/views/xm/rpt/product/questionDayAccumulate.vue +++ b/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' }, diff --git a/src/views/xm/rpt/product/questionDayTrend.vue b/src/views/xm/rpt/product/questionDayTrend.vue index 2eafa311..b5e8b0b1 100644 --- a/src/views/xm/rpt/product/questionDayTrend.vue +++ b/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' }, diff --git a/src/views/xm/rpt/product/questionRetestDist.vue b/src/views/xm/rpt/product/questionRetestDist.vue index 05cf47e5..6ba86d5c 100644 --- a/src/views/xm/rpt/product/questionRetestDist.vue +++ b/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: { diff --git a/src/views/xm/rpt/product/questionSort.vue b/src/views/xm/rpt/product/questionSort.vue index 62fc767b..5c30052e 100644 --- a/src/views/xm/rpt/product/questionSort.vue +++ b/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', }, diff --git a/src/views/xm/rpt/project/projectWorkItemDayList.vue b/src/views/xm/rpt/project/projectWorkItemDayList.vue index 8d396a46..6625e33d 100644 --- a/src/views/xm/rpt/project/projectWorkItemDayList.vue +++ b/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' }, diff --git a/src/views/xm/rpt/project/projectWorkloadSetDayList.vue b/src/views/xm/rpt/project/projectWorkloadSetDayList.vue index e2bcb0fd..332e2c36 100644 --- a/src/views/xm/rpt/project/projectWorkloadSetDayList.vue +++ b/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' }, diff --git a/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue b/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue index 8353c08b..21e0eee3 100644 --- a/src/views/xm/rpt/project/projectWorkloadSetMonthList.vue +++ b/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' }, diff --git a/src/views/xm/rpt/project/taskAgeDist.vue b/src/views/xm/rpt/project/taskAgeDist.vue index 1d6aa981..615191f5 100644 --- a/src/views/xm/rpt/project/taskAgeDist.vue +++ b/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: { diff --git a/src/views/xm/rpt/project/taskAttDist.vue b/src/views/xm/rpt/project/taskAttDist.vue index 9b9405a4..6b47df65 100644 --- a/src/views/xm/rpt/project/taskAttDist.vue +++ b/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: { diff --git a/src/views/xm/rpt/project/taskDayAccumulate.vue b/src/views/xm/rpt/project/taskDayAccumulate.vue index c7c75e64..776d2c9d 100644 --- a/src/views/xm/rpt/project/taskDayAccumulate.vue +++ b/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" }, diff --git a/src/views/xm/rpt/project/taskDayTrend.vue b/src/views/xm/rpt/project/taskDayTrend.vue index f40d0ea9..ce012007 100644 --- a/src/views/xm/rpt/project/taskDayTrend.vue +++ b/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' }, diff --git a/src/views/xm/rpt/project/taskSort.vue b/src/views/xm/rpt/project/taskSort.vue index 8fc883af..8779a257 100644 --- a/src/views/xm/rpt/project/taskSort.vue +++ b/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' }, diff --git a/src/views/xm/rpt/testCase/testCaseSort.vue b/src/views/xm/rpt/testCase/testCaseSort.vue index 39e65dcb..5946d0ec 100644 --- a/src/views/xm/rpt/testCase/testCaseSort.vue +++ b/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', }, diff --git a/src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue b/src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue index a0dee041..7e535ccd 100644 --- a/src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue +++ b/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: { diff --git a/src/views/xm/rpt/testPlan/testDayTimesCalc.vue b/src/views/xm/rpt/testPlan/testDayTimesCalc.vue index 970b14d8..700c453d 100644 --- a/src/views/xm/rpt/testPlan/testDayTimesCalc.vue +++ b/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' }, diff --git a/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue b/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue index 7c8b7016..1c7491da 100644 --- a/src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue +++ b/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: { diff --git a/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue b/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue index e38f57dc..9061af5b 100644 --- a/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue +++ b/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' },