瀏覽代碼

编辑跳转

natasha 9 月之前
父節點
當前提交
0ec9bb6874
共有 1 個文件被更改,包括 9 次插入1 次删除
  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) {