parent
b17724ea27
commit
2b6a5dda00
@ -1,6 +1,103 @@ |
|||||||
|
|
||||||
<!-- <app-wechart-robot [data]="wechartRobotData"></app-wechart-robot> --> |
<!-- <app-wechart-robot [data]="wechartRobotData"></app-wechart-robot> --> |
||||||
|
|
||||||
|
<!-- <div>cdfddffff</div> --> |
||||||
|
|
||||||
<div> |
<div> |
||||||
<p>Name: {{ detail_data.type }}</p> |
<nz-table *ngIf="viewType === 1" #basicTable [nzData]="data" [nzPageSize]="10" nzShowSizeChanger [nzPageSize]="10" [nzPageSizeOptions]="[10, 20, 50, 100]"> |
||||||
|
<thead> |
||||||
|
<tr> |
||||||
|
<th>访问源IP</th> |
||||||
|
<th>访问频次</th> |
||||||
|
<th nzRight>操作</th> |
||||||
|
</tr> |
||||||
|
</thead> |
||||||
|
<tbody> |
||||||
|
<tr *ngFor="let data of basicTable.data"> |
||||||
|
<td>{{ data.req_ip }}</td> |
||||||
|
<td><a (click)="clickFrequency(data)">{{ data.req_frequency }}</a></td> |
||||||
|
<td nzRight> |
||||||
|
<a (click)="clickWihteList(data)">白名单</a> |
||||||
|
<nz-divider nzType="vertical"></nz-divider> |
||||||
|
<a (click)="clickGreyList(data)">灰名单</a> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
</tbody> |
||||||
|
</nz-table> |
||||||
|
|
||||||
|
<nz-table *ngIf="viewType === 2" #basicTable [nzData]="data" [nzPageSize]="10" nzShowSizeChanger [nzPageSize]="10" [nzPageSizeOptions]="[10, 20, 50, 100]"> |
||||||
|
<thead> |
||||||
|
<tr> |
||||||
|
<th>账号</th> |
||||||
|
<th>访问频次</th> |
||||||
|
<th>工号</th> |
||||||
|
<th nzRight>操作</th> |
||||||
|
</tr> |
||||||
|
</thead> |
||||||
|
<tbody> |
||||||
|
<tr *ngFor="let data of basicTable.data"> |
||||||
|
<td>{{ data.req_account }}</td> |
||||||
|
<td><a (click)="clickFrequency(data)">{{ data.req_frequency }}</a></td> |
||||||
|
<td>{{ data.req_jobnum }}</td> |
||||||
|
<td nzRight> |
||||||
|
<a (click)="clickWihteList(data)">白名单</a> |
||||||
|
<nz-divider nzType="vertical"></nz-divider> |
||||||
|
<a (click)="clickGreyList(data)">灰名单</a> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
</tbody> |
||||||
|
</nz-table> |
||||||
|
|
||||||
|
<nz-table *ngIf="viewType === 3" #basicTable [nzData]="data" [nzPageSize]="10" nzShowSizeChanger [nzPageSize]="10" [nzPageSizeOptions]="[10, 20, 50, 100]"> |
||||||
|
<thead> |
||||||
|
<tr> |
||||||
|
<th>接口地址</th> |
||||||
|
<th>访问IP</th> |
||||||
|
<th>访问账号</th> |
||||||
|
<th>访问频次</th> |
||||||
|
<th>工号</th> |
||||||
|
<th nzRight>操作</th> |
||||||
|
</tr> |
||||||
|
</thead> |
||||||
|
<tbody> |
||||||
|
<tr *ngFor="let data of basicTable.data"> |
||||||
|
<td>{{ data.interface_addr }}</td> |
||||||
|
<td>{{ data.req_ip }}</td> |
||||||
|
<td>{{ data.req_account }}</td> |
||||||
|
<td><a (click)="clickFrequency(data)">{{ data.req_frequency }}</a></td> |
||||||
|
<td>{{ data.req_jobnum }}</td> |
||||||
|
<td nzRight> |
||||||
|
<a (click)="clickWihteList(data)">白名单</a> |
||||||
|
<nz-divider nzType="vertical"></nz-divider> |
||||||
|
<a (click)="clickGreyList(data)">灰名单</a> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
</tbody> |
||||||
|
</nz-table> |
||||||
|
|
||||||
|
<nz-table *ngIf="viewType === 4" #basicTable [nzData]="data" [nzPageSize]="10" nzShowSizeChanger [nzPageSize]="10" [nzPageSizeOptions]="[10, 20, 50, 100]"> |
||||||
|
<thead> |
||||||
|
<tr> |
||||||
|
<th>菜单名称</th> |
||||||
|
<th>访问IP</th> |
||||||
|
<th>访问账号</th> |
||||||
|
<th>访问频次</th> |
||||||
|
<th>工号</th> |
||||||
|
<th nzRight>操作</th> |
||||||
|
</tr> |
||||||
|
</thead> |
||||||
|
<tbody> |
||||||
|
<tr *ngFor="let data of basicTable.data"> |
||||||
|
<td>{{ data.menu_name }}</td> |
||||||
|
<td>{{ data.req_ip }}</td> |
||||||
|
<td>{{ data.req_account }}</td> |
||||||
|
<td><a (click)="clickFrequency(data)">{{ data.req_frequency }}</a></td> |
||||||
|
<td>{{ data.req_jobnum }}</td> |
||||||
|
<td nzRight> |
||||||
|
<a (click)="clickWihteList(data)">白名单</a> |
||||||
|
<nz-divider nzType="vertical"></nz-divider> |
||||||
|
<a (click)="clickGreyList(data)">灰名单</a> |
||||||
|
</td> |
||||||
|
</tr> |
||||||
|
</tbody> |
||||||
|
</nz-table> |
||||||
</div> |
</div> |
Loading…
Reference in new issue