|
|
|
@ -38,7 +38,7 @@
|
|
|
|
|
|
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<nz-select formControlName="type" nzMode="multiple" [(ngModel)]="data2.handleTypes"> |
|
|
|
|
<nz-select formControlName="type" nzMode="multiple" [(ngModel)]="data2.handleTypesDefault" nzDisabled> |
|
|
|
|
<nz-option [nzValue]="item.value" [nzLabel]="item.name" *ngFor="let item of handleTypeList"></nz-option> |
|
|
|
|
</nz-select> |
|
|
|
|
</nz-form-control> |
|
|
|
@ -53,12 +53,26 @@
|
|
|
|
|
<img *ngIf="data2.imageUrl && getFileType(data2.imageUrl) == 'pdf'" src="../../../../assets/images/license/pdf.png" (click)="lookFile(data2)"> |
|
|
|
|
|
|
|
|
|
<input *ngIf="!data2.imageUrl" (change)="filechange($event)" class="fileinput" type="file" name="" id=""> |
|
|
|
|
<button *ngIf="!data2.imageUrl" nz-button [nzLoading]=""><i nz-icon nzType="upload" |
|
|
|
|
<button *ngIf="!data2.imageUrl" nz-button><i nz-icon nzType="upload" |
|
|
|
|
nzTheme="outline"></i>上传附件</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="uploadDiv" *ngIf="data2.imageUrl"> |
|
|
|
|
<input (change)="filechange($event)" class="fileinput" type="file" name="" id=""> |
|
|
|
|
<button nz-button [nzLoading]=""><i nz-icon nzType="upload" nzTheme="outline"></i>重新上传</button> |
|
|
|
|
<button nz-button><i nz-icon nzType="upload" nzTheme="outline"></i>重新上传</button> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="uploadDiv"> |
|
|
|
|
<img *ngIf="data2.imageUrl && getFileType(data2.imageUrl) == 'img'" style="width: 100%;height: 100%;cursor: pointer;" [src]="data2.imageUrl" (click)="viewImg(data2.imageUrl)"> |
|
|
|
|
<img *ngIf="data2.imageUrl && getFileType(data2.imageUrl) == 'word'" src="../../../../assets/images/license/word.png" (click)="lookFile(data2)"> |
|
|
|
|
<img *ngIf="data2.imageUrl && getFileType(data2.imageUrl) == 'pdf'" src="../../../../assets/images/license/pdf.png" (click)="lookFile(data2)"> |
|
|
|
|
|
|
|
|
|
<input *ngIf="!data2.imageUrl" (change)="filechange($event)" class="fileinput" type="file" name="" id=""> |
|
|
|
|
<button *ngIf="!data2.imageUrl" nz-button><i nz-icon nzType="upload" |
|
|
|
|
nzTheme="outline"></i>上传副本</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="uploadDiv" *ngIf="data2.imageUrl"> |
|
|
|
|
<input (change)="filechange($event)" class="fileinput" type="file" name="" id=""> |
|
|
|
|
<button nz-button><i nz-icon nzType="upload" nzTheme="outline"></i>重新上传副本</button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|