diff --git a/src/router/routes_xm.js b/src/router/routes_xm.js index da47c7a6..6c189acf 100644 --- a/src/router/routes_xm.js +++ b/src/router/routes_xm.js @@ -642,7 +642,10 @@ export default { icon: 'chart' }, - children: [ + children: [ + + { path: 'his', component: _import('xm/rpt/indexForHis'), name: 'rptIndex', meta: { title: '历史报告',roles:["user"] }}, + { path: 'his/detail', component: _import('xm/rpt/indexForHisDetail'), name: 'rptHisDetail', meta: { title: '报告明细',roles:["user"] },hidden:true}, { path: 'index', component: _import('xm/rpt/index'), name: 'rptIndex', meta: { title: '指标分析',roles:["user"] }}, { path: 'branch/branchDatavFullScreen', name: 'branchDatavFullScreen', meta: { title: '机构效能',openTab:true,outUrl:"${curlDomain}/"+process.env.CONTEXT+"/"+process.env.VERSION+"/#/datav/xm/branch/branchDatavFullScreen" }}, ] diff --git a/src/views/xm/rpt/CompsCard.vue b/src/views/xm/rpt/CompsCard.vue index 79c0b550..876bf119 100644 --- a/src/views/xm/rpt/CompsCard.vue +++ b/src/views/xm/rpt/CompsCard.vue @@ -2,11 +2,13 @@
- + - {{ xmRptData && xmRptData.id?xmRptData.rptName:(xmRptConfig&&xmRptConfig.id?xmRptConfig.name: rptConfigParamsCpd.name+'-报告')}} + {{ xmRptData.rptName}} + {{ xmRptConfig.name}} + {{ rptConfigParamsCpd.name+'-报告'}} 查看历史报告 保存报告(可供历史查询) @@ -33,8 +35,8 @@ - - + + @@ -65,85 +67,27 @@ + + diff --git a/src/views/xm/rpt/comps.js b/src/views/xm/rpt/comps.js new file mode 100644 index 00000000..e1757edd --- /dev/null +++ b/src/views/xm/rpt/comps.js @@ -0,0 +1,66 @@ + +export default { + xmTestRptOverview:()=>import("../core/xmTestPlan/xmTestRptOverview.vue"), + xmMenuDayTrend:()=>import("./product/menuDayTrend.vue"), + xmMenuDayAccumulate:()=>import("./product/menuDayTrend.vue"), + xmMenuAttDist:()=>import('./product/menuAttDist'), + xmMenuAgeDist:()=>import('./product/menuAgeDist.vue'), + xmMenuSort:()=>import('./product/menuSort.vue'), + xmMenuFuncSort:()=>import('./product/menuSort.vue'), + xmMenuProductSort:()=>import('./product/menuSort.vue'), + xmMenuIterationSort:()=>import('./product/menuSort.vue'), + xmProductWorkItemDayList:()=>import('./product/productWorkItemDayList.vue'), + + + xmTaskDayTrend:()=>import('./project/taskDayTrend.vue'), + xmTaskDayAccumulate:()=>import('./project/taskDayAccumulate.vue'), + xmTaskAttDist:()=>import('./project/taskAttDist.vue'), + xmTaskAgeDist:()=>import('./project/taskAgeDist.vue'), + xmTaskSort:()=>import('./project/taskSort.vue'), + xmProjectWorkItemDayList:()=>import('./project/projectWorkItemDayList.vue'), + xmProjectWorkloadSetDayList:()=>import('./project/projectWorkloadSetDayList.vue'), + xmProjectWorkloadSetMonthList:()=>import('./project/projectWorkloadSetMonthList.vue'), + + xmQuestionDayTrend:()=>import('./product/questionDayTrend.vue'), + xmQuestionDayAccumulate:()=>import('./product/questionDayAccumulate.vue'), + xmQuestionAttDist:()=>import('./product/questionAttDist.vue'), + xmQuestionStateDist:()=>import('./product/questionAttDist.vue'), + xmQuestionAgeDist:()=>import('./product/questionAgeDist.vue'), + xmQuestionBugReasonDist:()=>import('./product/questionAttDist.vue'), + xmQuestionBugTypeDist:()=>import('./product/questionAttDist.vue'), + xmQuestionPriorityDist:()=>import('./product/questionAttDist.vue'), + xmQuestionSort:()=>import('./product/questionSort.vue'), + xmQuestionAskUserSort:()=>import('./product/questionSort.vue'), + xmQuestionHandlerUserSort:()=>import('./product/questionSort.vue'), + xmQuestionFuncSort:()=>import('./product/questionSort.vue'), + xmQuestionMenuSort:()=>import('./product/questionSort.vue'), + xmQuestionRetestDist:()=>import('./product/questionRetestDist.vue'), + + + xmTestPlanCaseExecStatusDist:()=>import('./testPlan/testPlanCaseExecStatusDist.vue'), + xmTestPlanCaseUserDist:()=>import('./testPlan/testPlanCaseUserDist.vue'), + xmTestDayTimesCalc:()=>import('./testPlan/testDayTimesCalc.vue'), + xmTestCaseToPlanCalc:()=>import('./testPlan/testCaseToPlanCalc.vue'), + xmTestCaseSort:()=>import('./testCase/testCaseSort.vue'), + xmTestCaseCuserSort:()=>import('./testCase/testCaseSort.vue'), + xmTestCaseFuncSort:()=>import('./testCase/testCaseSort.vue'), + xmTestCaseMenuSort:()=>import('./testCase/testCaseSort.vue'), + + + xmIterationMenuDayTrend:()=>import('./iteration/menuDayTrend.vue'), + xmIterationMenuDayAccumulate:()=>import('./iteration/menuDayAccumulate.vue'), + xmIterationBurnout:()=>import('./iteration/burnout.vue'), + xmIterationWorkItemDayList:()=>import('./iteration/iterationWorkItemDayList.vue'), + xmIterationQuestionDayTrend:()=>import('./iteration/questionDayTrend.vue'), + xmIterationQuestionDayAccumulate:()=>import('./iteration/questionDayAccumulate.vue'), + + + xmBranchWorkItemDayList:()=>import('./branch/branchWorkItemDayList.vue'), + xmBranchQuestionDayTrend:()=>import('./branch/questionDayTrend.vue'), + xmBranchQuestionDayAccumulate:()=>import('./branch/questionDayAccumulate.vue'), + xmBranchMenuDayTrend:()=>import('./branch/menuDayTrend.vue'), + xmBranchMenuDayAccumulate:()=>import('./branch/menuDayAccumulate.vue'), +}; + + + diff --git a/src/views/xm/rpt/his/rptDataList.vue b/src/views/xm/rpt/his/rptDataSelect.vue similarity index 100% rename from src/views/xm/rpt/his/rptDataList.vue rename to src/views/xm/rpt/his/rptDataSelect.vue diff --git a/src/views/xm/rpt/indexForHis.vue b/src/views/xm/rpt/indexForHis.vue new file mode 100644 index 00000000..87cb535e --- /dev/null +++ b/src/views/xm/rpt/indexForHis.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/src/views/xm/rpt/indexForHisDetail.vue b/src/views/xm/rpt/indexForHisDetail.vue new file mode 100644 index 00000000..d768732b --- /dev/null +++ b/src/views/xm/rpt/indexForHisDetail.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/src/views/xm/rpt/project/taskAgeDist.vue b/src/views/xm/rpt/project/taskAgeDist.vue index 22a0224e..595fe457 100644 --- a/src/views/xm/rpt/project/taskAgeDist.vue +++ b/src/views/xm/rpt/project/taskAgeDist.vue @@ -277,6 +277,7 @@ }, searchXmTaskAgeDist(){ + debugger; if(this.rptDatas){ this.rawDatas=this.rptDatas return;