Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
web-template
Commits
d0f3472f
Commit
d0f3472f
authored
Jan 06, 2021
by
Asjoker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
异常日志-查询
parent
1fbc7492
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
index.vue
src/views/monitor/errorLog/index.vue
+3
-3
No files found.
src/views/monitor/errorLog/index.vue
View file @
d0f3472f
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment