检查被IQC标记删除:在crc查看时,该行记录增加删除线
continuous-integration/drone/push Build is passing Details

uat
wangxiaoshuang 2025-03-13 11:14:34 +08:00
parent f58e2ff82f
commit c4a498d953
2 changed files with 24 additions and 1 deletions

View File

@ -127,7 +127,6 @@
<el-table-column <el-table-column
:label="$t('common:action:action')" :label="$t('common:action:action')"
min-width="100" min-width="100"
fixed="right"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<!-- 预览 --> <!-- 预览 -->

View File

@ -27,6 +27,7 @@
:data="nonDicomStudyList" :data="nonDicomStudyList"
style="width: 100%" style="width: 100%"
:default-sort="{ prop: 'CreateTime', order: 'ascending' }" :default-sort="{ prop: 'CreateTime', order: 'ascending' }"
:row-class-name="tableRowClassName"
> >
<!-- 检查编号 --> <!-- 检查编号 -->
<el-table-column <el-table-column
@ -68,12 +69,14 @@
v-if="scope.row.FileCount" v-if="scope.row.FileCount"
trigger="click" trigger="click"
placement="bottom" placement="bottom"
popper-class="imgTable"
> >
<el-table <el-table
v-loading="filesLoading" v-loading="filesLoading"
:data="nonDicomfilesList" :data="nonDicomfilesList"
height="300" height="300"
size="small" size="small"
:row-class-name="tableRowClassName"
> >
<!-- 文件名称 --> <!-- 文件名称 -->
<el-table-column <el-table-column
@ -207,6 +210,7 @@
v-if="allowAddOrEdit" v-if="allowAddOrEdit"
icon="el-icon-upload2" icon="el-icon-upload2"
circle circle
:disabled="scope.row.IsDeleted"
:title="$t('trials:uploadNonDicoms:action:upload')" :title="$t('trials:uploadNonDicoms:action:upload')"
@click.native.prevent="handleUpload(scope.row)" @click.native.prevent="handleUpload(scope.row)"
/> />
@ -1308,6 +1312,14 @@ export default {
}) })
return newArr.join(' | ') return newArr.join(' | ')
}, },
//
tableRowClassName({ row, rowIndex }) {
if (row.IsDeleted) {
return 'delete-row'
} else {
return ''
}
},
}, },
} }
</script> </script>
@ -1351,4 +1363,16 @@ export default {
pointer-events: none; //pointer-events:none穿 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> </style>