Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
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
ReactWeb5
CivManage
Commits
6c4cb12f
Commit
6c4cb12f
authored
Dec 10, 2020
by
陈前坚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: log
parent
44b24646
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
index.js
src/pages/log/serviceLog/index.js
+18
-18
UserManage.js
src/pages/userCenter/UserManage.js
+2
-2
No files found.
src/pages/log/serviceLog/index.js
View file @
6c4cb12f
...
...
@@ -71,7 +71,7 @@ const ServiceLog = () => {
key
:
'CallTime'
,
},
{
title
:
'IP'
,
title
:
'
访问者
IP'
,
dataIndex
:
'IP'
,
key
:
'IP'
,
},
...
...
@@ -79,12 +79,12 @@ const ServiceLog = () => {
title
:
'返回状态'
,
dataIndex
:
'Result'
,
key
:
'Result'
,
render
:
record
=>
{
if
(
record
===
0
)
{
return
'正常'
;
}
return
'错误'
;
},
//
render: record => {
//
if (record === 0) {
//
return '正常';
//
}
//
return '错误';
//
},
},
{
title
:
'错误信息'
,
...
...
@@ -102,16 +102,16 @@ const ServiceLog = () => {
dataIndex
:
'Method'
,
key
:
'Method'
,
},
{
title
:
'查询参数'
,
dataIndex
:
'QueryString'
,
key
:
'QueryString'
,
},
{
title
:
'请求体'
,
dataIndex
:
'Body'
,
key
:
'Body'
,
},
//
{
//
title: '查询参数',
//
dataIndex: 'QueryString',
//
key: 'QueryString',
//
},
//
{
//
title: '请求体',
//
dataIndex: 'Body',
//
key: 'Body',
//
},
{
title
:
'耗时/ms'
,
dataIndex
:
'ConsumerTime'
,
...
...
@@ -158,7 +158,7 @@ const ServiceLog = () => {
DateTo
:
endTime
.
format
(
'YYYY-MM-DD HH:mm:ss'
),
IP
:
''
,
Module
:
url
===
'/GetOMSLog'
?
searchWord
:
''
,
LogType
:
+
logType
,
LogType
:
url
===
'/GetOMSLog'
?
+
logType
:
''
,
Description
:
''
,
LoginName
:
''
,
UserName
:
''
,
...
...
src/pages/userCenter/UserManage.js
View file @
6c4cb12f
import
React
,
{
useState
,
useEffect
,
useCallback
}
from
'react'
;
import
{
Tree
,
Table
,
Space
,
message
,
...
...
@@ -15,14 +16,13 @@ import {
Dropdown
,
Menu
,
}
from
'antd'
;
import
Tree
from
'@/components/ExpendableTree'
;
//
import Tree from '@/components/ExpendableTree';
import
{
UserAddOutlined
,
UsergroupAddOutlined
,
EditOutlined
,
EditTwoTone
,
DeleteOutlined
,
DeleteTwoTone
,
ShareAltOutlined
,
UnlockOutlined
,
ApartmentOutlined
,
...
...
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