mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-21 00:36:46 +08:00
fix:系统考试任务状态判断
This commit is contained in:
@@ -169,13 +169,13 @@ export default {
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
value: "10",
|
||||
label: "未通过",
|
||||
value: "9",
|
||||
label: "已完成",
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
value: "1",
|
||||
label: "已通过",
|
||||
label: "进行中",
|
||||
},
|
||||
],
|
||||
selectedRowKeys: [],
|
||||
@@ -305,7 +305,7 @@ export default {
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
className: "h",
|
||||
customRender: ({record:{finishStatus}}) => ({1:'通过',2:'未通过'}[finishStatus] || '未开始'),
|
||||
customRender: ({record:{finishStatus}}) => ({1:'进行中',0:'未开始',9:'已完成'}[finishStatus] || '未开始'),
|
||||
},
|
||||
{
|
||||
title: "操作",
|
||||
|
||||
Reference in New Issue
Block a user