import { Card, Divider, Row, Col, Tag, Typography, Table } from 'antd'; import { useTranslation } from 'react-i18next'; const { Text } = Typography; const StateFlowPage: React.FC = () => { const { t } = useTranslation('mdm/coding-system-state-flow'); const flows = (t('flows', { returnObjects: true }) as unknown as Array<{ action: string; lc: string; rt: string; note: string; }>) || []; const columns = [ { title: t('flowAction'), dataIndex: 'action', key: 'action', width: 200 }, { title: t('lcChange'), dataIndex: 'lc', key: 'lc' }, { title: t('rtChange'), dataIndex: 'rt', key: 'rt' }, { title: t('note'), dataIndex: 'note', key: 'note' }, ]; return (
{t('stateModelDesc')}
草稿/新建
↓ 审批通过
启用
↕ 冻结/解冻
冻结
↓ 注销审批通过
已注销 (不可恢复)
草稿
↓ 提交审批
待审批
← 拒绝 通过 ↓
启用
↓ 注销审批通过
已撤销 (不可恢复)
{t('dualStateRelation')} ({ ...item, key: i }))} size="small" pagination={false} />
{t('stateModelDesc')}
); }; export default StateFlowPage;