修改状态

This commit is contained in:
zhangsir
2024-06-14 13:42:29 +08:00
parent 788bbca2a4
commit 4be9af686d
2 changed files with 2 additions and 2 deletions

View File

@@ -314,7 +314,7 @@ export default {
align: "center",
ellipsis: true,
className: "h",
customRender: ({record:{status}}) => ({2:'进行中',1:'未开始',9:'已完成'}[status] || '未开始'),
customRender: ({record:{status}}) => ({2:'进行中',0:'未开始',1:'已完成'}[status] || '未开始'),
},
{
title: "操作",

View File

@@ -295,7 +295,7 @@ export default {
align: "center",
ellipsis: true,
className: "h",
customRender: ({record:{status}}) => ({1:'已完成',0:'未开始',9:'已完成'}[status] || '未开始'),
customRender: ({record:{status}}) => ({1:'已完成',0:'未开始',2:'进行中'}[status] || '未开始'),
},
{
title: "操作",