Commit 81646cbf authored by 皮倩雯's avatar 皮倩雯

fix: '首页功能优化,日志管理重构'

parent e89bdbec
Pipeline #78665 passed with stages
This diff is collapsed.
......@@ -611,6 +611,30 @@
width: 100%;
height: calc(100% - 60px);
overflow: hidden;
.sort {
width: 22px;
height: 22px;
border-radius: 50%;
font-size: 14px;
font-family: Microsoft YaHei;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
margin: auto;
&[type='1'] {
color: #fb0909;
border: 2px solid #faa0a0;
}
&[type='2'] {
color: #fb6a09;
border: 2px solid #f07942;
}
&[type='3'] {
color: #fbba09;
border: 2px solid #f8e680;
}
}
:global {
.ant-table-wrapper {
height: 100%;
......@@ -632,6 +656,19 @@
}
}
}
.ant-tabs-tab {
padding: 8px 8px;
}
.ant-tabs-tab-active {
padding: 8px 8px;
}
.ant-tabs-tabpane {
padding-left: 12px;
}
.ant-tabs-content-left {
height: 100%;
}
}
}
.gisMessage {
......
This diff is collapsed.
.centerLog {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
overflow-y: hidden;
.head {
padding: 10px;
background: white;
margin-bottom: 2px;
width: 100%;
height: 32px;
display: flex;
align-items: center;
flex-wrap: no-wrap;
}
.content {
width: 100%;
height: calc(100% - 40px);
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
.left {
width: 65%;
height: 100%;
.table {
width: 100%;
background-color: white;
padding: 10px;
overflow: hidden;
margin-bottom: 3px;
height: calc(100vh - 210px);
:global {
.ant-table-wrapper {
height: 100%;
.ant-spin-nested-loading {
height: 100%;
.ant-spin-container {
height: 100%;
.ant-table.ant-table-small {
height: 100%;
.ant-table-container {
height: 100%;
}
}
}
}
}
}
}
.footer {
width: 100%;
height: 42px;
background-color: white;
display: flex;
justify-content: flex-end;
padding: 10px;
}
}
.right {
width: 34%;
height: 100%;
:global {
::-webkit-scrollbar-thumb {
border-radius: 0;
}
::-webkit-scrollbar {
display: none;
}
}
.table {
width: 100%;
background-color: white;
padding: 10px;
overflow: hidden;
margin-bottom: 3px;
height: calc(100vh - 210px);
.sort {
width: 22px;
height: 22px;
border-radius: 50%;
font-size: 14px;
font-family: Microsoft YaHei;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
margin: auto;
&[type='1'] {
color: #fb0909;
border: 2px solid #faa0a0;
}
&[type='2'] {
color: #fb6a09;
border: 2px solid #f07942;
}
&[type='3'] {
color: #fbba09;
border: 2px solid #f8e680;
}
}
:global {
.ant-table-wrapper {
height: 100%;
.ant-spin-nested-loading {
height: 100%;
.ant-spin-container {
height: 100%;
.ant-table {
height: 100%;
.ant-table-container {
height: 100%;
}
}
}
}
}
.ant-table-row-level-0 {
height: 65px;
}
}
}
.footer {
width: 100%;
height: 42px;
background-color: white;
display: flex;
justify-content: flex-end;
padding: 10px;
}
}
}
.table {
flex: 1;
width: 100%;
background-color: white;
padding: 10px;
overflow: hidden;
margin-bottom: 3px;
height: calc(100vh - 210px);
:global {
.ant-table-wrapper {
height: 100%;
......@@ -26,26 +153,23 @@
.ant-spin-nested-loading {
height: 100%;
.ant-spin-container{
.ant-spin-container {
height: 100%;
.ant-table.ant-table-small{
.ant-table.ant-table-small {
height: 100%;
.ant-table-container {
height: 100%;
}
}
}
}
}
}
}
.footer{
.footer {
width: 100%;
height: 42px;
background-color: white;
......
......@@ -52,11 +52,11 @@ const Login = props => {
sessionStorage.setItem('userType', AUTHORITY[userMode]);
sessionStorage.setItem('userName', userName);
if (userMode === USER_MODE.SUPER) {
history.push(`/solution`);
// history.push(`/homePage`);
// history.push(`/solution`);
history.push(`/homePage`);
} else {
history.push(`/authority/user`);
// history.push(`/homePage`);
// history.push(`/authority/user`);
history.push(`/homePage`);
}
}
if (userMode === USER_MODE.COMMON) {
......
......@@ -192,6 +192,12 @@ export default {
path: '/',
component: BasicLayout,
routes: [
{
path: '/homePage',
name: '首页',
icon: <HomeOutlined style={iconStyle} />,
component: HomePage,
},
{
path: '/solution',
name: '解决方案',
......@@ -199,12 +205,6 @@ export default {
authority: superAuthority,
component: CurrentSolution,
},
{
path: '/homePage',
name: '仪表盘',
icon: <HomeOutlined style={iconStyle} />,
component: HomePage,
},
{
path: '/dbm',
name: '数据库',
......
......@@ -10,3 +10,12 @@ import { get, PUBLISH_SERVICE, post, postForm } from '../index';
// 获取错误日志、业务日志、第三方调用日志
export const GetCallLogPages = data => post(`/PandaCore/GCK/Log/GetCallLogPages`, data);
export const GetWayNumberofcalls = params => post(`/PandaCore/GCK/Log/GetWayNumberofcalls`, params);
// 菜单访问记录
export const GetAccessLog = params => post(`${PUBLISH_SERVICE}/LogCenter/GetAccessLog`, params);
// 设备控制记录
export const GetRemoteOperationLog = params =>
post(`/PandaMonitor/Monitor/Device/GetRemoteOperationLog`, params);
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