1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <div class="list-template">
- <div class="list-template__content">
- <div class="list-template__top" nz-row>
- <div nz-col nzXl='17' class="list-template__searchBox">
- <div class="list-template__searchItem">
- <span class="label">备注</span>:
- <input nz-input class="formItem" placeholder="请输入备注" [(ngModel)]="searchDto.logRemarks" />
- </div>
- <div class="list-template__searchItem">
- <span class="label">操作类型</span>:
- <nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" [nzShowSearch]="false" nzAllowClear
- nzPlaceHolder="请选择操作类型" [(ngModel)]="searchDto.operation">
- <nz-option *ngFor="let option of operationList" [nzLabel]="option.name" [nzValue]="option.id"></nz-option>
- </nz-select>
- </div>
- <div class="list-template__searchItem">
- <span class="label">操作时间</span>:
- <nz-range-picker [(ngModel)]="searchDto.dateRange"></nz-range-picker>
- </div>
- </div>
- <div nz-col nzXl='7' class="list-template__btns">
- <button nz-button class="btn default" (click)='search()'>搜索</button>
- </div>
- </div>
- <div class="list-template__bottom">
- <nz-table class="list-template__nzTable" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false"
- [nzLoading]="loading1">
- <thead>
- <tr class="thead">
- <th nzWidth="10%">工单号</th>
- <th nzWidth="10%">申请科室</th>
- <th nzWidth="10%">操作类型</th>
- <th nzWidth="10%">操作人</th>
- <th nzWidth="10%">交接人</th>
- <th nzWidth="10%">操作时间</th>
- <th nzWidth="20%">备注</th>
- <th nzWidth="10%">图片</th>
- <th nzWidth="10%">操作</th>
- </tr>
- </thead>
- <tbody>
- <tr *ngFor="let data of listOfData;let index=index;">
- <td>{{ data.gdcode }}</td>
- <td>{{ data.createDept?.dept }}</td>
- <td>{{ data.operation?.name }}</td>
- <td>{{ data.username }}</td>
- <td>{{ data.handoverUserid?.name }}</td>
- <td>{{ data.operationTime }}</td>
- <td>{{ data.logRemarks }}</td>
- <td><button *ngIf="data.attachments" (click)="previewImageHandler(data.attachments)">查看图片</button><span *ngIf="!data.attachments">无</span></td>
- <td>
- <div class="coop">
- <span (click)="del(data)">查看</span>
- </div>
- </td>
- </tr>
- </tbody>
- </nz-table>
- <div class="list-template__pagination">
- <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" nzShowSizeChanger [(nzPageSize)]="pageSize"
- (nzPageIndexChange)="getList()" (nzPageSizeChange)="getList()">
- </nz-pagination>
- </div>
- </div>
- </div>
- </div>
- <app-image-viewer [imageUrl]="imgs" hidden *ngIf="isPreview" [isPreviewNow]="true"></app-image-viewer>
|