mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
试卷未结束不能查看
This commit is contained in:
@@ -333,18 +333,39 @@ export default {
|
|||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
className: "h",
|
className: "h",
|
||||||
customRender: (text) => {
|
customRender: (text) => {
|
||||||
return (
|
debugger
|
||||||
<div class="racona">
|
console.log("text"+text.record)
|
||||||
<a
|
if (text.record.finishStatus===1 || text.record.finishStatus===2) {
|
||||||
onClick={()=>{
|
return (
|
||||||
state.studentKid = text.record.studentKid;
|
<div class="racona">
|
||||||
state.datasource = text.record;
|
<a-button
|
||||||
state.CAvisible = true;
|
type="link"
|
||||||
}}>
|
onClick={()=>{
|
||||||
查看答卷
|
state.studentKid = text.record.studentKid;
|
||||||
</a>
|
state.datasource = text.record;
|
||||||
|
state.CAvisible = true;
|
||||||
|
}}>
|
||||||
|
查看答卷
|
||||||
|
</a-button>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}else {
|
||||||
|
return (
|
||||||
|
<div class="racona">
|
||||||
|
<a-button
|
||||||
|
type="link"
|
||||||
|
disabled
|
||||||
|
onClick={()=>{
|
||||||
|
state.studentKid = text.record.studentKid;
|
||||||
|
state.datasource = text.record;
|
||||||
|
state.CAvisible = true;
|
||||||
|
}}>
|
||||||
|
查看答卷
|
||||||
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user