+
{
showStartModal();
@@ -1367,6 +1370,24 @@ export default {
存为模版
*/}
+
+ {
+ showCopyModal();
+ }}
+ >
+ 复制
+
+
+
+ {
+ showDeleteModal();
+ }}
+ >
+ 删除
+
+
@@ -1422,13 +1443,46 @@ export default {
{
- showCopyModal();
- }}
+ // onClick={() => {
+ // showCopyModal();
+ // }}
>
- 复制
-
+
+
+
+
+
+ {/*
+
+ 基础信息
+
+
+ {
+ showStartModal();
+ }}
+ >
+ 存为模版
+
+ */}
+
+ {
+ showCopyModal();
+ }}
+ >
+ 复制
+
+
+
+
+
) : value.record.status === -1 ? (
@@ -1482,20 +1536,53 @@ export default {
{
- showCopyModal();
- }}
+ // onClick={() => {
+ // showCopyModal();
+ // }}
>
- 复制
-
- {
- showDeleteModal();
- }}
- >
- 删除
+
+
+
+
+ {/*
+
+ 基础信息
+
+
+ {
+ showStartModal();
+ }}
+ >
+ 存为模版
+
+ */}
+
+ {
+ showCopyModal();
+ }}
+ >
+ 复制
+
+
+
+ {
+ showDeleteModal();
+ }}
+ >
+ 删除
+
+
+
+
) : (
@@ -1603,7 +1690,7 @@ export default {
- ) : value.record.status === 1 ? (
+ ) : value.record.status === 1 ? (
查看
@@ -1657,14 +1744,26 @@ export default {
创建班级
-
{
- showCopyModal();
- }}
- >
- 复制
-
+
+
+
+ {
+ showCopyModal();
+ }}
+ >
+ 复制
+
+
+
+
+
+
) : value.record.status === -1 ? (
@@ -1718,20 +1817,38 @@ export default {
{
- showCopyModal();
- }}
+
>
- 复制
-
-
{
- showDeleteModal();
- }}
- >
- 删除
+
+
+
+ {
+ showCopyModal();
+ }}
+ >
+ 复制
+
+
+
+ {
+ showDeleteModal();
+ }}
+ >
+ 删除
+
+
+
+
+
+
) : (
@@ -1827,11 +1944,8 @@ export default {
) : (
{
- showCopyModal();
- }}
+
>
- 复制
)}
@@ -1873,7 +1987,7 @@ export default {
基础信息
- ) : value.record.status === "进行中" ? (
+ ) : value.record.status ===1|| value.record.status == 1 && Number(value.record.beginTime) > Math.ceil(new Date().getTime / 1000) ? (
+
+ {
+ showCopyModal();
+ }}
+ >
+ 复制
+
+
{
showStartModal();
@@ -1927,6 +2050,15 @@ export default {
存为模版
+
+ {
+ showCopyModal();
+ }}
+ >
+ 复制
+
+
{
@@ -1940,44 +2072,6 @@ export default {
基础信息
- ) : value.record.status === "未开始" ? (
-
-
- {
- showStartModal();
- }}
- >
- 存为模版
-
-
-
- {
- // showDeleteModal();
- }}
- >
- 撤回
-
-
-
- {
- // showDeleteModal();
- }}
- >
- 结束
-
-
-
- 基础信息
-
-
) : (
)}