xiangpei
2024-06-19 7b0bd3875a80d08ef008ef20141b23542c609e3b
src/views/exam/exam/MarkPaper.vue
@@ -82,7 +82,7 @@
        width="300px"
      >
        <template slot-scope="scope">
          <el-button @click="markPaper(scope.row)" type="warning">阅卷</el-button>
          <el-button @click="markPaper(scope.row.userId)" type="warning">阅卷</el-button>
        </template>
      </el-table-column>
    </el-table>
@@ -124,8 +124,9 @@
        return '未完成'
      }
    },
    markPaper (row) {
    markPaper (userId) {
      // todo打开阅卷页面
      this.$router.push({path: "/exam/mark/paper/detail", query: {examId: this.examInfo.examId, examName: this.examInfo.examName, userId: userId}})
    },
    getExamInfo () {
      getExamMarkPaperInfo(this.examInfo.examId).then(res => {