From 577750c9e9f8ab9daed107fa3808dc814d3f9d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Sun, 29 Jan 2023 15:46:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/xm/rpt/product/menuSort.vue | 5 +- src/views/xm/rpt/product/questionDayTrend.vue | 1 - src/views/xm/rpt/product/questionSort.vue | 5 +- src/views/xm/rpt/project/taskDayTrend.vue | 57 ++----------------- src/views/xm/rpt/project/taskSort.vue | 3 + .../xm/rpt/testPlan/testDayTimesCalc.vue | 3 + .../xm/rpt/testPlan/testPlanCaseUserDist.vue | 6 ++ 7 files changed, 25 insertions(+), 55 deletions(-) diff --git a/src/views/xm/rpt/product/menuSort.vue b/src/views/xm/rpt/product/menuSort.vue index ede2549b..58b28ef6 100644 --- a/src/views/xm/rpt/product/menuSort.vue +++ b/src/views/xm/rpt/product/menuSort.vue @@ -201,7 +201,10 @@ series: [ { data: this.xmMenuSortsCpd, - type: 'bar' + type: 'bar', + label:{ + show: true, + }, } ] } diff --git a/src/views/xm/rpt/product/questionDayTrend.vue b/src/views/xm/rpt/product/questionDayTrend.vue index 561a2ff0..125e4e01 100644 --- a/src/views/xm/rpt/product/questionDayTrend.vue +++ b/src/views/xm/rpt/product/questionDayTrend.vue @@ -236,7 +236,6 @@ name:'已解决', data: this.resolvedBugsCpd, type: 'line', - smooth: true, itemStyle: { normal: { // 折点颜色样式 diff --git a/src/views/xm/rpt/product/questionSort.vue b/src/views/xm/rpt/product/questionSort.vue index a4486f1b..1d8fc553 100644 --- a/src/views/xm/rpt/product/questionSort.vue +++ b/src/views/xm/rpt/product/questionSort.vue @@ -242,7 +242,10 @@ series: [ { data: this.xmQuestionSortsCpd, - type: 'bar', + type: 'bar', + label:{ + show: true, + }, markPoint: { data: [ { type: 'max', name: 'Max' }, diff --git a/src/views/xm/rpt/project/taskDayTrend.vue b/src/views/xm/rpt/project/taskDayTrend.vue index 03a2efe7..afbf53c1 100644 --- a/src/views/xm/rpt/project/taskDayTrend.vue +++ b/src/views/xm/rpt/project/taskDayTrend.vue @@ -177,81 +177,34 @@ { name:'待领取', data: this.taskUnstartCntCpd, - type: 'line', - markPoint: { - data: [ - { type: 'max', name: 'Max' }, - { type: 'min', name: 'Min' } - ] - }, + type: 'line', }, { name:'执行中', data: this.taskExecCntCpd, - type: 'line', - smooth: true, - itemStyle: { - normal: { - // 折点颜色样式 - color: 'blue', - lineStyle: { - // 折线颜色样式 - color: 'blue' - } - } - }, + type: 'line', }, { name:'已完成', data: this.taskFinishCntCpd, type: 'line', - smooth: true, - itemStyle: { - normal: { - // 折点颜色样式 - color: 'green', - lineStyle: { - // 折线颜色样式 - color: 'green' - } - } - }, + smooth: true, }, { name:'已结算', data: this.taskCloseCntCpd, type: 'line', - smooth: true, - itemStyle: { - normal: { - // 折点颜色样式 - color: 'red', - lineStyle: { - // 折线颜色样式 - color: 'red' - } - } - }, + smooth: true, }, { name:'已关闭', data: this.taskCloseCntCpd, type: 'line', - smooth: true, - itemStyle: { - normal: { - // 折点颜色样式 - color: 'red', - lineStyle: { - // 折线颜色样式 - color: 'red' - } - } - }, + smooth: true, } ] } diff --git a/src/views/xm/rpt/project/taskSort.vue b/src/views/xm/rpt/project/taskSort.vue index b70aff40..a254e349 100644 --- a/src/views/xm/rpt/project/taskSort.vue +++ b/src/views/xm/rpt/project/taskSort.vue @@ -172,6 +172,9 @@ { data: this.xmTaskSortsCpd, type: 'bar', + label:{ + show: true, + }, markPoint: { data: [ { type: 'max', name: 'Max' }, diff --git a/src/views/xm/rpt/testPlan/testDayTimesCalc.vue b/src/views/xm/rpt/testPlan/testDayTimesCalc.vue index 8e0ce81a..a00f67b9 100644 --- a/src/views/xm/rpt/testPlan/testDayTimesCalc.vue +++ b/src/views/xm/rpt/testPlan/testDayTimesCalc.vue @@ -227,6 +227,9 @@ name:'次数', data: this.testDayTimesCpd, type: 'bar', + label:{ + show: true, + }, smooth: true, markPoint: { data: [ diff --git a/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue b/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue index 667d38d7..e7dcfa80 100644 --- a/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue +++ b/src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue @@ -207,6 +207,9 @@ name: '已执行', type: 'bar', data: this.hadExecCpd, + label:{ + show: true, + }, markPoint: { data: [ { type: 'max', name: 'Max' }, @@ -218,6 +221,9 @@ name: '未执行', type: 'bar', data: this.notExecCpd, + label:{ + show: true, + }, markPoint: { data: [ { type: 'max', name: 'Max' },