master_basic
鲁誉程 1 year ago
parent 406d151ebd
commit 2c5e79374d

@ -10,6 +10,7 @@
},
"dependencies": {
"antd": "^5.11.2",
"moment": "^2.29.4",
"umi": "^4.0.88"
},
"devDependencies": {

@ -3,7 +3,7 @@ import styles from './index.less';
interface PageProps {
style?: any; // 样式
text: string; // 标题
text: any; // 标题区域
children?: any; // 插槽内容
}

@ -3,11 +3,19 @@ import { Outlet, history, useLocation } from 'umi';
import styles from './index.less';
import { useEffect, useState } from 'react';
import { MenuType, tabsType } from '@/utils/menu';
import { Select, message } from 'antd';
import { ConfigProvider, Select, message } from 'antd';
import LeftMenuOne from '@/layouts/LeftMenuOne';
import LeftMenuTwo from '@/layouts/LeftMenuTwo';
import BottomConfigInfo from '@/layouts/BottomConfigInfo';
import zhCN from 'antd/es/locale/zh_CN';
import dayjs from 'dayjs';
import theme from '@/styles/antd.theme';
import 'dayjs/locale/zh-cn';
dayjs.locale('zh-cn');
const options2 = [
{ value: 1, label: 'GLQ管理' },
{ value: 2, label: 'MY管理' },
@ -95,6 +103,12 @@ export default function Layout() {
}, [selectVal])
return (
<ConfigProvider
locale={zhCN}
autoInsertSpaceInButton={false}
componentSize="middle"
theme={theme}
>
<div id={styles.layout_main}>
{/* 顶部导航 */}
<div className={styles.nav_warp}>
@ -200,5 +214,6 @@ export default function Layout() {
</div>
</div>
</div>
</ConfigProvider>
);
}

@ -36,7 +36,7 @@ export default function Page() {
<div className='pd20'></div>
<div className='line'></div>
<div className='pd20 pb100'>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
@ -46,7 +46,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<Form form={form} layout={'inline'} onFinish={onFinish} className='mt20'>
<Form.Item name="aaa" label="普密对外服务器IP仅Ⅱ型隔离器时需配置此项" rules={[{ required: true, message: '请输入普密对外服务器IP' }]} >

@ -48,7 +48,6 @@ export default function Page() {
</div>
</Form>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
@ -58,7 +57,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className={styles.btn_warp}>
<ButtonComp style={{ marginRight: 20 }} text={'发送数据'} onClick={() => { }} />

@ -70,8 +70,6 @@ export default function Page() {
</div>
<div className='mb20'></div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -81,7 +79,7 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
);
}

@ -39,7 +39,6 @@ export default function Page() {
<ButtonComp type={'cancel'} text={'刷新'} onClick={() => { }} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -49,7 +48,7 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
);
}

@ -22,7 +22,6 @@ export default function Page() {
activeTab={activeTab}
onChange={(e) => setActiveTab(e)} />
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -32,7 +31,7 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
);
}

@ -41,7 +41,6 @@ export default function Page() {
<Select style={{ width: 260 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -51,7 +50,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_jE mt20 mb20'>
<ButtonComp text={'添加'} onClick={() => { }} />
@ -70,7 +68,6 @@ export default function Page() {
<div>--</div>
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -80,7 +77,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='mb20 mt20 flex_aC' >
<div style={{ marginRight: 12 }}></div>

@ -86,7 +86,6 @@ export default function Page() {
<ButtonComp type={'cancel'} text={'配发'} onClick={() => { }} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -96,7 +95,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
);
}

@ -38,7 +38,6 @@ export default function Page() {
</div>
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -48,7 +47,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
);
}

@ -69,7 +69,6 @@ export default function Page() {
<ButtonComp type={'cancel'} text={'全部'} onClick={() => { }} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -79,7 +78,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
);
}

@ -1,7 +1,7 @@
import TabsComp from '@/components/TabsComp';
import styles from '../../../GLQ/index.less';
import { useState } from 'react';
import { ConfigProvider, Form, Input, Modal, Select, Table } from 'antd';
import { Button, ConfigProvider, Form, Input, Modal, Select, Table } from 'antd';
import { tableTheme } from '@/utils/theme';
import { rowClassName } from '@/utils';
import ButtonComp from '@/components/ButtonComp';
@ -71,7 +71,6 @@ export default function Page() {
<ButtonComp type={'cancel'} text={'全部'} onClick={() => { }} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -81,7 +80,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<Modal
title="请确认或者输入产品编号"
@ -100,7 +98,8 @@ export default function Page() {
2
<div>1</div>
<div className='flex_aC'>
<Input style={{ width: 260 }} /> <ButtonComp text={'选择'} onClick={() => { }} />
<Input style={{ width: 260 }} />
<ButtonComp style={{ marginLeft: 20 }} text={'选择'} onClick={() => { }} />
</div>
</div>
<div>3 </div>

@ -54,7 +54,6 @@ export default function Page() {
<div>xxxxxxx</div>
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -64,7 +63,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_jE mt20 mb20'>
<ButtonComp text={'添加'} onClick={() => { }} />
@ -91,7 +89,6 @@ export default function Page() {
</div>
</Form>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -101,7 +98,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_jE mt20'>
<ButtonComp style={{ marginRight: 20 }} type={'cancel'} text={'移出'} onClick={() => form.submit()} />

@ -74,7 +74,6 @@ export default function Page() {
<ButtonComp type={'cancel'} text={'配发'} onClick={() => { }} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={{ x: 800, y: 41 * 11 }}
pagination={false}
@ -84,7 +83,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
);
}

@ -60,7 +60,6 @@ export default function Page() {
<ButtonComp text={'同步'} onClick={() => { }} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -70,7 +69,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='mb20' style={{ height: 1, background: '#EDEDED' }}></div>
@ -79,7 +77,6 @@ export default function Page() {
<ButtonComp type={'cancel'} text={'全部'} onClick={() => { }} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -89,7 +86,7 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
);
}

@ -31,7 +31,6 @@ export default function Page() {
<ButtonComp text={'数据导入'} onClick={() => setVisibility(true)} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 10 } : {}}
pagination={false}
@ -41,7 +40,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<Modal
title="xx部一体化对称密码管理系统"

@ -53,7 +53,7 @@ export default function Page() {
<div className={`${styles.params_warp}`}>
<ButtonComp type={'special'} text={'密钥配置查询'} onClick={() => { }} />
<ButtonComp style={{ margin: '20px 0 ' }} text={'选择设备'} onClick={() => setVisibility(true)} />
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -63,7 +63,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<Modal
title="选择设备"
@ -90,7 +89,6 @@ export default function Page() {
<ButtonComp text={'查找'} onClick={() => { }} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 8 } : {}}
pagination={false}
@ -100,7 +98,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_jE mt20'>
<ButtonComp style={{ marginRight: 20 }} text={'确定'} onClick={() => { }} />

@ -60,7 +60,6 @@ export default function Page() {
</div>
<div className='mb10'></div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
@ -70,14 +69,12 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_jE mt20'>
<ButtonComp text={'装配'} onClick={() => setVisibility(true)} />
</div>
<div className='mb10 mt30'></div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
@ -87,7 +84,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_jE mt20'>
<ButtonComp type='cancel' style={{ marginRight: 20 }} text={'过滤'} onClick={() => { }} />

@ -41,7 +41,6 @@ export default function Page() {
<div className='mt30 mb30'></div>
<div className='mb10'></div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 8 } : {}}
pagination={false}
@ -51,7 +50,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_jE mt20'>
<ButtonComp type='cancel' style={{ marginRight: 20 }} text={'过滤'} onClick={() => { }} />

@ -48,7 +48,6 @@ export default function Page() {
{/* 左侧 */}
<div style={{ width: '45%' }}>
<div className='mb20' style={{ color: '#0087DA' }}></div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 10 } : {}}
pagination={false}
@ -58,7 +57,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
{/* 中间 */}
<div className={`${styles1.center_w} mb20`}>
@ -72,7 +70,6 @@ export default function Page() {
{/* 底部 */}
<div style={{ width: '45%' }}>
<div className='mb20' style={{ color: '#0087DA' }}></div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData1.length > 0 ? { y: 41 * 10 } : {}}
pagination={false}
@ -82,7 +79,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
</div>

@ -46,7 +46,6 @@ export default function Page() {
<div>--</div>
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 9 } : {}}
pagination={false}
@ -56,7 +55,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='mb20 mt20 flex_aC' >
<div style={{ marginRight: 12 }}></div>

@ -60,7 +60,6 @@ export default function Page() {
</div>
<div className='mb10'></div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
@ -70,14 +69,12 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_jE mt20'>
<ButtonComp text={'装配'} onClick={() => { }} />
</div>
<div className='mb10 mt30'></div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
@ -87,7 +84,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_jE mt20'>
<ButtonComp type='cancel' style={{ marginRight: 20 }} text={'过滤'} onClick={() => { }} />

@ -13,14 +13,14 @@ export default function Page() {
const [htmlText, setHtmlText] = useState('<div>文本内容</div>')
const columns: any = [
{ title: '设备型号', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '设备名称', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '', align: 'center' },
]
return (
<div className={`${styles.params_warp}`}>
<TabsComp
dataSource={[{ id: 1, name: '设备照片维护' }]}
dataSource={[{ id: 1, name: '应用系统配置' }]}
activeTab={activeTab}
onChange={(e) => setActiveTab(e)} />
@ -46,7 +46,6 @@ export default function Page() {
</div>
<div style={{ width: '50%' }}>
<ButtonComp type={'special'} text={'设备列表'} onClick={() => { }} />
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 14 } : {}}
pagination={false}
@ -56,7 +55,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
</div>
</div>

@ -26,7 +26,6 @@ export default function Page() {
<div className='flex_jS'>
<div style={{ width: 'calc(50% - 20px)' }}>
<ButtonComp type={'special'} text={'设备型号列表共0条'} onClick={() => { }} />
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 14 } : {}}
pagination={false}
@ -36,8 +35,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
<div style={{ width: '50%' }}>
<div className={styles1.info}>64KB128×128</div>

@ -1,9 +1,112 @@
import styles from './index.less';
import TabsComp from '@/components/TabsComp';
import styles from '../../../GLQ/index.less';
import { useState } from 'react';
import { Checkbox, ConfigProvider, DatePicker, Input, Select, Table } from 'antd';
import { tableTheme } from '@/utils/theme';
import { rowClassName } from '@/utils';
import ButtonComp from '@/components/ButtonComp';
import ContentWarp from '@/components/ContentWarp';
export default function Page() {
const [activeTab, setActiveTab] = useState(1)
const [tableData, setTableData] = useState([]);
const columns: any = [
{ title: '单位名称', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '设备名称', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '实体标识', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '设备型号', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '网络', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '管理盘号', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '电话号码', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '接入日志', dataIndex: 'name', key: 'name', align: 'center' },
{ title: 'IP地址', dataIndex: 'name', key: 'name', align: 'center' },
{ title: '注册日期', dataIndex: 'name', key: 'name', align: 'center' }
]
let mr30 = { marginRight: 30 }
return (
<div className={`${styles.params_warp}`}>
<TabsComp
dataSource={[{ id: 1, name: '管理盘维护' }]}
activeTab={activeTab}
onChange={(e) => setActiveTab(e)} />
<div className='mt30 mb30'></div>
<div className='flex_aC_jS'>
{/* 左 */}
<div style={{ width: '30%' }}>
<div className='flex_aC_jS' style={{ marginBottom: 70 }}>
<div style={{ width: '45%' }}>
<div className='mb10'></div>
<Input style={mr30} />
</div>
<div style={{ width: '45%' }}>
<div className='mb10'></div>
<Input style={mr30} />
</div>
</div>
<div>
<div className='mt20 mb10'></div>
<Input style={mr30} />
</div>
<div className='mt10' style={{ color: '#666666' }}></div>
</div>
{/* 中 */}
<div className='flex_aC_jS' style={{ width: '30%' }}>
<div style={{ width: '45%' }}>
<div className='mb10'></div>
<Input style={mr30} />
<div className='mb10 mt20'></div>
<Input style={mr30} />
<div className='mb10 mt20'></div>
<Input style={mr30} />
</div>
<div style={{ width: '45%' }}>
<div className='mb10'></div>
<Select style={{ width: '100%' }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
<div className='mb10 mt20'></div>
<Select style={{ width: '100%' }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
<div className='mb10 mt20'></div>
<Select style={{ width: '100%' }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>
</div>
{/* 右 */}
<div style={{ width: '30%' }}>
<ContentWarp
style={{ padding: '60px 20px 20px 20px' }}
text={<Checkbox onChange={() => { }}></Checkbox>}
>
<div className='flex_aC' style={{ marginBottom: 30 }}>
<div className='mr16'></div>
<DatePicker style={{ width: '70%' }} onChange={(e) => { }} />
</div>
<div className='flex_aC' style={{ marginBottom: 30 }}>
<div className='mr16'></div>
<DatePicker style={{ width: '70%' }} onChange={(e) => { }} />
</div>
</ContentWarp>
</div>
</div>
<div className='flex_jE mt20 mb20'>
<ButtonComp text={'查询'} onClick={() => { }} />
</div>
<ButtonComp type={'special'} text={'查找结果'} onClick={() => { }} />
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
bordered
columns={columns}
dataSource={tableData}
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</div>
);
}

@ -30,7 +30,6 @@ export default function Page() {
onChange={(e) => setActiveTab(e)} />
<ButtonComp type={'special'} text={'管理盘列表共0条'} onClick={() => { }} />
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
@ -40,8 +39,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_jE mt20 mb20'>
<ButtonComp style={{ marginRight: 20 }} type={'cancel'} text={'刷新'} onClick={() => { }} />
<ButtonComp style={{ marginRight: 20 }} text={'导入'} onClick={() => { }} />
@ -49,7 +46,6 @@ export default function Page() {
</div>
<ButtonComp type={'special'} text={'管理盘文件列表'} onClick={() => { }} />
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
@ -59,7 +55,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
);
}

@ -26,7 +26,6 @@ export default function Page() {
</Radio.Group>
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
@ -36,7 +35,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_jE mt30'>
<ButtonComp type={'cancel'} text={'执勤区信息'} onClick={() => { }} />

@ -52,7 +52,6 @@ export default function Page() {
<ContentWarp text={'核心区信息'}>
<div className='pd20'>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
@ -62,7 +61,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
</ContentWarp>
@ -96,7 +94,7 @@ export default function Page() {
<ButtonComp type='cancel' style={{ marginRight: 20 }} text={'修改'} onClick={() => { }} />
<ButtonComp type='cancel' text={'删除'} onClick={() => { }} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
@ -106,7 +104,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</div>
);
}

@ -20,7 +20,6 @@ export default function Page() {
<ButtonComp style={{ marginBottom: 40 }} type={'special'} text={'报号维护'} onClick={() => { }} />
<ButtonComp type={'special'} text={'管理系统列表'} onClick={() => { }} />
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
@ -30,8 +29,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_jE mt30'>
<ButtonComp type={'cancel'} text={'查询版本'} onClick={() => { }} />
</div>

@ -22,7 +22,6 @@ export default function Page() {
<ButtonComp style={{ marginBottom: 40 }} type={'special'} text={'远程维护'} onClick={() => { }} />
<ButtonComp type={'special'} text={'下级管理系统信息'} onClick={() => { }} />
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 5 } : {}}
pagination={false}
@ -32,7 +31,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_jE mt30'>
<ButtonComp type={'cancel'} text={'查询版本'} onClick={() => { }} />

@ -53,7 +53,7 @@ export default function Page() {
<div className='mr16'></div>
<Select style={{ width: 260 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 12 } : {}}
pagination={false}
@ -63,7 +63,7 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</ContentWarp>
</div>
<div style={{ width: '60%' }}>
@ -71,7 +71,7 @@ export default function Page() {
<div className='flex_jE mb20'>
<ButtonComp text={'查询'} onClick={() => { }} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 4 } : {}}
pagination={false}
@ -81,10 +81,10 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</ContentWarp>
<ContentWarp text={'安装配置成功记录'} style={{ padding: '48px 20px 20px 20px', marginTop: 28, minHeight: '240px' }}>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 4 } : {}}
pagination={false}
@ -94,7 +94,7 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</ContentWarp>
</div>
</div>

@ -45,7 +45,6 @@ export default function Page() {
<div style={{ width: 'calc(40% - 20px)', marginRight: 20 }}>
<ContentWarp text={'算法安装配置'} style={{ padding: '45px 20px 20px 20px', minHeight: '602px' }}>
<div className='mb20'></div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 12 } : {}}
pagination={false}
@ -55,7 +54,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</ContentWarp>
</div>
<div style={{ width: '60%' }}>
@ -63,7 +61,7 @@ export default function Page() {
<div className='flex_jE mb20'>
<ButtonComp text={'查询'} onClick={() => { }} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 4 } : {}}
pagination={false}
@ -73,10 +71,9 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</ContentWarp>
<ContentWarp text={'安装配置成功记录'} style={{ padding: '48px 20px 20px 20px', marginTop: 28, minHeight: '230px' }}>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 4 } : {}}
pagination={false}
@ -86,7 +83,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
</ContentWarp>
</div>
</div>

