Compare commits
No commits in common. "5bf8e7ecf6ff7eb3647aa59d7adc6e22300e1c5e" and "4a8b1da09463069a77db76c8e17e498003917b63" have entirely different histories.
5bf8e7ecf6
...
4a8b1da094
|
|
@ -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', {visitStageId: this.form.VisitStageId})
|
this.$emit('close')
|
||||||
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'))
|
||||||
|
|
|
||||||
|
|
@ -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="subjectPeriodClose" @getList="getList" />
|
@close="() => { subjectPeriod.visible = false }" @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,29 +527,6 @@ 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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue