|
|
@ -29,12 +29,12 @@ export class RealisticPictureLookComponent implements OnInit { |
|
|
|
companyId : companyId |
|
|
|
companyId : companyId |
|
|
|
}}).subscribe((data:any)=>{ |
|
|
|
}}).subscribe((data:any)=>{ |
|
|
|
this.allRealPicture = data |
|
|
|
this.allRealPicture = data |
|
|
|
this.allRealPicture.unshift({ |
|
|
|
// this.allRealPicture.unshift({
|
|
|
|
companyId:sessionStorage.getItem('companyId'), |
|
|
|
// companyId:sessionStorage.getItem('companyId'),
|
|
|
|
id:'重点部位', |
|
|
|
// id:'重点部位',
|
|
|
|
name: "重点部位", |
|
|
|
// name: "重点部位",
|
|
|
|
realityImages:null |
|
|
|
// realityImages:null
|
|
|
|
}) |
|
|
|
// })
|
|
|
|
this.selectReal = data[0] |
|
|
|
this.selectReal = data[0] |
|
|
|
this.getAllRealPicture() |
|
|
|
this.getAllRealPicture() |
|
|
|
}) |
|
|
|
}) |
|
|
@ -77,7 +77,7 @@ export class RealisticPictureLookComponent implements OnInit { |
|
|
|
getAllRealPicture () { |
|
|
|
getAllRealPicture () { |
|
|
|
if (this.selectReal) { |
|
|
|
if (this.selectReal) { |
|
|
|
let data |
|
|
|
let data |
|
|
|
if(this.selectReal.id == '重点部位'){ |
|
|
|
if(this.selectReal.id == 'xxxxxxxxxxxxx'){ |
|
|
|
data = { |
|
|
|
data = { |
|
|
|
groupId: this.selectReal.id, |
|
|
|
groupId: this.selectReal.id, |
|
|
|
companyId : this.selectReal.companyId, |
|
|
|
companyId : this.selectReal.companyId, |
|
|
|