工作台用户名
This commit is contained in:
+5
-3
@@ -64,7 +64,7 @@
|
||||
>
|
||||
{{ $t('common:button:cancel') }}
|
||||
</el-button>
|
||||
<el-button size="small" type="primary" :loading="btnLoading" @click="save(true)">
|
||||
<el-button size="small" type="primary" :disabled="!IsAllowAutoAllocate" :loading="btnLoading" @click="save(true)">
|
||||
{{$t('trials:grouptConsistencyAnalysis:button:RandomCreate')}}
|
||||
</el-button>
|
||||
<!-- 生成 -->
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user