import ContentWarp from '@/components/ContentWarp'; import styles from '../../index.less'; import { ConfigProvider, Form, Input, Table } from 'antd'; import ButtonComp from '@/components/ButtonComp'; import { useState } from 'react'; import { tableTheme } from '@/utils/theme'; // 网络GLQ配置 --> 远程文件配置--> 安全策略 export default function Page() { const [form] = Form.useForm(); const [tableData, setTableData] = useState([]); const [total, setTotal] = useState(0); const onFinish = (values: any) => { console.log('表单提交:', values); }; const columns: any = [ { title: '序号', key: 'index', align: 'center', width: 100, render: (text: any, record: any, index: any) => { return {index + 1}; }, }, { title: '单位名称', dataIndex: 'name', key: 'name', align: 'center', }, { title: '设备名称', dataIndex: 'age', key: 'age', align: 'center', }, { title: '设备IP', dataIndex: 'age', key: 'age', align: 'center', }, { title: '电话号码', dataIndex: 'name', key: 'name', align: 'center', }, { title: '设备属性', dataIndex: 'age', key: 'age', align: 'center', }, { title: '设备型号', dataIndex: 'age', key: 'age', align: 'center', }, ] const rowClassName = (record:any, index: any) => { return index % 2 === 0 ? 'even-row' : 'odd-row'; }; return (
配置隔离器与外网设备通信白名单列表
record?.id} rowClassName={rowClassName} />
form.submit()} />
尚未连接普密对外服务器!
{ }} />
); }