markMinxin.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. export default {
  2. methods: {
  3. toMarkMark(data) {
  4. this.$ls.set("mark", {
  5. examId: data.examId,
  6. paperNumber: data.paperNumber,
  7. questionId: data.questionId,
  8. });
  9. this.openPage("/mark/mark");
  10. },
  11. toMarkArbitrate(data) {
  12. // paperNumber, questionId, examId, arbitrateId
  13. this.$ls.set("arbitrate", data);
  14. this.openPage("/mark/arbitrate");
  15. },
  16. toMarkTrack(studentId) {
  17. this.$ls.set("check-students", studentId);
  18. this.openPage("/mark/track/student");
  19. },
  20. toMarkObjectiveAnswer(studentIds) {
  21. this.$ls.set("check-students", studentIds);
  22. this.openPage("/mark/check/objective-answer");
  23. },
  24. toMarkSubjectiveAnswer({ examId, paperNumber, studentIds }) {
  25. this.$ls.set("check-students", { examId, paperNumber, studentIds });
  26. this.openPage("/mark/check/subjective-answer");
  27. },
  28. toMarkReject(data) {
  29. this.$ls.set("reject", data);
  30. this.openPage("/mark/reject");
  31. },
  32. openPage(url) {
  33. // window.location.href = url;
  34. window.open(url);
  35. },
  36. },
  37. };