67 lines
3.8 KiB
HTML
67 lines
3.8 KiB
HTML
<div class="system-main-container">
|
|
<div class="user-manage">
|
|
<div class="system-main-content card" id="main-box-logs">
|
|
<div class="search-box">
|
|
<div class="dip mr-5">
|
|
<nz-form-item>
|
|
<nz-form-label class="mr-1" style="vertical-align:top">关键词</nz-form-label>
|
|
<nz-form-control style="display:inline-block">
|
|
<input nz-input [(ngModel)]='search.keyword' placeholder="请输入关键词">
|
|
</nz-form-control>
|
|
</nz-form-item>
|
|
</div>
|
|
<div class="dip mr-4">
|
|
<nz-form-item>
|
|
<nz-form-label class="mr-1" style="vertical-align:top">时间</nz-form-label>
|
|
<nz-form-control style="display:inline-block">
|
|
<nz-date-picker [nzShowToday]="false" class="mr-2" [nzDisabledDate]="disabledStartDate" nzShowTime nzFormat="yyyy-MM-dd HH:mm:ss"
|
|
[(ngModel)]="startValue" nzPlaceHolder="请选择开始时间" (ngModelChange)="onStartChange($event)"
|
|
(nzOnOpenChange)="handleStartOpenChange($event)">
|
|
</nz-date-picker>
|
|
<nz-date-picker [nzShowToday]="false" [nzDisabledDate]="disabledEndDate" nzShowTime nzFormat="yyyy-MM-dd HH:mm:ss"
|
|
[(ngModel)]="endValue" nzPlaceHolder="请选择结束时间" [nzOpen]="endOpen"
|
|
(ngModelChange)="onEndChange($event)" (nzOnOpenChange)="handleEndOpenChange($event)">
|
|
</nz-date-picker>
|
|
</nz-form-control>
|
|
</nz-form-item>
|
|
</div>
|
|
<div class="dip">
|
|
<nz-form-item>
|
|
<nz-form-control>
|
|
<button class="mr10" nz-button nzType="primary" (click)="queryTable()"><i nz-icon type="search"></i>查询</button>
|
|
<button (click)="reset()" nz-button nzType="primary"><i nz-icon type="sync" theme="outline"></i>重置</button>
|
|
</nz-form-control>
|
|
</nz-form-item>
|
|
</div>
|
|
</div>
|
|
<app-request-status *ngIf='statusParamsTable.status!=4' [statusParams]='statusParamsTable'></app-request-status>
|
|
<div class="table-box" *ngIf='statusParamsTable.status==3||statusParamsTable.status==4||statusParamsTable.status==0'>
|
|
<nz-table [nzShowPagination]='false' #dataSet [nzData]="tableData">
|
|
<thead>
|
|
<tr>
|
|
<th>序号</th>
|
|
<th>用户名</th>
|
|
<th>模块</th>
|
|
<th>操作内容</th>
|
|
<th>操作时间</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr *ngFor="let item of dataSet.data;let i=index">
|
|
<td>{{i+1}}</td>
|
|
<td>{{item.user_name}}</td>
|
|
<td>{{item.model_name}}</td>
|
|
<td>{{item.summary}}</td>
|
|
<td>{{item.log_datetime| date:'yyyy-MM-dd HH:mm:ss'}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</nz-table>
|
|
<div class="page-box" *ngIf="statusParamsTable.status==3">
|
|
<nz-pagination [nzPageIndex]="search.page_index" (nzPageIndexChange)='pageChange($event)'
|
|
[nzPageSize]='search.page_size' [nzTotal]="collectionSize"></nz-pagination>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div> |