工作台用户名
parent
d131953beb
commit
c73c84b15d
|
@ -64,7 +64,7 @@
|
||||||
>
|
>
|
||||||
{{ $t('common:button:cancel') }}
|
{{ $t('common:button:cancel') }}
|
||||||
</el-button>
|
</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')}}
|
{{$t('trials:grouptConsistencyAnalysis:button:RandomCreate')}}
|
||||||
</el-button>
|
</el-button>
|
||||||
<!-- 生成 -->
|
<!-- 生成 -->
|
||||||
|
@ -129,7 +129,8 @@ export default {
|
||||||
loading: false,
|
loading: false,
|
||||||
trialId: this.$route.query.trialId,
|
trialId: this.$route.query.trialId,
|
||||||
SelectList: [],
|
SelectList: [],
|
||||||
btnLoading: false
|
btnLoading: false,
|
||||||
|
IsAllowAutoAllocate: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
@ -177,11 +178,12 @@ export default {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
this.searchData.TrialReadingCriterionId = this.TrialReadingCriterionId
|
this.searchData.TrialReadingCriterionId = this.TrialReadingCriterionId
|
||||||
getGroupConsistentRuleSubjectList(this.searchData).then(res => {
|
getGroupConsistentRuleSubjectList(this.searchData).then(res => {
|
||||||
if (res.OtherInfo) {
|
if (res.OtherInfo.Rule) {
|
||||||
this.$emit('setReaderRulesFormVisible', false)
|
this.$emit('setReaderRulesFormVisible', false)
|
||||||
} else {
|
} else {
|
||||||
this.$emit('setReaderRulesFormVisible', true)
|
this.$emit('setReaderRulesFormVisible', true)
|
||||||
}
|
}
|
||||||
|
this.IsAllowAutoAllocate = res.OtherInfo.IsAllowAutoAllocate
|
||||||
this.loading = false
|
this.loading = false
|
||||||
this.list = res.Result.CurrentPageData
|
this.list = res.Result.CurrentPageData
|
||||||
this.total = res.Result.TotalCount
|
this.total = res.Result.TotalCount
|
||||||
|
|
Loading…
Reference in New Issue