);
-}
+}
\ No newline at end of file
diff --git a/src/pages/GLQ/WebGLQ/NetworkParams/index.less b/src/pages/GLQ/WebGLQ/NetworkParams/index.less
deleted file mode 100644
index e69de29..0000000
diff --git a/src/pages/GLQ/WebGLQ/NetworkParams/index.tsx b/src/pages/GLQ/WebGLQ/NetworkParams/index.tsx
index d2ef6cc..8c7520e 100644
--- a/src/pages/GLQ/WebGLQ/NetworkParams/index.tsx
+++ b/src/pages/GLQ/WebGLQ/NetworkParams/index.tsx
@@ -1,9 +1,65 @@
-import styles from './index.less';
+import ContentWarp from '@/components/ContentWarp';
+import styles from '../../index.less';
+import { Form, Input } from 'antd';
+import ButtonComp from '@/components/ButtonComp';
+// 网络GLQ配置 --> 远程文件配置--> 网络参数
export default function Page() {
+
+ const [form] = Form.useForm();
+
+ const onFinish = (values: any) => {
+ console.log('表单提交:', values);
+ };
+
+
return (
-
- {'网络GLQ配置 --> 远程文件配置--> 网络参数'}
+
);
}
diff --git a/src/pages/GLQ/WebGLQ/SecurityPolicy/index.less b/src/pages/GLQ/WebGLQ/SecurityPolicy/index.less
deleted file mode 100644
index e69de29..0000000
diff --git a/src/pages/GLQ/WebGLQ/SecurityPolicy/index.tsx b/src/pages/GLQ/WebGLQ/SecurityPolicy/index.tsx
index b4d2898..8844311 100644
--- a/src/pages/GLQ/WebGLQ/SecurityPolicy/index.tsx
+++ b/src/pages/GLQ/WebGLQ/SecurityPolicy/index.tsx
@@ -1,9 +1,87 @@
-import styles from './index.less';
+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 [page, setPage] = useState(1);
+ const [limit, setLimit] = useState(10);
+ const [total, setTotal] = useState(0);
+
+ const onFinish = (values: any) => {
+ console.log('表单提交:', values);
+ };
+
+ const columns: any = [
+ {
+ title: '序号',
+ key: 'index',
+ align: 'center',
+ render: (text: any, record: any, index: any) => {
+ return
{(page - 1) * limit + index + 1};
+ },
+ }, {
+ title: '服务名称',
+ dataIndex: 'name',
+ key: 'name',
+ align: 'center',
+ render: (text: any) =>
{text},
+ }, {
+ title: '服务器IP',
+ 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 (
-
- {'网络GLQ配置 --> 远程文件配置--> 安全策略'}
+
+
+ 配置隔离器与外网设备通信白名单列表
+
+
+
+
+
+
+
+ form.submit()} />
+
+
尚未连接普密对外服务器!
+
+
+
+ record?.id}
+ rowClassName={rowClassName}
+ />
+
+
+
+ { }} />
+
+
+
);
-}
+}
\ No newline at end of file
diff --git a/src/pages/GLQ/WebGLQ/ServiceList/index.less b/src/pages/GLQ/WebGLQ/ServiceList/index.less
deleted file mode 100644
index e69de29..0000000
diff --git a/src/pages/GLQ/WebGLQ/ServiceList/index.tsx b/src/pages/GLQ/WebGLQ/ServiceList/index.tsx
index f9d166c..e888628 100644
--- a/src/pages/GLQ/WebGLQ/ServiceList/index.tsx
+++ b/src/pages/GLQ/WebGLQ/ServiceList/index.tsx
@@ -1,9 +1,97 @@
-import styles from './index.less';
+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 [page, setPage] = useState(1);
+ const [limit, setLimit] = useState(10);
+ const [total, setTotal] = useState(0);
+
+ const onFinish = (values: any) => {
+ console.log('表单提交:', values);
+ };
+
+ const columns: any = [
+ {
+ title: '序号',
+ key: 'index',
+ align: 'center',
+ render: (text: any, record: any, index: any) => {
+ return {(page - 1) * limit + index + 1};
+ },
+ }, {
+ title: '服务名称',
+ dataIndex: 'name',
+ key: 'name',
+ align: 'center',
+ render: (text: any) => {text},
+ }, {
+ title: '服务器IP',
+ 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 (
-
- {'网络GLQ配置 --> 远程文件配置--> 服务列表'}
+
+
+ 配置隔离器与应用服务器通信参数列表
+
+
+
+
+
+
+
+
+
+
+
+ { }} />
+
+
form.submit()} />
+
+
+
+
+ record?.id}
+ rowClassName={rowClassName}
+ />
+
+
+
+
+ { }} />
+
+
{ }} />
+
+
+
);
}
+
diff --git a/src/styles/antd.less b/src/styles/antd.less
index b24fd44..f5ed534 100644
--- a/src/styles/antd.less
+++ b/src/styles/antd.less
@@ -1,4 +1,14 @@
-.ant-form-item .ant-form-item-label >label::after {
+.ant-form-item .ant-form-item-label>label::after {
content: "";
margin-inline-end: 10px;
+}
+
+.ant-table-cell {
+ padding: 9px !important;
+}
+
+.ant-table-container,
+.ant-table-thead >tr>th,
+.ant-table-content >table >tbody>tr>td {
+ border-color: #D8D8D8 !important;
}
\ No newline at end of file
diff --git a/src/styles/minix.less b/src/styles/minix.less
index c04ec38..1651770 100644
--- a/src/styles/minix.less
+++ b/src/styles/minix.less
@@ -14,8 +14,20 @@
margin-left: 20px;
}
+.mb20 {
+ margin-bottom: 20px;
+}
+
.line {
width: 100%;
height: 1px;
background: #EDEDED;
+}
+
+.even-row {
+ background-color: #fff;
+}
+
+.odd-row {
+ background-color: #F3F5F7;
}
\ No newline at end of file
diff --git a/src/utils/theme.ts b/src/utils/theme.ts
new file mode 100644
index 0000000..3e13ddc
--- /dev/null
+++ b/src/utils/theme.ts
@@ -0,0 +1,11 @@
+// 表格主题
+export const tableTheme = {
+ components: {
+ Table: {
+ headerBg: 'linear-gradient(180deg, #FFFFFF 0%, #DEE7EB 100%)',
+ headerBorderRadius: 0,
+ headerColor: '#191919',
+ rowHoverBg: '#e6f4ff'
+ },
+ },
+}
\ No newline at end of file