fix:面授课开课复制问题

This commit is contained in:
wyx
2023-03-10 00:00:47 +08:00
parent c87765a372
commit 72b419972c

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"
@@ -831,15 +831,15 @@
<a-dropdown v-if="checkPer(permissions,createId)">
<template #overlay>
<a-menu style="margin-left: 20px">
<!-- <a-menu-item-->
<!-- @click="-->
<!-- () => {-->
<!-- handleCopyP(record);-->
<!-- }-->
<!-- "-->
<!-- >-->
<!-- 复制-->
<!-- </a-menu-item>-->
<a-menu-item
@click="
() => {
handleCopyP(record);
}
"
>
复制
</a-menu-item>
<a-menu-item
@click="
() => {
@@ -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: "创建人",