Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web
continuous-integration/drone/push Build is failing Details

uat_us
DESKTOP-6C3NK6N\WXS 2024-09-05 13:55:28 +08:00
commit 84b1a2a4fa
3 changed files with 55 additions and 29 deletions

View File

@ -2,7 +2,7 @@
<div v-loading="loading" class="img-container">
<el-card class="box-card left">
<div class="title">
{{$t('trials:none-dicom-show:fileList')}}
{{ $t('trials:none-dicom-show:fileList') }}
</div>
<div class="left-content">
<!-- 检查层级 -->
@ -14,7 +14,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%;overflow: hidden">
<div
@ -27,9 +27,15 @@
class="img-box"
@click="selected(item,i,j,true)"
>
{{ `${j+1}. ${item.FileName}` }}
<div v-if="item.FileName.length < 15" class="img-text">
{{ `${j+1}. ${item.FileName}` }}
</div>
<el-tooltip v-else :content="item.FileName" placement="bottom">
<div class="img-text">
{{ `${j+1}. ${item.FileName}` }}
</div>
</el-tooltip>
</div>
</div>
</div>
</div>
@ -83,11 +89,11 @@ export default {
subjectVisitId: '',
sudyId: '',
loading: false,
bp:[]
bp: []
}
},
async created(){
this.bp = await this.$getBodyPart(this.$route.query.trialId);
async created() {
this.bp = await this.$getBodyPart(this.$route.query.trialId)
},
async mounted() {
if (this.$router.currentRoute.query.TokenKey) {
@ -113,9 +119,9 @@ 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')
})
console.log(newArr,this.bp)
console.log(newArr, this.bp)
return newArr.join(' | ')
},
// Dicom
@ -236,13 +242,19 @@ export default {
display: inline-block;
box-sizing: border-box;
border-bottom: 2px solid #f3f3f3;
width: 180px;
height: 50px;
line-height: 50px;
cursor: pointer;
// margin-bottom: 5px;
padding-left: 5px;
text-overflow:ellipsis;
}
.img-text{
display: inline-block;
width: 200px;
height: 50px;
line-height: 50px;
overflow: hidden;
text-overflow: ellipsis; /* 用省略号表示溢出的文本 */
white-space: nowrap;
}
.img-box:nth-last-child(1){

View File

@ -28,10 +28,13 @@
class="img-box"
@click="selected(item,i,j,true)"
>
<el-tooltip :content="item.FileName" placement="bottom-start">
<span>
<div v-if="item.FileName.length < 15" class="img-text">
{{ `${j+1}. ${item.FileName}` }}
</div>
<el-tooltip v-else :content="item.FileName" placement="bottom">
<div class="img-text">
{{ `${j+1}. ${item.FileName}` }}
</span>
</div>
</el-tooltip>
</div>
@ -269,12 +272,15 @@ export default {
display: inline-block;
box-sizing: border-box;
border-bottom: 2px solid #f3f3f3;
width: 200px;
height: 50px;
line-height: 50px;
cursor: pointer;
// margin-bottom: 5px;
padding-left: 5px;
}
.img-text{
display: inline-block;
width: 200px;
height: 50px;
line-height: 50px;
overflow: hidden;
text-overflow: ellipsis; /* 用省略号表示溢出的文本 */
white-space: nowrap;

View File

@ -30,10 +30,13 @@
class="img-box"
@click="selected(item,i,j,true)"
>
<el-tooltip :content="item.FileName" placement="bottom-start">
<span>
<div v-if="item.FileName.length < 15" class="img-text">
{{ `${j+1}. ${item.FileName}` }}
</div>
<el-tooltip v-else :content="item.FileName" placement="bottom">
<div class="img-text">
{{ `${j+1}. ${item.FileName}` }}
</span>
</div>
</el-tooltip>
</div>
@ -57,13 +60,15 @@
class="img-box"
@click="handleImageRead(task)"
>
<el-tooltip :content="task.TaskBlindName" placement="bottom-start">
<span>
<div v-if="task.TaskBlindName.length < 15" class="img-text">
{{ `${j+1}. ${task.TaskBlindName}` }}
</div>
<el-tooltip v-else :content="task.TaskBlindName" placement="bottom">
<div class="img-text">
{{ `${j+1}. ${task.TaskBlindName}` }}
</span>
</div>
</el-tooltip>
</div>
</div>
</div>
</el-tab-pane>
@ -410,12 +415,15 @@ export default {
display: inline-block;
box-sizing: border-box;
border-bottom: 2px solid #f3f3f3;
width: 200px;
height: 50px;
line-height: 50px;
cursor: pointer;
// margin-bottom: 5px;
padding-left: 5px;
}
.img-text{
display: inline-block;
width: 200px;
height: 50px;
line-height: 50px;
overflow: hidden;
text-overflow: ellipsis; /* 用省略号表示溢出的文本 */
white-space: nowrap;