fix:项目查看答卷

This commit is contained in:
wyx
2023-03-03 16:51:58 +08:00
parent 43435b0b41
commit 3ef7a3ec4c

View File

@@ -318,14 +318,14 @@ export default {
customRender: (text) => {
return (
<div class="racona">
{text.record.status == '0' ? "查看答卷" :
<a onClick={()=>{
{text.record.status === 1 || text.record.status === 9 ?
<a onClick={()=>{
state.studentKid = text.record.studentKid;
state.datasource = text.record;
state.CAvisible = true;
}}> 查看答卷 </a>
}}>查看答卷 </a> :
<span style="color:rgba(0, 0, 0, 0.25);cursor:not-allowed;"> 查看答卷 </span>
}
</div>
);
},