|
@@ -150,8 +150,8 @@ export default { |
|
|
_this.queryData.ID = res.StuInfoFreshEntity.ID; |
|
|
_this.queryData.ID = res.StuInfoFreshEntity.ID; |
|
|
|
|
|
|
|
|
_this.queryData.Photo = res.StuInfoFreshEntity.Photo; |
|
|
_this.queryData.Photo = res.StuInfoFreshEntity.Photo; |
|
|
_this.photo = [{url:res.StuInfoFreshEntity.Url,id:res.StuInfoFreshEntity.Photo}]; |
|
|
|
|
|
_this.fileList = res.StuInfoFreshEntity.FilesList |
|
|
|
|
|
|
|
|
_this.photo = res.StuInfoFreshEntity.Photo?[{url:res.StuInfoFreshEntity.Url,id:res.StuInfoFreshEntity.Photo}]:[]; |
|
|
|
|
|
_this.fileList = res.StuInfoFreshEntity.FilesList||[] |
|
|
_this.refreshComponent() |
|
|
_this.refreshComponent() |
|
|
_this.queryData.telephone = res.StuInfoFreshEntity.telephone; |
|
|
_this.queryData.telephone = res.StuInfoFreshEntity.telephone; |
|
|
_this.queryData.FamilyAddress = res.StuInfoFreshEntity.FamilyAddress; |
|
|
_this.queryData.FamilyAddress = res.StuInfoFreshEntity.FamilyAddress; |
|
@@ -164,6 +164,8 @@ export default { |
|
|
let res = await this.$refs["upload"].uploadImage() |
|
|
let res = await this.$refs["upload"].uploadImage() |
|
|
if(res&&res.length){ |
|
|
if(res&&res.length){ |
|
|
this.queryData.Photo = res[0]["id"]; |
|
|
this.queryData.Photo = res[0]["id"]; |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.queryData.Photo = "" |
|
|
} |
|
|
} |
|
|
this.HTTP_GET('StuInfoFresh/saveStuInfoFresh', this.queryData).then(res => { |
|
|
this.HTTP_GET('StuInfoFresh/saveStuInfoFresh', this.queryData).then(res => { |
|
|
this.HIDE_LOADING(); |
|
|
this.HIDE_LOADING(); |
|
|