添加大量访问日志记录

This commit is contained in:
2018-04-26 13:04:58 +08:00
parent 9ef0093b50
commit 8011ce135e
12 changed files with 199 additions and 19 deletions

View File

@@ -48,7 +48,7 @@
<el-row>
<span>近期登陆日志</span><br>
<template>
<el-table :data="logData" height="300" :default-sort="{prop: 'time', order: 'descending'}">
<el-table :data="logData" height="350" :default-sort="{prop: 'time', order: 'descending'}">
<el-table-column prop="colname" label="用户名" sortable>
</el-table-column>
<el-table-column prop="coltime" label="时间" sortable>

View File

@@ -103,7 +103,8 @@
<el-col :span="23">
<div class="grid-content bg-purple-dark">
<template>
<el-table :data="tableHomeworkData" style="width: 100%">
<el-table :data="tableHomeworkData" style="width: 100%"
:default-sort="{prop: 'worktime', order: 'descending'}">
<el-table-column type="expand">
<template slot-scope="props">
<el-form label-position="left" inline class="demo-table-expand">

View File

@@ -26,7 +26,7 @@
<el-button @click="togglePost()" type="warning" plain>设为管理员</el-button>
<el-button @click="togglePost()" type="danger" plain>删除用户</el-button>
</div>
<el-table ref="multipleTable" :data="userData" @selection-change="handleSelectionChange"
<el-table ref="multipleTable" :data="userData" height="650" @selection-change="handleSelectionChange"
tooltip-effect="dark" style="width: 100%" >
<el-table-column type="selection" prop='coluserid'>
</el-table-column>