import React, { useState } from "react"; import { Tabs, Tag, Alert, Button, Card } from "antd"; import { ArrowLeftOutlined } from "@ant-design/icons"; import PageLayout from "@cqsjjb/jjb-react-admin-component/PageLayout"; import { AntdTableFuncControl } from "@cqsjjb/jjb-common-decorator/antd"; const PROCESS_TABS = [ { key: "risk", index: "01", label: "风险分析", state: "已完成", stateType: "success" }, { key: "contract", index: "02", label: "业务合同", state: "已完成", stateType: "success" }, { key: "team", index: "03", label: "项目组", state: "已完成", stateType: "success" }, { key: "survey", index: "04", label: "现场踏勘", state: "已完成", stateType: "success" }, { key: "report", index: "05", label: "报告编制", state: "编制中", stateType: "processing" }, { key: "internal", index: "06", label: "内部审核", state: "待办理", stateType: "default" }, { key: "technical", index: "07", label: "技术审核", state: "待办理", stateType: "default" }, { key: "control", index: "08", label: "过程控制", state: "前置未完成", stateType: "warning", locked: true }, ]; const ProjectFlow = (props) => { const [activeKey, setActiveKey] = useState("risk"); const tabItems = PROCESS_TABS.map((item) => ({ key: item.key, disabled: item.locked, label: ( {item.index} {item.label} {item.state} ), children: (
{item.index} {item.label} 子流程页面
), })); return ( 项目法定流程工作台 } extra={全量项目管理} >
华安化工园区安全预评价 | XP-2026-001
); }; export default AntdTableFuncControl(ProjectFlow);