修改insert_time为update_time

Signed-off-by: skyselang <215817969@qq.com>
This commit is contained in:
skyselang 2020-07-21 15:46:19 +08:00
parent 9e00377494
commit 788e2c904f
6 changed files with 19 additions and 19 deletions

View File

@ -10,7 +10,7 @@
<div class="text item">
<el-row :gutter="0">
<el-col :span="12">
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:48px" />
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:32px" />
</el-col>
<el-col :span="12">
{{ visitData.count.total }}
@ -27,7 +27,7 @@
<div class="text item">
<el-row :gutter="0">
<el-col :span="12">
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:48px" />
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:32px" />
</el-col>
<el-col :span="12">
{{ visitData.count.today }}
@ -44,7 +44,7 @@
<div class="text item">
<el-row :gutter="0">
<el-col :span="12">
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:48px" />
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:32px" />
</el-col>
<el-col :span="12">
{{ visitData.count.yesterday }}
@ -61,7 +61,7 @@
<div class="text item">
<el-row :gutter="0">
<el-col :span="12">
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:48px" />
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:32px" />
</el-col>
<el-col :span="12">
{{ visitData.count.thisweek }}
@ -78,7 +78,7 @@
<div class="text item">
<el-row :gutter="0">
<el-col :span="12">
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:48px" />
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:32px" />
</el-col>
<el-col :span="12">
{{ visitData.count.lastweek }}
@ -95,7 +95,7 @@
<div class="text item">
<el-row :gutter="0">
<el-col :span="12">
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:48px" />
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:32px" />
</el-col>
<el-col :span="12">
{{ visitData.count.thismonth }}
@ -112,7 +112,7 @@
<div class="text item">
<el-row :gutter="0">
<el-col :span="12">
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:48px" />
<svg-icon icon-class="visitDays" class-name="card-panel-icon" style="font-size:32px" />
</el-col>
<el-col :span="12">
{{ visitData.count.lastmonth }}
@ -325,7 +325,7 @@ export default {
.box-card .text {
color: #666;
font-size: 20px;
line-height: 48px;
line-height: 32px;
font-weight: 700;
}
</style>

View File

@ -5,7 +5,7 @@
<div class="filter-container">
<el-input v-model="tableQuery.admin_user_id" placeholder="用户ID" style="width: 120px;" class="filter-item" clearable />
<el-input v-model="tableQuery.menu_url" placeholder="菜单链接" style="width: 280px;" class="filter-item" clearable />
<el-date-picker v-model="tableQuery.insert_time" type="daterange" style="width: 240px;top: -4px;" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" />
<el-date-picker v-model="tableQuery.create_time" type="daterange" style="width: 240px;top: -4px;" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" />
<el-button class="filter-item" type="primary" @click="tableSearch">
查询
</el-button>
@ -25,7 +25,7 @@
<el-table-column prop="request_ip" label="请求IP" min-width="130" sortable="custom" />
<el-table-column prop="request_region" label="请求地区" min-width="150" />
<el-table-column prop="request_isp" label="请求ISP" min-width="110" />
<el-table-column prop="insert_time" label="请求时间" min-width="160" sortable="custom" />
<el-table-column prop="create_time" label="请求时间" min-width="160" sortable="custom" />
<el-table-column label="操作" min-width="150" align="right" fixed="right" class-name="small-padding fixed-width">
<template slot-scope="{ row }">
<el-button size="mini" type="primary" @click="tableInfo(row)">
@ -73,8 +73,8 @@
<el-form-item label="请求ISP" prop="request_isp">
<el-input v-model="formModel.request_isp" />
</el-form-item>
<el-form-item label="请求时间" prop="insert_time">
<el-input v-model="formModel.insert_time" />
<el-form-item label="请求时间" prop="create_time">
<el-input v-model="formModel.create_time" />
</el-form-item>
<el-form-item label="请求参数" prop="request_param">
<pre>{{ formModel.request_param }}</pre>

View File

@ -17,7 +17,7 @@
<el-table-column prop="menu_sort" label="菜单排序" min-width="100" />
<el-table-column prop="admin_menu_id" label="ID" min-width="100" />
<el-table-column prop="menu_pid" label="PID" min-width="100" />
<el-table-column prop="insert_time" label="添加时间" min-width="160" />
<el-table-column prop="create_time" label="添加时间" min-width="160" />
<el-table-column prop="update_time" label="修改时间" min-width="160" />
<el-table-column prop="is_prohibit" label="是否禁用" min-width="100" align="center">
<template slot-scope="scope">

View File

@ -21,7 +21,7 @@
<el-table-column prop="rule_name" label="权限" min-width="120" />
<el-table-column prop="rule_desc" label="描述" min-width="130" />
<el-table-column prop="rule_sort" label="排序" min-width="100" sortable="custom" />
<el-table-column prop="insert_time" label="添加时间" min-width="160" sortable="custom" />
<el-table-column prop="create_time" label="添加时间" min-width="160" sortable="custom" />
<el-table-column prop="update_time" label="修改时间" min-width="160" sortable="custom" />
<el-table-column prop="is_prohibit" label="是否禁用" min-width="110" align="center" sortable="custom">
<template slot-scope="scope">

View File

@ -3,7 +3,7 @@
<!-- search -->
<div class="filter-container">
<el-input v-model="tableQuery.menu_url" placeholder="菜单链接" style="width: 280px;" class="filter-item" clearable />
<el-date-picker v-model="tableQuery.insert_time" type="daterange" style="width: 240px;top: -4px;" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" />
<el-date-picker v-model="tableQuery.create_time" type="daterange" style="width: 240px;top: -4px;" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" />
<el-button class="filter-item" type="primary" @click="tableSearch">
查询
</el-button>
@ -23,7 +23,7 @@
<el-table-column prop="request_ip" label="请求IP" min-width="130" sortable="custom" />
<el-table-column prop="request_region" label="请求地区" min-width="150" />
<el-table-column prop="request_isp" label="请求ISP" min-width="110" />
<el-table-column prop="insert_time" label="请求时间" min-width="160" sortable="custom" />
<el-table-column prop="create_time" label="请求时间" min-width="160" sortable="custom" />
</el-table>
<!-- page -->
<pagination v-show="tableCount > 0" :total="tableCount" :page.sync="tableQuery.page" :limit.sync="tableQuery.limit" @pagination="tableList" />

View File

@ -89,8 +89,8 @@
<el-form-item label="排序" prop="sort">
<el-input v-model="formData.sort" type="number" />
</el-form-item>
<el-form-item v-if="formData.admin_user_id" label="添加时间" prop="insert_time">
<el-input v-model="formData.insert_time" placeholder="" disabled />
<el-form-item v-if="formData.admin_user_id" label="添加时间" prop="create_time">
<el-input v-model="formData.create_time" placeholder="" disabled />
</el-form-item>
<el-form-item v-if="formData.admin_user_id" label="更新时间" prop="update_time">
<el-input v-model="formData.update_time" placeholder="" disabled />
@ -417,7 +417,7 @@ export default {
data.email = row.email ? row.email : ''
data.remark = row.remark ? row.remark : ''
data.sort = row.sort
data.insert_time = row.insert_time ? row.insert_time : ''
data.create_time = row.create_time ? row.create_time : ''
data.update_time = row.update_time ? row.update_time : ''
data.logout_time = row.logout_time ? row.logout_time : ''
data.avatar = row.avatar ? row.avatar : ''