SanHQin 1 Minggu lalu
induk
melakukan
a164765d5e

+ 1 - 1
dist/index.html

@@ -32,7 +32,7 @@
       width: 100%;
       background: #e6eaf0;
       font-family: '黑体';
-    }</style><link href=./static/css/app.aa40644d4c518e6dc00a67d47a40d598.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.c046dd5e92c8da101466.js></script><script type=text/javascript src=./static/js/app.894d371114c207a31942.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.95921264aff06f98cb7dcca2172258c1.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.161e82026ac2ae03ab6f.js></script><script type=text/javascript src=./static/js/vendor.c046dd5e92c8da101466.js></script><script type=text/javascript src=./static/js/app.307cc2028cc6d33864ad.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/css/app.95921264aff06f98cb7dcca2172258c1.css


File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/css/app.95921264aff06f98cb7dcca2172258c1.css.map


File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/js/app.307cc2028cc6d33864ad.js


File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/js/app.307cc2028cc6d33864ad.js.map


File diff ditekan karena terlalu besar
+ 0 - 0
dist/static/js/manifest.161e82026ac2ae03ab6f.js.map


+ 1 - 1
src/components/pages/sassPlatform/view/tableView.vue

@@ -513,7 +513,7 @@ export default {
               "/addTest?cid=" +
                 item.courseId +
                 "&userid=" +
-                this.userid +
+                this.userId +
                 "&oid=" +
                 this.oid +
                 "&org=" +

+ 54 - 4
src/components/pages/test/add/addTest.vue

@@ -148,7 +148,7 @@ export default {
                 })
                 .catch((v) => {
                     console.log(v)
-                    if (v == "cancel") {
+                    if (v == "cancel" && !this.back) {
                         this.goTo(
                             "/test?userid=" +
                             this.userid +
@@ -159,6 +159,17 @@ export default {
                             "&role=" +
                             this.role
                         );
+                    }else if(this.back == 'sass'){
+                      this.goTo(
+                            "/sassPlatform?userid=" +
+                            this.userid +
+                            "&oid=" +
+                            this.oid +
+                            "&org=" +
+                            this.org +
+                            "&role=" +
+                            this.role
+                        );
                     }
                 });
         },
@@ -198,7 +209,8 @@ export default {
                     this.cid = res.data.courseId;
                     if (look == 5) {
                         this.$message.success("保存成功")
-                        this.goTo(
+                        if(!this.back){
+                          this.goTo(
                             "/test?userid=" +
                             this.userid +
                             "&oid=" +
@@ -208,6 +220,18 @@ export default {
                             "&role=" +
                             this.role
                         );
+                        }else if(back == 'sass'){
+                          this.goTo(
+                            "/sassPlatform?userid=" +
+                            this.userid +
+                            "&oid=" +
+                            this.oid +
+                            "&org=" +
+                            this.org +
+                            "&role=" +
+                            this.role
+                        );
+                        }
                     }
                     // setTimeout(() => {
                     //     this.getData(2);
@@ -260,7 +284,8 @@ export default {
                 .then((res) => {
                     if (look == 3) {
                         this.$message.success("发布成功")
-                        this.goTo(
+                        if(!this.back){
+                          this.goTo(
                             "/test?userid=" +
                             this.userid +
                             "&oid=" +
@@ -270,13 +295,26 @@ export default {
                             "&role=" +
                             this.role
                         );
+                        }else if(this.back == 'sass'){
+                          this.goTo(
+                            "/sassPlatform?userid=" +
+                            this.userid +
+                            "&oid=" +
+                            this.oid +
+                            "&org=" +
+                            this.org +
+                            "&role=" +
+                            this.role
+                        );
+                        }
                     } else if (look == 4) {
                         this.$message.success("保存成功")
                     } else if (look == 1 || look == 2) {
                         // this.$message.success("保存成功")
                     } else if (look == 5) {
                         this.$message.success("保存成功")
-                        this.goTo(
+                        if(!this.back){
+                          this.goTo(
                             "/test?userid=" +
                             this.userid +
                             "&oid=" +
@@ -286,6 +324,18 @@ export default {
                             "&role=" +
                             this.role
                         );
+                        }else if(this.back == 'sass'){
+                          this.goTo(
+                            "/sassPlatform?userid=" +
+                            this.userid +
+                            "&oid=" +
+                            this.oid +
+                            "&org=" +
+                            this.org +
+                            "&role=" +
+                            this.role
+                        );
+                        }
                     }
                     setTimeout(() => {
                         this.getData(2);

+ 15 - 1
src/components/pages/test/check/index.vue

@@ -2179,7 +2179,8 @@ export default {
       // });
     },
     retrunCourse() {
-      this.goTo(
+      if(!this.back){
+        this.goTo(
         "/test?userid=" +
           this.userid +
           "&oid=" +
@@ -2189,6 +2190,19 @@ export default {
           "&role=" +
           this.role
       );
+      }else if(this.back=="sass"){
+        this.goTo(
+        "/sassPlatform?userid=" +
+          this.userid +
+          "&oid=" +
+          this.oid +
+          "&org=" +
+          this.org +
+          "&role=" +
+          this.role
+      );
+      }
+
     },
     goTo(path) {
       this.$router.push(path);

+ 14 - 1
src/components/pages/test/check/index2.vue

@@ -150,7 +150,8 @@ export default {
   watch: {},
   methods: {
     retrunCourse() {
-      this.goTo(
+      if(!this.back){
+        this.goTo(
         "/test?userid=" +
           this.userid +
           "&oid=" +
@@ -160,6 +161,18 @@ export default {
           "&role=" +
           this.role
       );
+      }else if(this.back=="sass"){
+        this.goTo(
+        "/sassPlatform?userid=" +
+          this.userid +
+          "&oid=" +
+          this.oid +
+          "&org=" +
+          this.org +
+          "&role=" +
+          this.role
+      );
+      }
     },
     goTo(path) {
       this.$router.push(path);

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini