From d3632a5b301c50ee055cf8d4f5f226ff66441d87 Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Fri, 15 Apr 2022 14:59:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AF=B9=E5=86=85=E7=BD=AE=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E5=8D=95=E4=B8=AA=E5=88=97=E8=A1=A8=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E5=92=8C=E9=A2=84=E8=A7=88=E5=8A=9F=E8=83=BD=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=EF=BC=8Cloading=E6=95=88=E6=9E=9C=EF=BC=8C=E9=98=B2=E6=AD=A2?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E9=87=8D=E5=A4=8D=E7=82=B9=E5=87=BB=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/report/builtinReport.scss | 10 +++- .../table/report/builtinReportTable.vue | 15 ++++-- src/mixins/data-list.js | 47 ++++++++++++++++--- 3 files changed, 59 insertions(+), 13 deletions(-) diff --git a/src/assets/css/components/views/report/builtinReport.scss b/src/assets/css/components/views/report/builtinReport.scss index 7e9edbf4..62afab7d 100644 --- a/src/assets/css/components/views/report/builtinReport.scss +++ b/src/assets/css/components/views/report/builtinReport.scss @@ -36,7 +36,7 @@ .list-page .main-container { padding: 0; .cn-table { - height: calc(100% - 61px) !important; + height: calc(100% - 62px) !important; .el-table--fit.el-table--border { height: calc(100% - 55px) !important; } @@ -116,6 +116,14 @@ display: flex; justify-content: center; flex-direction: column; + position: relative; + .chart__loading { + .el-icon-loading { + font-size: 12px; + left: calc(50% - 6px); + top: calc(50% - 6px); + } + } .icon { height: 25px; width: 25px; diff --git a/src/components/table/report/builtinReportTable.vue b/src/components/table/report/builtinReportTable.vue index 01a97050..27dfec61 100644 --- a/src/components/table/report/builtinReportTable.vue +++ b/src/components/table/report/builtinReportTable.vue @@ -53,13 +53,15 @@