diff --git a/src/app/routes/usercenter/components/freight/list/new/new.component.html b/src/app/routes/usercenter/components/freight/list/new/new.component.html index a445f1f3..919fb92d 100644 --- a/src/app/routes/usercenter/components/freight/list/new/new.component.html +++ b/src/app/routes/usercenter/components/freight/list/new/new.component.html @@ -52,11 +52,13 @@ -
+
请上传该企业授权您成为本系统企业管理员的文件的高清照片,需加盖公司印章
上传后系统会自动识别并填写
- +
diff --git a/src/app/routes/usercenter/components/freight/list/new/new.component.ts b/src/app/routes/usercenter/components/freight/list/new/new.component.ts index 6797f395..0a97ea66 100644 --- a/src/app/routes/usercenter/components/freight/list/new/new.component.ts +++ b/src/app/routes/usercenter/components/freight/list/new/new.component.ts @@ -11,10 +11,12 @@ import { SFUISchema, SFUploadWidgetSchema } from '@delon/form'; +import { NzUploadFile } from 'ng-zorro-antd/upload'; +import { of } from 'rxjs'; import { UsermanageService } from 'src/app/routes/usercenter/services/usercenter.service'; const IMAGECONFIG = { - previewFile: (file: any) => {}, + previewFile: (file: NzUploadFile) => of(file.url), action: apiConf.waterFileUpload, fileType: 'image/png,image/jpeg,image/jpg,image/gif', fileSize: 5120, @@ -26,7 +28,7 @@ const IMAGECONFIG = { name: 'multipartFile', multiple: false, listType: 'picture-card' -}; +} as SFUploadWidgetSchema; const DATECONFIG = { grid: { xxl: 13, xl: 18, lg: 24, md: 24 }, @@ -74,7 +76,7 @@ export class FreightComponentsListNewComponent implements OnInit { } }; - constructor(private router: Router, private service: UsermanageService) {} + constructor(private router: Router, public service: UsermanageService) {} ngOnInit() {} submitForm() { diff --git a/src/assets/images/usercenter/agree.png b/src/assets/images/usercenter/agree.png new file mode 100644 index 00000000..53ee1c1a Binary files /dev/null and b/src/assets/images/usercenter/agree.png differ diff --git a/src/assets/images/usercenter/彩色-箭头-向右-1.png b/src/assets/images/usercenter/彩色-箭头-向右-1.png deleted file mode 100644 index 885163b1..00000000 Binary files a/src/assets/images/usercenter/彩色-箭头-向右-1.png and /dev/null differ