检查被IQC标记删除:在crc查看时,该行记录增加删除线
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f58e2ff82f
commit
c4a498d953
|
@ -127,7 +127,6 @@
|
|||
<el-table-column
|
||||
:label="$t('common:action:action')"
|
||||
min-width="100"
|
||||
fixed="right"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<!-- 预览 -->
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
:data="nonDicomStudyList"
|
||||
style="width: 100%"
|
||||
:default-sort="{ prop: 'CreateTime', order: 'ascending' }"
|
||||
:row-class-name="tableRowClassName"
|
||||
>
|
||||
<!-- 检查编号 -->
|
||||
<el-table-column
|
||||
|
@ -68,12 +69,14 @@
|
|||
v-if="scope.row.FileCount"
|
||||
trigger="click"
|
||||
placement="bottom"
|
||||
popper-class="imgTable"
|
||||
>
|
||||
<el-table
|
||||
v-loading="filesLoading"
|
||||
:data="nonDicomfilesList"
|
||||
height="300"
|
||||
size="small"
|
||||
:row-class-name="tableRowClassName"
|
||||
>
|
||||
<!-- 文件名称 -->
|
||||
<el-table-column
|
||||
|
@ -207,6 +210,7 @@
|
|||
v-if="allowAddOrEdit"
|
||||
icon="el-icon-upload2"
|
||||
circle
|
||||
:disabled="scope.row.IsDeleted"
|
||||
:title="$t('trials:uploadNonDicoms:action:upload')"
|
||||
@click.native.prevent="handleUpload(scope.row)"
|
||||
/>
|
||||
|
@ -1308,6 +1312,14 @@ export default {
|
|||
})
|
||||
return newArr.join(' | ')
|
||||
},
|
||||
// 设置已删除序列行样式
|
||||
tableRowClassName({ row, rowIndex }) {
|
||||
if (row.IsDeleted) {
|
||||
return 'delete-row'
|
||||
} else {
|
||||
return ''
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
@ -1351,4 +1363,16 @@ export default {
|
|||
pointer-events: none; //pointer-events:none用来控制该标签的点击穿透事件
|
||||
}
|
||||
}
|
||||
.non-dicom-wrapper {
|
||||
::v-deep .delete-row {
|
||||
text-decoration-line: line-through;
|
||||
color: #c0c4cc;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.imgTable .delete-row {
|
||||
text-decoration-line: line-through;
|
||||
color: #c0c4cc;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue