|
|
|
@ -1,9 +1,113 @@
|
|
|
|
|
import styles from './index.less';
|
|
|
|
|
import ContentWarp from '@/components/ContentWarp';
|
|
|
|
|
import styles from '../../index.less';
|
|
|
|
|
import styles1 from './index.less';
|
|
|
|
|
import { Form, Input, Select } from 'antd';
|
|
|
|
|
import ButtonComp from '@/components/ButtonComp';
|
|
|
|
|
|
|
|
|
|
// 网络GLQ配置 --> 远程文件配置--> VPN策略
|
|
|
|
|
export default function Page() {
|
|
|
|
|
|
|
|
|
|
const [form] = Form.useForm();
|
|
|
|
|
|
|
|
|
|
const onFinish = (values: any) => {
|
|
|
|
|
console.log('表单提交:', values);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div>
|
|
|
|
|
{'网络GLQ配置 --> 远程文件配置--> VPN策略'}
|
|
|
|
|
<div className={`${styles.params_warp} ${styles1.params_warp1}`}>
|
|
|
|
|
<ContentWarp text={'VPN策略配置'}>
|
|
|
|
|
<div className='pd20'>配置本地Ⅰ型隔离器与对端Ⅰ型隔离器之间数据通信的VPN策略</div>
|
|
|
|
|
<div className='line'></div>
|
|
|
|
|
<div className='pd20 pb100'>
|
|
|
|
|
<Form
|
|
|
|
|
form={form}
|
|
|
|
|
onFinish={onFinish}
|
|
|
|
|
>
|
|
|
|
|
<Form.Item
|
|
|
|
|
name="a3"
|
|
|
|
|
label="单位名称"
|
|
|
|
|
rules={[
|
|
|
|
|
{ required: true, message: '请输入单位名称' },
|
|
|
|
|
]}
|
|
|
|
|
>
|
|
|
|
|
<Input style={{ width: '560px' }} />
|
|
|
|
|
</Form.Item>
|
|
|
|
|
<Form.Item
|
|
|
|
|
name="a2"
|
|
|
|
|
label="设备名称"
|
|
|
|
|
rules={[
|
|
|
|
|
{ required: true, message: '请输入设备名称' },
|
|
|
|
|
]}
|
|
|
|
|
>
|
|
|
|
|
<Input style={{ width: '560px' }} />
|
|
|
|
|
</Form.Item>
|
|
|
|
|
<Form.Item
|
|
|
|
|
name="a1"
|
|
|
|
|
label="设备IP"
|
|
|
|
|
rules={[
|
|
|
|
|
{ required: true, message: '请输入设备IP' },
|
|
|
|
|
]}
|
|
|
|
|
>
|
|
|
|
|
<Input style={{ width: '560px' }} />
|
|
|
|
|
</Form.Item>
|
|
|
|
|
<Form.Item
|
|
|
|
|
name="a5"
|
|
|
|
|
label="设备ID"
|
|
|
|
|
rules={[
|
|
|
|
|
{ required: true, message: '请输入设备ID' },
|
|
|
|
|
]}
|
|
|
|
|
>
|
|
|
|
|
<Input style={{ width: '560px' }} />
|
|
|
|
|
</Form.Item>
|
|
|
|
|
<Form.Item
|
|
|
|
|
name="a53"
|
|
|
|
|
label="报文通信策略"
|
|
|
|
|
rules={[
|
|
|
|
|
{ required: true, message: '请选择报文通信策略' },
|
|
|
|
|
]}
|
|
|
|
|
>
|
|
|
|
|
<Select
|
|
|
|
|
style={{ width: 560 }}
|
|
|
|
|
onChange={(e) => {}}
|
|
|
|
|
options={[
|
|
|
|
|
{label: '加密通信', value: 1},
|
|
|
|
|
{label: '数据明传', value: 2},
|
|
|
|
|
{label: '通信阻断', value: 3}
|
|
|
|
|
]}
|
|
|
|
|
/>
|
|
|
|
|
</Form.Item>
|
|
|
|
|
<Form.Item
|
|
|
|
|
name="a21"
|
|
|
|
|
label="PING通信策略"
|
|
|
|
|
rules={[
|
|
|
|
|
{ required: true, message: '请选择PING通信策略' },
|
|
|
|
|
]}
|
|
|
|
|
>
|
|
|
|
|
<Select
|
|
|
|
|
style={{ width: 560 }}
|
|
|
|
|
onChange={(e) => {}}
|
|
|
|
|
options={[
|
|
|
|
|
{label: '允许互PING', value: 1},
|
|
|
|
|
{label: '阻断互PING', value: 2}
|
|
|
|
|
]}
|
|
|
|
|
/>
|
|
|
|
|
</Form.Item>
|
|
|
|
|
</Form>
|
|
|
|
|
|
|
|
|
|
<div style={{display: 'flex', alignItems: 'center'}}>
|
|
|
|
|
<div className='mr20'>按住“Ctrl”或“Shift”对信息进行多选。</div>
|
|
|
|
|
<ButtonComp text={'提交'} onClick={() => form.submit()} />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className={styles.btn_warp}>
|
|
|
|
|
<div className='mr20'>
|
|
|
|
|
<ButtonComp text={'发送数据'} onClick={() => { }} />
|
|
|
|
|
</div>
|
|
|
|
|
<ButtonComp type={'cancel'} text={'信息清空'} onClick={() => form.resetFields()} />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</ContentWarp>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
}
|