diff --git a/src/api/xm/core/xmMenu.js b/src/api/xm/core/xmMenu.js index d4ec907f..73c84312 100644 --- a/src/api/xm/core/xmMenu.js +++ b/src/api/xm/core/xmMenu.js @@ -50,3 +50,5 @@ export const getXmMenuAttDist = params => { return axios.get(`${base}/xm/core/xm +export const getXmMenuAgeDist = params => { return axios.get(`${base}/xm/core/xmMenu/getXmMenuAgeDist`, { params: params }); }; + diff --git a/src/router/routes_xm.js b/src/router/routes_xm.js index 660f6775..dba94145 100644 --- a/src/router/routes_xm.js +++ b/src/router/routes_xm.js @@ -94,14 +94,14 @@ export default { component: Layout, iconCls: 'fa el-icon-menu', meta: { - title: '报表统计', + title: '效能分析', icon: 'report', hidden:true }, children: [ - { path: 'reportIndex', component: _import('xm/rpt/reportIndex'), name: 'reportIndex', meta: { title: '报表统计', icon: 'chart' }}, + { path: 'reportIndex', component: _import('xm/rpt/reportIndex'), name: 'reportIndex', meta: { title: '效能分析', icon: 'chart' }}, ] }, { diff --git a/src/views/xm/rpt/product/menuAgeDist.vue b/src/views/xm/rpt/product/menuAgeDist.vue new file mode 100644 index 00000000..86da61bf --- /dev/null +++ b/src/views/xm/rpt/product/menuAgeDist.vue @@ -0,0 +1,226 @@ + + + + + \ No newline at end of file diff --git a/src/views/xm/rpt/reportIndex.vue b/src/views/xm/rpt/reportIndex.vue index b8c147ef..8299a77b 100644 --- a/src/views/xm/rpt/reportIndex.vue +++ b/src/views/xm/rpt/reportIndex.vue @@ -24,7 +24,7 @@ - + @@ -36,10 +36,11 @@ import xmMenuDayTrend from './product/menuDayTrend' import xmMenuDayAccumulate from './product/menuDayAccumulate' import xmMenuAttDist from './product/menuAttDist' + import xmMenuAgeDist from './product/menuAgeDist' export default { components: { - xmIterationBurnout,xmMenuDayTrend,xmMenuDayAccumulate,xmMenuAttDist, + xmIterationBurnout,xmMenuDayTrend,xmMenuDayAccumulate,xmMenuAttDist,xmMenuAgeDist, }, props:['xmProduct','xmIteration','xmProject'], computed: { @@ -85,6 +86,7 @@ {rptName:'需求每日趋势',category:'产品级',ref:'xmMenuDayTrend',desc:'跟踪未开始、执行中、已完成、已关闭状态的需求数量按日期变化趋势,识别需求工作情况' }, {rptName:'需求每日累积',category:'产品级',ref:'xmMenuDayAccumulate',desc:'跟踪未开始、执行中、已完成、已关闭状态的需求数量按日期累积情况,识别需求工作的瓶颈' }, {rptName:'需求属性分布',category:'产品级',ref:'xmMenuAttDist',desc:'统计所有需求任意属性数量分布情况(实时数据)' }, + {rptName:'需求年龄分布',category:'产品级',ref:'xmMenuAgeDist',desc:'统计所有需求年龄分布情况(实时数据)' }, ], }//end return },//end data