This commit is contained in:
wangshiming
2022-04-26 20:27:08 +08:00
parent 48a7d1e5dd
commit 5969a77c6b

View File

@ -28,7 +28,7 @@ export class VehicleComponentsListDetailComponent implements OnInit {
modalName = ''; modalName = '';
ui!: SFUISchema; ui!: SFUISchema;
columns!: STColumn[]; columns!: STColumn[];
uploadURl = apiConf.fileUpload; uploadURl = apiConf.waterFileUpload;
schema!: SFSchema; schema!: SFSchema;
@ViewChild('sf', { static: false }) sf!: SFComponent; @ViewChild('sf', { static: false }) sf!: SFComponent;
schema1!: SFSchema; schema1!: SFSchema;
@ -219,7 +219,7 @@ export class VehicleComponentsListDetailComponent implements OnInit {
changeUpload({ file, fileList, type }: any, key: string) { changeUpload({ file, fileList, type }: any, key: string) {
console.log({ file, fileList, type }); console.log({ file, fileList, type });
if (type === 'success') { if (type === 'success') {
this.detailData[key] = file.response.data.fullFilePath; this.detailData[key] = file.response.data.fullFileWatermarkPath;
} }
} }
deleteImg(key: string) { deleteImg(key: string) {