配置确认页面展示术语配置
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-11-13 13:30:31 +08:00
parent 4b406f96fc
commit e388ea2543
1 changed files with 41 additions and 29 deletions

View File

@ -1307,6 +1307,16 @@ export default {
// OldVal: this.initialForm.ClinicalDataSetNames.join(', ')
// }
]
this.form.TrialObjectNameList.forEach((item) => {
let obj = {
Name: item.Name,
NewVal: item.TrialName,
OldVal: this.initialForm.TrialObjectNameList.find(
(d) => d.Name === item.Name
).TrialName,
}
this.confirmData.push(obj)
})
},
//
subjectCodeRuleChange(val) {
@ -1323,6 +1333,30 @@ export default {
this.form[k] = res[k]
}
}
let Modalitys = this.form.ModalityList.map((item) => {
return this.$fd('Modality', item.trim())
})
this.form.ModalityListStr = Modalitys.toString().replaceAll(',', ' | ')
// this.form.ModalityListStr = this.form.ModalityList.toString().replaceAll(
// ",",
// " | "
// );
let BodyPartTypes = res.BodyPartTypes
this.form.BodyPartTypes = ''
this.form.BodyPartTypeList = BodyPartTypes.split('|')
let r = await this.getTrialBodyPartList()
if (r) {
var bodyPartTypes = this.form.BodyPartTypeList.map((i) => {
return this.changeBodyPart(i.trim())
})
this.form.BodyPartTypes = bodyPartTypes
.toString()
.replaceAll(',', ' | ')
// this.form.ClinicalDataSetNamesStr = this.form.ClinicalDataSetNames.join(', ')
this.initialForm = { ...this.form }
this.initialForm.TrialObjectNameList = JSON.parse(
JSON.stringify(this.form.TrialObjectNameList)
)
if (
!this.form.TrialObjectNameList ||
(Array.isArray(this.form.TrialObjectNameList) &&
@ -1351,28 +1385,6 @@ export default {
}
})
}
let Modalitys = this.form.ModalityList.map((item) => {
return this.$fd('Modality', item.trim())
})
this.form.ModalityListStr = Modalitys.toString().replaceAll(',', ' | ')
// this.form.ModalityListStr = this.form.ModalityList.toString().replaceAll(
// ",",
// " | "
// );
let BodyPartTypes = res.BodyPartTypes
this.form.BodyPartTypes = ''
this.form.BodyPartTypeList = BodyPartTypes.split('|')
let r = await this.getTrialBodyPartList()
if (r) {
var bodyPartTypes = this.form.BodyPartTypeList.map((i) => {
return this.changeBodyPart(i.trim())
})
this.form.BodyPartTypes = bodyPartTypes
.toString()
.replaceAll(',', ' | ')
// this.form.ClinicalDataSetNamesStr = this.form.ClinicalDataSetNames.join(', ')
this.initialForm = { ...this.form }
this.loading = false
}
},