From c102dbe9f2e24ecbd1b09bf719e2ca4d911ec12d Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 18 Apr 2024 17:19:07 +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/utils/uploadZip.js | 3 ++- .../hirVisit/components/current-study.vue | 17 +++++++++++++- .../hirVisit/components/studyInfo.vue | 22 +++++++++++++++++++ .../hirVisit/components/visit-info.vue | 16 +++++++++----- .../trials/trials-panel/hirVisit/index.vue | 10 ++++++--- .../reading/reading-tracking/index.vue | 13 +++++++++-- 6 files changed, 68 insertions(+), 13 deletions(-) diff --git a/src/utils/uploadZip.js b/src/utils/uploadZip.js index 22e54bf..5656071 100644 --- a/src/utils/uploadZip.js +++ b/src/utils/uploadZip.js @@ -1,6 +1,7 @@ import JSZip from "jszip"; import axios from "axios"; import { saveAs } from "file-saver"; +import Vue from 'vue'; import { getSubjectImageZipInfo, } from "@/api/trials/visit.js"; @@ -89,7 +90,7 @@ const setfolder = async (item) => { const handleBatchDown = async (item, zip) => { return new Promise((resolve) => { getFileData( - this.OSSclientConfig.basePath + item.instancePath.slice(1) + Vue.prototype.OSSclientConfig.basePath + item.instancePath.slice(1) ).then((res) => { const fileName = item.dicomName + ".dcm"; zip.file(fileName, res.data, { binary: true }); diff --git a/src/views/trials/trials-panel/hirVisit/components/current-study.vue b/src/views/trials/trials-panel/hirVisit/components/current-study.vue index 765f90b..b323bee 100644 --- a/src/views/trials/trials-panel/hirVisit/components/current-study.vue +++ b/src/views/trials/trials-panel/hirVisit/components/current-study.vue @@ -20,6 +20,7 @@ v-loading="loading" :data="list" stripe + v-adaptive="{ bottomOffset: 60 }" height="300" > @@ -30,6 +31,13 @@ :label="$t('trials:uploadDicomList:table:pId')" show-overflow-tooltip > + + + + @@ -144,7 +159,7 @@ export default { }); var newWindow = window.open(routeData.href, "_blank"); this.$emit("setOpenWindow", newWindow); - } + }, }, }; diff --git a/src/views/trials/trials-panel/hirVisit/components/studyInfo.vue b/src/views/trials/trials-panel/hirVisit/components/studyInfo.vue index da7dcdb..fb6c438 100644 --- a/src/views/trials/trials-panel/hirVisit/components/studyInfo.vue +++ b/src/views/trials/trials-panel/hirVisit/components/studyInfo.vue @@ -16,8 +16,23 @@ v-loading="studyLoading" :data="studyList" style="width: 100%" + v-adaptive="{ bottomOffset: 60 }" height="300" > + + + + + + diff --git a/src/views/trials/trials-panel/hirVisit/components/visit-info.vue b/src/views/trials/trials-panel/hirVisit/components/visit-info.vue index d48794f..089647e 100644 --- a/src/views/trials/trials-panel/hirVisit/components/visit-info.vue +++ b/src/views/trials/trials-panel/hirVisit/components/visit-info.vue @@ -18,9 +18,11 @@
- -

{{ $t("trials:crcUpload:label:dicom") }}

- + +

+ {{ $t("trials:trials-panel:hirVisit:label:subDicom") }} +

+ - -

{{ $t("trials:dicom-show:nowStudy") }}

- + +

+ {{ $t("trials:trials-panel:hirVisit:label:notSubDicom") }} +

+ {{ $t("trials:adReview:title:result") }}{{ + $t("trials:trials-panel:hirVisit:ImageData") + }} {{ $t("trials:adReview:title:result") }}{{ + $t("trials:trials-panel:hirVisit:EvaluationReport") + }} + + @@ -256,6 +262,7 @@ import Pagination from "@/components/Pagination"; import { getPatientVisitTaskList } from "@/api/readManagenent.js"; import { getToken } from "@/utils/auth"; import { getSystemConfirmedCreiterionList } from "@/api/trials"; +import { downloadImage } from "@/utils/uploadZip.js"; const defaultSearchData = () => { return { SubjectCode: null, @@ -370,7 +377,9 @@ export default { } }, // 下载报告 - downloadReport() {}, + downloadReport(item) { + downloadImage(item.SubjectId); + }, // 阅片结果 readResult(row) { if (this.openWindow) {