From c73c84b15d93a74fb05a377c8fff7a58e2237a7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E9=A3=9E?= Date: Wed, 13 Mar 2024 15:49:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/GroupConsistentRuleSubjectTable.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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