From ae6148abe19ac362c42bf86e03fe273977882ee1 Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Mon, 13 Jul 2020 10:47:53 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=20echarts=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E7=BB=9F=E8=AE=A1=E5=AE=8C=E6=88=90,=E4=B8=8E?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86,=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E5=85=B3=E8=81=94=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- angular.json | 3 +- src/app/is-login.service.ts | 1 + .../lockscreen/lockscreen.component.html | 2 +- src/app/pages/login/login.component.html | 4 +- .../eharts-statistics.component.html | 38 ++++ .../eharts-statistics.component.scss | 40 ++++ .../eharts-statistics.component.spec.ts | 25 +++ .../eharts-statistics.component.ts | 209 ++++++++++++++++++ src/app/ui/ui-routing.module.ts | 5 +- src/app/ui/ui.module.ts | 3 +- src/assets/echarts/echarts.common.min.js | 22 ++ 11 files changed, 346 insertions(+), 6 deletions(-) create mode 100644 src/app/ui/eharts-statistics/eharts-statistics.component.html create mode 100644 src/app/ui/eharts-statistics/eharts-statistics.component.scss create mode 100644 src/app/ui/eharts-statistics/eharts-statistics.component.spec.ts create mode 100644 src/app/ui/eharts-statistics/eharts-statistics.component.ts create mode 100644 src/assets/echarts/echarts.common.min.js diff --git a/angular.json b/angular.json index 1b51971..b7c2067 100644 --- a/angular.json +++ b/angular.json @@ -32,7 +32,8 @@ "src/styles.scss" ], "scripts": [ - "node_modules/echarts/dist/echarts.js" + "node_modules/echarts/dist/echarts.js", + "src/assets/echarts/echarts.common.min.js" ] }, "configurations": { diff --git a/src/app/is-login.service.ts b/src/app/is-login.service.ts index 4a85a2b..c27e403 100644 --- a/src/app/is-login.service.ts +++ b/src/app/is-login.service.ts @@ -35,6 +35,7 @@ export class IsLoginService { link.click(); this.isDownloading = false //关闭下载进度条 this.downloadProgress = 0 //初始化进度条 + this.handleData(e.objectName,'下载') //存储用户操作记录 }) } else if (file && fileSize>shardSize) { //>10MB时分块下载 this.blockingDownload(e) //分段下载 diff --git a/src/app/pages/lockscreen/lockscreen.component.html b/src/app/pages/lockscreen/lockscreen.component.html index 199e999..186a5ac 100644 --- a/src/app/pages/lockscreen/lockscreen.component.html +++ b/src/app/pages/lockscreen/lockscreen.component.html @@ -12,7 +12,7 @@