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',