|
|
@ -1,7 +1,7 @@
|
|
|
|
import React, { useState, useRef } from 'react';
|
|
|
|
import React, { useState, useRef } from 'react';
|
|
|
|
import { useRequest, useParams } from 'umi';
|
|
|
|
import { useRequest, useParams, Link } from 'umi';
|
|
|
|
import { PlusOutlined, TagsOutlined, UploadOutlined } from '@ant-design/icons';
|
|
|
|
import { PlusOutlined, TagsOutlined, UploadOutlined } from '@ant-design/icons';
|
|
|
|
import { Button, message, Input, Drawer, Modal, Col, Row, Space, Upload, Select } from 'antd';
|
|
|
|
import { Button, message, Input, Drawer, Modal, Col, Row, Space, Upload, Select, Breadcrumb } from 'antd';
|
|
|
|
import { PageContainer, FooterToolbar } from '@ant-design/pro-layout';
|
|
|
|
import { PageContainer, FooterToolbar } from '@ant-design/pro-layout';
|
|
|
|
import type { ProColumns, ActionType } from '@ant-design/pro-table';
|
|
|
|
import type { ProColumns, ActionType } from '@ant-design/pro-table';
|
|
|
|
import ProTable from '@ant-design/pro-table';
|
|
|
|
import ProTable from '@ant-design/pro-table';
|
|
|
@ -207,7 +207,23 @@ const CourseList: React.FC = () => {
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<PageContainer>
|
|
|
|
<PageContainer
|
|
|
|
|
|
|
|
header={{
|
|
|
|
|
|
|
|
breadcrumbRender: (props, originBreadcrumb)=>{
|
|
|
|
|
|
|
|
return <Breadcrumb>
|
|
|
|
|
|
|
|
<Breadcrumb.Item>
|
|
|
|
|
|
|
|
<Link to="/examination/option">考试管理</Link>
|
|
|
|
|
|
|
|
</Breadcrumb.Item>
|
|
|
|
|
|
|
|
<Breadcrumb.Item>
|
|
|
|
|
|
|
|
<Link to="/examination/certificate">制证管理</Link>
|
|
|
|
|
|
|
|
</Breadcrumb.Item>
|
|
|
|
|
|
|
|
<Breadcrumb.Item>
|
|
|
|
|
|
|
|
<Link to="">{decodeURIComponent(params?.name)}</Link>
|
|
|
|
|
|
|
|
</Breadcrumb.Item>
|
|
|
|
|
|
|
|
</Breadcrumb>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}}
|
|
|
|
|
|
|
|
>
|
|
|
|
<ProTable<TableListItem, TableListPagination>
|
|
|
|
<ProTable<TableListItem, TableListPagination>
|
|
|
|
headerTitle={false}
|
|
|
|
headerTitle={false}
|
|
|
|
actionRef={actionRef}
|
|
|
|
actionRef={actionRef}
|
|
|
|