diff --git a/pages/Modifyinformation/Modifyinformation.vue b/pages/Modifyinformation/Modifyinformation.vue index 0f536fe..4d49e11 100644 --- a/pages/Modifyinformation/Modifyinformation.vue +++ b/pages/Modifyinformation/Modifyinformation.vue @@ -189,13 +189,12 @@ res.data.positionalTitleLevel == 'MIDDLE_LEVEL' ? res.data.positionalTitleLevelvalue = '中级' : '' res.data.positionalTitleLevel == 'HIGH_LEVEL' ? res.data.positionalTitleLevelvalue = '高级' : '' + res.data.id = this.nursePersonId res.data.nurseStationPersonCertificateList.forEach(e => { if (e.certificateUrl) { - e.certificateUrl = baseurl + e.certificateUrl - this.certificateimg.push(e.certificateUrl) + this.certificateimg.push(baseurl + e.certificateUrl) } }) - res.data.id = this.nursePersonId res.data.nurseStationPersonCheckList = [] this.appPersonallist = res.data }) @@ -254,6 +253,12 @@ } }, updateNursePerson() { + this.appPersonallist.nurseStationPersonCertificateList.forEach(e => { + var img = { + certificateUrl: e.certificateUrl + } + this.appPersonallist.nurseStationPersonCheckList.push(img) + }) var that = this var obj = { avatar: that.appPersonallist.avatar,