|
@@ -151,10 +151,13 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="检查报告/影像图片" min-width="120" align="center">
|
|
|
<template #default="scope">
|
|
|
- <el-button link type="primary" size="small" @click="handleReportView(scope.row)">
|
|
|
- 报告查看
|
|
|
+ <el-button v-if="scope.row.IMAGES" link type="primary" size="small" @click="handleReportView(scope.row)">
|
|
|
+ 报告查看
|
|
|
</el-button>
|
|
|
- <el-button link type="primary" size="small" @click="goImageView(scope.row)">影像查看</el-button>
|
|
|
+ <el-button v-else link disabled size="small">暂无报告附件</el-button>
|
|
|
+
|
|
|
+ <el-button v-if="scope.row.STUDY_ID" link type="primary" size="small" @click="goImageView(scope.row)">影像查看</el-button>
|
|
|
+ <el-button v-else link disabled size="small">暂无影像关联</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -435,8 +438,8 @@ const fetchGetAttachment = (IMAGES: string) => {
|
|
|
// })
|
|
|
dialogVisible(IMAGES)
|
|
|
}
|
|
|
-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 goImageView = (row: TableRow) => { //影像查看
|
|
|
+ window.open('http://aipacsview.pacsonline.cn/#/pc?studyurl=https%3A%2F%2Fquery.pacsonline.cn%2Fquery%2F%3Faddress%3D&study_id='+ row.STUDY_ID +'&node_type=1&node_type=1&version=V4.0.0.0')
|
|
|
}
|
|
|
// 下载报告
|
|
|
const handleDownload = () => {
|
|
@@ -466,6 +469,7 @@ const showFullContent = (row:any, type: string) => {
|
|
|
.ba-table-box {
|
|
|
background-color: var(--ba-bg-color-overlay);
|
|
|
margin-top: var(--ba-main-space);
|
|
|
+ padding-bottom: 30px;
|
|
|
}
|
|
|
.ba-table-title {
|
|
|
width: 18%;
|