1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
915c7c88fb
commit
c114903dba
|
@ -27,13 +27,15 @@
|
||||||
class="img-box"
|
class="img-box"
|
||||||
@click="selected(item,i,j,true)"
|
@click="selected(item,i,j,true)"
|
||||||
>
|
>
|
||||||
<el-tooltip :content="item.FileName" placement="bottom">
|
<div v-if="item.FileName.length < 15" class="img-text">
|
||||||
<div style="width:100%;">
|
{{ `${j+1}. ${item.FileName}` }}
|
||||||
|
</div>
|
||||||
|
<el-tooltip v-else :content="item.FileName" placement="bottom">
|
||||||
|
<div class="img-text">
|
||||||
{{ `${j+1}. ${item.FileName}` }}
|
{{ `${j+1}. ${item.FileName}` }}
|
||||||
</div>
|
</div>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -91,7 +93,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
this.bp = await this.$getBodyPart(this.$route.query.trialId);
|
this.bp = await this.$getBodyPart(this.$route.query.trialId)
|
||||||
},
|
},
|
||||||
async mounted() {
|
async mounted() {
|
||||||
if (this.$router.currentRoute.query.TokenKey) {
|
if (this.$router.currentRoute.query.TokenKey) {
|
||||||
|
@ -240,12 +242,17 @@ export default {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-bottom: 2px solid #f3f3f3;
|
border-bottom: 2px solid #f3f3f3;
|
||||||
width: 180px;
|
|
||||||
height: 50px;
|
|
||||||
line-height: 50px;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
// margin-bottom: 5px;
|
// margin-bottom: 5px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
|
|
||||||
|
}
|
||||||
|
.img-text{
|
||||||
|
display: inline-block;
|
||||||
|
width: 200px;
|
||||||
|
height: 50px;
|
||||||
|
line-height: 50px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis; /* 用省略号表示溢出的文本 */
|
text-overflow: ellipsis; /* 用省略号表示溢出的文本 */
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
|
@ -28,8 +28,11 @@
|
||||||
class="img-box"
|
class="img-box"
|
||||||
@click="selected(item,i,j,true)"
|
@click="selected(item,i,j,true)"
|
||||||
>
|
>
|
||||||
<el-tooltip :content="item.FileName" placement="bottom-start">
|
<div v-if="item.FileName.length < 15" class="img-text">
|
||||||
<div style="width:100%;">
|
{{ `${j+1}. ${item.FileName}` }}
|
||||||
|
</div>
|
||||||
|
<el-tooltip v-else :content="item.FileName" placement="bottom">
|
||||||
|
<div class="img-text">
|
||||||
{{ `${j+1}. ${item.FileName}` }}
|
{{ `${j+1}. ${item.FileName}` }}
|
||||||
</div>
|
</div>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
@ -269,12 +272,15 @@ export default {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-bottom: 2px solid #f3f3f3;
|
border-bottom: 2px solid #f3f3f3;
|
||||||
width: 200px;
|
|
||||||
height: 50px;
|
|
||||||
line-height: 50px;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
// margin-bottom: 5px;
|
// margin-bottom: 5px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
.img-text{
|
||||||
|
display: inline-block;
|
||||||
|
width: 200px;
|
||||||
|
height: 50px;
|
||||||
|
line-height: 50px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis; /* 用省略号表示溢出的文本 */
|
text-overflow: ellipsis; /* 用省略号表示溢出的文本 */
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
|
@ -30,8 +30,11 @@
|
||||||
class="img-box"
|
class="img-box"
|
||||||
@click="selected(item,i,j,true)"
|
@click="selected(item,i,j,true)"
|
||||||
>
|
>
|
||||||
<el-tooltip :content="item.FileName" placement="bottom-start">
|
<div v-if="item.FileName.length < 15" class="img-text">
|
||||||
<div style="width:100%;">
|
{{ `${j+1}. ${item.FileName}` }}
|
||||||
|
</div>
|
||||||
|
<el-tooltip v-else :content="item.FileName" placement="bottom">
|
||||||
|
<div class="img-text">
|
||||||
{{ `${j+1}. ${item.FileName}` }}
|
{{ `${j+1}. ${item.FileName}` }}
|
||||||
</div>
|
</div>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
|
@ -57,13 +60,15 @@
|
||||||
class="img-box"
|
class="img-box"
|
||||||
@click="handleImageRead(task)"
|
@click="handleImageRead(task)"
|
||||||
>
|
>
|
||||||
<el-tooltip :content="task.TaskBlindName" placement="bottom-start">
|
<div v-if="task.TaskBlindName.length < 15" class="img-text">
|
||||||
<div style="width:100%;">
|
{{ `${j+1}. ${task.TaskBlindName}` }}
|
||||||
|
</div>
|
||||||
|
<el-tooltip v-else :content="task.TaskBlindName" placement="bottom">
|
||||||
|
<div class="img-text">
|
||||||
{{ `${j+1}. ${task.TaskBlindName}` }}
|
{{ `${j+1}. ${task.TaskBlindName}` }}
|
||||||
</div>
|
</div>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
@ -410,12 +415,15 @@ export default {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-bottom: 2px solid #f3f3f3;
|
border-bottom: 2px solid #f3f3f3;
|
||||||
width: 200px;
|
|
||||||
height: 50px;
|
|
||||||
line-height: 50px;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
// margin-bottom: 5px;
|
// margin-bottom: 5px;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
.img-text{
|
||||||
|
display: inline-block;
|
||||||
|
width: 200px;
|
||||||
|
height: 50px;
|
||||||
|
line-height: 50px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis; /* 用省略号表示溢出的文本 */
|
text-overflow: ellipsis; /* 用省略号表示溢出的文本 */
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
Loading…
Reference in New Issue