ExamMarkPage.vue 992 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <template>
  2. <el-main>
  3. </el-main>
  4. </template>
  5. <script>
  6. export default {
  7. name: 'ExamMarker',
  8. data() {
  9. return {
  10. // 屏幕宽度, 为了控制分页条的大小
  11. screenWidth: document.body.clientWidth,
  12. currentPage: 1,
  13. pageSize: 20,
  14. totalSize: 0,
  15. dataList: [],
  16. // **********************************************************************
  17. searchForm: {
  18. page: 1,
  19. type: '1',
  20. content: null
  21. },
  22. // 开始考试的提示框
  23. startExamDialog: false,
  24. // 当前选中的考试的信息
  25. currentSelectedExam: {
  26. examId: 114511
  27. }
  28. }
  29. },
  30. created() {
  31. document.title = '阅卷'
  32. this.getData(this.searchForm)
  33. },
  34. methods: {
  35. handleCurrentChange(pageNumber) {
  36. this.currentPage = pageNumber
  37. this.getData(this.searchForm)
  38. // 回到顶部
  39. scrollTo(0, 0)
  40. },
  41. getData(searchForm) {
  42. this.dataList = []
  43. }
  44. }
  45. }
  46. </script>
  47. <style>
  48. </style>