From 433ba1afe1528a4060fc4a9358a04f7bbd15a6f5 Mon Sep 17 00:00:00 2001 From: Pengxiansen <2422914688@qq.com> Date: Wed, 26 Feb 2025 18:57:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/growthpath/StudentManage.vue | 35 +++++++++++++++------ 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/src/components/growthpath/StudentManage.vue b/src/components/growthpath/StudentManage.vue index 3001ca09..220b593f 100644 --- a/src/components/growthpath/StudentManage.vue +++ b/src/components/growthpath/StudentManage.vue @@ -441,10 +441,23 @@ const tablecolumns = ref([ title: "归属组织", dataIndex: "orgName", key: "orgName", - width: 230, + width: 210, align: "center", className: "h", - ellipsis: true, + customRender: ({ record }) => { + return ( + + triggerNode.parentNode || document.body + } + title={record.orgNamePath || record.orgName} + color="#fff" + style="color:#000" + > +
{record.orgName || "--"}
+
+ ); + }, }, // { // title: "标准岗位", @@ -468,7 +481,7 @@ const tablecolumns = ref([ title: "Band职级", dataIndex: "bandCode", key: "bandCode", - width: 100, + width: 90, align: "center", className: "h", ellipsis: true, @@ -487,7 +500,7 @@ const tablecolumns = ref([ }, { title: "必修进度", - width: 100, + width: 90, align: "center", dataIndex: "progress", key: "progress", @@ -498,7 +511,7 @@ const tablecolumns = ref([ }, { title: "选修进度", - width: 100, + width: 90, align: "center", dataIndex: "electivepProgress", key: "electivepProgress", @@ -511,7 +524,7 @@ const tablecolumns = ref([ title: "完成状态", dataIndex: "completionStatus", key: "completionStatus", - width: 100, + width: 90, align: "center", className: "h", ellipsis: true, @@ -704,7 +717,7 @@ function closeDrawer() { GrowthDrawerRef.value.closeDrawer(); } function confirmDrawer(selectList) { - GrowthDrawerRef.value.spinning = true + GrowthDrawerRef.value.spinning = true; tableData.value.loading = true; addLearners({ growthId: props.id, @@ -712,14 +725,14 @@ function confirmDrawer(selectList) { }) .then((res) => { tableData.value.loading = false; - GrowthDrawerRef.value.spinning = false + GrowthDrawerRef.value.spinning = false; message.success("添加成功"); closeDrawer(); getStuList(); }) .catch((err) => { tableData.value.loading = false; - GrowthDrawerRef.value.spinning = false + GrowthDrawerRef.value.spinning = false; }); } @@ -746,6 +759,9 @@ function startLoading() { defineExpose({ getStuList, startLoading });