diff --git a/src/views/growthpath/GrowthAddPath.vue b/src/views/growthpath/GrowthAddPath.vue index 45214fb3..a05c7d80 100644 --- a/src/views/growthpath/GrowthAddPath.vue +++ b/src/views/growthpath/GrowthAddPath.vue @@ -562,7 +562,6 @@ export default { key: "stdPositionName", align: "center", ellipsis: true, - width: 300, customRender: ({ record }) => { return record.stdPosition ? `${record.stdPositionName}(${record.stdPosition})` @@ -574,12 +573,14 @@ export default { dataIndex: "qualsLevelDesr", key: "qualsLevelDesr", align: "center", + width:120, ellipsis: true, }, { title: "完成人数/总人数", align: "center", ellipsis: true, + width:140, customRender: ({ record }) => { return `${record.comLearnNum}/${record.learnNum}`; }, @@ -588,6 +589,7 @@ export default { title: "必修丨选修", align: "center", ellipsis: true, + width:110, customRender: ({ record }) => { return `${record.requiredTaskNum}丨${record.elePublishedNum}`; }, @@ -597,6 +599,7 @@ export default { dataIndex: "ratio", key: "ratio", align: "center", + width:90, ellipsis: true, customRender: ({ record }) => { return `${record.ratio * 100}%`; @@ -607,6 +610,7 @@ export default { dataIndex: "isPublished", key: "isPublished", align: "center", + width:80, ellipsis: true, customRender: ({ record }) => { return record.isPublished ? "已发布" : "未发布"; diff --git a/src/views/growthpath/GrowthPath.vue b/src/views/growthpath/GrowthPath.vue index 383482f5..67ca3855 100644 --- a/src/views/growthpath/GrowthPath.vue +++ b/src/views/growthpath/GrowthPath.vue @@ -550,7 +550,6 @@ export default { key: "stdPositionName", align: "center", ellipsis: true, - width: 400, customRender: ({ record }) => { return record.stdPosition ? `${record.stdPositionName}(${record.stdPosition})` @@ -562,11 +561,13 @@ export default { dataIndex: "qualsLevelDesr", key: "qualsLevelDesr", align: "center", + width:120, ellipsis: true, }, { title: "完成人数/总人数", align: "center", + width:140, ellipsis: true, customRender: ({ record }) => { return `${record.comLearnNum}/${record.learnNum}`; @@ -575,6 +576,7 @@ export default { { title: "必修|选修", align: "center", + width:110, ellipsis: true, customRender: ({ record }) => { return `${record.requiredTaskNum}|${record.elePublishedNum}`; @@ -584,6 +586,7 @@ export default { title: "完成比例", dataIndex: "ratio", key: "ratio", + width:90, align: "center", ellipsis: true, customRender: ({ record }) => { @@ -595,6 +598,7 @@ export default { dataIndex: "isPublished", key: "isPublished", align: "center", + width:80, ellipsis: true, customRender: ({ record }) => { return record.isPublished ? "已发布" : "未发布";