|
|
|
@ -295,6 +295,7 @@ export class RealisticPictureComponent implements OnInit {
|
|
|
|
|
realityImageGroupId: this.selectReal.id, |
|
|
|
|
} |
|
|
|
|
this.http.post('/api/CompanyAccount/RealityImages',data).subscribe(data=>{ |
|
|
|
|
(<HTMLInputElement>document.getElementById('uploadFile')).value = null //清空input框缓存
|
|
|
|
|
this.getAllRealPicture() |
|
|
|
|
const config = new MatSnackBarConfig(); |
|
|
|
|
config.verticalPosition = 'top'; |
|
|
|
@ -359,7 +360,7 @@ export class previewImg {
|
|
|
|
|
ngOnInit(): void { |
|
|
|
|
this.allImages = this.data.allImages |
|
|
|
|
this.allImages.forEach(element => { |
|
|
|
|
element.previewImageUrl = `/api/Objects/PlanPlatform/${element.imageUrl}?x-oss-process=image/resize,m_fill,h_700,w_1200` //处理图片URL地址
|
|
|
|
|
element.previewImageUrl = `/api/Objects/PlanPlatform/${element.imageUrl}` //处理图片URL地址
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|