|
|
|
@ -1,18 +1,18 @@ |
|
|
|
<template> |
|
|
|
<div> |
|
|
|
<el-card> |
|
|
|
<el-table :data="tableData" style="width: 100%"> |
|
|
|
<el-table :data="tableData" style="width: 100%" height="700"> |
|
|
|
<el-table-column prop="userName" label="用户名" width="80"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="httpStatusCode" label="状态" width="80"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="url" label="地址" width="180"> </el-table-column> |
|
|
|
<el-table-column prop="clientIpAddress" label="ip地址" width="120"> |
|
|
|
<el-table-column prop="clientIpAddress" label="ip地址" width="200"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="clientId" |
|
|
|
label="客户端id" |
|
|
|
width="100" |
|
|
|
width="" |
|
|
|
></el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="httpMethod" |
|
|
|
@ -24,7 +24,7 @@ |
|
|
|
{{ scope.row.executionTime | dateFormat }} |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="browserInfo" label="浏览器信息" width=""> |
|
|
|
<el-table-column prop="browserInfo" label="浏览器信息" width="500"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
@ -69,12 +69,13 @@ |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
<el-pagination |
|
|
|
|
|
|
|
@size-change="handleSizeChange" |
|
|
|
@current-change="handleCurrentChange" |
|
|
|
:page-sizes="[2, 20, 30, 50]" |
|
|
|
:page-sizes="[10, 20, 30, 50]" |
|
|
|
:page-size="pages.maxResultCount" |
|
|
|
layout="total, sizes, prev, pager, next, jumper" |
|
|
|
:total="100" |
|
|
|
:total="1000-1" |
|
|
|
> |
|
|
|
</el-pagination> |
|
|
|
</el-card> |
|
|
|
@ -88,7 +89,8 @@ export default { |
|
|
|
tableData: [], |
|
|
|
pages: { |
|
|
|
skipCount: 0, |
|
|
|
maxResultCount: 2, |
|
|
|
maxResultCount: 20, |
|
|
|
sorting |
|
|
|
}, |
|
|
|
dialogVisible: false, |
|
|
|
detailedinformationdata: [], |
|
|
|
@ -111,6 +113,7 @@ export default { |
|
|
|
}, |
|
|
|
handleCurrentChange(v) { |
|
|
|
this.pages.skipCount = v; |
|
|
|
(this.pages.currentPage - 1) * this.pages.MaxResultCount; |
|
|
|
this.cratlist(); |
|
|
|
}, |
|
|
|
|
|
|
|
|