import { useState } from 'react'; import { Tabs } from 'antd'; import { PartitionOutlined, FileSearchOutlined, CheckSquareOutlined, MonitorOutlined } from '@ant-design/icons'; import ProcessDefinitions from './workflow/ProcessDefinitions'; import PendingTasks from './workflow/PendingTasks'; import CompletedTasks from './workflow/CompletedTasks'; import InstanceMonitor from './workflow/InstanceMonitor'; export default function Workflow() { const [activeKey, setActiveKey] = useState('definitions'); return (

工作流引擎

管理流程定义、审批任务和流程监控
流程定义 ), children: , }, { key: 'pending', label: ( 我的待办 ), children: , }, { key: 'completed', label: ( 我的已办 ), children: , }, { key: 'instances', label: ( 流程监控 ), children: , }, ]} />
); }