import React from 'react';
import { Card, Layout, Typography, Row, Col, Button } from 'antd';
import { AuditOutlined, PlusOutlined } from '@ant-design/icons';

const { Content } = Layout;
const { Title, Text } = Typography;

const ComplianceManagement: 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>
        <Button type="primary" icon={<PlusOutlined />}>
          添加合规记录
        </Button>
      </div>
      
      <Row gutter={[16, 16]}>
        <Col span={24}>
          <Card title="合规列表">
            <Text>合规管理页面内容</Text>
          </Card>
        </Col>
      </Row>
    </Content>
  );
};

export default ComplianceManagement;