mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-19 07:46:46 +08:00
fix:外部考试管理;未完成考试的学员【查看答卷】按钮禁用
工号字段宽度加宽
This commit is contained in:
@@ -190,7 +190,7 @@ export default {
|
||||
title: "工号",
|
||||
dataIndex: "studentCode",
|
||||
key: "studentCode",
|
||||
width: 60,
|
||||
width: 120,
|
||||
align: "center",
|
||||
className: "h head",
|
||||
customRender: (text) => {
|
||||
@@ -305,7 +305,7 @@ export default {
|
||||
align: "center",
|
||||
ellipsis: true,
|
||||
className: "h",
|
||||
customRender: ({record:{finishStatus}}) => ({1:'进行中',0:'未开始',9:'已完成'}[finishStatus] || '未开始'),
|
||||
customRender: ({record:{status}}) => ({1:'进行中',0:'未开始',9:'已完成'}[status] || '未开始'),
|
||||
},
|
||||
{
|
||||
title: "操作",
|
||||
@@ -318,14 +318,14 @@ export default {
|
||||
customRender: (text) => {
|
||||
return (
|
||||
<div class="racona">
|
||||
<a
|
||||
onClick={()=>{
|
||||
{text.record.status == '0' ? "查看答卷" :
|
||||
<a onClick={()=>{
|
||||
state.studentKid = text.record.studentKid;
|
||||
state.datasource = text.record;
|
||||
state.CAvisible = true;
|
||||
}}>
|
||||
查看答卷
|
||||
</a>
|
||||
}}> 查看答卷 </a>
|
||||
}
|
||||
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user