mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 09:16:46 +08:00
面授修改
This commit is contained in:
@@ -196,7 +196,7 @@
|
||||
:data-source="tableData.list"
|
||||
:pagination="stuPagination"
|
||||
:loading="tableData.loading"
|
||||
:scroll="{ x: 'max-content' }"
|
||||
:scroll="{ x: 1350 }"
|
||||
row-key="id"
|
||||
:row-selection="stuRowSelection"
|
||||
>
|
||||
@@ -467,7 +467,7 @@ const tablecolumns = ref([
|
||||
title: "姓名",
|
||||
dataIndex: "studentName",
|
||||
key: "studentName",
|
||||
width: "160px",
|
||||
width: "80px",
|
||||
align: "left",
|
||||
className: "h",
|
||||
ellipsis: true,
|
||||
@@ -496,7 +496,7 @@ const tablecolumns = ref([
|
||||
title: "工号",
|
||||
dataIndex: "studentUserNo",
|
||||
key: "studentUserNo",
|
||||
width: "120px",
|
||||
width: "60px",
|
||||
align: "center",
|
||||
className: "h",
|
||||
ellipsis: true,
|
||||
@@ -505,7 +505,7 @@ const tablecolumns = ref([
|
||||
title: "部门",
|
||||
dataIndex: "studentDepartName",
|
||||
key: "studentDepartName",
|
||||
width: "200px",
|
||||
width: "120px",
|
||||
align: "center",
|
||||
className: "h",
|
||||
customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}},
|
||||
@@ -525,9 +525,8 @@ const tablecolumns = ref([
|
||||
title: "加入方式",
|
||||
dataIndex: "source",
|
||||
key: "source",
|
||||
width: "120px",
|
||||
width: "60px",
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
customRender: ({ record: { source } }) =>
|
||||
// ({ 1: "快速添加", 2: "组织", 3: "受众", 4: "报名" }[source]),
|
||||
({
|
||||
@@ -545,7 +544,7 @@ const tablecolumns = ref([
|
||||
title: "操作",
|
||||
dataIndex: "operation",
|
||||
key: "operation",
|
||||
width: '260px',
|
||||
width: '120px',
|
||||
fixed: "right",
|
||||
align: "center",
|
||||
slots: { customRender: "action" },
|
||||
@@ -561,7 +560,10 @@ function allDepartShow(a, b) {
|
||||
: a;
|
||||
let depart = b == "" || b == null || b == undefined ? (b = "") : b;
|
||||
let allname = org == "" && depart == "" ? "-" : org + depart;
|
||||
return allname;
|
||||
const parts = allname.split('/');
|
||||
const reversedParts = parts.reverse();
|
||||
const reversedStr = reversedParts.join('/');
|
||||
return reversedStr;
|
||||
}
|
||||
|
||||
const tableParam = ref({
|
||||
|
||||
Reference in New Issue
Block a user