mirror of
https://github.com/PlayEdu/backend
synced 2025-06-07 19:44:09 +08:00
学员列表标题优化
This commit is contained in:
parent
1782f6acef
commit
b8bb5234ca
@ -217,7 +217,7 @@ const CourseUserPage = () => {
|
||||
placeholder="请输入学员邮箱"
|
||||
/>
|
||||
</div>
|
||||
<div className="d-flex mr-24">
|
||||
{/* <div className="d-flex mr-24">
|
||||
<Typography.Text>身份证号:</Typography.Text>
|
||||
<Input
|
||||
value={idCard}
|
||||
@ -227,7 +227,7 @@ const CourseUserPage = () => {
|
||||
style={{ width: 160 }}
|
||||
placeholder="请输入身份证号"
|
||||
/>
|
||||
</div>
|
||||
</div> */}
|
||||
<div className="d-flex">
|
||||
<Button className="mr-16" onClick={resetList}>
|
||||
重 置
|
||||
|
@ -56,7 +56,7 @@ const MemberPage = () => {
|
||||
|
||||
const columns: ColumnsType<DataType> = [
|
||||
{
|
||||
title: "学员姓名",
|
||||
title: "学员",
|
||||
dataIndex: "name",
|
||||
render: (_, record: any) => (
|
||||
<>
|
||||
@ -252,7 +252,13 @@ const MemberPage = () => {
|
||||
text={"部门"}
|
||||
onUpdate={(keys: any, title: any) => {
|
||||
setDepIds(keys);
|
||||
setLabel(title);
|
||||
var index = title.indexOf("(");
|
||||
if (index !== -1) {
|
||||
var resolve = title.substring(0, index);
|
||||
setLabel(resolve);
|
||||
} else {
|
||||
setLabel(title);
|
||||
}
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user