diff --git a/src/views/trials/trials-panel/reading/consistency-analysis/components/GroupConsistentRuleSubjectTable.vue b/src/views/trials/trials-panel/reading/consistency-analysis/components/GroupConsistentRuleSubjectTable.vue index 973b72c6..01a41c65 100644 --- a/src/views/trials/trials-panel/reading/consistency-analysis/components/GroupConsistentRuleSubjectTable.vue +++ b/src/views/trials/trials-panel/reading/consistency-analysis/components/GroupConsistentRuleSubjectTable.vue @@ -64,7 +64,7 @@ > {{ $t('common:button:cancel') }} - + {{$t('trials:grouptConsistencyAnalysis:button:RandomCreate')}} @@ -129,7 +129,8 @@ export default { loading: false, trialId: this.$route.query.trialId, SelectList: [], - btnLoading: false + btnLoading: false, + IsAllowAutoAllocate: true } }, mounted() { @@ -177,11 +178,12 @@ export default { this.loading = true this.searchData.TrialReadingCriterionId = this.TrialReadingCriterionId getGroupConsistentRuleSubjectList(this.searchData).then(res => { - if (res.OtherInfo) { + if (res.OtherInfo.Rule) { this.$emit('setReaderRulesFormVisible', false) } else { this.$emit('setReaderRulesFormVisible', true) } + this.IsAllowAutoAllocate = res.OtherInfo.IsAllowAutoAllocate this.loading = false this.list = res.Result.CurrentPageData this.total = res.Result.TotalCount