master_basic
鲁誉程 12 months ago
parent 4a1745a29c
commit f500a93d79

@ -1,5 +1,13 @@
const routes = [
{ path: '/', redirect: '/teamViewer/paramsSetting', },
{ path: '/', redirect: '/index', },
// 桌面
{ path: '/index', name: '桌面', component: '@/pages/index', layout: false },
// ------------------------------流程------------------------------
{ path: '/installExe', name: '01MMD049安装.exe', component: '@/pages/InstallExe', layout: false },
{ path: '/initialSystem', name: '初装系统', component: '@/pages/InitialSystem', layout: false },
{ path: '/coreSystemEntrance', name: '核心管理系统', component: '@/pages/CoreSystemEntrance', layout: false },
// ------------------------------GLQ远程维护----------------------------------
// 建立远程链接

@ -0,0 +1,51 @@
.entrance {
width: 100vw;
min-height: 100vh;
background: #E8F7FF;
.text_warp {
width: 80vw;
margin: 0 auto;
div {
text-align: center;
}
div:nth-child(1) {
font-size: 32px;
font-weight: 600;
padding-top: 20vh;
}
div:nth-child(2) {
font-size: 45px;
font-weight: 600;
margin: 10vh 0;
letter-spacing: 2px;
}
div:nth-child(3) {
font-size: 30px;
}
}
.prompt {
position: fixed;
bottom: 4vh;
right: 3vw;
font-size: 18px;
color: red;
}
}
.login_warp {
display: flex;
align-items: center;
.imges {
width: 100px;
height: 120px;
margin-right: 20px;
background-color: saddlebrown;
}
}

@ -0,0 +1,86 @@
import { FC, useEffect, useState } from 'react';
import { history, useLocation } from "umi";
import styles from './index.less';
import { Input, Modal } from 'antd';
import ButtonComp from '@/components/ButtonComp';
interface PageProps { }
const CoreSystemEntrance: FC<PageProps> = ({ }) => {
const [visibility, setVisibility] = useState<boolean>(false);
const [key, setKey] = useState<string>('一');
const [pin, setPin] = useState<any>('');
useEffect(() => {
function handleKeyPress(e: any) {
if (e.key === 'Enter') {
setVisibility(true)
}
}
// 添加事件监听器
document.addEventListener('keydown', handleKeyPress);
// 清除事件监听器
return () => {
document.removeEventListener('keydown', handleKeyPress);
};
}, [])
const initData = () => {
setVisibility(false);
setKey('一');
setPin('')
}
return (
<div className={styles.entrance}>
<div className={styles.text_warp}>
<div></div>
<div></div>
<div></div>
</div>
<div className={styles.prompt}>...</div>
{/* 登录弹窗 */}
<Modal
title="用户登录"
open={visibility}
centered
width={550}
onOk={() => { }}
onCancel={() => setVisibility(false)}
footer={null}
maskClosable={false}
>
<div className={styles.login_warp}>
<div className={styles.imges}></div>
<div>
<div style={{display: 'flex', alignItems: 'center'}}>
<div style={{width: 120, marginRight: 16}}>PIN</div>
<Input value={pin} onChange={(e) => setPin(e.target.value)}/>
</div>
<div className='mt20'>{key}PIN</div>
</div>
</div>
<div className='flex_jE mt20'>
<ButtonComp style={{ marginRight: 20 }} text={'确定'} onClick={() => {
if( key == '一') {
setKey('二');
setPin('')
}else {
initData()
// 登录成功进入系统
history.push('/teamViewer/paramsSetting')
}
}} />
<ButtonComp type="cancel" text={'退出'} onClick={() => initData()} />
</div>
</Modal>
</div>
)
}
export default CoreSystemEntrance

@ -95,7 +95,7 @@ export default function Page() {
</Form.Item>
</Form>
<div className='flex_aC'>
<div className='flex_aiC'>
<div className='mr20'>CtrlShift</div>
<ButtonComp text={'提交'} onClick={() => form.submit()} />
</div>

@ -0,0 +1,16 @@
import { FC, useEffect, useState } from 'react';
import { history, useLocation } from "umi";
import styles from './index.less';
interface PageProps {}
const InitialSystem: FC<PageProps> = ({}) => {
return (
<div>
</div>
)
}
export default InitialSystem

@ -0,0 +1,49 @@
.exeInstall {
width: 100vw;
min-height: 100vh;
background-color: #E8F7FF;
.title_con {
width: 100%;
padding: 2.2% 0;
text-align: center;
font-size: 24px;
font-weight: 600;
color: rgba(15, 61, 123, 0.8);
}
.box {
width: 80%;
height: 4.4vh;
background: #FFFFFF;
border-radius: 4px;
border: 1px solid #EAEAEA;
margin: 0 auto;
margin-bottom: 3vh;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
&:hover {
border-color: #41B0E2;
color: #41B0E2;
}
&:last-child {
margin-bottom: 0;
}
}
.active_box {
background-color: #41B0E2;
color: #fff;
border-color: #41B0E2;
&:hover {
color: #fff;
border-color: #41B0E2;
}
}
}

@ -0,0 +1,92 @@
import { FC, useEffect, useState } from 'react';
import { history, useLocation } from "umi";
import styles from './index.less';
import ContentWarp from '@/components/ContentWarp';
import ButtonComp from '@/components/ButtonComp';
interface PageProps { }
const InstallExe: FC<PageProps> = ({ }) => {
const [listData, setListData] = useState<any>([
// 依赖程序
{ name: 'GBase', select: false },
{ name: 'GBase升级程序', select: false },
{ name: 'FlashPlayer9', select: false },
{ name: 'xxxx1', select: false },
{ name: 'xxxx2', select: false },
{ name: 'xxxx3', select: false },
{ name: 'xxxx4', select: false },
{ name: 'xxxx5', select: false },
{ name: 'xxxx6', select: false },
// 专用核心密码管理分系统
{ name: '核心区安装程序', select: false },
{ name: '执勤区安装程序', select: false },
{ name: '密钥格式管理安装程序', select: false },
{ name: '密码资源输入输出设备驱动', select: false },
// 一体化密码机
{ name: '一体化密码机管理软件', select: false },
{ name: '一体化密码机驱动安装程序', select: false },
// JJP903C密码钥匙
{ name: '认证服务器Install', select: false },
{ name: '用户登录组件', select: false },
])
let sty = { width: '28.5%', padding: '7vh 3vh 3vh 3vh' };
const itemDom = (item: any, index: number) => {
return (
<div className={`${styles.box} ${item.select ? styles.active_box : ''}`} key={index}
onClick={() => {
listData.forEach((data: any) => {
if (data.name == item.name) {
data.select = !data.select
}
})
// listData.filter((k: any, i: any, self: any) => {
// return i === self.findIndex((t: any) => (
// t.id === k.id && t.name === k.name
// ));
// });
setListData([...listData])
}}>
{item.name}
</div>
)
}
return (
<div className={styles.exeInstall}>
<div className={styles.title_con}></div>
<div className='flex_acB_jE'>
{/* 左 */}
<ContentWarp style={sty} text={'依赖程序'}>
{ listData.slice(0, 9).map((item: any, index: number) => { return itemDom(item, index) })}
</ContentWarp>
{/* 中 */}
<ContentWarp style={sty} text={'专用核心密码管理分系统'}>
{
listData.slice(9, 13).map((item: any, index: number) => { return itemDom(item, index) })}
</ContentWarp>
{/* 右 */}
<div style={{ width: '28.5%' }}>
<ContentWarp style={{ marginBottom: '8%', padding: '7vh 3vh 3vh 3vh', height: '25.7vh' }} text={'一体化密码机'}>
{
listData.slice(13, 15).map((item: any, index: number) => { return itemDom(item, index) })}
</ContentWarp>
<ContentWarp text={'JJP903C密码钥匙'} style={{ padding: '7vh 3vh 3vh 3vh', height: '25.7vh' }}>
{
listData.slice(15, 17).map((item: any, index: number) => { return itemDom(item, index) })}
</ContentWarp>
</div>
</div>
<div className='flex_jE' style={{ marginTop: '3vh', paddingRight: '4.5vh' }}>
<ButtonComp text={'退出'} onClick={() => history.push('/index')} />
</div>
</div>
)
}
export default InstallExe

@ -37,7 +37,7 @@ export default function Page() {
<ContentWarp text={'包封结果'}>
<div className='pd20'>
<div className='flex_aC'>
<div className='flex_aiC'>
<div style={{ marginRight: 30 }}></div>
<Select style={{ width: 260 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
@ -45,7 +45,7 @@ export default function Page() {
<Select style={{ width: 260 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>
<div className='flex_aC mt20'>
<div className='flex_aiC mt20'>
<div className='mr16' ></div>
<Select style={{ width: 260 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />

@ -36,7 +36,7 @@ export default function Page() {
activeTab={activeTab}
onChange={(e) => setActiveTab(e)} />
<div className='flex_aC mb20' >
<div className='flex_aiC mb20' >
<div style={{ marginRight: 12 }}></div>
<Select style={{ width: 260 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>
@ -57,13 +57,13 @@ export default function Page() {
<div className='mb20' style={{ height: 1, background: '#EDEDED' }}></div>
<div className='mb20 flex_aC' >
<div className='mb20 flex_aiC' >
<div style={{ marginRight: 12 }}></div>
<Select style={{ width: 260, marginRight: 20 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
<ButtonComp text={'查询'} onClick={() => { }} />
</div>
<div className='flex_aC_jS mb20 mt20'>
<div className='flex_aiC_jB mb20 mt20'>
<div> --</div>
<div>--</div>
</div>
@ -78,13 +78,13 @@ export default function Page() {
rowClassName={rowClassName}
/>
<div className='mb20 mt20 flex_aC' >
<div className='mb20 mt20 flex_aiC' >
<div style={{ marginRight: 12 }}></div>
<Input style={{ width: 260, marginRight: 50 }} />
<div>--</div>
</div>
<div className='flex_aC_jS mt20'>
<div className='flex_aiC_jB mt20'>
<ButtonComp text={'添加'} onClick={() => { }} />
<div className='flex_jE'>
<ButtonComp style={{ marginRight: 20 }} type={'cancel'} text={'移出'} onClick={() => { }} />

@ -81,7 +81,7 @@ export default function Page() {
</Form.Item>
</Form>
<div className='mb20 flex_aC_jS'>
<div className='mb20 flex_aiC_jB'>
<div></div>
<ButtonComp type={'cancel'} text={'配发'} onClick={() => { }} />
</div>

@ -30,7 +30,7 @@ export default function Page() {
activeTab={activeTab}
onChange={(e) => setActiveTab(e)} />
<div className='mb20 flex_aC_jS'>
<div className='mb20 flex_aiC_jB'>
<div></div>
<div style={{ display: 'flex' }}>
<ButtonComp style={{ marginRight: 20 }} type={'cancel'} text={'密钥体格式导入'} onClick={() => { }} />

@ -64,7 +64,7 @@ export default function Page() {
<ButtonComp text={'查询'} onClick={() => form.submit()} />
</div>
<div className='mb20 flex_aC_jS'>
<div className='mb20 flex_aiC_jB'>
<div></div>
<ButtonComp type={'cancel'} text={'全部'} onClick={() => { }} />
</div>

@ -66,7 +66,7 @@ export default function Page() {
<ButtonComp text={'查询'} onClick={() => form.submit()} />
</div>
<div className='mb20 flex_aC_jS'>
<div className='mb20 flex_aiC_jB'>
<div></div>
<ButtonComp type={'cancel'} text={'全部'} onClick={() => { }} />
</div>
@ -97,7 +97,7 @@ export default function Page() {
<div className='mb20'>
2
<div>1</div>
<div className='flex_aC'>
<div className='flex_aiC'>
<Input style={{ width: 260 }} />
<ButtonComp style={{ marginLeft: 20 }} text={'选择'} onClick={() => { }} />
</div>

@ -46,7 +46,7 @@ export default function Page() {
activeTab={activeTab}
onChange={(e) => setActiveTab(e)} />
<div className='mb20 flex_aC_jS'>
<div className='mb20 flex_aiC_jB'>
<Radio.Group>
<Radio value="1" style={{ marginRight: 100 }}> </Radio>
<Radio value="2"> </Radio>

@ -69,7 +69,7 @@ export default function Page() {
</Form.Item>
</Form>
<div className='mb20 flex_aC_jS'>
<div className='mb20 flex_aiC_jB'>
<div></div>
<ButtonComp type={'cancel'} text={'配发'} onClick={() => { }} />
</div>

@ -43,7 +43,7 @@ export default function Page() {
<ButtonComp type={'special'} text={'向专用密码管理系统配发密钥体'} onClick={() => { }} />
</div>
<div className='flex_aC mt20 mb20'>
<div className='flex_aiC mt20 mb20'>
<div style={{ marginRight: 12 }}></div>
<Select style={{ width: 260 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
<div className='ml20' style={{ marginRight: 12 }}></div>
@ -72,7 +72,7 @@ export default function Page() {
<div className='mb20' style={{ height: 1, background: '#EDEDED' }}></div>
<div className='mb20 flex_aC_jS'>
<div className='mb20 flex_aiC_jB'>
<div></div>
<ButtonComp type={'cancel'} text={'全部'} onClick={() => { }} />
</div>

@ -27,7 +27,7 @@ export default function Page() {
<div className={`${styles.params_warp}`}>
<ButtonComp type={'special'} text={'管理系统管理盘数据维护'} onClick={() => { }} />
<div className='flex_aC mt20 mb20'>
<div className='flex_aiC mt20 mb20'>
<ButtonComp text={'数据导入'} onClick={() => setVisibility(true)} />
</div>

@ -73,7 +73,7 @@ export default function Page() {
onCancel={() => setVisibility(false)}
footer={null}>
<div className='flex_aC mb20 pt10'>
<div className='flex_aiC mb20 pt10'>
<div className='mr16'></div>
<Select style={{ width: 120, marginRight: 20 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />

@ -41,14 +41,14 @@ export default function Page() {
<div className={`${styles.params_warp}`}>
<ButtonComp type={'special'} text={'管理密钥装配'} onClick={() => { }} />
<div className='flex_aC mt20 mb20'>
<div className='flex_aiC mt20 mb20'>
<Radio.Group>
<Radio value="1" style={{ marginRight: 100 }}> 使 </Radio>
<Radio value="2"> </Radio>
</Radio.Group>
</div>
<div className='flex_aC mt20 mb20'>
<div className='flex_aiC mt20 mb20'>
<div className='mr16'></div>
<Select style={{ width: 260, marginRight: 20 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />

@ -30,7 +30,7 @@ export default function Page() {
<div className={`${styles.params_warp}`}>
<ButtonComp type={'special'} text={'专用密钥装配'} onClick={() => { }} />
<div className='flex_aC mt20 mb20'>
<div className='flex_aiC mt20 mb20'>
<div className='mr16'></div>
<Select style={{ width: 260, marginRight: 20 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />

@ -35,16 +35,16 @@ export default function Page() {
<div className={`${styles.params_warp}`}>
<ButtonComp type={'special'} text={'管理系统管理盘数据维护'} onClick={() => { }} />
<div className='flex_aC mt20'>
<div className='flex_aiC mt20'>
<div className='mr16'></div>
<Select style={{ width: 260 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>
<div className='flex_aC mt20 mb20'>
<div className='flex_aiC mt20 mb20'>
<ButtonComp text={'数据导入'} onClick={() => { }} />
</div>
<div className='flex_jS'>
<div className='flex_jB'>
{/* 左侧 */}
<div style={{ width: '45%' }}>
<div className='mb20' style={{ color: '#0087DA' }}></div>

@ -28,20 +28,20 @@ export default function Page() {
activeTab={activeTab}
onChange={(e) => setActiveTab(e)} />
<div className='flex_aC mb20' >
<div className='flex_aiC mb20' >
<div style={{ marginRight: 12 }}></div>
<Select style={{ width: 260 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>
<div className='mb20' style={{ height: 1, background: '#EDEDED' }}></div>
<div className='mb20 flex_aC' >
<div className='mb20 flex_aiC' >
<div style={{ marginRight: 12 }}></div>
<Select style={{ width: 260, marginRight: 20 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
<ButtonComp text={'查询'} onClick={() => { }} />
</div>
<div className='flex_aC_jS mb20 mt20'>
<div className='flex_aiC_jB mb20 mt20'>
<div> --</div>
<div>--</div>
</div>
@ -56,13 +56,13 @@ export default function Page() {
rowClassName={rowClassName}
/>
<div className='mb20 mt20 flex_aC' >
<div className='mb20 mt20 flex_aiC' >
<div style={{ marginRight: 12 }}></div>
<Input style={{ width: 260, marginRight: 50 }} />
<div>--</div>
</div>
<div className='flex_aC_jS mt20'>
<div className='flex_aiC_jB mt20'>
<ButtonComp text={'添加'} onClick={() => { }} />
<div className='flex_jE'>
<ButtonComp style={{ marginRight: 20 }} type={'cancel'} text={'移出'} onClick={() => { }} />

@ -40,7 +40,7 @@ export default function Page() {
<div className={`${styles.params_warp}`}>
<ButtonComp type={'special'} text={'用户密钥装配'} onClick={() => { }} />
<div className='flex_aC mt20 mb20'>
<div className='flex_aiC mt20 mb20'>
<div className='mr16'></div>
<Select style={{ width: 260, marginRight: 20 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
@ -51,7 +51,7 @@ export default function Page() {
<DatePicker style={{ width: 260, marginRight: 20 }} />
</div>
<div className='flex_aC mt20 mb20'>
<div className='flex_aiC mt20 mb20'>
<div className='mr16'></div>
<DatePicker style={{ width: 260, marginRight: 20 }} />

@ -3,7 +3,7 @@ import styles from './index.less';
export default function Page() {
return (
<div>
</div>
);
}

@ -25,12 +25,12 @@ export default function Page() {
onChange={(e) => setActiveTab(e)} />
<div></div>
<div className='flex_aC mt30 mb30'>
<div className='flex_aiC mt30 mb30'>
<div style={{ marginRight: 12 }}></div>
<Select style={{ width: 200, marginRight: 20 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>
<div className='flex_jS'>
<div className='flex_jB'>
<div style={{ width: 'calc(50% - 20px)' }}>
<ButtonComp type={'special'} text={'应用系统'} onClick={() => { }} />
<div className={styles.html_con}>

@ -23,7 +23,7 @@ export default function Page() {
activeTab={activeTab}
onChange={(e) => setActiveTab(e)} />
<div className='flex_jS'>
<div className='flex_jB'>
<div style={{ width: 'calc(50% - 20px)' }}>
<ButtonComp type={'special'} text={'设备型号列表共0条'} onClick={() => { }} />
<Table

@ -30,7 +30,7 @@ export default function Page() {
return (
<div>
<div className='flex_jS'>
<div className='flex_jB'>
<ContentWarp text={'注册信息'} style={{ width: 'calc(72% - 25px)' }}>
<div className='pd20'>
<Radio.Group value={layer} onChange={(e) => { setLayer(e.target.value) }}>
@ -39,7 +39,7 @@ export default function Page() {
<Radio value={3} style={{ marginRight: 70 }}> </Radio>
<Radio value={4} > </Radio>
</Radio.Group>
<div className='mb10 mt20 flex_aC'>
<div className='mb10 mt20 flex_aiC'>
<div style={{ marginRight: 80 }}>1</div>
<div className='mr16'></div>
<Radio.Group>
@ -47,30 +47,30 @@ export default function Page() {
<Radio value="2" > </Radio>
</Radio.Group>
</div>
<div className='flex_jS' style={{ flexWrap: 'nowrap' }}>
<div className='flex_jB' style={{ flexWrap: 'nowrap' }}>
<div style={{ width: '50%', minWidth: 450 }}>
<div className='flex_aC mt20 pl60'>
<div className='flex_aiC mt20 pl60'>
<Input style={inputSty} />
<ButtonComp text={'定位'} onClick={() => { }} />
</div>
{layer == 2 && <div className='flex_aC mt20 pl60'><Input style={inputSty} /></div>}
<div className='flex_aC mt20 pl60'><Input style={inputSty} /></div>
<div className='flex_aC mt20 pl60'><Input style={inputSty} /></div>
<div className='flex_aC mt20 pl60'>310<Input style={inputSty} /></div>
<div className='flex_aC mt20'>IP <Input style={inputSty1} /></div>
<div className='flex_aC mt20 pl60'><Input style={inputSty} /></div>
{ layer == 3 && <div className='flex_aC mt20 pl60'><Input style={inputSty} /></div>}
{layer == 2 && <div className='flex_aiC mt20 pl60'><Input style={inputSty} /></div>}
<div className='flex_aiC mt20 pl60'><Input style={inputSty} /></div>
<div className='flex_aiC mt20 pl60'><Input style={inputSty} /></div>
<div className='flex_aiC mt20 pl60'>310<Input style={inputSty} /></div>
<div className='flex_aiC mt20'>IP <Input style={inputSty1} /></div>
<div className='flex_aiC mt20 pl60'><Input style={inputSty} /></div>
{ layer == 3 && <div className='flex_aiC mt20 pl60'><Input style={inputSty} /></div>}
</div>
<div style={{ width: '50%', minWidth: 400 }}>
<div className='flex_aC mt20 pl55'><Input style={inputSty} /></div>
<div className='flex_aiC mt20 pl55'><Input style={inputSty} /></div>
{layer == 2 && <>
<div className='flex_aC mt20'>IP<Input style={inputSty} /></div>
<div className='flex_aC mt20'>IP<Input style={inputSty} /></div>
<div className='flex_aiC mt20'>IP<Input style={inputSty} /></div>
<div className='flex_aiC mt20'>IP<Input style={inputSty} /></div>
</>}
<div className='flex_aC mt20 pl55'><Input style={inputSty} /></div>
<div className='flex_aC mt20 pl70'><Input style={inputSty} /></div>
<div className='flex_aC mt20 pl55'> <Input style={inputSty1} /></div>
<div className='flex_aC mt20 pl55'><Input style={inputSty} /></div>
<div className='flex_aiC mt20 pl55'><Input style={inputSty} /></div>
<div className='flex_aiC mt20 pl70'><Input style={inputSty} /></div>
<div className='flex_aiC mt20 pl55'> <Input style={inputSty1} /></div>
<div className='flex_aiC mt20 pl55'><Input style={inputSty} /></div>
</div>
</div>
</div>

@ -29,37 +29,37 @@ export default function Page() {
return (
<div>
<div className='flex_jS'>
<div className='flex_jB'>
<ContentWarp text={'注册信息'} style={{ width: 'calc(70% - 25px)' }}>
<div className='pd20'>
<div className='mb10'>1</div>
<div className='flex_aC_jS' style={{flexWrap: 'nowrap'}}>
<div className='flex_aiC_jB' style={{flexWrap: 'nowrap'}}>
<div style={{ width: '50%', minWidth: 450 }}>
<div className='flex_aC mt20'>
<div className='flex_aiC mt20'>
<Input style={inputSty} />
<ButtonComp text={'定位'} onClick={() => { }} />
</div>
<div className='flex_aC mt20'><Input style={inputSty} /></div>
<div className='flex_aC mt20'>
<div className='flex_aiC mt20'><Input style={inputSty} /></div>
<div className='flex_aiC mt20'>
<Input style={inputSty} />
<Select style={{width: 64, marginLeft: 12}} />
</div>
<div className='flex_aC mt20'><Input style={inputSty} /></div>
<div className='flex_aC mt20'><Input style={inputSty} /></div>
<div className='flex_aC mt20'>310 <Input style={inputSty1}/></div>
<div className='flex_aC mt20'>
<div className='flex_aiC mt20'><Input style={inputSty} /></div>
<div className='flex_aiC mt20'><Input style={inputSty} /></div>
<div className='flex_aiC mt20'>310 <Input style={inputSty1}/></div>
<div className='flex_aiC mt20'>
<Input style={inputSty} />
<ButtonComp text={'选择'} onClick={() => { }} />
</div>
</div>
<div style={{ width: '50%', minWidth: 400 }}>
<div className='flex_aC mt20'><Input style={inputSty} /></div>
<div className='flex_aC mt20'><Input style={inputSty} /></div>
<div className='flex_aC mt20'><Input style={inputSty} /></div>
<div className='flex_aC mt20'><Input style={inputSty} /></div>
<div className='flex_aC mt20'><Input style={inputSty} /></div>
<div className='flex_aC mt20'>310 <Input style={inputSty1}/></div>
<div className='flex_aC mt20'><Input style={inputSty} /></div>
<div className='flex_aiC mt20'><Input style={inputSty} /></div>
<div className='flex_aiC mt20'><Input style={inputSty} /></div>
<div className='flex_aiC mt20'><Input style={inputSty} /></div>
<div className='flex_aiC mt20'><Input style={inputSty} /></div>
<div className='flex_aiC mt20'><Input style={inputSty} /></div>
<div className='flex_aiC mt20'>310 <Input style={inputSty1}/></div>
<div className='flex_aiC mt20'><Input style={inputSty} /></div>
</div>
</div>
</div>
@ -75,13 +75,13 @@ export default function Page() {
</div>
</div>
<div className='flex_aC_jS mt30 mb30'>
<div className='flex_aC'>
<div className='flex_aiC_jB mt30 mb30'>
<div className='flex_aiC'>
<ButtonComp style={{ marginRight: 20 }} text={'批量设备注册'} onClick={() => { }} />
<ButtonComp style={{ marginRight: 20 }} text={'批量导入导出'} onClick={() => { }} />
<ButtonComp text={'密钥分发平台设备导入'} onClick={() => { }} />
</div>
<div className='flex_aC'>
<div className='flex_aiC'>
<ButtonComp style={{ marginRight: 20 }} type={'cancel'} text={'修改'} onClick={() => { }} />
<ButtonComp style={{ marginRight: 20 }} type={'cancel'} text={'添加'} onClick={() => { }} />
<ButtonComp style={{ marginRight: 20 }} type={'cancel'} text={'注销'} onClick={() => { }} />

@ -35,10 +35,10 @@ export default function Page() {
<div className='mt30 mb30'></div>
<div className='flex_aC_jS'>
<div className='flex_aiC_jB'>
{/* 左 */}
<div style={{ width: '30%' }}>
<div className='flex_aC_jS' style={{ marginBottom: 70 }}>
<div className='flex_aiC_jB' style={{ marginBottom: 70 }}>
<div style={{ width: '45%' }}>
<div className='mb10'></div>
<Input style={mr30} />
@ -56,7 +56,7 @@ export default function Page() {
</div>
{/* 中 */}
<div className='flex_aC_jS' style={{ width: '30%' }}>
<div className='flex_aiC_jB' style={{ width: '30%' }}>
<div style={{ width: '45%' }}>
<div className='mb10'></div>
<Input style={mr30} />
@ -81,11 +81,11 @@ export default function Page() {
style={{ padding: '60px 20px 20px 20px' }}
text={<Checkbox onChange={() => { }}></Checkbox>}
>
<div className='flex_aC' style={{ marginBottom: 30 }}>
<div className='flex_aiC' style={{ marginBottom: 30 }}>
<div className='mr16'></div>
<DatePicker style={{ width: '70%' }} onChange={(e) => { }} />
</div>
<div className='flex_aC' style={{ marginBottom: 30 }}>
<div className='flex_aiC' style={{ marginBottom: 30 }}>
<div className='mr16'></div>
<DatePicker style={{ width: '70%' }} onChange={(e) => { }} />
</div>

@ -31,12 +31,12 @@ export default function Page() {
activeTab={activeTab}
onChange={(e) => setActiveTab(e)} />
<div className='flex_aC_jS mb20'>
<div className='flex_aiC_jB mb20'>
<ContentWarp
style={{ padding: '50px 20px 20px 20px', width: 'calc(100% - 140px)' }}
text={'数据收集共0条'}
>
<div className='flex_aC mb20'>
<div className='flex_aiC mb20'>
<div>20</div>
<ButtonComp style={{ marginLeft: 40 }} text={'设置'} onClick={() => { }} />
</div>
@ -71,12 +71,12 @@ export default function Page() {
style={{ padding: '50px 20px 20px 20px', marginTop: 32 }}
text={'数据上报'}
>
<div className='flex_aC mb20'>
<div className='flex_aiC mb20'>
<div>20</div>
<ButtonComp style={{ marginLeft: 40 }} text={'设置'} onClick={() => { }} />
</div>
<div className='flex_aC'>
<div className='flex_aiC'>
<div className='mr16'>--</div>
<Input style={{width: 260, marginRight: 120}}/>
<div className='mr16'></div>

@ -19,7 +19,7 @@ export default function Page() {
return (
<div className={`${styles.params_warp}`}>
<ButtonComp type={'special'} text={'数据同步'} onClick={() => { }} />
<div className='flex_aC mt30 mb30'>
<div className='flex_aiC mt30 mb30'>
<Radio.Group>
<Radio value="1" style={{ marginRight: 100 }}> </Radio>
<Radio value="2" style={{ marginRight: 100 }}> </Radio>

@ -42,7 +42,7 @@ export default function Page() {
return (
<div className={`${styles.params_warp}`}>
<ButtonComp type={'special'} text={'管理密钥装配'} onClick={() => { }} />
<div className='flex_aC mt30 mb30'>
<div className='flex_aiC mt30 mb30'>
<Radio.Group>
<Radio value="1" style={{ marginRight: 100 }}> </Radio>
<Radio value="2" style={{ marginRight: 100 }}> </Radio>
@ -66,7 +66,7 @@ export default function Page() {
<ButtonComp style={{ marginTop: 30 }} type={'special'} text={'执勤区信息'} onClick={() => { }} />
<div className='flex_aC mt30 mb30'>
<div className='flex_aiC mt30 mb30'>
<div className='mr16'></div>
<Select style={{ width: 260, margin: '0 20px 0 15px' }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
<div className='mr16'>IP</div>
@ -75,7 +75,7 @@ export default function Page() {
<Input style={{ width: 260 }} />
</div>
<div className='flex_aC mt20 mb20'>
<div className='flex_aiC mt20 mb20'>
<div className='mr16'></div>
<Input style={{ width: 260, marginRight: 20 }} />
<div className='mr16'>IP</div>
@ -84,7 +84,7 @@ export default function Page() {
<Select style={{ width: 260 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>
<div className='flex_aC mt20 mb20'>
<div className='flex_aiC mt20 mb20'>
<div className='mr16'></div>
<Select style={{ width: 260, marginLeft: 27 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>

@ -45,11 +45,11 @@ export default function Page() {
return (
<div className={styles.params_warp}>
<div className='flex_jS'>
<div className='flex_jB'>
<div style={{ width: 'calc(40% - 20px)', marginRight: 20 }}>
<ContentWarp text={'参数安装配置'} style={{ padding: '45px 20px 20px 20px', minHeight: '623px' }}>
<div className='mb20'></div>
<div className='mb20 mt20 flex_aC'>
<div className='mb20 mt20 flex_aiC'>
<div className='mr16'></div>
<Select style={{ width: 260 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>

@ -41,7 +41,7 @@ export default function Page() {
return (
<div className={styles.params_warp}>
<div className='flex_jS'>
<div className='flex_jB'>
<div style={{ width: 'calc(40% - 20px)', marginRight: 20 }}>
<ContentWarp text={'算法安装配置'} style={{ padding: '45px 20px 20px 20px', minHeight: '602px' }}>
<div className='mb20'></div>

@ -30,7 +30,7 @@ export default function Page() {
<div className={`${styles.params_warp}`}>
<ButtonComp type={'special'} text={'算法配发'} onClick={() => { }} />
<div className='flex_aC mt30 mb30'>
<div className='flex_aiC mt30 mb30'>
<div style={{ marginRight: 12 }}></div>
<Select style={{ width: 200, marginRight: 20 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
@ -49,7 +49,7 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
<div className='flex_aC_jS mt30'>
<div className='flex_aiC_jB mt30'>
<ButtonComp text={'查看记录'} onClick={() => { }} />
<ButtonComp text={'配发'} onClick={() => { }} />
</div>

@ -41,9 +41,9 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
<div className='flex_aC_jS mt30'>
<div className='flex_aiC_jB mt30'>
<ButtonComp text={'导入算法'} onClick={() => { }} />
<div className='flex_aC_jS'>
<div className='flex_aiC_jB'>
<ButtonComp style={{ marginRight: 20 }} text={'查询'} onClick={() => { }} />
<ButtonComp style={{ marginRight: 20 }} type={'delete'} text={'删除'} onClick={() => { }} />
<ButtonComp style={{ marginRight: 20 }} type={'cancel'} text={'恢复'} onClick={() => { }} />

@ -30,7 +30,7 @@ export default function Page() {
<div className={`${styles.params_warp}`}>
<ButtonComp type={'special'} text={'算法配发'} onClick={() => { }} />
<div className='flex_aC mt30 mb30'>
<div className='flex_aiC mt30 mb30'>
<div style={{ marginRight: 12 }}></div>
<Select style={{ width: 200, marginRight: 20 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
@ -43,9 +43,9 @@ export default function Page() {
<div className='mb30' style={{ height: 1, background: '#EDEDED' }}></div>
<div className='flex_aC_jS mb10'>
<div className='flex_aiC_jB mb10'>
<div></div>
<div className='flex_aC'>
<div className='flex_aiC'>
<div style={{ marginRight: 12 }}></div>
<Select style={{ width: 200, marginRight: 20 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
@ -62,7 +62,7 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
<div className='flex_aC_jS mt30'>
<div className='flex_aiC_jB mt30'>
<ButtonComp text={'查看记录'} onClick={() => { }} />
<ButtonComp text={'配发'} onClick={() => { }} />
</div>

@ -26,7 +26,7 @@ export default function Page() {
<div className={`${styles.params_warp}`}>
<ButtonComp type={'special'} text={'算法参数信息维护'} onClick={() => { }} />
<div className='flex_aC mt30 mb30'>
<div className='flex_aiC mt30 mb30'>
<div style={{ marginRight: 12 }}></div>
<Select style={{ width: 200, marginRight: 20 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
@ -50,9 +50,9 @@ export default function Page() {
rowClassName={rowClassName}
/>
<div className='flex_aC_jS mt30'>
<div className='flex_aiC_jB mt30'>
<ButtonComp text={'导入参数'} onClick={() => { }} />
<div className='flex_aC_jS'>
<div className='flex_aiC_jB'>
<ButtonComp style={{ marginRight: 20 }} text={'查询'} onClick={() => { }} />
<ButtonComp style={{ marginRight: 20 }} type={'delete'} text={'删除'} onClick={() => { }} />
<ButtonComp style={{ marginRight: 20 }} type={'cancel'} text={'恢复'} onClick={() => { }} />

@ -0,0 +1,33 @@
.index_con {
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.item_warp {
width: 200px;
height: 200px;
display: flex;
align-content: center;
justify-content: center;
flex-wrap: wrap;
cursor: pointer;
&:hover {
color: red;
}
:nth-child(2) {
width: 100%;
text-align: center;
margin-top: 10px;
}
}
.img {
width: 52px;
height: 52px;
background-color: saddlebrown;
}

@ -1,5 +1,34 @@
export default function HomePage() {
import styles from './index.less';
import {history} from 'umi'
export default function IndexPage() {
const list = [
{ name: '01MMD049安装.exe', img: '', url: '/installExe' },
{ name: '初装系统', img: '', url: '/initialSystem' },
{ name: '核心管理系统', img: '', url: '/coreSystemEntrance' },
{ name: '需要导出的文件', img: '', url: null },
{ name: '生成导出的文件', img: '', url: null },
]
return (
<div></div>
<div className={styles.index_con}>
{
list.map((item, index) => {
return (
<div className={styles.item_warp} key={index} onClick={()=> {
if (item.url) {
history.push(item.url)
}else if (item.name == '需要导出的文件') {
} else if (item.name == '生成导出的文件'){
}
}}>
<div className={styles.img}></div>
<div>{item.name}</div>
</div>
)
})
}
</div>
);
}

@ -42,6 +42,14 @@
padding-left: 55px;
}
.pl30 {
padding-left: 30px;
}
.pr30 {
padding-right: 30px;
}
.mt10 {
margin-top: 10px;
}
@ -89,7 +97,7 @@
background-color: #F3F5F7;
}
.flex_aC {
.flex_aiC {
display: flex;
align-items: center;
flex-wrap: wrap;
@ -101,15 +109,43 @@
flex-wrap: wrap;
}
.flex_jS {
.flex_jB {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.flex_aC_jS {
.flex_aiC_jB {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
}
.flex_aiC_jA {
display: flex;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
}
.flex_acC_jA {
display: flex;
align-content: center;
justify-content: space-around;
flex-wrap: wrap;
}
.flex_acB_jA {
display: flex;
align-content: space-between;
justify-content: space-around;
flex-wrap: wrap;
}
.flex_acB_jE {
display: flex;
align-content: space-between;
justify-content: space-evenly;
flex-wrap: wrap;
}
Loading…
Cancel
Save