import React from 'react';
import { Button,Card } from 'antd';
import Result from '../../../components/Result';
import PageHeaderLayout from '../../../layouts/PageHeaderLayout';

const actions = (
  <div>
    <Button type="primary">人员排班</Button>
    <Button>查看任务</Button>
    <Button>继续创建</Button>
  </div>
);

export default () => (
  <PageHeaderLayout>
    <Card bordered={false}>
      <Result
        type="success"
        title="发布成功"
        description="任务发布成功，并已通知给相关人员，您还可以进行以下操作:"
        extra={null}
        actions={actions}
        style={{ marginTop: 48, marginBottom: 16 }}
      />
    </Card>
  </PageHeaderLayout>
);
