master_basic
parent
f3777c5ba4
commit
1891c46e04
@ -1,7 +1,47 @@
|
||||
const routes = [
|
||||
{path: '/', component: '@/pages/index'},
|
||||
{path: '/home', component: '@/pages/index'},
|
||||
// {path: '/aaa', component: '@/pages/Aaa/index', layout: false},
|
||||
{ path: '/', redirect: '/teamViewer/paramsSetting', },
|
||||
|
||||
// ------------------------------GLQ远程维护----------------------------------
|
||||
// 建立远程链接
|
||||
{ path: '/teamViewer/paramsSetting', name: '参数设置', component: '@/pages/GLQ/TeamViewer/ParamsSetting' },
|
||||
// 交互维护命令
|
||||
{ path: '/teamViewer/systemTime', name: '系统时间', component: '@/pages/GLQ/TeamViewer/SystemTime' },
|
||||
{ path: '/teamViewer/currentIP', name: '当前IP', component: '@/pages/GLQ/TeamViewer/CurrentIP' },
|
||||
{ path: '/teamViewer/pingCommand', name: 'PING命令', component: '@/pages/GLQ/TeamViewer/PingCommand' },
|
||||
{ path: '/teamViewer/telnetCommand', name: 'TELNET命令', component: '@/pages/GLQ/TeamViewer/TelnetCommand' },
|
||||
{ path: '/teamViewer/otherCommand', name: '其他命令', component: '@/pages/GLQ/TeamViewer/OtherCommand' },
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
// ------------------------------网络MMJ管理----------------------------------
|
||||
{ path: '/webMMJ/mmjInitInstall', name: 'MMJ初装', component: '@/pages/GLQ/WebMMJ/MmjInitInstall' },
|
||||
{ path: '/webMMJ/statusQuery', name: '状态查询', component: '@/pages/GLQ/WebMMJ/StatusQuery' },
|
||||
{ path: '/webMMJ/keyDestruction', name: '密钥销毁', component: '@/pages/GLQ/WebMMJ/KeyDestruction' },
|
||||
{ path: '/webMMJ/keyRemoteKill', name: '密钥遥毙', component: '@/pages/GLQ/WebMMJ/KeyRemoteKill' },
|
||||
{ path: '/webMMJ/mmjRemoteKill', name: 'MMJ遥毙', component: '@/pages/GLQ/WebMMJ/MmjRemoteKill' },
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
// ------------------------------网络GLQ配置----------------------------------
|
||||
// 获取配置信息
|
||||
// { path: '/webGLQ/systemTime', name: '服务列表信息', component: '@/pages/GLQ/webGLQ/SystemTime' },
|
||||
// { path: '/webGLQ/currentIP', name: '网络配置信息', component: '@/pages/GLQ/webGLQ/CurrentIP' },
|
||||
// { path: '/webGLQ/pingCommand', name: '安全策略信息', component: '@/pages/GLQ/webGLQ/PingCommand' },
|
||||
// { path: '/webGLQ/telnetCommand', name: '管理配置信息', component: '@/pages/GLQ/webGLQ/TelnetCommand' },
|
||||
// { path: '/webGLQ/otherCommand', name: 'VPN策略信息', component: '@/pages/GLQ/webGLQ/OtherCommand' },
|
||||
// { path: '/webGLQ/paramsSetting', name: '防火墙策略信息', component: '@/pages/GLQ/webGLQ/ParamsSetting' },
|
||||
// { path: '/webGLQ/paramsSetting', name: '日志记录信息', component: '@/pages/GLQ/webGLQ/ParamsSetting' },
|
||||
// 远程文件配置
|
||||
// { path: '/webMMJ/systemTime', name: '服务列表', component: '@/pages/GLQ/webMMJ/SystemTime' },
|
||||
// { path: '/webMMJ/currentIP', name: '网络参数', component: '@/pages/GLQ/webMMJ/CurrentIP' },
|
||||
// { path: '/webMMJ/pingCommand', name: '安全策略', component: '@/pages/GLQ/webMMJ/PingCommand' },
|
||||
// { path: '/webMMJ/telnetCommand', name: '管理配置', component: '@/pages/GLQ/webMMJ/TelnetCommand' },
|
||||
// { path: '/webMMJ/otherCommand', name: 'VPN策略', component: '@/pages/GLQ/webMMJ/OtherCommand' },
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
{
|
||||
path: '*',
|
||||
component: '@/pages/404',
|
||||
layout: false
|
||||
}
|
||||
]
|
||||
|
||||
export default routes;
|
@ -0,0 +1,18 @@
|
||||
import { history } from 'umi';
|
||||
import { Button, Result } from 'antd';
|
||||
import React from 'react';
|
||||
|
||||
const NoFoundPage: React.FC = () => (
|
||||
<Result
|
||||
status="404"
|
||||
title="404"
|
||||
subTitle="Sorry, the page you visited does not exist."
|
||||
extra={
|
||||
<Button type="primary" onClick={() => history.push('/')}>
|
||||
Back Home
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
);
|
||||
|
||||
export default NoFoundPage;
|
@ -0,0 +1,10 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// GLQ远程维护 --> 交互维护命令--> 当前IP
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
{'GLQ远程维护 --> 交互维护命令--> 当前IP'}
|
||||
</div>
|
||||
);
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// GLQ远程维护 --> 交互维护命令--> 当前IP
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
{'GLQ远程维护 --> 交互维护命令--> 当前IP'}
|
||||
</div>
|
||||
);
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// GLQ远程维护 --> 建立远程链接--> 参数设置
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
{'GLQ远程维护 --> 建立远程链接--> 参数设置'}
|
||||
</div>
|
||||
);
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// GLQ远程维护 --> 交互维护命令--> PING命令
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
{'GLQ远程维护 --> 交互维护命令--> PING命令'}
|
||||
</div>
|
||||
);
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// GLQ远程维护 --> 交互维护命令--> 系统时间
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
{'GLQ远程维护 --> 交互维护命令--> 系统时间'}
|
||||
</div>
|
||||
);
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// GLQ远程维护 --> 交互维护命令-->TELNET命令
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
{'GLQ远程维护 --> 交互维护命令-->TELNET命令'}
|
||||
</div>
|
||||
);
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// GLQ远程维护
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
aaaa
|
||||
</div>
|
||||
);
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// 网络GLQ配置
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
aaaa
|
||||
</div>
|
||||
);
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// GLQ远程维护 --> 交互维护命令--> 当前IP
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
{'GLQ远程维护 --> 交互维护命令--> 当前IP'}
|
||||
</div>
|
||||
);
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// GLQ远程维护 --> 交互维护命令--> 当前IP
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
{'GLQ远程维护 --> 交互维护命令--> 当前IP'}
|
||||
</div>
|
||||
);
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// GLQ远程维护 --> 交互维护命令--> 当前IP
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
{'GLQ远程维护 --> 交互维护命令--> 当前IP'}
|
||||
</div>
|
||||
);
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// GLQ远程维护 --> 交互维护命令--> 当前IP
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
{'GLQ远程维护 --> 交互维护命令--> 当前IP'}
|
||||
</div>
|
||||
);
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// GLQ远程维护 --> 交互维护命令--> 当前IP
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
{'GLQ远程维护 --> 交互维护命令--> 当前IP'}
|
||||
</div>
|
||||
);
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
import styles from './index.less';
|
||||
|
||||
// 网络MMJ管理
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
aaaa
|
||||
</div>
|
||||
);
|
||||
}
|
Loading…
Reference in new issue