学员列表优化

This commit is contained in:
禺狨 2023-04-20 11:58:09 +08:00
parent 746a48d4d6
commit 0c5a7f2f60

View File

@ -278,17 +278,19 @@ const MemberPage = () => {
onClick={() => setCreateVisible(true)} onClick={() => setCreateVisible(true)}
disabled={null} disabled={null}
/> />
<Link style={{ textDecoration: "none" }} to={`/member/import`}> {dep_ids.length === 0 && (
<PerButton <Link style={{ textDecoration: "none" }} to={`/member/import`}>
type="default" <PerButton
text="批量导入学员" type="default"
class="mr-16" text="批量导入学员"
icon={null} class="mr-16"
p="user-store" icon={null}
onClick={() => null} p="user-store"
disabled={null} onClick={() => null}
/> disabled={null}
</Link> />
</Link>
)}
{dep_ids.length > 0 && ( {dep_ids.length > 0 && (
<Link <Link
style={{ textDecoration: "none" }} style={{ textDecoration: "none" }}
@ -296,7 +298,7 @@ const MemberPage = () => {
> >
<PerButton <PerButton
type="primary" type="primary"
text="查看部门学员进度" text="部门学员进度"
class="mr-16" class="mr-16"
icon={null} icon={null}
p="department-user-learn" p="department-user-learn"