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 @@