From 5380b3ff39c5bf8ff4e487b9327230d166d18433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Tue, 2 Aug 2022 19:20:40 +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/core/xmTestPlan/rpt/CompsCard.vue | 18 +++++++++--------- .../xmTestPlan/rpt/biz/questionAgeDist.vue | 13 ++++++++----- .../xmTestPlan/rpt/biz/questionAttDist.vue | 15 +++++++++------ .../rpt/biz/testPlanCaseExecStatusDist.vue | 15 +++++++++------ .../rpt/biz/testPlanCaseUserDist.vue | 15 +++++++++------ 5 files changed, 44 insertions(+), 32 deletions(-) diff --git a/src/views/xm/core/xmTestPlan/rpt/CompsCard.vue b/src/views/xm/core/xmTestPlan/rpt/CompsCard.vue index 95376523..c01bc746 100644 --- a/src/views/xm/core/xmTestPlan/rpt/CompsCard.vue +++ b/src/views/xm/core/xmTestPlan/rpt/CompsCard.vue @@ -107,14 +107,14 @@ export default { maxTableHeight:300, // 布局位置数据 initCompCfg: [ - { i:1, x: 0, y: 12, w: 12, h: 4, id:'xmQuestionAgeDist',name:'缺陷年龄分布',compId:'xmQuestionAgeDist', params:[] }, - { i: 2, x: 0, y: 12, w: 12, h: 4, id:'xmQuestionAttDist',name:'缺陷属性分布',compId:'xmQuestionAttDist', }, - { i: 3, x: 0, y: 12, w: 12, h: 4, id:'xmQuestionHandlerUserSort',name:'缺陷负责人排行榜',compId:'xmQuestionHandlerUserSort', }, - { i: 4, x: 0, y: 12, w: 12, h: 4, id:'xmQuestionAskUserSort',name:'缺陷提出人排行榜', compId:'xmQuestionAskUserSort', }, - { i:5, x: 0, y: 12, w: 12, h: 4, id:'xmQuestionMenuSort',name:'缺陷需求分布', compId:'xmQuestionMenuSort', }, - { i: 6, x: 0, y: 12, w: 12, h: 4, id:'xmQuestionFuncSort',name:'缺陷模块分布', compId:'xmQuestionFuncSort', }, - { i: 7, x: 0, y: 12, w: 12, h: 4, id:'xmTestPlanCaseExecStatusDist',name:'用例执行结果分布', compId:'xmTestPlanCaseExecStatusDist', }, - { i: 8, x: 0, y: 12, w: 12, h: 4, id:'xmTestPlanCaseUserDist',name:'用例执行人情况分布', compId:'xmTestPlanCaseUserDist', }, + { i:1, x: 0, y: 12, w: 12, h: 6, id:'xmQuestionAgeDist',name:'缺陷年龄分布',compId:'xmQuestionAgeDist', params:[] }, + { i: 2, x: 0, y: 12, w: 12, h: 6, id:'xmQuestionAttDist',name:'缺陷属性分布',compId:'xmQuestionAttDist', }, + { i: 3, x: 0, y: 12, w: 12, h: 6, id:'xmQuestionHandlerUserSort',name:'缺陷负责人排行榜',compId:'xmQuestionHandlerUserSort', }, + { i: 4, x: 0, y: 12, w: 12, h: 6, id:'xmQuestionAskUserSort',name:'缺陷提出人排行榜', compId:'xmQuestionAskUserSort', }, + { i:5, x: 0, y: 12, w: 12, h: 6, id:'xmQuestionMenuSort',name:'缺陷需求分布', compId:'xmQuestionMenuSort', }, + { i: 6, x: 0, y: 12, w: 12, h: 6, id:'xmQuestionFuncSort',name:'缺陷模块分布', compId:'xmQuestionFuncSort', }, + { i: 7, x: 0, y: 12, w: 12, h: 6, id:'xmTestPlanCaseExecStatusDist',name:'用例执行结果分布', compId:'xmTestPlanCaseExecStatusDist', }, + { i: 8, x: 0, y: 12, w: 12, h: 6, id:'xmTestPlanCaseUserDist',name:'用例执行人情况分布', compId:'xmTestPlanCaseUserDist', }, ], @@ -141,7 +141,7 @@ export default { } }, onCompSelect(comp){ - var compCfg={i:this.compCfgList.length+1, x: 0, y: 0, w: 12, h: 6, compId:comp.compId,name:comp.name,id:comp.compId+seq.sn(),params:[]} + var compCfg={i:this.compCfgList.length+1, x: 0, y: 12, w: 12, h: 6, compId:comp.compId,name:comp.name,id:comp.compId+seq.sn(),params:[]} this.compCfgList.push(compCfg) } diff --git a/src/views/xm/core/xmTestPlan/rpt/biz/questionAgeDist.vue b/src/views/xm/core/xmTestPlan/rpt/biz/questionAgeDist.vue index db0e1376..7d6eccb1 100644 --- a/src/views/xm/core/xmTestPlan/rpt/biz/questionAgeDist.vue +++ b/src/views/xm/core/xmTestPlan/rpt/biz/questionAgeDist.vue @@ -1,7 +1,7 @@