阅片人申请重阅时:是否复制后续访视阅片表单的选项,需要根据阅片标准设置
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-12-24 15:09:41 +08:00
parent 73e9f30f7e
commit 93b7477aa6
1 changed files with 13 additions and 3 deletions

View File

@ -208,7 +208,7 @@
</el-form-item> </el-form-item>
<!-- 是否复制阅片表单 --> <!-- 是否复制阅片表单 -->
<el-form-item :label="$t('trials:readTask:title:IsCopyLesionAnswer')" <el-form-item :label="$t('trials:readTask:title:IsCopyLesionAnswer')"
v-if="ApplyforReasonForm.IsCopyOrigenalForms" prop="IsCopyFollowForms" :rules="[ v-if="ApplyforReasonForm.IsCopyOrigenalForms && isTumor" prop="IsCopyFollowForms" :rules="[
{ required: true, message: $t('common:ruleMessage:select') }, { required: true, message: $t('common:ruleMessage:select') },
]"> ]">
<el-radio-group v-model="ApplyforReasonForm.IsCopyFollowForms"> <el-radio-group v-model="ApplyforReasonForm.IsCopyFollowForms">
@ -375,6 +375,16 @@ export default {
} }
} }
}, },
computed: {
isTumor() {
let criterion = this.trialCriterionList.find(item => item.TrialReadingCriterionId === this.TrialReadingCriterionId)
if (criterion) {
return [1, 18, 2, 3, 7].includes(Number(criterion.CriterionType))
} else {
return false
}
}
},
mounted() { mounted() {
this.trialId = this.$route.query.trialId this.trialId = this.$route.query.trialId
this.getTrialCriterionList() this.getTrialCriterionList()
@ -470,8 +480,8 @@ export default {
if (!valid) return if (!valid) return
this.loading = true this.loading = true
this.btnLoading = true this.btnLoading = true
if (!this.ApplyforReasonForm.IsCopyOrigenalForms) { if (!this.ApplyforReasonForm.IsCopyOrigenalForms || !this.isTumor) {
this.ApplyforReasonForm.IsCopyFollowForms = null this.ApplyforReasonForm.IsCopyFollowForms = false
} }
var params = { var params = {
TaskIdList: [ TaskIdList: [