个人中心档案schoolName

dev
yujialong 3 years ago
parent b6326a78bd
commit e7a4df9090
  1. 3
      src/pages/setting/person/info.vue

@ -424,7 +424,8 @@ export default {
this.archivesList[index].cityName = this.archivesList[index].cityList[id-1].cityName this.archivesList[index].cityName = this.archivesList[index].cityList[id-1].cityName
}, },
getSchoolName(id,index){ getSchoolName(id,index){
this.archivesList[index].schoolName = this.schoolList[id-1].schoolName const school = this.schoolList.find(e => e.schoolId == id)
if (school) this.archivesList[index].schoolName = school.schoolName
}, },
getSchoolData(){ getSchoolData(){
this.$get(this.api.querySchool,{schoolName: '',provinceId: this.provinceId,cityId: this.cityId}).then(res => { this.$get(this.api.querySchool,{schoolName: '',provinceId: this.provinceId,cityId: this.cityId}).then(res => {

Loading…
Cancel
Save