diff --git a/src/views/research/components/HistoricalParticipantForm.vue b/src/views/research/components/HistoricalParticipantForm.vue index 3db75975..9ddb675d 100644 --- a/src/views/research/components/HistoricalParticipantForm.vue +++ b/src/views/research/components/HistoricalParticipantForm.vue @@ -250,9 +250,12 @@ export default { }, // 获取系统用户类型 getUserType() { - getUserTypeList(3).then(res => { - this.userTypeOptions = res.Result - }) + return new Promise(resolve => { + getUserTypeList(3).then(res => { + this.userTypeOptions = res.Result + }) + resolve() + }).catch(() => { resolve() }) } } } diff --git a/src/views/research/components/ParticipantForm.vue b/src/views/research/components/ParticipantForm.vue index 73c4ce87..ecb917a9 100644 --- a/src/views/research/components/ParticipantForm.vue +++ b/src/views/research/components/ParticipantForm.vue @@ -1,5 +1,5 @@