This commit is contained in:
曹辉 2023-04-12 13:30:55 +08:00
parent 97fbf5221b
commit 53b82c6071

View File

@ -189,13 +189,12 @@
res.data.positionalTitleLevel == 'MIDDLE_LEVEL' ? res.data.positionalTitleLevelvalue = '中级' : res.data.positionalTitleLevel == 'MIDDLE_LEVEL' ? res.data.positionalTitleLevelvalue = '中级' :
'' ''
res.data.positionalTitleLevel == 'HIGH_LEVEL' ? res.data.positionalTitleLevelvalue = '高级' : '' res.data.positionalTitleLevel == 'HIGH_LEVEL' ? res.data.positionalTitleLevelvalue = '高级' : ''
res.data.id = this.nursePersonId
res.data.nurseStationPersonCertificateList.forEach(e => { res.data.nurseStationPersonCertificateList.forEach(e => {
if (e.certificateUrl) { if (e.certificateUrl) {
e.certificateUrl = baseurl + e.certificateUrl this.certificateimg.push(baseurl + e.certificateUrl)
this.certificateimg.push(e.certificateUrl)
} }
}) })
res.data.id = this.nursePersonId
res.data.nurseStationPersonCheckList = [] res.data.nurseStationPersonCheckList = []
this.appPersonallist = res.data this.appPersonallist = res.data
}) })
@ -254,6 +253,12 @@
} }
}, },
updateNursePerson() { updateNursePerson() {
this.appPersonallist.nurseStationPersonCertificateList.forEach(e => {
var img = {
certificateUrl: e.certificateUrl
}
this.appPersonallist.nurseStationPersonCheckList.push(img)
})
var that = this var that = this
var obj = { var obj = {
avatar: that.appPersonallist.avatar, avatar: that.appPersonallist.avatar,