删除了学生端批改

This commit is contained in:
luyuan 2021-03-23 11:19:11 +08:00
parent 3a947518ef
commit 1757a8fd4f
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -16,10 +16,11 @@
<el-table-column prop="createTime" label="做题时间" width="170" /> <el-table-column prop="createTime" label="做题时间" width="170" />
<el-table-column align="right" width="70"> <el-table-column align="right" width="70">
<template slot-scope="{row}"> <template slot-scope="{row}">
<router-link target="_blank" :to="{path:'/edit',query:{id:row.id}}" v-if="row.status === 1 "> <!-- <router-link target="_blank" :to="{path:'/edit',query:{id:row.id}}" v-if="row.status === 1 ">
<el-button type="text" size="small">批改</el-button> <el-button type="text" size="small">批改</el-button>
</router-link> </router-link> -->
<router-link target="_blank" :to="{path:'/read',query:{id:row.id}}" v-if="row.status === 2 "> <!-- v-if="row.status === 2 -->
<router-link target="_blank" :to="{path:'/read',query:{id:row.id}}">
<el-button type="text" size="small">查看试卷</el-button> <el-button type="text" size="small">查看试卷</el-button>
</router-link> </router-link>
</template> </template>