|
@@ -35,6 +35,10 @@ export class InspectionListPage implements OnInit {
|
|
this.activeRoute.paramMap.subscribe(async params => {
|
|
this.activeRoute.paramMap.subscribe(async params => {
|
|
let data = await this.userData.getInspectionList(params['params']['poCode'], params['params']['scCode'])
|
|
let data = await this.userData.getInspectionList(params['params']['poCode'], params['params']['scCode'])
|
|
this.inspectionList = data
|
|
this.inspectionList = data
|
|
|
|
+ if(this.inspectionList[0]&&this.inspectionList[0].picture) {
|
|
|
|
+ this.imgList = this.inspectionList[0].picture.split(',')
|
|
|
|
+ this.imageData = this.inspectionList[0].picture
|
|
|
|
+ }
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|