|
@@ -1740,7 +1740,8 @@
|
|
|
this.qylist = res.rows.map(v => {
|
|
|
return {
|
|
|
label: v.enterpriseName,
|
|
|
- value: v.enterpriseId
|
|
|
+ value: v.enterpriseId,
|
|
|
+ imageUrl:v.imageUrl
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -1948,8 +1949,28 @@
|
|
|
bindDateChangea(e){
|
|
|
// 企业信息
|
|
|
var val=e.detail.value;
|
|
|
- this.datainfo.enterpriseName=this.qylist[val].label;
|
|
|
- this.datainfo.enterpriseId=this.qylist[val].value;
|
|
|
+ var qylist=JSON.parse(JSON.stringify(this.qylist))
|
|
|
+ this.datainfo.enterpriseName=qylist[val].label;
|
|
|
+ this.datainfo.enterpriseId=qylist[val].value;
|
|
|
+ var imgurl=qylist[val].imageUrl;
|
|
|
+ // 企业执照
|
|
|
+ var obj={
|
|
|
+ url:imgurl,
|
|
|
+ type:'gsyyzhz',
|
|
|
+ bigType:'a',
|
|
|
+ name:'公司营业执照'
|
|
|
+ }
|
|
|
+ // 查找修改
|
|
|
+ const index = this.filelist.findIndex(text => text.type == 'gsyyzhz'&&text.bigType == 'a');
|
|
|
+ if(index!=-1){
|
|
|
+ var fjid=this.filelist[index].fjId;
|
|
|
+ if(fjid){
|
|
|
+ this.fjdelIdList.push(fjid)
|
|
|
+ }
|
|
|
+ this.filelist.splice(index,1,obj)
|
|
|
+ }else{
|
|
|
+ this.filelist.push(obj)
|
|
|
+ }
|
|
|
},
|
|
|
bindDateChangeb(e){
|
|
|
// 用户类型
|