Ver código fonte

编辑跳转

natasha 6 meses atrás
pai
commit
0ec9bb6874
1 arquivos alterados com 9 adições e 1 exclusões
  1. 9 1
      src/views/courseList.vue

+ 9 - 1
src/views/courseList.vue

@@ -627,7 +627,15 @@ export default {
       //     return false;
       //   }
       sessionStorage.setItem("Bookdetail", JSON.stringify(row));
-      this.$router.push("/input?bookId=" + row.id);
+      if (row.courseware_category === "RLC") {
+        this.$router.push(
+          "/GCLS-Book-Component-RLC/#/adultInput?bookId=" + row.id
+        );
+      } else {
+        this.$router.push(
+          "/GCLS-Book-Component-NPC/#/adultInput?bookId=" + row.id
+        );
+      }
     },
     // 预览
     handleView(row) {