From 404845378efc777fd0cf6ea64f71b64b37e95f9a Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 26 Dec 2024 17:42:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B2=E5=B8=88=E7=AE=A1=E7=90=86bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/project/BatchLecturer.vue | 24 +++++++++++----------- src/components/project/ConfirmLecturer.vue | 24 +++++++++++----------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/components/project/BatchLecturer.vue b/src/components/project/BatchLecturer.vue index 42797a83..482a2adb 100644 --- a/src/components/project/BatchLecturer.vue +++ b/src/components/project/BatchLecturer.vue @@ -176,20 +176,28 @@ const columns = [ dataIndex: 'name', key: 'name', align: 'center', - width:120, + width:100, }, { title: '讲师工号', dataIndex: 'userNo', key: 'userNo', align: 'center', - width:120 + width:100 + }, + { + title: '课程名称', + dataIndex: 'courseName', + key: 'courseName', + align: 'left', + width:160, + customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}}, }, { title: '所属组织', dataIndex: 'orgName', key: 'orgName', - align: 'center', + align: 'left', ellipsis: true, width:100, customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}}, @@ -199,7 +207,7 @@ const columns = [ title: '讲师体系', dataIndex: 'tsystemName', key: 'tsystemName', - align: 'center', + align: 'left', width:100, customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}}, }, @@ -247,14 +255,6 @@ const columns = [ } } }, - { - title: '课程名称', - dataIndex: 'courseName', - key: 'courseName', - align: 'center', - width:100, - customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}}, - }, { title: '授课/开发课程日期', dataIndex: 'teachingDate', diff --git a/src/components/project/ConfirmLecturer.vue b/src/components/project/ConfirmLecturer.vue index 01cd445b..68d48fff 100644 --- a/src/components/project/ConfirmLecturer.vue +++ b/src/components/project/ConfirmLecturer.vue @@ -286,20 +286,28 @@ const columns = [ dataIndex: 'name', key: 'name', align: 'center', - width:120, + width:100, }, { title: '讲师工号', dataIndex: 'userNo', key: 'userNo', align: 'center', - width:120, + width:100, + }, + { + title: '课程名称', + dataIndex: 'courseName', + key: 'courseName', + align: 'left', + width:160, + customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}}, }, { title: '所属组织', dataIndex: 'orgName', key: 'orgName', - align: 'center', + align: 'left', ellipsis: true, width:100, customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}}, @@ -309,7 +317,7 @@ const columns = [ title: '讲师体系', dataIndex: 'tsystemName', key: 'tsystemName', - align: 'center', + align: 'left', width:100, customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}}, }, @@ -357,14 +365,6 @@ const columns = [ } } }, - { - title: '课程名称', - dataIndex: 'courseName', - key: 'courseName', - align: 'center', - width:100, - customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}}, - }, { title: '授课/开发课程日期', dataIndex: 'teachingDate',