feat:增加添加学员待测试

This commit is contained in:
lixg
2022-11-29 18:18:43 +08:00
parent 556ad2d54d
commit 07efe340f2
10 changed files with 478 additions and 350 deletions

View File

@@ -3169,7 +3169,9 @@ export default {
<span class="operation3"></span>
)}
<div class="tableSelect">
{value.record.status === 0 ? (
{value.record.status === 0 ||
value.record.status === 2 ||
value.record.status === -2 ? (
<a-select
style="width: 50px"
value="更多"
@@ -3216,8 +3218,8 @@ export default {
</div>
</a-select-option>
</a-select>
) : value.record.status === 1 ||
(value.record.status == 1 &&
) : value.record.status === 3 ||
(value.record.status == 3 &&
Number(value.record.beginTime) >
Math.ceil(new Date().getTime() / 1000)) ? (
<a-select
@@ -3309,6 +3311,48 @@ export default {
删除
</div>
</a-select-option>
<a-select-option value="基础信息" label="基础信息">
<div
onClick={() => {
router.push({
path: "/taskpage",
});
storage.set("projectId", value.record.projectId);
}}
>
基础信息
</div>
{/**
<router-link to="/taskpage">基础信息</router-link>
*/}
</a-select-option>
</a-select>
) : value.record.status === 1 ? (
<a-select
style="width: 50px"
value="更多"
// options={state.projectNameList}
dropdownClassName="tabledropdown"
>
<a-select-option value="存为模版" label="存为模版">
<div
onClick={() => {
showStartModal(value.record.projectId);
}}
>
存为模版
</div>
</a-select-option>
<a-select-option value="复制" label="复制">
<div
onClick={() => {
showCopyModal(value.record.projectId);
}}
>
复制
</div>
</a-select-option>
<a-select-option value="基础信息" label="基础信息">
<div
onClick={() => {