From 2c1636858f3cd3b7890ad716e39ea148e4572971 Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Tue, 6 Aug 2024 13:35:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=A5=E5=91=8A=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E4=BB=A5=E5=8F=8A=E7=97=85=E4=BE=8B=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/dicom/js/dicomViewPc.js | 17 +- src/api/ultrasoniccom/index.ts | 5 + .../applyregistration/illnessCase/index.vue | 97 +++++- .../reportPrintStatistics/index.vue | 307 +++++++++++++++--- src/views/dicomForm/dicomViewForm.vue | 62 ++-- src/views/ultrasoniccom/ultrasonicForm.vue | 1 + 6 files changed, 407 insertions(+), 82 deletions(-) diff --git a/public/dicom/js/dicomViewPc.js b/public/dicom/js/dicomViewPc.js index 7ca41bd4..f69fe52c 100644 --- a/public/dicom/js/dicomViewPc.js +++ b/public/dicom/js/dicomViewPc.js @@ -461,22 +461,33 @@ function initData() { var idx = GetQueryString("idx"); var localStorage = window.localStorage; var localData = JSON.parse(localStorage.data); + var data= JSON.parse(localData.do); + console.log("网页接受到数据"+data) + stateData.dicomInfo = data; + initImgList(stateData.dicomInfo); + initConerstoneAndData(); /* alert(localData.regid) */ - $.getJSON("http://127.0.0.1:5000/get-data", { - + /* $.getJSON("http://127.0.0.1:5000/get-data", { + }, function (data) { if ("failed" == data.status) { alert("获取数据失败") } else { + console.log(data) stateData.dicomInfo = data; initImgList(stateData.dicomInfo); initConerstoneAndData(); } - }); + }); */ } + + + + + //初始化滚动条 function initSlider(element) { var idx = stateData.showMapping.get(element.id); diff --git a/src/api/ultrasoniccom/index.ts b/src/api/ultrasoniccom/index.ts index 746905e9..7b1d9f3d 100644 --- a/src/api/ultrasoniccom/index.ts +++ b/src/api/ultrasoniccom/index.ts @@ -28,4 +28,9 @@ export const ultrasoniccomApi = { upreporttemplatetime: async (pid:string) => { return await request.get({ url: `/ultrasoniccom/ultrasonic/upreporttemplatetime?pid=${pid}`}) }, + + //获取dicom数据 + getdcmlist: async () => { + return await request.get({ url: `/ultrasoniccom/ultrasonic/getdcm`}) + }, } diff --git a/src/views/applyregistration/illnessCase/index.vue b/src/views/applyregistration/illnessCase/index.vue index e6e122ae..6c352fb3 100644 --- a/src/views/applyregistration/illnessCase/index.vue +++ b/src/views/applyregistration/illnessCase/index.vue @@ -148,7 +148,9 @@ :offset="4" style="text-align: left; padding-left: 8px; margin-bottom: 6px" > - 搜索 + + 搜索 + @@ -164,17 +166,30 @@ border :stripe="true" :show-overflow-tooltip="true" - :data="list_patExamitems" + :data="list" height="max(45vh,330px)" + @row-click="handleRowClick" > - aaaa + + + + + + +
@@ -221,10 +236,10 @@