Browse Source

医生端互认记录查看着修改报告查看与影像查看相应字段

luyun 2 weeks ago
parent
commit
53f9d39023

+ 6 - 6
jcjyhr/web/src/views/backend/RecogView/components/table.vue

@@ -154,7 +154,7 @@
           <el-button link type="primary" size="small" @click="handleReportView(scope.row)">
             报告查看
           </el-button>
-          <el-button link type="primary" size="small" @click="goImageView">影像查看</el-button>
+          <el-button link type="primary" size="small" @click="goImageView(scope.row)">影像查看</el-button>
         </template>
       </el-table-column>
     </el-table>
@@ -427,16 +427,16 @@ const handleCopy = async () => {
 
 // 报告查看
 const handleReportView = (row: TableRow) => {
-    fetchGetAttachment(row.EXAM_REPORT_CODE)
+    fetchGetAttachment(row.IMAGES)
 }
-const fetchGetAttachment = (code: string) => {
+const fetchGetAttachment = (IMAGES: string) => {
     // getAttachment({report_code: code}).then(res => {
     //     res.data && dialogVisible(res.data)
     // })
-    dialogVisible(examReport)
+    dialogVisible(IMAGES)
 }
-const goImageView = () => { //影像查看
-    window.open('http://aipacsview.pacsonline.cn/#/pc?studyurl=https%3A%2F%2Fquery.pacsonline.cn%2Fquery%2F%3Faddress%3D&study_id=600162858d43dfc92c107759ecdb030b&node_type=1&node_type=1&version=V4.0.0.0')
+const goImageView = (STUDY_ID: string) => { //影像查看
+    window.open('http://aipacsview.pacsonline.cn/#/pc?studyurl=https%3A%2F%2Fquery.pacsonline.cn%2Fquery%2F%3Faddress%3D&study_id='+ STUDY_ID +'&node_type=1&node_type=1&version=V4.0.0.0')
 }
 // 下载报告
 const handleDownload = () => {

+ 6 - 6
jcjyhr/web/src/views/backend/ShareView/components/table.vue

@@ -154,7 +154,7 @@
           <el-button link type="primary" size="small" @click="handleReportView(scope.row)">
             报告查看
           </el-button>
-          <el-button link type="primary" size="small" @click="goImageView">影像查看</el-button>
+          <el-button link type="primary" size="small" @click="goImageView(scope.row)">影像查看</el-button>
         </template>
       </el-table-column>
     </el-table>
@@ -427,16 +427,16 @@ const handleCopy = async () => {
 
 // 报告查看
 const handleReportView = (row: TableRow) => {
-    fetchGetAttachment(row.EXAM_REPORT_CODE)
+    fetchGetAttachment(row.IMAGES)
 }
-const fetchGetAttachment = (code: string) => {
+const fetchGetAttachment = (IMAGES: string) => {
     // getAttachment({report_code: code}).then(res => {
     //     res.data && dialogVisible(res.data)
     // })
-    dialogVisible(examReport)
+    dialogVisible(IMAGES)
 }
-const goImageView = () => { //影像查看
-    window.open('http://aipacsview.pacsonline.cn/#/pc?studyurl=https%3A%2F%2Fquery.pacsonline.cn%2Fquery%2F%3Faddress%3D&study_id=600162858d43dfc92c107759ecdb030b&node_type=1&node_type=1&version=V4.0.0.0')
+const goImageView = (STUDY_ID: string) => { //影像查看
+    window.open('http://aipacsview.pacsonline.cn/#/pc?studyurl=https%3A%2F%2Fquery.pacsonline.cn%2Fquery%2F%3Faddress%3D&study_id='+ STUDY_ID +'&node_type=1&node_type=1&version=V4.0.0.0')
 }
 // 下载报告
 const handleDownload = () => {