소스 검색

编辑跳转

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) {