From 0a5557a65304d3c5f8fc35200cfbb38f85778970 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期一, 17 六月 2024 13:52:18 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/exam/exam/ExamManage.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/exam/exam/ExamManage.vue b/src/views/exam/exam/ExamManage.vue index 472322f..87e9bfd 100644 --- a/src/views/exam/exam/ExamManage.vue +++ b/src/views/exam/exam/ExamManage.vue @@ -73,7 +73,7 @@ >淇敼 </el-button> <el-button type="danger" size="small" @click="deleteExam(scope.row.id)">鍒犻櫎</el-button> - <el-button type="success" size="small" @click="markPaper(scope.row)">闃呭嵎</el-button> + <el-button v-if="scope.row.status === 'finished'" type="success" size="small" @click="markPaper(scope.row)">闃呭嵎</el-button> </template> </el-table-column> </el-table> @@ -152,7 +152,7 @@ status: '', startTime: '', endTime: '', - time: [], + time: [] }, examRules: { examName: [ @@ -172,7 +172,7 @@ ], time: [ { required: true, message: '璇烽�夋嫨鑰冭瘯鏃堕棿', trigger: 'change' } - ], + ] }, total: 0, title: '瀹夋帓鑰冭瘯', @@ -183,7 +183,7 @@ pageIndex: 1, pageSize: 10 }, - tableData: [], + tableData: [] } }, mounted () { @@ -294,7 +294,7 @@ }, routerTo (url) { this.$router.push(url) - }, + } }, } </script> -- Gitblit v1.8.0