From e20719415a363423da96fea0afb2601a87be1328 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Wed, 29 May 2024 16:56:14 +0800
Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/user/list/index.vue | 4 ++--
.../trials/trials-inspection/components/push-record-list.vue | 2 +-
.../trials-panel/trial-summary/download-record/index.vue | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/system/user/list/index.vue b/src/views/system/user/list/index.vue
index f88bf85..de74a08 100644
--- a/src/views/system/user/list/index.vue
+++ b/src/views/system/user/list/index.vue
@@ -74,9 +74,9 @@ const searchDataDefault = () => {
UserType: null,
PageIndex: 1,
PageSize: 20,
- Asc: true,
+ Asc: false,
RealName: "",
- SortField: "",
+ SortField: "CreateTime",
CreateTimeArr: [],
BeginCreateTime: null,
EndCreateTime: null,
diff --git a/src/views/trials/trials-inspection/components/push-record-list.vue b/src/views/trials/trials-inspection/components/push-record-list.vue
index 69669a2..c23f0b4 100644
--- a/src/views/trials/trials-inspection/components/push-record-list.vue
+++ b/src/views/trials/trials-inspection/components/push-record-list.vue
@@ -140,7 +140,7 @@
{{
scope.row.FileSize && scope.row.FileSize > 0
- ? `${Math.ceil(scope.row.FileSize / 1024 / 1024)}MB`
+ ? `${(scope.row.FileSize / 1024 / 1024).toFixed(2)}MB`
: 0
}}
diff --git a/src/views/trials/trials-panel/trial-summary/download-record/index.vue b/src/views/trials/trials-panel/trial-summary/download-record/index.vue
index b51cfd5..e33769a 100644
--- a/src/views/trials/trials-panel/trial-summary/download-record/index.vue
+++ b/src/views/trials/trials-panel/trial-summary/download-record/index.vue
@@ -150,7 +150,7 @@
{{
scope.row.VisitImageZipSize && scope.row.VisitImageZipSize > 0
- ? `${Math.ceil(scope.row.VisitImageZipSize / 1024 / 1024)}MB`
+ ? `${(scope.row.VisitImageZipSize / 1024 / 1024).toFixed(2)}MB`
: 0
}}