From 36df8d63f97bda8958d54d2fd7db3b56dc850d01 Mon Sep 17 00:00:00 2001 From: songguoqiang <765017469@qq.com> Date: Wed, 6 Dec 2023 16:49:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=8E=BB=E6=8E=89=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Home/Index.vue | 9 +- src/views/Home/echarts-data.ts | 155 ++---------------- .../dingtalkrecords/dingtalkRecords.data.ts | 5 + 3 files changed, 23 insertions(+), 146 deletions(-) diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index 2b727b8..d63de4f 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -97,7 +97,7 @@ const getWeeklyUserActivity = async () => { text: '检测类型导入次数(近7天)', left: 0, textStyle:{ - fontSize:16, + fontSize:14, } }) @@ -136,9 +136,7 @@ const getWeeklyUserActivity = async () => { }, { name: '性能', - data: data3.forEach(element => { - element - }), + data: data3, type: 'bar', animationDuration: 2000, animationEasing: 'cubicInOut' @@ -158,7 +156,7 @@ const getWeeklyUserActivity1 = async () => { text: '检测类型导入次数(近7天)', left: 0, textStyle:{ - fontSize:16, + fontSize:14, } }) set( @@ -212,6 +210,7 @@ onMounted(async() => {//初始化方法 echartsData.value = await rescordAPI.getSYEchartsData(); await getWeeklyUserActivity() await getWeeklyUserActivity1() + })