Browse Source

上传副本ui

beijing
陈鹏飞 3 years ago
parent
commit
adf48b8b39
  1. 2
      src/app/pages/license/update-category/details-update-category/details-update-category.component.html
  2. 20
      src/app/pages/license/update-category/edit-update-category/edit-update-category.component.html
  3. 2
      src/app/pages/license/update-category/update-category.component.html

2
src/app/pages/license/update-category/details-update-category/details-update-category.component.html

@ -13,7 +13,7 @@
<div class="cutoffrule"></div> <div class="cutoffrule"></div>
<p>证件有效期: &nbsp;&nbsp;<span *ngIf="!data.isLongTerm">{{data.validityStartTime | date:"yyyy/MM/dd"}} - </span>{{data.validityEndTime | date:"yyyy/MM/dd"}}</p> <p>证件有效期: &nbsp;&nbsp;<span *ngIf="!data.isLongTerm">{{data.validityStartTime | date:"yyyy/MM/dd"}} - </span>{{data.validityEndTime | date:"yyyy/MM/dd"}}</p>
<div class="cutoffrule"></div> <div class="cutoffrule"></div>
<p>办理类型: &nbsp;&nbsp;{{getHandleTypes(data.handleTypes)}}</p> <p>办理类型: &nbsp;&nbsp;{{getHandleTypes(data.handleTypesDefault)}}</p>
<div class="cutoffrule"></div> <div class="cutoffrule"></div>
<p>有效期类型: &nbsp;&nbsp;{{data.validityDays || 0}}天</p> <p>有效期类型: &nbsp;&nbsp;{{data.validityDays || 0}}天</p>
<div class="cutoffrule"></div> <div class="cutoffrule"></div>

20
src/app/pages/license/update-category/edit-update-category/edit-update-category.component.html

@ -38,7 +38,7 @@
<nz-form-item> <nz-form-item>
<nz-form-control> <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-option [nzValue]="item.value" [nzLabel]="item.name" *ngFor="let item of handleTypeList"></nz-option>
</nz-select> </nz-select>
</nz-form-control> </nz-form-control>
@ -53,12 +53,26 @@
<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)">
<input *ngIf="!data2.imageUrl" (change)="filechange($event)" class="fileinput" type="file" name="" id=""> <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> nzTheme="outline"></i>上传附件</button>
</div> </div>
<div class="uploadDiv" *ngIf="data2.imageUrl"> <div class="uploadDiv" *ngIf="data2.imageUrl">
<input (change)="filechange($event)" class="fileinput" type="file" name="" id=""> <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>
</div> </div>

2
src/app/pages/license/update-category/update-category.component.html

@ -35,7 +35,7 @@
</ng-template> </ng-template>
</td> </td>
<td>{{getHandleTypes(item.handleTypes)}}</td> <td>{{getHandleTypes(item.handleTypesDefault)}}</td>
<!-- <td><span *ngIf="item.isYearlyCheck">是</span><span *ngIf="!item.isYearlyCheck">否</span></td> <!-- <td><span *ngIf="item.isYearlyCheck">是</span><span *ngIf="!item.isYearlyCheck">否</span></td>
<td>{{item.committedTime | date:"yyyy/MM/dd"}}<span *ngIf="!item.committedTime">未提交审核</span></td> <td>{{item.committedTime | date:"yyyy/MM/dd"}}<span *ngIf="!item.committedTime">未提交审核</span></td>
<td> <td>

Loading…
Cancel
Save