添加学员样式

This commit is contained in:
zhangyc
2022-12-20 08:36:07 +08:00
parent ab725d60d1
commit a98af9134e
2 changed files with 318 additions and 19 deletions

View File

@@ -118,7 +118,7 @@ const tablecolumns = ref([
title: "姓名",
dataIndex: "studentName",
key: "studentName",
width: "20%",
width: "10%",
align: "left",
className: "h",
},
@@ -126,7 +126,7 @@ const tablecolumns = ref([
title: "工号",
dataIndex: "studentUserNo",
key: "studentUserNo",
width: "10%",
width: "20%",
align: "center",
className: "h",
ellipsis: true,
@@ -135,7 +135,7 @@ const tablecolumns = ref([
title: "部门",
dataIndex: "studentDepartName",
key: "studentDepartName",
width: "10%",
width: "20%",
align: "center",
className: "h",
ellipsis: true,
@@ -144,7 +144,7 @@ const tablecolumns = ref([
title: "加入方式",
dataIndex: "source",
key: "source",
width: "10%",
width: "20%",
align: "center",
customRender: ({record: {source}}) =>
({1: "快速添加", 2: "组织", 3: "受众"}[source]),
@@ -174,7 +174,7 @@ const tableData = ref({
});
const stuRowSelection = computed(() => ({
columnWidth: 20,
columnWidth: 10,
selectedRowKeys: stuSelectKeys.value,
onChange: onStuSelectChange,
preserveSelectedRowKeys: true,