Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust_web
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
张伯涛
cust_web
Commits
19cf1ebd
Commit
19cf1ebd
authored
Dec 16, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了页面
parent
58e79085
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
25 deletions
+29
-25
index.vue
src/views/monitor/errorLog/index.vue
+15
-13
index.vue
src/views/monitor/operLog/index.vue
+14
-12
No files found.
src/views/monitor/errorLog/index.vue
View file @
19cf1ebd
...
@@ -295,19 +295,21 @@ export default {
...
@@ -295,19 +295,21 @@ export default {
getList
()
{
getList
()
{
this
.
loading
=
true
this
.
loading
=
true
list
(
this
.
addDateRange
(
this
.
queryParams
,
this
.
dateRange
)).
then
(
response
=>
{
list
(
this
.
addDateRange
(
this
.
queryParams
,
this
.
dateRange
)).
then
(
response
=>
{
this
.
list
=
response
.
rows
.
map
(
item
=>
{
if
(
response
.
rows
!==
undefined
){
const
title
=
item
.
title
this
.
list
=
response
.
rows
.
map
(
item
=>
{
if
(
title
)
{
const
title
=
item
.
title
const
temp
=
title
.
split
(
'-'
)
if
(
title
)
{
const
systemMode
=
temp
.
filter
((
item
,
index
)
=>
{
return
index
<
temp
.
length
-
1
}).
join
(
'-'
)
const
temp
=
title
.
split
(
'-'
)
item
.
systemMode
=
systemMode
const
systemMode
=
temp
.
filter
((
item
,
index
)
=>
{
return
index
<
temp
.
length
-
1
}).
join
(
'-'
)
item
.
optionName
=
temp
[
temp
.
length
-
1
]
item
.
systemMode
=
systemMode
}
else
{
item
.
optionName
=
temp
[
temp
.
length
-
1
]
item
.
systemMode
=
''
}
else
{
item
.
optionName
=
''
item
.
systemMode
=
''
}
item
.
optionName
=
''
return
item
}
})
return
item
})
}
this
.
total
=
response
.
total
this
.
total
=
response
.
total
this
.
loading
=
false
this
.
loading
=
false
}
}
...
...
src/views/monitor/operLog/index.vue
View file @
19cf1ebd
...
@@ -340,19 +340,21 @@ export default {
...
@@ -340,19 +340,21 @@ export default {
getList
()
{
getList
()
{
this
.
loading
=
true
this
.
loading
=
true
list
(
this
.
addDateRange
(
this
.
queryParams
,
this
.
dateRange
)).
then
(
response
=>
{
list
(
this
.
addDateRange
(
this
.
queryParams
,
this
.
dateRange
)).
then
(
response
=>
{
this
.
list
=
response
.
rows
.
map
(
item
=>
{
if
(
response
.
rows
!==
undefined
)
{
const
title
=
item
.
title
this
.
list
=
response
.
rows
.
map
(
item
=>
{
if
(
title
)
{
const
title
=
item
.
title
const
temp
=
title
.
split
(
'-'
)
if
(
title
)
{
const
systemMode
=
temp
.
filter
((
item
,
index
)
=>
{
return
index
<
temp
.
length
-
1
}).
join
(
'-'
)
const
temp
=
title
.
split
(
'-'
)
item
.
systemMode
=
systemMode
const
systemMode
=
temp
.
filter
((
item
,
index
)
=>
{
return
index
<
temp
.
length
-
1
}).
join
(
'-'
)
item
.
optionName
=
temp
[
temp
.
length
-
1
]
item
.
systemMode
=
systemMode
}
else
{
item
.
optionName
=
temp
[
temp
.
length
-
1
]
item
.
systemMode
=
undefined
}
else
{
item
.
optionName
=
undefined
item
.
systemMode
=
undefined
item
.
optionName
=
undefined
}
return
item
})
}
}
return
item
})
this
.
total
=
response
.
total
this
.
total
=
response
.
total
this
.
loading
=
false
this
.
loading
=
false
}
}
...
...
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