feat: 添加前端页面和业务说明书
refactor(server): 重构服务层代码结构 feat(server): 添加基础设施、跨境电商、AI决策等核心服务 docs: 完善前端业务说明书和开发进度文档 style: 格式化代码和文档
This commit is contained in:
38
dashboard/src/pages/Orders/index.tsx
Normal file
38
dashboard/src/pages/Orders/index.tsx
Normal file
@@ -0,0 +1,38 @@
|
||||
import React from 'react';
|
||||
import { Card, Layout, Typography, Row, Col, Button } from 'antd';
|
||||
import { FileTextOutlined, AlertOutlined, BarChartOutlined } from '@ant-design/icons';
|
||||
import { Link } from 'umi';
|
||||
|
||||
const { Content } = Layout;
|
||||
const { Title, Text } = Typography;
|
||||
|
||||
const OrderManagement: React.FC = () => {
|
||||
return (
|
||||
<Content style={{ padding: 24, margin: 0, minHeight: 280, background: '#fff' }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 24 }}>
|
||||
<Title level={4}>订单管理</Title>
|
||||
<div>
|
||||
<Button icon={<FileTextOutlined />} style={{ marginRight: 8 }}>
|
||||
<Link to="/Orders/OrderList">订单列表</Link>
|
||||
</Button>
|
||||
<Button icon={<AlertOutlined />} style={{ marginRight: 8 }}>
|
||||
<Link to="/Orders/ExceptionOrder">异常订单</Link>
|
||||
</Button>
|
||||
<Button icon={<BarChartOutlined />}>
|
||||
<Link to="/Orders/OrderAggregation">订单统计</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Row gutter={[16, 16]}>
|
||||
<Col span={24}>
|
||||
<Card title="订单概览">
|
||||
<Text>订单管理页面内容</Text>
|
||||
</Card>
|
||||
</Col>
|
||||
</Row>
|
||||
</Content>
|
||||
);
|
||||
};
|
||||
|
||||
export default OrderManagement;
|
||||
Reference in New Issue
Block a user