From 64d268b6e8a56aa3d5ba86d7d488dbd49e858720 Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Sun, 29 Sep 2024 09:17:07 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=90=8E=E5=A4=84=E7=90=86=E5=BD=B1?= =?UTF-8?q?=E5=83=8F=E5=8F=AF=E4=BB=A5=E7=BC=96=E8=BE=91=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/load.js | 8 + .../uploadDicomAndNonedicom/dicomFile.vue | 26 +- .../uploadDicomAndNonedicom/study-view.vue | 336 ++++++++++++------ 3 files changed, 255 insertions(+), 115 deletions(-) diff --git a/src/api/load.js b/src/api/load.js index 77282c73..97e44a79 100644 --- a/src/api/load.js +++ b/src/api/load.js @@ -95,4 +95,12 @@ export function getTrialDownloadList(data) { method: 'post', data }) +} +// 修改后处理检查类型 +export function updateTaskStudyModality(params) { + return request({ + url: '/DownloadAndUpload/updateTaskStudyModality', + method: 'put', + params + }) } \ No newline at end of file diff --git a/src/components/uploadDicomAndNonedicom/dicomFile.vue b/src/components/uploadDicomAndNonedicom/dicomFile.vue index 13a96ecf..0bec3065 100644 --- a/src/components/uploadDicomAndNonedicom/dicomFile.vue +++ b/src/components/uploadDicomAndNonedicom/dicomFile.vue @@ -45,11 +45,18 @@ prop="UploadStudyList" :label="$t('upload:dicom:table:uploadStudyListNum')" > - + @@ -544,6 +554,8 @@ export default { errStudyUidList: [], open: null, bodyPart: [], + openIsUpload: false, + TrialModality: [], } }, created() { @@ -580,6 +592,7 @@ export default { let res = await getSubjectImageUploadList(params) this.loading = false if (res.IsSuccess) { + this.TrialModality = res.OtherInfo.TrialModality.split('|') this.StudyInstanceUidList = [] this.SopInstanceUidList = [] this.UploadStudyList = [] @@ -654,7 +667,8 @@ export default { } }, // 打开弹窗 - handleOpenDialog(item, list) { + handleOpenDialog(item, list, isUpload = false) { + this.openIsUpload = isUpload this.model_cfg.title = `${item.SubjectCode || ''} > ${item.TaskBlindName}` this.modelList = item[list] this.model_cfg.visible = true diff --git a/src/components/uploadDicomAndNonedicom/study-view.vue b/src/components/uploadDicomAndNonedicom/study-view.vue index 272e45fc..aa957a97 100644 --- a/src/components/uploadDicomAndNonedicom/study-view.vue +++ b/src/components/uploadDicomAndNonedicom/study-view.vue @@ -1,120 +1,175 @@ From 47dd21ea7e3f519e11cb1cf44dd0c1dde7d69cf9 Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Sun, 29 Sep 2024 10:25:19 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E6=9D=83=E9=99=90=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/feedBack/index.vue | 2 +- .../trials-panel/trial-summary/trial-information/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/feedBack/index.vue b/src/views/feedBack/index.vue index b19cd07d..c4edaa42 100644 --- a/src/views/feedBack/index.vue +++ b/src/views/feedBack/index.vue @@ -350,7 +350,7 @@ export default { if (this.hasPermi(['role:dev', 'role:admin'])) { return 9 } - if (this.hasPermi(['role:pm', 'role:spm'])) { + if (this.hasPermi(['role:pm', 'role:apm'])) { return 8 } if (this.hasPermi(['role:ir', 'role:crc'])) { diff --git a/src/views/trials/trials-panel/trial-summary/trial-information/index.vue b/src/views/trials/trials-panel/trial-summary/trial-information/index.vue index 96978927..f2e1a335 100644 --- a/src/views/trials/trials-panel/trial-summary/trial-information/index.vue +++ b/src/views/trials/trials-panel/trial-summary/trial-information/index.vue @@ -151,7 +151,7 @@ :value="trialInfo.UserFeedBackUnDealedCount || 0" :max="99" class="inBox" - v-hasPermi="['role:pm', 'role:admin', 'role:spm']" + v-hasPermi="['role:pm', 'role:admin', 'role:apm']" > From 3bb025069921d50207ba988a658ebe3daf8fb615 Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Sun, 29 Sep 2024 10:38:50 +0800 Subject: [PATCH 3/5] =?UTF-8?q?apm=E6=84=8F=E8=A7=81=E5=8F=8D=E9=A6=88?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/feedBack/index.vue | 178 ++++++++++++------------ src/components/feedBack/uploadImage.vue | 1 - 2 files changed, 89 insertions(+), 90 deletions(-) diff --git a/src/components/feedBack/index.vue b/src/components/feedBack/index.vue index d632b48b..4c92febc 100644 --- a/src/components/feedBack/index.vue +++ b/src/components/feedBack/index.vue @@ -52,7 +52,7 @@ class="el-icon-warning-outline" style="color: #f56c6c; font-size: 24px" > - {{ $t("feedBack:imgfail:tip") }} + {{ $t('feedBack:imgfail:tip') }}

- {{ $t("feedBack:button:cancel") }} + {{ $t('feedBack:button:cancel') }} - {{ $t("feedBack:button:save") }} + {{ $t('feedBack:button:save') }}