@ -40,8 +40,6 @@ export default function Page() {
<div style={{ marginRight: 12 }}></div>
<Select style={{ width: 200 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 10 } : {}}
pagination={false}
@ -51,8 +49,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_aC_jS mt30'>
<ButtonComp text={'查看记录'} onClick={() => { }} />
<ButtonComp text={'配发'} onClick={() => { }} />

@ -32,8 +32,6 @@ export default function Page() {
return (
<div className={`${styles.params_warp}`}>
<ButtonComp style={{ marginBottom: 30 }} type={'special'} text={'算法信息维护'} onClick={() => { }} />
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 10 } : {}}
pagination={false}
@ -43,8 +41,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_aC_jS mt30'>
<ButtonComp text={'导入算法'} onClick={() => { }} />
<div className='flex_aC_jS'>

@ -53,8 +53,6 @@ export default function Page() {
<Select style={{ width: 200 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 10 } : {}}
pagination={false}
@ -64,8 +62,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_aC_jS mt30'>
<ButtonComp text={'查看记录'} onClick={() => { }} />
<ButtonComp text={'配发'} onClick={() => { }} />

@ -40,7 +40,6 @@ export default function Page() {
<Select style={{ width: 200 }} onChange={(e) => { }} options={[{ label: '选项1', value: 1 }]} />
</div>
<ConfigProvider theme={tableTheme}>
<Table
scroll={tableData.length > 0 ? { y: 41 * 10 } : {}}
pagination={false}
@ -50,7 +49,6 @@ export default function Page() {
rowKey={(record: any) => record?.id}
rowClassName={rowClassName}
/>
</ConfigProvider>
<div className='flex_aC_jS mt30'>
<ButtonComp text={'导入参数'} onClick={() => { }} />

@ -0,0 +1,30 @@
export const theme =
{
token: {
colorPrimary: '#3FAFE2',
colorInfo: '#3FAFE2',
colorLink: '#3FAFE2',
borderRadius: 4,
fontSizeLG:14
},
components: {
Radio: {
radioSize: 16,
dotSize: 6,
},
Modal: {
titleFontSize: 16,
titleLineHeight: 1,
titleColor: "#000"
},
Table: {
headerBg: 'linear-gradient(180deg, #FFFFFF 0%, #DEE7EB 100%)',
headerBorderRadius: 0,
headerColor: '#191919',
rowHoverBg: '#e6f4ff'
},
},
}
export default theme;

@ -54,6 +54,14 @@
margin-bottom: 30px;
}
.mr30 {
margin-right: 30px;
}
.ml30 {
margin-left: 30px;
}
.line {
width: 100%;

Loading…
Cancel
Save