Commit 6c4cb12f authored by 陈前坚's avatar 陈前坚

perf: log

parent 44b24646
......@@ -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: '',
......
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,
......
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