From 821475b7d68985650f33f3efe783f1cbc9e9076d Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Wed, 5 Mar 2025 09:51:33 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E5=BD=B1=E5=83=8F=E6=A3=80=E6=9F=A5?=
=?UTF-8?q?=E6=8E=92=E5=BA=8F=E3=80=81=E5=AD=97=E7=AC=A6=E9=9B=86=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/views/none-dicom-show/index.vue | 6 +--
.../visit/crc-upload/components/studyInfo.vue | 20 +++++++-
.../components/uploadDicomFiles2.vue | 51 +++++++++++++------
.../components/uploadNonDicomFiles.vue | 20 +++++++-
.../visit/qc-check/components/dicomFiles.vue | 18 +++++++
.../qc-check/components/qualityAssurance.vue | 47 +++++++++++++++--
6 files changed, 138 insertions(+), 24 deletions(-)
diff --git a/src/views/none-dicom-show/index.vue b/src/views/none-dicom-show/index.vue
index a2355602..f861abf0 100644
--- a/src/views/none-dicom-show/index.vue
+++ b/src/views/none-dicom-show/index.vue
@@ -9,9 +9,9 @@
{{ study.CodeView }}
- {{
- study.StudyName
- }}
+
+ {{ study.StudyName }}
+
{{ study.Modality }}
{{ getBodyPart(study.BodyPart) }}
diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/studyInfo.vue b/src/views/trials/trials-panel/visit/crc-upload/components/studyInfo.vue
index f1a86870..bb571f80 100644
--- a/src/views/trials/trials-panel/visit/crc-upload/components/studyInfo.vue
+++ b/src/views/trials/trials-panel/visit/crc-upload/components/studyInfo.vue
@@ -34,6 +34,7 @@
height="300"
:row-class-name="tableRowClassName"
@selection-change="handleSelectionChange"
+ :default-sort="{ prop: 'UploadedTime', order: 'descending' }"
>
@@ -78,6 +84,7 @@
@@ -85,6 +92,7 @@
@@ -92,6 +100,7 @@
@@ -103,9 +112,18 @@
+
+
@@ -44,6 +45,7 @@
:label="$t('trials:uploadedDicoms:table:studyId')"
min-width="80"
show-overflow-tooltip
+ sortable
>
{{ getBodyPart(scope.row.BodyPartForEdit) }}
@@ -120,6 +126,7 @@
:label="$t('trials:uploadedDicoms:table:seriesCount')"
min-width="100"
show-overflow-tooltip
+ sortable
/>
{{
@@ -147,8 +156,17 @@
+
+
`
- this.$alert(
- content,
- this.$t('trials:uploadDicomList:label:prompt'),
- {
- confirmButtonText: this.$t(
- 'trials:uploadDicomList:label:confirm'
- ),
- dangerouslyUseHTMLString: true,
- callback: (action) => {},
- }
- )
+ this.$alert(content, '', {
+ confirmButtonText: this.$t(
+ 'trials:uploadDicomList:label:confirm'
+ ),
+ dangerouslyUseHTMLString: true,
+ callback: (action) => {},
+ })
this.btnLoading = false
}
var results = []
@@ -1760,7 +1781,7 @@ export default {
o.imageColumns,
o.imageRows
)
- let thumbnailPath = `/${params.trialId}/Image/${params.trialSiteId}/${params.subjectId}/${params.subjectVisitId}/${dicomInfo.studyUid}/${v.seriesUid}.png`
+ let thumbnailPath = `/${params.trialId}/Image/${params.subjectId}/${params.subjectVisitId}/${dicomInfo.studyUid}/${v.seriesUid}.png`
let OSSclient = scope.OSSclient
let seriesRes = await OSSclient.put(
thumbnailPath,
diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue b/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue
index 57a1e608..486aecf7 100644
--- a/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue
+++ b/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue
@@ -23,27 +23,35 @@
-
+
{{ getBodyPart(scope.row.BodyPart) }}
@@ -53,6 +61,7 @@
{{ moment(scope.row.ImageDate).format('YYYY-MM-DD') }}
@@ -174,6 +184,13 @@
+
+
@@ -887,7 +904,6 @@ export default {
// 扫描待上传文件
beginScanFiles(e) {
var files = [...e.target.files]
- console.log(files)
var sameFiles = []
files.forEach((file) => {
var extendName = file.name
diff --git a/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue b/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue
index 295c47f3..fc6542b7 100644
--- a/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue
+++ b/src/views/trials/trials-panel/visit/qc-check/components/dicomFiles.vue
@@ -19,6 +19,7 @@
height="300"
:row-class-name="tableRowClassName"
@selection-change="handleSelectionChange"
+ :default-sort="{ prop: 'UploadedTime', order: 'descending' }"
>
@@ -51,15 +53,18 @@
v-if="relationInfo.IsShowStudyName"
prop="StudyName"
:label="$t('trials:audit:table:StudyName')"
+ sortable
/>
{{ getBodyPart(scope.row.BodyPartForEdit) }}
@@ -78,6 +84,7 @@
:label="$t('trials:audit:table:seriesCount')"
min-width="100"
show-overflow-tooltip
+ sortable
/>
{{ moment(scope.row.StudyTime).format('YYYY-MM-DD') }}
@@ -103,6 +112,15 @@
:label="$t('trials:audit:table:studyUploadTime')"
min-width="80"
show-overflow-tooltip
+ sortable
+ />
+
+
{{ $t('trials:audit:title:series') }}
-
+
@@ -281,12 +298,21 @@
+
+
{{ getBodyPart(scope.row.BodyPart) }}
@@ -435,6 +467,7 @@
+
+
@@ -2628,11 +2669,11 @@ export default {
margin-top: 10px;
overflow-y: auto;
}
- /deep/ .delete-row {
+ ::v-deep .delete-row {
text-decoration-line: line-through;
color: #c0c4cc;
}
- /deep/ .el-card {
+ ::v-deep .el-card {
padding: 10px;
}
}
From ba26476c529f9f82250feee1291d4964d36976c7 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Wed, 5 Mar 2025 09:56:51 +0800
Subject: [PATCH 2/2] =?UTF-8?q?pdf=E9=A2=84=E8=A7=88=E9=BB=98=E8=AE=A4?=
=?UTF-8?q?=E7=BC=A9=E6=94=BE=E6=94=B9=E4=B8=BA100%?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
static/pdfjs/web/viewer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/static/pdfjs/web/viewer.js b/static/pdfjs/web/viewer.js
index d87d8b4f..5315e3de 100644
--- a/static/pdfjs/web/viewer.js
+++ b/static/pdfjs/web/viewer.js
@@ -11758,7 +11758,7 @@ const DEFAULT_L10N_STRINGS = {
rendering_error: "An error occurred while rendering the page.",
page_scale_width: "Page Width",
page_scale_fit: "Page Fit",
- page_scale_auto: "Automatic Zoom",
+ page_scale_auto: "100%", //Automatic Zoom
page_scale_actual: "Actual Size",
page_scale_percent: "{{scale}}%",
loading: "Loading…",