wangxiaoshuang 2025-03-11 14:17:57 +08:00
parent 21dab27e0b
commit 5676bb6e57
1 changed files with 1 additions and 4 deletions

View File

@ -348,7 +348,7 @@ export default {
studyList: [], studyList: [],
trialId: this.$route.query.trialId, trialId: this.$route.query.trialId,
moment, moment,
relationInfo: null, relationInfo: {},
trialBodyPartTypes: [], trialBodyPartTypes: [],
trialModalitys: [], trialModalitys: [],
btnLoading: false, btnLoading: false,
@ -417,15 +417,12 @@ export default {
this.studyList = res.Result this.studyList = res.Result
this.studyLoading = false this.studyLoading = false
this.relationInfo = res.OtherInfo this.relationInfo = res.OtherInfo
console.log(this.relationInfo)
this.trialBodyPartTypes = this.relationInfo.BodyPartTypes this.trialBodyPartTypes = this.relationInfo.BodyPartTypes
? this.relationInfo.BodyPartTypes.split('|') ? this.relationInfo.BodyPartTypes.split('|')
: [] : []
this.trialModalitys = this.relationInfo.Modalitys this.trialModalitys = this.relationInfo.Modalitys
? this.relationInfo.Modalitys.split('|') ? this.relationInfo.Modalitys.split('|')
: [] : []
console.log(this.trialBodyPartTypes)
console.log(this.trialModalitys)
}) })
.catch(() => { .catch(() => {
this.studyLoading = false this.studyLoading = false