From 3bc669916f43c6464ae6b76be33b1af943fad5fe Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Thu, 23 Jun 2022 16:37:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=AE=9E=E4=BD=93?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E6=97=B6=E9=97=B4=E9=80=89=E6=8B=A9=E5=99=A8?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E6=97=B6=E9=97=B4=E5=90=8E=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E4=BC=A0=E5=8F=82=E9=94=99=E8=AF=AF=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/themes/common.scss | 1 + src/views/entityExplorer/EntityExplorer.vue | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/assets/css/themes/common.scss b/src/assets/css/themes/common.scss index 09049131..b9c725e1 100644 --- a/src/assets/css/themes/common.scss +++ b/src/assets/css/themes/common.scss @@ -46,6 +46,7 @@ th *:first-letter, .el-table__empty-block { width: 100% !important; + height: 340px !important; } /* 淡化amcharts的logo */ diff --git a/src/views/entityExplorer/EntityExplorer.vue b/src/views/entityExplorer/EntityExplorer.vue index f9eaaa6b..f110ccd6 100644 --- a/src/views/entityExplorer/EntityExplorer.vue +++ b/src/views/entityExplorer/EntityExplorer.vue @@ -572,8 +572,8 @@ export default { this.listLoading = true const queryParams = { ...params, - startTime: parseInt(params.startTime / 1000), - endTime: parseInt(params.endTime / 1000) + startTime: getSecond(params.startTime), + endTime: getSecond(params.endTime) } get(api.entityList, queryParams).then(response => { if (response.code === 200) { @@ -590,8 +590,8 @@ export default { queryListTotal (params) { const queryParams = { ...params, - startTime: parseInt(params.startTime / 1000), - endTime: parseInt(params.endTime / 1000) + startTime: getSecond(params.startTime), + endTime: getSecond(params.endTime) } get(api.entityListTotal, queryParams).then(response => { if (response.code === 200) {