diff --git a/src/views/growthpath/GrowthAddPath.vue b/src/views/growthpath/GrowthAddPath.vue index 2cc05549..294d639a 100644 --- a/src/views/growthpath/GrowthAddPath.vue +++ b/src/views/growthpath/GrowthAddPath.vue @@ -103,7 +103,6 @@ > --> { return `${record.comLearnNum}/${record.learnNum}`; }, @@ -590,7 +597,7 @@ export default { title: "必修丨选修", align: "center", ellipsis: true, - width:110, + width: 110, customRender: ({ record }) => { return `${record.requiredTaskNum}丨${record.elePublishedNum}`; }, @@ -600,7 +607,7 @@ export default { dataIndex: "ratio", key: "ratio", align: "center", - width:100, + width: 100, ellipsis: true, customRender: ({ record }) => { return `${record.ratio * 100}%`; @@ -611,7 +618,7 @@ export default { dataIndex: "isPublished", key: "isPublished", align: "center", - width:100, + width: 100, ellipsis: true, customRender: ({ record }) => { return record.isPublished ? "已发布" : "未发布"; diff --git a/src/views/growthpath/GrowthPath.vue b/src/views/growthpath/GrowthPath.vue index 370a1bbc..9cc9cbae 100644 --- a/src/views/growthpath/GrowthPath.vue +++ b/src/views/growthpath/GrowthPath.vue @@ -91,7 +91,6 @@ > --> { return `${record.comLearnNum}/${record.learnNum}`; }, }, { - title: "必修|选修", + title: "必修丨选修", align: "center", - width: 110, ellipsis: true, + width: 110, customRender: ({ record }) => { - return `${record.requiredTaskNum}|${record.elePublishedNum}`; + return `${record.requiredTaskNum}丨${record.elePublishedNum}`; }, }, { title: "完成比例", dataIndex: "ratio", key: "ratio", - width:100, align: "center", + width: 100, ellipsis: true, customRender: ({ record }) => { return `${record.ratio * 100}%`; @@ -599,7 +606,7 @@ export default { dataIndex: "isPublished", key: "isPublished", align: "center", - width:100, + width: 100, ellipsis: true, customRender: ({ record }) => { return record.isPublished ? "已发布" : "未发布"; @@ -610,8 +617,8 @@ export default { dataIndex: "updateTime", key: "updateTime", align: "center", - width: 200, ellipsis: true, + width: 200, }, { title: "操作",