61 lines
2.2 KiB
HTML
61 lines
2.2 KiB
HTML
<div class="system-main-container">
|
|
<div class="user-manage">
|
|
<div class="system-main-content card" id="main-box">
|
|
<div class="search-box">
|
|
<div nz-row>
|
|
<div nz-col nzSpan="8">
|
|
<nz-form-item >
|
|
<nz-form-label class="left">关键词</nz-form-label>
|
|
<nz-form-control nzSpan="17">
|
|
<input nz-input [(ngModel)]='search.keyword' placeholder="请输入角色名称">
|
|
</nz-form-control>
|
|
</nz-form-item>
|
|
</div>
|
|
<div nz-col nzSpan="8">
|
|
<nz-form-item >
|
|
<nz-form-control nzSpan="24">
|
|
<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>
|
|
<div class="table-operation-box">
|
|
<button (click)="addModify(1)" nz-button nzType="primary"><i nz-icon type="plus" theme="outline"></i>新增</button>
|
|
</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>
|
|
<th>描述</th>
|
|
<th>登录ip</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr *ngFor="let item of dataSet.data">
|
|
<td>{{item.log_datetime| date:'yyyy-MM-dd HH:mm:ss'}}</td>
|
|
<td>{{item.real_name}}</td>
|
|
<td>{{item.user_name}}</td>
|
|
<td>{{logType[item.log_type]}}</td>
|
|
<td>{{item.opt_type}}</td>
|
|
<td>{{item.summary}}</td>
|
|
<td>{{item.login_ip}}</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>
|