龚焕茏
2024-06-26 a3f19959cbc1ad380ba84e6d8699d3e00afa07a7
src/views/exam/exam/ExamManage.vue
@@ -64,7 +64,7 @@
        width="150px"
        prop="createTime"
      ></el-table-column>
      <el-table-column label="操作" fiexd="right" width="210px">
      <el-table-column label="操作" fiexd="right" width="280px">
        <template slot-scope="scope">
          <el-button
            type="primary"
@@ -74,6 +74,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 type="warning" size="small" @click="monitor(scope.row)">监控</el-button>
        </template>
      </el-table-column>
    </el-table>
@@ -195,6 +196,10 @@
    this.MyExamPaperList()
  },
  methods: {
    // 考试监控列表
    monitor (row) {
      this.$router.push({ path: '/exam/monitor', query: { examId: row.id } })
    },
    markPaper (row) {
      // 跳转阅卷页面
      this.$router.push({ path: '/exam/mark/paper', query: { examName: row.examName, examId: row.id } })