|
|
@ -47,38 +47,36 @@ |
|
|
|
<p>附件上传(图片格式、pdf格式、word格式)</p> |
|
|
|
<p>附件上传(图片格式、pdf格式、word格式)</p> |
|
|
|
|
|
|
|
|
|
|
|
<div class="uploadDivbox"> |
|
|
|
<div class="uploadDivbox"> |
|
|
|
<div class="uploadDiv" style="margin-right: 12px;"> |
|
|
|
<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) == '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) == 'word'" src="../../../../assets/images/license/word.png" (click)="lookFile(data2.imageUrl)"> |
|
|
|
<img *ngIf="data2.imageUrl && getFileType(data2.imageUrl) == 'pdf'" src="../../../../assets/images/license/pdf.png" (click)="lookFile(data2)"> |
|
|
|
<img *ngIf="data2.imageUrl && getFileType(data2.imageUrl) == 'pdf'" src="../../../../assets/images/license/pdf.png" (click)="lookFile(data2.imageUrl)"> |
|
|
|
|
|
|
|
|
|
|
|
<input *ngIf="!data2.imageUrl" (change)="filechange($event)" class="fileinput" type="file" name="" id=""> |
|
|
|
<input *ngIf="!data2.imageUrl" (change)="filechange($event,true)" class="fileinput" type="file" name="" id=""> |
|
|
|
<button *ngIf="!data2.imageUrl" nz-button><i nz-icon nzType="upload" |
|
|
|
<button *ngIf="!data2.imageUrl" nz-button [nzLoading]="isLoadingSave"><i nz-icon nzType="upload" nzTheme="outline"></i>上传附件</button> |
|
|
|
nzTheme="outline"></i>上传附件</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="uploadDiv" *ngIf="data2.imageUrl"> |
|
|
|
<div class="uploadDiv" *ngIf="data2.imageUrl" style="margin: 0 10px;"> |
|
|
|
<input (change)="filechange($event)" class="fileinput" type="file" name="" id=""> |
|
|
|
<input (change)="filechange($event,true)" class="fileinput" type="file" name="" id=""> |
|
|
|
<button nz-button><i nz-icon nzType="upload" nzTheme="outline"></i>重新上传</button> |
|
|
|
<button nz-button [nzLoading]="isLoadingSave"><i nz-icon nzType="upload" nzTheme="outline"></i>重新上传</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="uploadDiv"> |
|
|
|
<div class="uploadDiv" *ngIf="data2.hasAttachmentDefault" style="margin: 0 10px;"> |
|
|
|
<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.attachment && getFileType(data2.attachment) == 'img'" style="width: 100%;height: 100%;cursor: pointer;" [src]="data2.attachment" (click)="viewImg(data2.attachment)"> |
|
|
|
<img *ngIf="data2.imageUrl && getFileType(data2.imageUrl) == 'word'" src="../../../../assets/images/license/word.png" (click)="lookFile(data2)"> |
|
|
|
<img *ngIf="data2.attachment && getFileType(data2.attachment) == 'word'" src="../../../../assets/images/license/word.png" (click)="lookFile(data2.attachment)"> |
|
|
|
<img *ngIf="data2.imageUrl && getFileType(data2.imageUrl) == 'pdf'" src="../../../../assets/images/license/pdf.png" (click)="lookFile(data2)"> |
|
|
|
<img *ngIf="data2.attachment && getFileType(data2.attachment) == 'pdf'" src="../../../../assets/images/license/pdf.png" (click)="lookFile(data2.attachment)"> |
|
|
|
|
|
|
|
|
|
|
|
<input *ngIf="!data2.imageUrl" (change)="filechange($event)" class="fileinput" type="file" name="" id=""> |
|
|
|
<input *ngIf="!data2.attachment" (change)="filechange($event,false)" class="fileinput" type="file" name="" id=""> |
|
|
|
<button *ngIf="!data2.imageUrl" nz-button><i nz-icon nzType="upload" |
|
|
|
<button *ngIf="!data2.attachment" nz-button [nzLoading]="isLoadingSave"><i nz-icon nzType="upload" nzTheme="outline"></i>上传副本</button> |
|
|
|
nzTheme="outline"></i>上传副本</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="uploadDiv" *ngIf="data2.imageUrl"> |
|
|
|
<div class="uploadDiv" *ngIf="data2.attachment && data2.hasAttachmentDefault"> |
|
|
|
<input (change)="filechange($event)" class="fileinput" type="file" name="" id=""> |
|
|
|
<input (change)="filechange($event,false)" class="fileinput" type="file" name="" id=""> |
|
|
|
<button nz-button><i nz-icon nzType="upload" nzTheme="outline"></i>重新上传副本</button> |
|
|
|
<button nz-button [nzLoading]="isLoadingSave">重新上传副本</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="btnbox"> |
|
|
|
<div class="btnbox"> |
|
|
|
<button nz-button type="submit" class="ok" (click)="submitReview()">提交审核</button> |
|
|
|
<button nz-button type="submit" class="ok" (click)="submitReview()" [nzLoading]="isLoadingSave">提交审核</button> |
|
|
|
<button nz-button type="submit" class="ok" (click)="ok()">保存</button> |
|
|
|
<button nz-button type="submit" class="ok" (click)="ok()" [nzLoading]="isLoadingSave">保存</button> |
|
|
|
<button nz-button type="button" class="cancel" (click)="destroyModal()">取消</button> |
|
|
|
<button nz-button type="button" class="cancel" (click)="destroyModal()">取消</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
</form> |
|
|
|