diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index a6041d57..379f6281 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -1085,6 +1085,12 @@ export default { "layout2": "Layout 2", "layout3": "Layout 3" }, + kpiOverView:{ + "changeLine":"Change to Line Charts", + "changeBar":"Change to Bar Charts", + "chooseShowMetrics":"Select the metric you want to display", + "chooseMetrics":"Select an indicator", + }, }, traceManage: { analysis: { diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 4fa0e506..ffc19f58 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -1085,6 +1085,13 @@ export default { "layout2": "布局2", "layout3": "布局3" }, + kpiOverView:{ + "changeLine":"切换为折线图", + "changeBar":"切换为柱状图", + "chooseShowMetrics":"选择需要显示的指标", + "chooseMetrics":"选择指标", + + }, }, traceManage: { analysis: { diff --git a/src/views/perfManage/kpiOverView/index.vue b/src/views/perfManage/kpiOverView/index.vue index 9acef774..e8914166 100644 --- a/src/views/perfManage/kpiOverView/index.vue +++ b/src/views/perfManage/kpiOverView/index.vue @@ -1,16 +1,712 @@ - - - - - kpiOverView - - + + + + + + + + {{t('views.perfManage.kpiOverView.chooseMetrics')}} + + + + + + + {{ chartType === 'line' ? t('views.perfManage.kpiOverView.changeLine') : t('views.perfManage.kpiOverView.changeBar') }} + + + + + + + + + + + + + {{ neType.toUpperCase() }} + + + + {{ kpi.title }} + + + + + + + + - +