讲师管理bug

This commit is contained in:
zhangsir
2024-12-16 15:50:22 +08:00
parent 2c4801ba75
commit 9de891eb78
5 changed files with 26 additions and 1 deletions

View File

@@ -371,6 +371,11 @@ const queryDrawer = () => {
margin-right: 20px; margin-right: 20px;
} }
} }
.table{
::v-deep .ant-table-cell-fix-right {
width: 160px !important;
}
}
} }
} }

View File

@@ -618,6 +618,11 @@ const config = () => {
margin-right: 20px; margin-right: 20px;
} }
} }
.table{
::v-deep .ant-table-cell-fix-right {
width: 160px !important;
}
}
} }
} }

View File

@@ -620,7 +620,7 @@ export default {
customRender: (value) => { customRender: (value) => {
return ( return (
<div> <div>
{dayjs(value.record?.teachingDate).format("YYYY-MM-DD HH:mm")} {value.record?.teachingDate?dayjs(value.record?.teachingDate).format("YYYY-MM-DD HH:mm"):'-'}
</div> </div>
); );
}, },

View File

@@ -954,6 +954,9 @@ export default {
ellipsis: true, ellipsis: true,
align: "center", align: "center",
width: 160, width: 160,
customRender: ({text}) => {
return text || "0";
}
}, },
{ {
title: '评分 ', title: '评分 ',
@@ -962,6 +965,9 @@ export default {
ellipsis: true, ellipsis: true,
align: "center", align: "center",
width: 160, width: 160,
customRender: ({text}) => {
return text || "-";
}
}, },
{ {
title: '课程基准 ', title: '课程基准 ',
@@ -1244,6 +1250,9 @@ export default {
} }
.table{ .table{
padding-bottom: 70px; padding-bottom: 70px;
::v-deep .ant-table-cell-fix-right {
width: 160px !important;
}
} }
} }
} }

View File

@@ -983,6 +983,9 @@
ellipsis: true, ellipsis: true,
align: "center", align: "center",
width: 120, width: 120,
customRender: ({text}) => {
return text || "0";
}
}, },
{ {
title: '评分 ', title: '评分 ',
@@ -991,6 +994,9 @@
ellipsis: true, ellipsis: true,
align: "center", align: "center",
width: 120, width: 120,
customRender: ({text}) => {
return text || "-";
}
}, },
{ {
title: '课程类型 ', title: '课程类型 ',