diff --git a/src/pages/Container/Supervision/BranchCompany/AccountManage/Add/index.js b/src/pages/Container/Supervision/BranchCompany/AccountManage/Add/index.js deleted file mode 100644 index 9de9949..0000000 --- a/src/pages/Container/Supervision/BranchCompany/AccountManage/Add/index.js +++ /dev/null @@ -1,90 +0,0 @@ -import { tools } from "@cqsjjb/jjb-common-lib"; - -import { Button, Modal, QRCode } from "antd"; -import { useState } from "react"; -import FormBuilder from "zy-react-library/components/FormBuilder"; -import HeaderBack from "zy-react-library/components/HeaderBack"; -import Map from "zy-react-library/components/Map"; -import Upload from "zy-react-library/components/Upload"; -import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender"; -import { PHONE, UNIFIED_SOCIAL_CREDIT_CODE } from "zy-react-library/regular"; - -const xgfStateMap = { - 0: "未填报", - 1: "待审核", - 2: "已审核", - 3: 已打回, - 4: "已填报", -}; -const { query } = tools.router; -function Add() { - const [corpInfoQrCodeOpen, setCorpInfoQrCodeOpen] = useState(false); - const onSubmit = (values) => { - console.log(values); - }; - return ( - <> - -
- xgfStateMap[formValues?.xgfState] || "未填报" }, - { name: "holderName", label: "开户人", required: false, componentProps: { disabled: true }, hidden: (!query.id) }, - { name: "code", label: "统一社会信用代码", rules: [{ pattern: UNIFIED_SOCIAL_CREDIT_CODE, message: "请输入正确的统一社会信用代码" }] }, - { name: "companyAreas", label: "属地", required: false, hidden: (!query.id) }, - { name: "industryNames", label: "所属行业", required: false, hidden: (!query.id) }, - { name: "map", customizeRender: true, render: () => , span: 24, hidden: (!query.id) }, - { name: "ecoType", label: "经济类型", render: FORM_ITEM_RENDER_ENUM.SELECT, items: [{ name: "集团单位1", id: "1" }], required: false }, - { name: "address", label: "单位经营地址", required: false, hidden: (!query.id) }, - { name: "scale", label: "企业规模", render: FORM_ITEM_RENDER_ENUM.SELECT, items: [{ name: "集团单位1", id: "1" }], required: false, hidden: (!query.id) }, - { name: "lrName", label: "法人姓名", required: false, hidden: (!query.id) }, - { name: "lrPhone", label: "联系电话", rules: [{ pattern: PHONE, message: "请输入正确的手机号码" }], required: false, hidden: (!query.id) }, - { name: "contacts", label: "主要负责人", required: false, hidden: (!query.id) }, - { name: "contactsPhone", label: "主要负责人联系电话", rules: [{ pattern: PHONE, message: "请输入正确的手机号码" }], required: false, hidden: (!query.id) }, - { name: "createDate", label: "成立日期", render: FORM_ITEM_RENDER_ENUM.DATE, required: false, hidden: (!query.id) }, - { name: "employees", label: "职工人数(人)", render: FORM_ITEM_RENDER_ENUM.NUMBER, required: false, hidden: (!query.id) }, - { name: "totalassets", label: "资产总额(万元)", render: FORM_ITEM_RENDER_ENUM.NUMBER, required: false, hidden: (!query.id) }, - { name: "regcapital", label: "注册资金(万元)", render: FORM_ITEM_RENDER_ENUM.NUMBER, required: false, hidden: (!query.id) }, - { name: "employmentForm", label: "用工形式", render: FORM_ITEM_RENDER_ENUM.SELECT, items: [{ name: "集团单位1", id: "1" }], required: false, hidden: (!query.id) }, - { name: "selectForms", label: "企业类型", render: FORM_ITEM_RENDER_ENUM.SELECT, items: [{ name: "集团单位1", id: "1" }], required: false, hidden: (!query.id) }, - { name: "businessLicense", label: "营业执照", render: ({ value, onChange }) => , hidden: (!query.id) }, - { name: "businessLicenseDate", label: "营业执照有效期", render: FORM_ITEM_RENDER_ENUM.DATE, hidden: (!query.id) }, - { name: "qrCode", label: "企业二维码", required: false, hidden: formValues => !(formValues.xgfState !== 2 && query.id), render: () => ( - - ) }, - ]} - /> -
- setCorpInfoQrCodeOpen(false)} /> - - ); -} -const CorpInfoQrCode = (props) => { - return ( - - 关闭 - , - ]} - > - - - ); -}; -export default Add; diff --git a/src/pages/Container/Supervision/BranchCompany/AccountManage/List/index.js b/src/pages/Container/Supervision/BranchCompany/AccountManage/List/index.js index ee5a268..b074bdb 100644 --- a/src/pages/Container/Supervision/BranchCompany/AccountManage/List/index.js +++ b/src/pages/Container/Supervision/BranchCompany/AccountManage/List/index.js @@ -1,4 +1,6 @@ import { Button, Form, message, Modal, Space } from "antd"; +import { useEffect, useState } from "react"; +import FormBuilder from "zy-react-library/components/FormBuilder"; import AddIcon from "zy-react-library/components/Icon/AddIcon"; import Search from "zy-react-library/components/Search"; import Table from "zy-react-library/components/Table"; @@ -8,6 +10,20 @@ import useTable from "zy-react-library/hooks/useTable"; function List(props) { const [form] = Form.useForm(); const { tableProps, getData } = useTable(() => {}, { form }); + const [addModalOpen, setAddModalOpen] = useState(false); + const [currentId, setCurrentId] = useState(""); + const [openType, setOpenType] = useState(""); + + const onResetPassword = (id) => { + Modal.confirm({ + title: "提示", + content: "是否重置密码为Bb@123456789?", + onOk: () => { + message.success("重置密码成功"); + getData(); + }, + }); + }; const onDelete = (id) => { Modal.confirm({ title: "提示", @@ -18,57 +34,136 @@ function List(props) { }, }); }; - const onResetPassword = () => { + const fnIsEnable = (id) => { Modal.confirm({ title: "提示", - content: "确定要重置密码为Aa@123456789吗?", + content: "确定删除吗?", onOk: () => { - message.success("重置密码成功"); + message.success("删除成功"); + getData(); }, }); }; return (
( - + )} columns={[ - { title: "集团单位", dataIndex: "name" }, - { title: "相关单位名称", dataIndex: "name" }, - { title: "属地", dataIndex: "name" }, - { title: "股份主管部门", dataIndex: "name" }, - { title: "股份监管部门", dataIndex: "name" }, - { title: "基层单位主管部门", dataIndex: "name" }, - { title: "基层单位监督部门", dataIndex: "name" }, - { title: "开户人", dataIndex: "name" }, + { title: "分公司名称", dataIndex: "name" }, + { title: "社会统一信用代码", dataIndex: "name" }, + { title: "经济类型", dataIndex: "name" }, + { title: "分公司状态", dataIndex: "name" }, { title: "状态", dataIndex: "name" }, { title: "操作", width: 200, render: (_, record) => ( - - + + + + + ) }, ]} {...tableProps} /> + { + setAddModalOpen(false); + setCurrentId(""); + }} + getData={getData} + /> ); } +function AddModalComponent(props) { + const [form] = Form.useForm(); + useEffect(() => { + if (props.currentId) { + console.log(props.currentId); + } + }, [props.currentId]); + const onCancel = () => { + form.resetFields(); + props.onCancel(); + }; + const onSubmit = async (values) => { + console.log(values); + onCancel(); + props.getData(); + }; + return ( + + + + ); +} + +const AddModal = AddModalComponent; export default List; diff --git a/src/pages/Container/Supervision/BranchCompany/AccountManage/View/index.js b/src/pages/Container/Supervision/BranchCompany/AccountManage/View/index.js index fea2e1e..5cbcc29 100644 --- a/src/pages/Container/Supervision/BranchCompany/AccountManage/View/index.js +++ b/src/pages/Container/Supervision/BranchCompany/AccountManage/View/index.js @@ -1,39 +1,46 @@ import { Descriptions, Divider } from "antd"; +import HeaderBack from "zy-react-library/components/HeaderBack"; -function Info() { +function View() { return ( -
- 基本信息 - +
+ +
+ 企业信息 + +
); } -export default Info; +export default View; diff --git a/src/pages/Container/Supervision/BranchCompany/AccountManage/index.js b/src/pages/Container/Supervision/BranchCompany/AccountManage/index.js index eda14bf..6720c78 100644 --- a/src/pages/Container/Supervision/BranchCompany/AccountManage/index.js +++ b/src/pages/Container/Supervision/BranchCompany/AccountManage/index.js @@ -1,4 +1,4 @@ -function Supervision(props) { +function AccountManage(props) { return (
{props.children} @@ -6,4 +6,4 @@ function Supervision(props) { ); } -export default Supervision; +export default AccountManage; diff --git a/src/pages/Container/Supervision/BranchCompany/DepartmentManage/List/index.js b/src/pages/Container/Supervision/BranchCompany/DepartmentManage/List/index.js new file mode 100644 index 0000000..ab5c2aa --- /dev/null +++ b/src/pages/Container/Supervision/BranchCompany/DepartmentManage/List/index.js @@ -0,0 +1,73 @@ +import { Button, Form, Space } from "antd"; +import Search from "zy-react-library/components/Search"; +import Table from "zy-react-library/components/Table"; +import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender"; +import useTable from "zy-react-library/hooks/useTable"; + +const BRANCH_CONPANY_STATUS = [ + { id: 1, name: "在产" }, + { id: 0, name: "在建" }, +]; +const STATUS = [ + { id: 1, name: "启用" }, + { id: 0, name: "停用" }, +]; + +function List(props) { + const [form] = Form.useForm(); + const { tableProps, getData } = useTable(() => {}, { form }); + + return ( +
+
+ +
+ +
( + + + + + ), + }, + ]} + {...tableProps} + /> + + + + + ); +} + +export default List; diff --git a/src/pages/Container/Supervision/BranchCompany/DepartmentManage/View/index.js b/src/pages/Container/Supervision/BranchCompany/DepartmentManage/View/index.js new file mode 100644 index 0000000..fe75dd6 --- /dev/null +++ b/src/pages/Container/Supervision/BranchCompany/DepartmentManage/View/index.js @@ -0,0 +1,99 @@ +import { Button, Descriptions, Form, Modal, Space } from "antd"; +import { useEffect, useState } from "react"; +import LeftTree from "zy-react-library/components/LeftTree/Department/Gwj/index"; + +import Table from "zy-react-library/components/Table"; +import useTable from "zy-react-library/hooks/useTable"; + +function View() { + const [addModalOpen, setAddModalOpen] = useState(false); + const [currentId, setCurrentId] = useState(""); + const [form] = Form.useForm(); + const { tableProps, getData } = useTable(() => {}, { form }); + + return ( +
+
+ +
+ +
( + + + + ), + }, + ]} + {...tableProps} + /> + + + { + setAddModalOpen(false); + setCurrentId(""); + }} + getData={getData} + /> + + ); +} + +function AddModalComponent(props) { + const [form] = Form.useForm(); + useEffect(() => { + if (props.currentId) { + console.log(props.currentId); + } + }, [props.currentId]); + const onCancel = () => { + form.resetFields(); + props.onCancel(); + }; + + return ( + + + + ); +} + +const AddModal = AddModalComponent; +export default View; diff --git a/src/pages/Container/Supervision/BranchCompany/DepartmentManage/index.js b/src/pages/Container/Supervision/BranchCompany/DepartmentManage/index.js new file mode 100644 index 0000000..5363918 --- /dev/null +++ b/src/pages/Container/Supervision/BranchCompany/DepartmentManage/index.js @@ -0,0 +1,9 @@ +function DepartmentManage(props) { + return ( +
+ {props.children} +
+ ); +} + +export default DepartmentManage; diff --git a/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/Add/index.js b/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/Add/index.js new file mode 100644 index 0000000..9f420b8 --- /dev/null +++ b/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/Add/index.js @@ -0,0 +1,64 @@ +import { tools } from "@cqsjjb/jjb-common-lib"; + +import FormBuilder from "zy-react-library/components/FormBuilder"; +import HeaderBack from "zy-react-library/components/HeaderBack"; +import Map from "zy-react-library/components/Map"; +import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender"; +import { PHONE, UNIFIED_SOCIAL_CREDIT_CODE } from "zy-react-library/regular"; + +// const xgfStateMap = { +// 0: "未填报", +// 1: "待审核", +// 2: "已审核", +// 3: 已打回, +// 4: "已填报", +// }; +const { query } = tools.router; +function Add() { + const onSubmit = (values) => { + console.log(values); + }; + return ( + <> + +
+ , span: 24 }, + { name: "lrName", label: "公司法定代表人", required: false, hidden: (!query.id) }, + { name: "lrPhone", label: "公司法定代表人手机号", rules: [{ pattern: PHONE, message: "请输入正确的手机号码" }], required: false, hidden: (!query.id) }, + { name: "contacts", label: "主要负责人", required: false, hidden: (!query.id) }, + { name: "contactsPhone", label: "主要负责人联系电话", rules: [{ pattern: PHONE, message: "请输入正确的手机号码" }], required: false, hidden: (!query.id) }, + { name: "contacts", label: "安全负责人", required: false, hidden: (!query.id) }, + { name: "contactsPhone", label: "安全负责人联系电话", rules: [{ pattern: PHONE, message: "请输入正确的手机号码" }], required: false, hidden: (!query.id) }, + { name: "scale", label: "企业规模", render: FORM_ITEM_RENDER_ENUM.SELECT, items: [{ name: "集团单位1", id: "1" }], required: false, hidden: (!query.id) }, + { name: "createDate", label: "占地面积(平方米)", render: FORM_ITEM_RENDER_ENUM.DATE, required: false, hidden: (!query.id) }, + { name: "employees", label: "职工人数(人)", render: FORM_ITEM_RENDER_ENUM.NUMBER, hidden: (!query.id) }, + { name: "employees", label: "成立时间", required: false, render: FORM_ITEM_RENDER_ENUM.NUMBER, hidden: (!query.id) }, + { name: "employees", label: "注册资金(万元)", render: FORM_ITEM_RENDER_ENUM.NUMBER, hidden: (!query.id) }, + { name: "employees", label: "资产总额(万元)", render: FORM_ITEM_RENDER_ENUM.NUMBER, hidden: (!query.id) }, + { name: "employees", label: "规模", required: false, render: FORM_ITEM_RENDER_ENUM.NUMBER, hidden: (!query.id) }, + { name: "employees", label: "是否规模以上", required: false, render: FORM_ITEM_RENDER_ENUM.NUMBER, hidden: (!query.id) }, + { name: "employees", label: "列表排序", render: FORM_ITEM_RENDER_ENUM.NUMBER }, + ]} + /> +
+ + + ); +} + +export default Add; diff --git a/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/List/index.js b/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/List/index.js new file mode 100644 index 0000000..7b318b5 --- /dev/null +++ b/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/List/index.js @@ -0,0 +1,200 @@ +import { Button, Form, Space } from "antd"; +import { useState } from "react"; +import MapSelector from "zy-react-library/components/Map/MapSelector"; +import Search from "zy-react-library/components/Search"; +import Table from "zy-react-library/components/Table"; +import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender"; +import useTable from "zy-react-library/hooks/useTable"; + +const WHETHER_ENUM = [ + { bianma: "1", name: "是" }, + { bianma: "0", name: "否" }, +]; +function List(props) { + const [form] = Form.useForm(); + const { tableProps, getData } = useTable(() => {}, { form }); + const [visible, setVisible] = useState(false); + const [selectedLng, setSelectedLng] = useState("119.69457721306945"); + const [selectedLat, setSelectedLat] = useState("39.940504336846665"); + + const handleOpen = () => { + setVisible(true); + }; + const handleConfirm = (lng, lat) => { + console.log("选中的坐标:", lng, lat); + setSelectedLng(lng); + setSelectedLat(lat); + }; + + return ( +
+ +
( + // + // )} + columns={[ + { title: "分公司名称", dataIndex: "name" }, + { title: "注册地址", dataIndex: "name" }, + { title: "所属行业", dataIndex: "name" }, + { title: "主要负责人", dataIndex: "name" }, + { title: "联系方式", dataIndex: "name" }, + { title: "公司状态", dataIndex: "name" }, + { title: "开户人", dataIndex: "name" }, + { title: "状态", dataIndex: "name" }, + { title: "定位状态", dataIndex: "name" }, + { title: "操作", width: 200, render: (_, record) => ( + + + + + + ) }, + ]} + {...tableProps} + /> + setVisible(false)} + longitude={selectedLng} + latitude={selectedLat} + onConfirm={handleConfirm} + /> + + ); +} + +export default List; diff --git a/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/Search/index.js b/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/Search/index.js new file mode 100644 index 0000000..ee0c3fc --- /dev/null +++ b/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/Search/index.js @@ -0,0 +1,164 @@ +import { Form } from "antd"; +import HeaderBack from "zy-react-library/components/HeaderBack"; +import Search from "zy-react-library/components/Search"; +import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender"; + +const WHETHER_ENUM = [ + { bianma: "1", name: "是" }, + { bianma: "0", name: "否" }, +]; +function View() { + const [form] = Form.useForm(); + const onSearch = (value) => { + console.log(value); + }; + + return ( +
+ +
+ + + +
+ +
+ ); +} + +export default View; diff --git a/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/View/index.js b/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/View/index.js new file mode 100644 index 0000000..ff85c75 --- /dev/null +++ b/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/View/index.js @@ -0,0 +1,160 @@ +import { Descriptions, Divider, Tabs } from "antd"; +import HeaderBack from "zy-react-library/components/HeaderBack"; +import Table from "zy-react-library/components/Table"; +import TooltipPreviewImg from "zy-react-library/components/TooltipPreviewImg"; + +const info = { + special: [], +}; +function View() { + const items = [ + { + key: "1", + label: "基础信息", + children: ( +
+ {" "} + 基本信息 + + 公司法定代表人信息 + + 主要负责人信息 + + 安全负责人信息 + + + +
+ ), + }, + { + key: "2", + label: "资质证照管理", + children: ( +
() }, + + ]} + pagination={false} + dataSource={info.special} + disabledResizer={true} + /> + ), + }, + { + key: "3", + label: "入职从业人员登记", + children: "Content of Tab Pane 3", + }, + { + key: "4", + label: "人员证照管理", + children: ( +
() }, + + ]} + pagination={false} + dataSource={info.special} + disabledResizer={true} + /> + ), + }, + ]; + return ( +
+ +
+ +
+ +
+ ); +} + +export default View; diff --git a/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/index.js b/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/index.js new file mode 100644 index 0000000..a02860c --- /dev/null +++ b/src/pages/Container/Supervision/BranchCompany/EnterpriseInfo/index.js @@ -0,0 +1,9 @@ +function EnterpriseInfo(props) { + return ( +
+ {props.children} +
+ ); +} + +export default EnterpriseInfo; diff --git a/src/pages/Container/Supervision/BranchCompany/SubsidiaryUser/List/index.js b/src/pages/Container/Supervision/BranchCompany/SubsidiaryUser/List/index.js new file mode 100644 index 0000000..8478b7d --- /dev/null +++ b/src/pages/Container/Supervision/BranchCompany/SubsidiaryUser/List/index.js @@ -0,0 +1,70 @@ +import { Button, Form, Space } from "antd"; +import Search from "zy-react-library/components/Search"; +import Table from "zy-react-library/components/Table"; +import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender"; +import useTable from "zy-react-library/hooks/useTable"; + +function List(props) { + const [form] = Form.useForm(); + const { tableProps, getData } = useTable(() => {}, { form }); + const BRANCH_CONPANY_STATUS = [ + { id: 1, name: "在产" }, + { id: 0, name: "在建" }, + ]; + const STATUS = [ + { id: 1, name: "启用" }, + { id: 0, name: "停用" }, + ]; + return ( +
+
+ +
+ +
( + + + + + ), + }, + ]} + {...tableProps} + /> + + + + + ); +} + +export default List; diff --git a/src/pages/Container/Supervision/BranchCompany/SubsidiaryUser/UserList/index.js b/src/pages/Container/Supervision/BranchCompany/SubsidiaryUser/UserList/index.js new file mode 100644 index 0000000..56a187e --- /dev/null +++ b/src/pages/Container/Supervision/BranchCompany/SubsidiaryUser/UserList/index.js @@ -0,0 +1,45 @@ +import { Button, Form, Space } from "antd"; +import LeftTree from "zy-react-library/components/LeftTree/Department/Gwj/index"; + +import Table from "zy-react-library/components/Table"; +import useTable from "zy-react-library/hooks/useTable"; + +function UserList(props) { + const [form] = Form.useForm(); + const { tableProps, getData } = useTable(() => {}, { form }); + + return ( +
+
+ +
+ +
( + + + + ), + }, + ]} + {...tableProps} + /> + + + + + ); +} +export default UserList; diff --git a/src/pages/Container/Supervision/BranchCompany/SubsidiaryUser/View/index.js b/src/pages/Container/Supervision/BranchCompany/SubsidiaryUser/View/index.js new file mode 100644 index 0000000..a496dff --- /dev/null +++ b/src/pages/Container/Supervision/BranchCompany/SubsidiaryUser/View/index.js @@ -0,0 +1,35 @@ +import { Descriptions, Divider } from "antd"; +import HeaderBack from "zy-react-library/components/HeaderBack"; + +function View() { + return ( +
+ +
+ 查看用户 + +
+
+ ); +} + +export default View; diff --git a/src/pages/Container/Supervision/BranchCompany/SubsidiaryUser/index.js b/src/pages/Container/Supervision/BranchCompany/SubsidiaryUser/index.js new file mode 100644 index 0000000..c047950 --- /dev/null +++ b/src/pages/Container/Supervision/BranchCompany/SubsidiaryUser/index.js @@ -0,0 +1,9 @@ +function SubsidiaryUser(props) { + return ( +
+ {props.children} +
+ ); +} + +export default SubsidiaryUser; diff --git a/src/pages/Container/Supervision/BranchCompany/index.js b/src/pages/Container/Supervision/BranchCompany/index.js index eda14bf..627f42d 100644 --- a/src/pages/Container/Supervision/BranchCompany/index.js +++ b/src/pages/Container/Supervision/BranchCompany/index.js @@ -1,4 +1,4 @@ -function Supervision(props) { +function BranchCompany(props) { return (
{props.children} @@ -6,4 +6,4 @@ function Supervision(props) { ); } -export default Supervision; +export default BranchCompany; diff --git a/src/pages/Container/Supervision/StakeholderUnit/AccountManage/List/index.js b/src/pages/Container/Supervision/StakeholderUnit/AccountManage/List/index.js index 092e90a..785fb8d 100644 --- a/src/pages/Container/Supervision/StakeholderUnit/AccountManage/List/index.js +++ b/src/pages/Container/Supervision/StakeholderUnit/AccountManage/List/index.js @@ -41,6 +41,7 @@ function List(props) { { name: "name", label: "主管部门(级联)", render: FORM_ITEM_RENDER_ENUM.SELECT, items: [{ name: "111", id: "1" }] }, ]} form={form} + onFinish={getData} />
( diff --git a/src/pages/Container/Supervision/StakeholderUnit/AccountManage/View/index.js b/src/pages/Container/Supervision/StakeholderUnit/AccountManage/View/index.js index e1ce28e..9875b67 100644 --- a/src/pages/Container/Supervision/StakeholderUnit/AccountManage/View/index.js +++ b/src/pages/Container/Supervision/StakeholderUnit/AccountManage/View/index.js @@ -1,39 +1,43 @@ import { Descriptions, Divider } from "antd"; +import HeaderBack from "zy-react-library/components/HeaderBack"; -function Info() { +function View() { return ( -
- 基本信息 - +
+ +
+ 基本信息 + +
); } -export default Info; +export default View; diff --git a/src/pages/Container/Supervision/StakeholderUnit/AccountManage/index.js b/src/pages/Container/Supervision/StakeholderUnit/AccountManage/index.js index eda14bf..6720c78 100644 --- a/src/pages/Container/Supervision/StakeholderUnit/AccountManage/index.js +++ b/src/pages/Container/Supervision/StakeholderUnit/AccountManage/index.js @@ -1,4 +1,4 @@ -function Supervision(props) { +function AccountManage(props) { return (
{props.children} @@ -6,4 +6,4 @@ function Supervision(props) { ); } -export default Supervision; +export default AccountManage; diff --git a/src/pages/Container/Supervision/StakeholderUnit/CertifiedUser/index.js b/src/pages/Container/Supervision/StakeholderUnit/CertifiedUser/index.js index b24e9bf..3faa38c 100644 --- a/src/pages/Container/Supervision/StakeholderUnit/CertifiedUser/index.js +++ b/src/pages/Container/Supervision/StakeholderUnit/CertifiedUser/index.js @@ -5,7 +5,7 @@ import Table from "zy-react-library/components/Table"; import { FORM_ITEM_RENDER_ENUM } from "zy-react-library/enum/formItemRender"; import useTable from "zy-react-library/hooks/useTable"; -function List() { +function CertifiedUser() { const [form] = Form.useForm(); const { tableProps, getData } = useTable(() => {}, { form }); const fnSearch = (values) => { @@ -52,4 +52,4 @@ function List() { ); } -export default List; +export default CertifiedUser; diff --git a/src/pages/Container/Supervision/StakeholderUnit/User/List/index.js b/src/pages/Container/Supervision/StakeholderUnit/User/List/index.js index 8f6af54..102efd0 100644 --- a/src/pages/Container/Supervision/StakeholderUnit/User/List/index.js +++ b/src/pages/Container/Supervision/StakeholderUnit/User/List/index.js @@ -1,4 +1,4 @@ -import { Button, Form, message, Modal, Space } from "antd"; +import { Button, Form, Space } from "antd"; import AddIcon from "zy-react-library/components/Icon/AddIcon"; import Search from "zy-react-library/components/Search"; import Table from "zy-react-library/components/Table"; @@ -14,7 +14,7 @@ function List(props) {
( @@ -41,8 +42,8 @@ function List(props) { { title: "状态", dataIndex: "name" }, { title: "操作", width: 200, render: (_, record) => ( - {/**/} - {/**/} + {/* */} + {/* */} ) }, diff --git a/src/pages/Container/Supervision/StakeholderUnit/User/UserList/index.js b/src/pages/Container/Supervision/StakeholderUnit/User/UserList/index.js index 4699858..21914ee 100644 --- a/src/pages/Container/Supervision/StakeholderUnit/User/UserList/index.js +++ b/src/pages/Container/Supervision/StakeholderUnit/User/UserList/index.js @@ -9,7 +9,7 @@ export const PERSONNEL_TYPE_ENUM = [ { id: "0", name: "非流动人员" }, { id: "1", name: "流动人员" }, ]; -function List(props) { +function UserList(props) { const [form] = Form.useForm(); const { tableProps, getData } = useTable(() => {}, { form }); @@ -48,6 +48,7 @@ function List(props) { }, ]} form={form} + onFinish={getData} />
); } -export default List; +export default UserList; diff --git a/src/pages/Container/Supervision/StakeholderUnit/User/index.js b/src/pages/Container/Supervision/StakeholderUnit/User/index.js index eda14bf..e30c0f4 100644 --- a/src/pages/Container/Supervision/StakeholderUnit/User/index.js +++ b/src/pages/Container/Supervision/StakeholderUnit/User/index.js @@ -1,4 +1,4 @@ -function Supervision(props) { +function User(props) { return (
{props.children} @@ -6,4 +6,4 @@ function Supervision(props) { ); } -export default Supervision; +export default User; diff --git a/src/pages/Container/Supervision/StakeholderUnit/index.js b/src/pages/Container/Supervision/StakeholderUnit/index.js index eda14bf..ad9482f 100644 --- a/src/pages/Container/Supervision/StakeholderUnit/index.js +++ b/src/pages/Container/Supervision/StakeholderUnit/index.js @@ -1,4 +1,4 @@ -function Supervision(props) { +function StakeholderUnit(props) { return (
{props.children} @@ -6,4 +6,4 @@ function Supervision(props) { ); } -export default Supervision; +export default StakeholderUnit;