Compare commits

..

No commits in common. "6a6a26feb7c55290a54e112378f896281275c144" and "200aa7c0f8cad15c5144a6268940d2578c7e2585" have entirely different histories.

1 changed files with 4 additions and 1 deletions

View File

@ -348,7 +348,7 @@ export default {
studyList: [], studyList: [],
trialId: this.$route.query.trialId, trialId: this.$route.query.trialId,
moment, moment,
relationInfo: {}, relationInfo: null,
trialBodyPartTypes: [], trialBodyPartTypes: [],
trialModalitys: [], trialModalitys: [],
btnLoading: false, btnLoading: false,
@ -417,12 +417,15 @@ 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