From d91161a1393511c2ba42f6a840aab262ad9e4b32 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 19 Mar 2025 15:53:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E9=80=9F=E7=9B=91=E6=8E=A7=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E4=B8=89=E4=BD=8D=E5=B0=8F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/uploadDicomAndNonedicom/dicomFile.vue | 4 ++-- src/utils/multipartUpload/aws.js | 2 +- src/utils/multipartUpload/oss.js | 2 +- .../visit/crc-upload/components/uploadDicomFiles2.vue | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/uploadDicomAndNonedicom/dicomFile.vue b/src/components/uploadDicomAndNonedicom/dicomFile.vue index 57361197..cf951869 100644 --- a/src/components/uploadDicomAndNonedicom/dicomFile.vue +++ b/src/components/uploadDicomAndNonedicom/dicomFile.vue @@ -316,9 +316,9 @@ scope.row.dicomInfo.fileCount }} ({{ - (scope.row.dicomInfo.uploadFileSize / 1024 / 1024).toFixed(2) + (scope.row.dicomInfo.uploadFileSize / 1024 / 1024).toFixed(3) }}MB/{{ - (scope.row.dicomInfo.fileSize / 1024 / 1024).toFixed(2) + (scope.row.dicomInfo.fileSize / 1024 / 1024).toFixed(3) }}MB) diff --git a/src/utils/multipartUpload/aws.js b/src/utils/multipartUpload/aws.js index 62ab0401..daefded3 100644 --- a/src/utils/multipartUpload/aws.js +++ b/src/utils/multipartUpload/aws.js @@ -445,7 +445,7 @@ function setTimer() { totalBytes = totalBytes / 1024; unit = "MB/s"; } - store.state.trials.uploadTip = totalBytes.toFixed(2) + unit; + store.state.trials.uploadTip = totalBytes.toFixed(3) + unit; } if (timeList.length >= 5) { delete bytesReceivedPerSecond[timeList[0]] diff --git a/src/utils/multipartUpload/oss.js b/src/utils/multipartUpload/oss.js index 106071ae..1b3f15f1 100644 --- a/src/utils/multipartUpload/oss.js +++ b/src/utils/multipartUpload/oss.js @@ -150,7 +150,7 @@ function setTimer() { totalBytes = totalBytes / 1024; unit = "MB/s"; } - store.state.trials.uploadTip = totalBytes.toFixed(2) + unit; + store.state.trials.uploadTip = totalBytes.toFixed(3) + unit; } if (timeList.length >= 5) { delete bytesReceivedPerSecond[timeList[0]] diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/uploadDicomFiles2.vue b/src/views/trials/trials-panel/visit/crc-upload/components/uploadDicomFiles2.vue index 396d8a09..c0b27ba7 100644 --- a/src/views/trials/trials-panel/visit/crc-upload/components/uploadDicomFiles2.vue +++ b/src/views/trials/trials-panel/visit/crc-upload/components/uploadDicomFiles2.vue @@ -434,9 +434,9 @@ scope.row.dicomInfo.fileCount }} ({{ - (scope.row.dicomInfo.uploadFileSize / 1024 / 1024).toFixed(2) + (scope.row.dicomInfo.uploadFileSize / 1024 / 1024).toFixed(3) }}MB/{{ - (scope.row.dicomInfo.fileSize / 1024 / 1024).toFixed(2) + (scope.row.dicomInfo.fileSize / 1024 / 1024).toFixed(3) }}MB)