mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
修改考试管理状态值判断所用字段
This commit is contained in:
@@ -286,7 +286,7 @@ export default {
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
className: "h",
|
||||
customRender: ({record:{finishStatus}}) => ({1:'已完成',0:'未开始',9:'已完成'}[finishStatus] || '未开始'),
|
||||
customRender: ({record:{status}}) => ({1:'已完成',0:'未开始',9:'已完成'}[status] || '未开始'),
|
||||
},
|
||||
{
|
||||
title: "操作",
|
||||
@@ -299,7 +299,7 @@ export default {
|
||||
customRender: (text) => {
|
||||
{/* debugger */ }
|
||||
console.log("text" + text.record)
|
||||
if (text.record.finishStatus === 1 || text.record.finishStatus === 9) {
|
||||
if (text.record.status === 1 || text.record.status === 9) {
|
||||
return (
|
||||
<div class="racona">
|
||||
<a-button
|
||||
|
||||
Reference in New Issue
Block a user