xiangpei
2024-07-09 c6d7797e671d46334726e5df1bac698722aa6eb7
src/views/exam/exam/ExamManage.vue
@@ -35,10 +35,10 @@
        label="参考班级"
        prop="className"
      ></el-table-column>
      <el-table-column
        label="班级人数"
        prop="studentNum"
      ></el-table-column>
<!--      <el-table-column-->
<!--        label="班级人数"-->
<!--        prop="studentNum"-->
<!--      ></el-table-column>-->
      <el-table-column
        label="考试地点"
        prop="examPlace"
@@ -72,8 +72,17 @@
            @click="handlerEdit(scope.row)"
          >修改
          </el-button>
          <el-popconfirm
            v-if="scope.row.status === 'not_start'"
            style="margin: 0 5px"
            title="确定要删除该考试吗?"
            @confirm="deleteExam(scope.row.id)"
          >
            <el-button slot="reference" type="danger" size="small">删除</el-button>
          </el-popconfirm>
          <el-button v-if="scope.row.status === 'finished'" type="success" size="small" @click="markPaper(scope.row)">阅卷</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 type="warning" size="small" @click="monitor(scope.row)">监控</el-button>
        </template>
      </el-table-column>