fix:曲阳App访客库编辑时照片展示
This commit is contained in:
parent
a8703aad86
commit
6d6410165d
|
@ -79,15 +79,27 @@
|
|||
this.upHeader = {Authorization: "Bearer " + this.vuex_token}
|
||||
},
|
||||
getRemployee(){
|
||||
this.$u.api.remployeeDetail(this.formData.id).then(res=>{
|
||||
this.formData = res
|
||||
this.fileList = [this.vuex_host+res.photo]
|
||||
let that = this;
|
||||
that.$u.api.remployeeDetail(that.formData.id).then(res=>{
|
||||
that.formData = res;
|
||||
let obj = {
|
||||
url: that.vuex_host+res.photo,
|
||||
id:res.id,
|
||||
};
|
||||
that.fileList.push(obj)
|
||||
// that.fileList = [that.vuex_host+res.photo]
|
||||
})
|
||||
},
|
||||
getVisitor(){
|
||||
let that = this;
|
||||
this.$u.api.visitorDetail(this.formData.id).then(res=>{
|
||||
this.formData = res
|
||||
this.fileList = [this.vuex_host+res.photo]
|
||||
this.formData = res;
|
||||
let obj = {
|
||||
url: that.vuex_host+res.photo,
|
||||
id:res.id,
|
||||
};
|
||||
that.fileList.push(obj)
|
||||
// this.fileList = [this.vuex_host+res.photo];
|
||||
})
|
||||
},
|
||||
saveVisitor(){
|
||||
|
|
Loading…
Reference in New Issue