|
|
|
@ -14,7 +14,8 @@
|
|
|
|
|
<nz-form-item> |
|
|
|
|
<nz-form-control> |
|
|
|
|
<nz-input-group> |
|
|
|
|
<input nz-input type="text" formControlName="number" placeholder="请输入证照编号" [(ngModel)]="data2.licenseCode"/> |
|
|
|
|
<input nz-input type="text" formControlName="number" placeholder="请输入证照编号" |
|
|
|
|
[(ngModel)]="data2.licenseCode" /> |
|
|
|
|
</nz-input-group> |
|
|
|
|
</nz-form-control> |
|
|
|
|
</nz-form-item> |
|
|
|
@ -22,52 +23,105 @@
|
|
|
|
|
<p>证照效期<span style="color: red;">*</span></p> |
|
|
|
|
|
|
|
|
|
<div class="validity"> |
|
|
|
|
<label nz-checkbox (ngModelChange)="validityChange($event)" [(ngModel)]="data2.isLongTerm" formControlName="isLongTerm"> |
|
|
|
|
<label nz-checkbox (ngModelChange)="validityChange($event)" [(ngModel)]="data2.isLongTerm" |
|
|
|
|
formControlName="isLongTerm"> |
|
|
|
|
<span>长期</span> |
|
|
|
|
</label> |
|
|
|
|
<nz-date-picker *ngIf="data2.isLongTerm" nzPlaceHolder="请选择开始日期" [(ngModel)]="isLongTermTime" (ngModelChange)="onChange($event)" formControlName="isLongTermTime"></nz-date-picker> |
|
|
|
|
<nz-range-picker *ngIf="!data2.isLongTerm" [(ngModel)]="isNoLongTermTime" (ngModelChange)="onChange($event)" formControlName="isNoLongTermTime"></nz-range-picker> |
|
|
|
|
<nz-date-picker *ngIf="data2.isLongTerm" nzPlaceHolder="请选择开始日期" [(ngModel)]="isLongTermTime" |
|
|
|
|
(ngModelChange)="onChange($event)" formControlName="isLongTermTime"></nz-date-picker> |
|
|
|
|
<nz-range-picker *ngIf="!data2.isLongTerm" [(ngModel)]="isNoLongTermTime" (ngModelChange)="onChange($event)" |
|
|
|
|
formControlName="isNoLongTermTime"></nz-range-picker> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<p> |
|
|
|
|
<span style="margin-right: 12px;">有效期类型: {{data2.validityDays || 0}}天</span> |
|
|
|
|
<!-- <span>是否年检: <span *ngIf="data2.isYearlyCheck">是</span><span *ngIf="!data2.isYearlyCheck">否</span></span> --> |
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
<p>办理类型: {{getHandleTypes(data2.handleTypesDefault)}}</p> |
|
|
|
|
|
|
|
|
|
<p>附件上传(图片格式、pdf格式、word格式)</p> |
|
|
|
|
<p>附件上传(图片格式、pdf格式、word格式)</p> |
|
|
|
|
|
|
|
|
|
<div class="uploadDivbox"> |
|
|
|
|
<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.imageUrl)"> |
|
|
|
|
<img *ngIf="data2.imageUrl && getFileType(data2.imageUrl) == 'pdf'" src="../../../../assets/images/license/pdf.png" (click)="lookFile(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.imageUrl)"> |
|
|
|
|
<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,true)" class="fileinput" type="file" name="" id=""> |
|
|
|
|
<button *ngIf="!data2.imageUrl" nz-button [nzLoading]="isLoadingSave"><i nz-icon nzType="upload" nzTheme="outline"></i>上传附件</button> |
|
|
|
|
<input *ngIf="!data2.imageUrl" (change)="filechange($event,0)" class="fileinput" type="file" name="" |
|
|
|
|
id=""> |
|
|
|
|
<button *ngIf="!data2.imageUrl" nz-button [nzLoading]="isLoadingSave"><i nz-icon nzType="upload" |
|
|
|
|
nzTheme="outline"></i>上传附件</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="uploadDiv" *ngIf="data2.imageUrl" style="margin: 0 10px;"> |
|
|
|
|
<input (change)="filechange($event,true)" class="fileinput" type="file" name="" id=""> |
|
|
|
|
<button nz-button [nzLoading]="isLoadingSave"><i nz-icon nzType="upload" nzTheme="outline"></i>重新上传</button> |
|
|
|
|
<input (change)="filechange($event,0)" class="fileinput" type="file" name="" id=""> |
|
|
|
|
<button nz-button [nzLoading]="isLoadingSave"><i nz-icon nzType="upload" |
|
|
|
|
nzTheme="outline"></i>重新上传</button> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="uploadDiv" *ngIf="data2.hasAttachmentDefault" style="margin: 0 10px;"> |
|
|
|
|
<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.attachment && getFileType(data2.attachment) == 'word'" src="../../../../assets/images/license/word.png" (click)="lookFile(data2.attachment)"> |
|
|
|
|
<img *ngIf="data2.attachment && getFileType(data2.attachment) == 'pdf'" src="../../../../assets/images/license/pdf.png" (click)="lookFile(data2.attachment)"> |
|
|
|
|
<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.attachment && getFileType(data2.attachment) == 'word'" |
|
|
|
|
src="../../../../assets/images/license/word.png" (click)="lookFile(data2.attachment)"> |
|
|
|
|
<img *ngIf="data2.attachment && getFileType(data2.attachment) == 'pdf'" |
|
|
|
|
src="../../../../assets/images/license/pdf.png" (click)="lookFile(data2.attachment)"> |
|
|
|
|
|
|
|
|
|
<input *ngIf="!data2.attachment" (change)="filechange($event,false)" class="fileinput" type="file" name="" id=""> |
|
|
|
|
<input *ngIf="!data2.attachment" (change)="filechange($event,1)" class="fileinput" type="file" name="" |
|
|
|
|
id=""> |
|
|
|
|
<button *ngIf="!data2.attachment" nz-button [nzLoading]="isLoadingSave">上传附件副本</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="uploadDiv" *ngIf="data2.attachment && data2.hasAttachmentDefault"> |
|
|
|
|
<input (change)="filechange($event,false)" class="fileinput" type="file" name="" id=""> |
|
|
|
|
<input (change)="filechange($event,1)" class="fileinput" type="file" name="" id=""> |
|
|
|
|
<button nz-button [nzLoading]="isLoadingSave">重新上传副本</button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div *ngIf="data2.isYearlyCheck"> |
|
|
|
|
<p> |
|
|
|
|
<nz-radio-group [(ngModel)]="data2.lastLicenseAuditType" (ngModelChange)="radioChange($event)" |
|
|
|
|
formControlName="radioTypeForm"> |
|
|
|
|
<label nz-radio [nzValue]="0">基本信息</label> |
|
|
|
|
<label nz-radio [nzValue]="1">年检更新</label> |
|
|
|
|
</nz-radio-group> |
|
|
|
|
</p> |
|
|
|
|
<p *ngIf="data2.lastLicenseAuditType == 1">年检更新附件上传</p> |
|
|
|
|
<div *ngIf="data2.lastLicenseAuditType == 1" class="uploadDivbox"> |
|
|
|
|
<div class="uploadDiv"> |
|
|
|
|
<img *ngIf="data2.yearlyCheckAttachment && getFileType(data2.yearlyCheckAttachment) == 'img'" |
|
|
|
|
style="width: 100%;height: 100%;cursor: pointer;" [src]="data2.yearlyCheckAttachment" |
|
|
|
|
(click)="viewImg(data2.yearlyCheckAttachment)"> |
|
|
|
|
<img *ngIf="data2.yearlyCheckAttachment && getFileType(data2.yearlyCheckAttachment) == 'word'" |
|
|
|
|
src="../../../../assets/images/license/word.png" |
|
|
|
|
(click)="lookFile(data2.yearlyCheckAttachment)"> |
|
|
|
|
<img *ngIf="data2.yearlyCheckAttachment && getFileType(data2.yearlyCheckAttachment) == 'pdf'" |
|
|
|
|
src="../../../../assets/images/license/pdf.png" (click)="lookFile(data2.yearlyCheckAttachment)"> |
|
|
|
|
|
|
|
|
|
<input *ngIf="!data2.yearlyCheckAttachment" (change)="filechange($event,2)" class="fileinput" |
|
|
|
|
type="file" name="" id=""> |
|
|
|
|
<button *ngIf="!data2.yearlyCheckAttachment" nz-button [nzLoading]="isLoadingSave"><i nz-icon |
|
|
|
|
nzType="upload" nzTheme="outline"></i>上传附件</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="uploadDiv" *ngIf="data2.yearlyCheckAttachment" style="margin: 0 10px;"> |
|
|
|
|
<input (change)="filechange($event,2)" class="fileinput" type="file" name="" id=""> |
|
|
|
|
<button nz-button [nzLoading]="isLoadingSave"><i nz-icon nzType="upload" |
|
|
|
|
nzTheme="outline"></i>重新上传</button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<p *ngIf="data2.lastLicenseAuditType == 1">年检更新说明</p> |
|
|
|
|
<div *ngIf="data2.lastLicenseAuditType == 1"> |
|
|
|
|
<textarea [(ngModel)]="data2.yearlyCheckDescription" formControlName="explain" nz-input |
|
|
|
|
rows="2"></textarea> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="btnbox"> |
|
|
|
|
<button nz-button type="submit" class="ok" (click)="submitReview()" [nzLoading]="isLoadingSave">提交审核</button> |
|
|
|
|
<button nz-button type="submit" class="ok" (click)="submitReview()" |
|
|
|
|
[nzLoading]="isLoadingSave">提交审核</button> |
|
|
|
|
<button nz-button type="submit" class="ok" (click)="ok()" [nzLoading]="isLoadingSave">保存</button> |
|
|
|
|
<button nz-button type="button" class="cancel" (click)="destroyModal()">取消</button> |
|
|
|
|
</div> |
|
|
|
|