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

uat
caiyiling 2025-03-13 15:01:16 +08:00
commit 3167c2bea7
3 changed files with 43 additions and 6 deletions

View File

@ -29,7 +29,9 @@
/> />
<div class="info"> <div class="info">
<p class="user-info"> <p class="user-info">
<span style="font-weight: 700">{{ record.CreateUserFullName || record.CreateUserName }} </span> <span style="font-weight: 700"
>{{ record.CreateUserFullName || record.CreateUserName }}
</span>
<span>({{ record.CreateTime }}) </span> <span>({{ record.CreateTime }}) </span>
</p> </p>
<div <div
@ -42,7 +44,9 @@
<div v-else class="word-my"> <div v-else class="word-my">
<div class="info"> <div class="info">
<p class="user-info"> <p class="user-info">
<span style="font-weight: 700">{{ record.CreateUserFullName || record.CreateUserName }} </span> <span style="font-weight: 700"
>{{ record.CreateUserFullName || record.CreateUserName }}
</span>
<span>({{ record.CreateTime }}) </span> <span>({{ record.CreateTime }}) </span>
</p> </p>
<div <div
@ -239,6 +243,7 @@
ref="signForm" ref="signForm"
:sign-code-enum="signCode" :sign-code-enum="signCode"
:subject-visit-id="data.SubjectVisitId" :subject-visit-id="data.SubjectVisitId"
:sign-replace-text="signReplaceText"
@closeDialog="closeReuploadFinishedDialog" @closeDialog="closeReuploadFinishedDialog"
/> />
</el-dialog> </el-dialog>
@ -250,6 +255,7 @@ import {
addQCChallengeReply, addQCChallengeReply,
cRCRequestReUpload, cRCRequestReUpload,
verifyReuploadIsCanJump, verifyReuploadIsCanJump,
getVisitClinicalDataName,
} from '@/api/trials' } from '@/api/trials'
import { setReuploadFinished } from '@/api/trials/visit' import { setReuploadFinished } from '@/api/trials/visit'
import adminAvatar from '@/assets/Admin.png' import adminAvatar from '@/assets/Admin.png'
@ -322,6 +328,7 @@ export default {
ReuploadEnum: 0, ReuploadEnum: 0,
trialId: '', trialId: '',
uploadBtnLoading: false, uploadBtnLoading: false,
signReplaceText: null,
} }
}, },
mounted() { mounted() {
@ -544,9 +551,16 @@ export default {
handleSetUploadFinished() { handleSetUploadFinished() {
// //
if (this.clinicalEnum > 0 && this.data.IsBaseLine) { if (this.clinicalEnum > 0 && this.data.IsBaseLine) {
getVisitClinicalDataName({ id: this.data.SubjectVisitId })
.then((res) => {
this.signReplaceText = res.Result.ClinicalDataName
const { ClinicalDataConfirmation } = const_.processSignature const { ClinicalDataConfirmation } = const_.processSignature
this.signCode = ClinicalDataConfirmation this.signCode = ClinicalDataConfirmation
this.signVisible = true this.signVisible = true
})
.catch((err) => {
console.log(err)
})
} else { } else {
this.$confirm(this.$t('trials:crcQuestion:message:reuploadConfirm'), { this.$confirm(this.$t('trials:crcQuestion:message:reuploadConfirm'), {
type: 'warning', type: 'warning',

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>