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