From 3bbf405ec1083b792d817bbd4c755bc3aa3abf14 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期五, 01 十二月 2023 11:54:21 +0800 Subject: [PATCH] 左上统计组件 --- src/views/cockpitPage/index.vue | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/views/cockpitPage/index.vue b/src/views/cockpitPage/index.vue index ffaeb1d..248039c 100644 --- a/src/views/cockpitPage/index.vue +++ b/src/views/cockpitPage/index.vue @@ -1,12 +1,23 @@ <template> - <BackgroundBoardLayout></BackgroundBoardLayout> + <BackgroundBoardLayout> + <template #leftBlock1> + <StatisticalBox></StatisticalBox> + </template> + <template #rightBlock3> + <BarChart @should-reload="reloadAllData"></BarChart> + </template> + </BackgroundBoardLayout> </template> <script> +import StatisticalBox from "@/views/cockpitPage/components/StatisticalBox"; import BackgroundBoardLayout from "@/components/cockpitPage/BackgroundBoardLayout.vue"; +import BarChart from "@/components/cockpitPage/BarChart.vue"; export default { components: { + StatisticalBox, BackgroundBoardLayout, + BarChart, }, props: {}, data() { -- Gitblit v1.8.0