学员学习

This commit is contained in:
禺狨
2023-04-19 11:17:19 +08:00
parent 46e352fac3
commit f5ad3a4eb2
5 changed files with 387 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ import type { ColumnsType } from "antd/es/table";
import { PlusOutlined, ExclamationCircleFilled } from "@ant-design/icons";
import { user } from "../../api/index";
import { dateFormat } from "../../utils/index";
import { Link } from "react-router-dom";
import { Link, Navigate } from "react-router-dom";
import { TreeDepartment, PerButton } from "../../compenents";
import { MemberCreate } from "./compenents/create";
import { MemberUpdate } from "./compenents/update";
@@ -99,6 +99,21 @@ const MemberPage = () => {
width: 160,
render: (_, record: any) => (
<Space size="small">
<Link
style={{ textDecoration: "none" }}
to={`/member/learn?id=${record.id}`}
>
<PerButton
type="link"
text="学习"
class="b-link c-red"
icon={null}
p="user-learn"
onClick={() => null}
disabled={null}
/>
</Link>
<div className="form-column"></div>
<PerButton
type="link"
text="编辑"