caiyiling 2024-09-05 11:48:04 +08:00
parent d42e446953
commit 002cd19053
2 changed files with 24 additions and 13 deletions

View File

@ -15,7 +15,7 @@
</div>
<!-- 文件层级 -->
<div v-if="study.NoneDicomStudyFileList.length === 0" class="empty-text">
<slot name="empty">暂无数据</slot>
<slot name="empty">{{ $t('trials:audit:message:noData') }}</slot>
</div>
<div v-else id="imgList" style="height:100%;">
<div
@ -28,7 +28,11 @@
class="img-box"
@click="selected(item,i,j,true)"
>
{{ `${j+1}. ${item.FileName}` }}
<el-tooltip :content="item.FileName" placement="bottom-start">
<span>
{{ `${j+1}. ${item.FileName}` }}
</span>
</el-tooltip>
</div>
</div>
@ -96,7 +100,7 @@ export default {
visistTaskId: '',
taskBlindName: '',
readingTaskState: 2,
bp:[]
bp: []
}
},
async mounted() {
@ -188,7 +192,7 @@ export default {
}
var arr = bodyPart.split(separator)
var newArr = arr.map(i => {
return this.$fd('Bodypart', i.trim(),'Code',{Bodypart:this.bp},'Name')
return this.$fd('Bodypart', i.trim(), 'Code', { Bodypart: this.bp }, 'Name')
})
return newArr.join(' | ')
}
@ -265,12 +269,15 @@ export default {
display: inline-block;
box-sizing: border-box;
border-bottom: 2px solid #f3f3f3;
width: 180px;
width: 200px;
height: 50px;
line-height: 50px;
cursor: pointer;
// margin-bottom: 5px;
padding-left: 5px;
overflow: hidden;
text-overflow: ellipsis; /* 用省略号表示溢出的文本 */
white-space: nowrap;
}
.img-box:nth-last-child(1){
margin-bottom: 0px;

View File

@ -1,6 +1,6 @@
<template>
<div class="img-container">
<el-card class="box-card left" v-loading="loading">
<el-card v-loading="loading" class="box-card left">
<div v-if="isReadingShowSubjectInfo" class="title">
<h4>{{ subjectCode }} </h4>
<h4>{{ taskBlindName }}</h4>
@ -57,7 +57,11 @@
class="img-box"
@click="handleImageRead(task)"
>
{{ `${j+1}. ${task.TaskBlindName}` }}
<el-tooltip :content="task.TaskBlindName" placement="bottom-start">
<span>
{{ `${j+1}. ${task.TaskBlindName}` }}
</span>
</el-tooltip>
</div>
</div>
@ -67,7 +71,7 @@
</el-card>
<!-- 预览图像 -->
<el-card class="box-card right" v-loading="loading">
<el-card v-loading="loading" class="box-card right">
<div style="width:100%;height: 100%;">
<Preview
v-if="previewImage.imgList.length > 0"
@ -97,10 +101,10 @@
:subject-id="subjectId"
:visit-task-id="visitTaskId"
:criterion-id="otherInfo.TrialCriterionId"
:subjectCode="subjectCode"
:taskBlindName="taskBlindName"
:isReadingShowSubjectInfo="isReadingShowSubjectInfo"
:iseCRFShowInDicomReading="iseCRFShowInDicomReading"
:subject-code="subjectCode"
:task-blind-name="taskBlindName"
:is-reading-show-subject-info="isReadingShowSubjectInfo"
:ise-c-r-f-show-in-dicom-reading="iseCRFShowInDicomReading"
/>
</el-card>
</div>