Compare commits

...

2 Commits

Author SHA1 Message Date
caiyiling 5bf8e7ecf6 Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is passing Details
2026-04-30 13:36:04 +08:00
caiyiling 192f7a3316 自动增加肿瘤学阅片期 2026-04-30 13:35:52 +08:00
2 changed files with 25 additions and 2 deletions

View File

@ -138,7 +138,7 @@ export default {
addReadModule(this.form).then(res => { addReadModule(this.form).then(res => {
this.btnLoading = false this.btnLoading = false
this.$emit('getList') this.$emit('getList')
this.$emit('close') this.$emit('close', {visitStageId: this.form.VisitStageId})
this.form.Name = null this.form.Name = null
this.form.VisitStageId = null this.form.VisitStageId = null
this.$message.success(this.$t('common:message:savedSuccessfully')) this.$message.success(this.$t('common:message:savedSuccessfully'))

View File

@ -382,7 +382,7 @@
<el-dialog v-if="subjectPeriod.visible" :title="subjectPeriod.title" :visible.sync="subjectPeriod.visible" <el-dialog v-if="subjectPeriod.visible" :title="subjectPeriod.title" :visible.sync="subjectPeriod.visible"
width="500px" custom-class="base-dialog-wrapper" :close-on-click-modal="false"> width="500px" custom-class="base-dialog-wrapper" :close-on-click-modal="false">
<SubjectPR :trial-reading-criterion-id="TrialReadingCriterionId" :trial-id="trialId" :data="param" <SubjectPR :trial-reading-criterion-id="TrialReadingCriterionId" :trial-id="trialId" :data="param"
@close="() => { subjectPeriod.visible = false }" @getList="getList" /> @close="subjectPeriodClose" @getList="getList" />
</el-dialog> </el-dialog>
<!-- 编辑受试者阅片期 --> <!-- 编辑受试者阅片期 -->
<el-dialog v-if="subjectPeriodEdit.visible" :title="subjectPeriodEdit.title" <el-dialog v-if="subjectPeriodEdit.visible" :title="subjectPeriodEdit.title"
@ -527,6 +527,29 @@ export default {
? this.$t('trials:readingPeriod:dialogTitle:addSubjectPR') ? this.$t('trials:readingPeriod:dialogTitle:addSubjectPR')
: this.$t('trials:readingPeriod:dialogTitle:addSubjectTumorPR') : this.$t('trials:readingPeriod:dialogTitle:addSubjectTumorPR')
}, },
async subjectPeriodClose(obj) {
this.subjectPeriod.visible = false
if (typeof obj !== 'object' || obj === null) return
if (this.param.ReadingSetType === 0 && this.isClinicalReading) {
try {
const res = await this.$confirm(this.$t('trials:readingPeriod:message:msg1'), {
type: 'warning',
distinguishCancelAndClose: true,
})
if (res === 'confirm') {
this.param.ReadingSetType = 1
this.param.VisitStageId = obj.visitStageId
this.subjectPeriod = { visible: true, title: this.$t('trials:readingPeriod:dialogTitle:addSubjectTumorPR') }
} else {
this.subjectPeriod.visible = true
}
} catch(e) {
console.log(e)
}
}
},
handleEdit(row, type) { handleEdit(row, type) {
this.param = { ...type } this.param = { ...type }
this.param.VisitStageId = this.param.CutOffVisitId this.param.VisitStageId = this.param.CutOffVisitId