发布稿放到历史版本
This commit is contained in:
@@ -2757,9 +2757,25 @@
|
|||||||
},'')
|
},'')
|
||||||
// const id = this.selectedListRep[0].id
|
// const id = this.selectedListRep[0].id
|
||||||
this.selectByIdAtt(ids).then(res =>{
|
this.selectByIdAtt(ids).then(res =>{
|
||||||
if (res && res.data && res.data.fbgbuss !== '') {
|
if (res && res.data && res.data[0].fbgbuss !== '') {
|
||||||
this.form.LSBBBUSSName = res.data.fbgbussNmae
|
this.form.LSBBBUSSName = res.data.reduce((init,item,index,arr)=>{
|
||||||
this.form.LSBBBUSS = res.data.fbgbuss
|
if(index === 0){
|
||||||
|
init = item.fbgbussNmae
|
||||||
|
}else{
|
||||||
|
init = init + ',' + item.fbgbussNmae
|
||||||
|
}
|
||||||
|
return init
|
||||||
|
},'')
|
||||||
|
this.form.LSBBBUSS = res.data.reduce((init,item,index,arr)=>{
|
||||||
|
if(index === 0){
|
||||||
|
init = item.fbgbuss
|
||||||
|
}else{
|
||||||
|
init = init + ',' + item.fbgbuss
|
||||||
|
}
|
||||||
|
return init
|
||||||
|
},'')
|
||||||
|
// this.form.LSBBBUSSName = res.data[0].fbgbussNmae
|
||||||
|
// this.form.LSBBBUSS = res.data[0].fbgbuss
|
||||||
this.LSBBBUSSFileList = this.assemble(this.form.LSBBBUSS, this.form.LSBBBUSSName);
|
this.LSBBBUSSFileList = this.assemble(this.form.LSBBBUSS, this.form.LSBBBUSSName);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user