fix:面授课管理是否发布及开课按钮判断修改

This commit is contained in:
wyx
2023-03-09 23:47:47 +08:00
parent 88c23aac6a
commit 43fefc29fc

View File

@@ -347,7 +347,7 @@
</a-button> -->
<a-button
v-if="
(record.auditStatus === 3)
(record.publishStatus === 1)
"
@click="() => handleStart(record, String(record.courseform))"
type="link"
@@ -2295,11 +2295,11 @@ export default defineComponent({
{
title: "是否发布",
width: 100,
dataIndex: "auditStatus",
dataIndex: "publishStatus",
key: "7",
align: "center",
customRender: ({ record }) =>
record.auditStatus === 3 ? "已发布" : "未发布",
record.publishStatus === 1 ? "已发布" : "未发布",
},
{
title: "创建人",