Bladeren bron

场次功能调试

lideyin 4 jaren geleden
bovenliggende
commit
41f5a31d6d

+ 1 - 1
src/modules/examwork/routes/routes.js

@@ -88,7 +88,7 @@ export default [
         component: studentSpecialSettings
       },
       {
-        path: "stageSpecialSettings/:id", //场次特殊设置
+        path: "stageSpecialSettings/:id/:examName/:examTypeName", //场次特殊设置
         component: stageSpecialSettings
       },
       {

+ 7 - 1
src/modules/examwork/view/examInfo.vue

@@ -534,7 +534,13 @@ export default {
     editStageSettings(row) {
       this.setSearchParams();
       this.$router.push({
-        path: "/examwork/stageSpecialSettings/" + row.id
+        path:
+          "/examwork/stageSpecialSettings/" +
+          row.id +
+          "/" +
+          row.name +
+          "/" +
+          this.getExamType(row.examType)
       });
     },
     showExamCourseSettingsDialog(row) {

File diff suppressed because it is too large
+ 608 - 374
src/modules/examwork/view/stageSpecialSettings.vue


+ 1 - 1
src/modules/examwork/view/studentSpecialSettings.vue

@@ -96,7 +96,7 @@ import { EXAM_WORK_API } from "@/constants/constants.js";
 import { mapState } from "vuex";
 
 export default {
-  name: "stageSpecialSettings",
+  name: "StudentSpecialSettings",
   data() {
     return {
       loading: false,

Some files were not shown because too many files changed in this diff