1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <div class="searchDataWrap">
- <div class="searchData">
- <div class="searchDataItem">
- <span class="label">建单时间</span>:
- <nz-range-picker [(ngModel)]="dateRange" [nzAllowClear]="false" (ngModelChange)="changeDate($event)" (nzOnCalendarChange)="onCalendarChangeDate($event)">
- </nz-range-picker>
- </div>
- <div class="searchDataItem">
- <span class="label">楼栋</span>:
- <nz-select class="selectItem" [nzDropdownMatchSelectWidth]="false" nzServerSearch nzShowSearch (nzOnSearch)="changeBuildingInp($event)" nzAllowClear nzPlaceHolder="请选择楼栋" [(ngModel)]="buildingId" (nzOpenChange)="openChangeBuilding($event)">
- <ng-container *ngFor="let option of buildingList">
- <nz-option *ngIf="!isLoading" [nzLabel]="option.hosName + '-' + option.buildingName" [nzValue]="option.id"></nz-option>
- </ng-container>
- <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
- <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
- </nz-option>
- </nz-select>
- </div>
- </div>
- <div class="operation">
- <i class="icon_transport transport-gengduo" (click)="showMore()"></i>
- <button nz-button class="btn default" (click)="search()">查询</button>
- <button nz-button class="btn default ml8" (click)="reset()">重置</button>
- <button nz-button class="btn default ml8" (click)="excelExport()" [nzLoading]="excelExportLoading">导出</button>
- </div>
- </div>
- <div class="moreFilter" *ngIf="fieldConfig.fields.groupDTO || fieldConfig.fields.userDTO || fieldConfig.fields.taskTypeDTO || fieldConfig.fields.statisticsTypeDTO">
- <span>{{fieldConfig.fields.groupDTO?.groupName}}</span>
- <span>{{fieldConfig.fields.userDTO?.name}}</span>
- <span>{{fieldConfig.fields.statisticsTypeDTO?.name}}</span>
- <span>{{fieldConfig.fields.taskTypeDTO?.taskName}}</span>
- </div>
- <nz-table class="table" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false" [nzLoading]="loading1" [nzScroll]="{ y: tableHeight + 'px' }" [nzFooter]="footerTpl">
- <thead (nzSortChange)="sort($event)" nzSingleSort>
- <tr>
- <th nzWidth="20%">科室(编码)</th>
- <th nzWidth="20%" nzShowSort nzSortKey="service" [(nzSort)]="sortCurrent.service">服务台建单数</th>
- <th nzWidth="20%" nzShowSort nzSortKey="nurse" [(nzSort)]="sortCurrent.nurse">护士端建单数</th>
- <th nzWidth="20%" nzShowSort nzSortKey="system" [(nzSort)]="sortCurrent.system">系统自动建单数</th>
- <th nzWidth="20%" nzShowSort nzSortKey="wechat" [(nzSort)]="sortCurrent.wechat">微信端建单数量</th>
- </tr>
- </thead>
- <tbody>
- <tr *ngFor="let data of listOfData">
- <td>{{ data.name }}<ng-container *ngIf="data.code">({{ data.code }})</ng-container></td>
- <td>{{ data.service }}</td>
- <td>{{ data.nurse }}</td>
- <td>{{ data.system }}</td>
- <td>{{ data.wechat }}</td>
- </tr>
- </tbody>
- <ng-template #footerTpl>
- <table class="footTable">
- <tr *ngFor="let data of listOfDataEnd">
- <td style="width: 20%">{{ data.code }}</td>
- <td style="width: 20%">{{ data.service }}</td>
- <td style="width: 20%">{{ data.nurse }}</td>
- <td style="width: 20%">{{ data.system }}</td>
- <td style="width: 20%">{{ data.wechat }}</td>
- </tr>
- </table>
- </ng-template>
- </nz-table>
- <div class="pagination">
- <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
- <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
- </div>
- <!-- 详细搜索 -->
- <app-distribution-search-more [fieldConfig]="fieldConfig" *ngIf="showSearchMore" [hosId]="hosId" [queryType]="queryType" [dutyId]="dutyId" [parentDutyId]="parentDutyId" (cancelEvent)="cancelEvent()" (submitEvent)="submitEvent($event)"></app-distribution-search-more>
|