fix bug
This commit is contained in:
@ -262,10 +262,19 @@ export class VehicleComponentsAuditDetailComponent implements OnInit, OnDestroy
|
||||
return value;
|
||||
}
|
||||
viewEvaluate(item: any) {
|
||||
this.modal.createStatic(VehicleImgViewComponent, { i: item }).subscribe(i => {
|
||||
// this.modal.createStatic(VehicleImgViewComponent, { i: item }).subscribe(i => {
|
||||
// this.st.reload();
|
||||
// this.getDetailList();
|
||||
// });
|
||||
console.log(item);
|
||||
|
||||
const params = {
|
||||
imgList: [item.carProtocal],
|
||||
index: 0
|
||||
};
|
||||
this.nzImageService.preview([{ src: item.carProtocal}]);
|
||||
this.st.reload();
|
||||
this.getDetailList();
|
||||
});
|
||||
}
|
||||
updateEvaluate(item: any) {
|
||||
this.modal.createStatic(VehicleComponentsListEditComponent, { i: item }).subscribe(i => {
|
||||
|
||||
@ -198,10 +198,14 @@ export class VehicleComponentsListDetailComponent implements OnInit {
|
||||
*查看评价
|
||||
*/
|
||||
viewEvaluate(item: any) {
|
||||
this.modal.createStatic(VehicleImgViewComponent, { i: item }).subscribe(() => {
|
||||
this.st.reload();
|
||||
this.getDetailList();
|
||||
});
|
||||
console.log(item);
|
||||
this.st.reload();
|
||||
this.getDetailList();
|
||||
const params = {
|
||||
imgList: [item.carProtocal],
|
||||
index: 0
|
||||
};
|
||||
this.nzImageService.preview([{ src: item.carProtocal}]);
|
||||
}
|
||||
/**
|
||||
*查看评价
|
||||
|
||||
@ -61,7 +61,7 @@ export class VehicleComponentsListEditComponent implements OnInit {
|
||||
title: '车主申明/挂靠协议',
|
||||
ui: {
|
||||
widget: 'upload',
|
||||
action: apiConf.fileUpload,
|
||||
action: apiConf.waterFileUpload,
|
||||
fileType: 'image/png,image/jpeg,image/jpg,image/gif',
|
||||
limit: 1,
|
||||
limitFileCount: 1,
|
||||
@ -110,8 +110,10 @@ export class VehicleComponentsListEditComponent implements OnInit {
|
||||
this.modal.destroy();
|
||||
}
|
||||
sure() {
|
||||
console.log(this.sf.value);
|
||||
|
||||
const params ={
|
||||
carProtocal: this.sf.value.carProtocal?.data?.fullFilePath,
|
||||
carProtocal: this.sf.value.carProtocal,
|
||||
id: this.i.id
|
||||
}
|
||||
this.service.request(this.service.$api_get_upLoadCarProtocal, params).subscribe((res) => {
|
||||
|
||||
Reference in New Issue
Block a user