添加大量访问日志记录

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

@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:fragment="header(title)">
<meta name="renderer" content="webkit">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title th:text="${title}"></title>

View File

@@ -81,6 +81,7 @@
<el-card class="box-card hidden-xs-only" th:fragment="timelimit">
<div slot="header" class="clearfix">
<span>作业提交倒计时</span>
<!--超时后仍为正数-->
<span style="color: red"> 功能未完成</span>
</div>
<div class="text item">

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>