WANG 6 лет назад
Родитель
Сommit
bea60068c6

+ 3 - 1
src/modules/examwork/view/offlineExam.vue

@@ -254,7 +254,9 @@ export default {
                 type: "success",
                 message: "新增成功"
               });
-              this.back();
+              this.$router.push({
+                path: "/examwork/offlineExam/" + response.data.id
+              });
             });
           }
         } else {

+ 3 - 1
src/modules/examwork/view/onlineExam.vue

@@ -802,7 +802,9 @@ export default {
                 type: "success",
                 message: "新增成功"
               });
-              this.back();
+              this.$router.push({
+                path: "/examwork/onlineExam/" + response.data.id
+              });
             });
           }
         } else {

+ 3 - 1
src/modules/examwork/view/practiceExam.vue

@@ -449,7 +449,9 @@ export default {
                 type: "success",
                 message: "新增成功"
               });
-              this.back();
+              this.$router.push({
+                path: "/examwork/practiceExam/" + response.data.id
+              });
             });
           }
         } else {

+ 3 - 1
src/modules/examwork/view/printExam.vue

@@ -214,7 +214,9 @@ export default {
                 type: "success",
                 message: "新增成功"
               });
-              this.back();
+              this.$router.push({
+                path: "/examwork/printExam/" + response.data.id
+              });
             });
           }
         } else {

+ 3 - 1
src/modules/examwork/view/traditionExam.vue

@@ -214,7 +214,9 @@ export default {
                 type: "success",
                 message: "新增成功"
               });
-              this.back();
+              this.$router.push({
+                path: "/examwork/traditionExam/" + response.data.id
+              });
             });
           }
         } else {