Commit d0f3472f authored by Asjoker's avatar Asjoker

异常日志-查询

parent 1fbc7492
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
<!-- </el-table-column>--> <!-- </el-table-column>-->
<el-table-column label="操作时间" align="center" prop="operTime" width="180" show-overflow-tooltip> <el-table-column label="操作时间" align="center" prop="operTime" width="180" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.operTime | transformDateByFormat('YYYY-MM-DD HH:mm:ss') }}</span> <span>{{ scope.row.operTime | transformDateByFormat('YYYY-MM') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" class-name="small-padding fixed-width"> <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
...@@ -258,9 +258,9 @@ export default { ...@@ -258,9 +258,9 @@ export default {
/** 查询登录日志 */ /** 查询登录日志 */
getList() { getList() {
this.loading = true this.loading = true
const query = Object.assign({}, this.queryParams) // const query = Object.assign({}, this.queryParams)
// query.operTime = query.operTime ? this.$parseDate(new Date(query.operTime), 'YYYYMM') : '' // query.operTime = query.operTime ? this.$parseDate(new Date(query.operTime), 'YYYYMM') : ''
list(query).then(response => { list(this.addDateRange(this.queryParams, this.dateRange)).then(response => {
this.list = response.rows.map(item => { this.list = response.rows.map(item => {
const title = item.title const title = item.title
if (title) { if (title) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment