From f6971595d32773e339d1cf782fa38bc7138a500a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Fri, 30 Aug 2019 16:17:14 +0800 Subject: [PATCH] Merge branches 'dev_Ysl' and 'topic_bank' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_Ysl # Conflicts: # public/react/src/modules/courses/Index.js --- public/react/src/App.js | 55 ++++++++++++++++++++++ public/react/src/modules/courses/Index.js | 57 +---------------------- 2 files changed, 57 insertions(+), 55 deletions(-) diff --git a/public/react/src/App.js b/public/react/src/App.js index d37034052..bafaa898c 100644 --- a/public/react/src/App.js +++ b/public/react/src/App.js @@ -256,6 +256,31 @@ const Topicbank= Loadable({ loader: () => import('./modules/topic_bank/Topic_bank'), loading: Loading, }) +//普通作业题库详情 +const Generaljobbankdetails =Loadable({ + loader: () => import('./modules/courses/questionbank/Generaljobbankdetails'), + loading: Loading, +}); +//分组作业题库详情 +const GroupjobbankPage =Loadable({ + loader: () => import('./modules/courses/groupjobbank/GroupjobbankPage'), + loading: Loading, +}); +//毕设选题详情 +const CompletetopicdePage =Loadable({ + loader: () => import('./modules/courses/comtopicdetails/CompletetopicdePage'), + loading: Loading, +}); +//毕设任务详情 +const Completetaskpage =Loadable({ + loader: () => import('./modules/courses/completetaskdetails/Completetaskpage'), + loading: Loading, +}); +//问卷编辑 +const PollNewQuestbank =Loadable({ + loader: () => import('./modules/courses/poll/PollNewQuestbank'), + loading: Loading, +}); class App extends Component { constructor(props) { super(props) @@ -347,6 +372,36 @@ class App extends Component { + {/*题库问卷编辑详情*/} + () + } + > + {/*毕设任务题库详情*/} + () + } + > + {/*毕设内容题库详情*/} + () + } + > + {/*分组作业题库详情*/} + () + } + > + {/* 普通作业题库详情*/} + () + } + > {/*题库*/} import('./graduation/tasks/GraduationTasksSubmitedit'), loading: Loading, }) -//普通作业题库详情 -const Generaljobbankdetails =Loadable({ - loader: () => import('../../modules/courses/questionbank/Generaljobbankdetails'), - loading: Loading, -}); -//分组作业题库详情 -const GroupjobbankPage =Loadable({ - loader: () => import('../../modules/courses/groupjobbank/GroupjobbankPage'), - loading: Loading, -}); -//毕设选题详情 -const CompletetopicdePage =Loadable({ - loader: () => import('../../modules/courses/comtopicdetails/CompletetopicdePage'), - loading: Loading, -}); -//毕设任务详情 -const Completetaskpage =Loadable({ - loader: () => import('../../modules/courses/completetaskdetails/Completetaskpage'), - loading: Loading, -}); -//问卷编辑 -const PollNewQuestbank =Loadable({ - loader: () => import('../../modules/courses/poll/PollNewQuestbank'), - loading: Loading, -}); + class CoursesIndex extends Component{ constructor(props) { super(props) @@ -466,36 +442,7 @@ class CoursesIndex extends Component{ // console.log(commons) return ( - {/*题库问卷编辑详情*/} - () - } - > - {/*毕设任务题库详情*/} - () - } - > - {/*毕设内容题库详情*/} - () - } - > - {/*分组作业题库详情*/} - () - } - > - {/* 普通作业题库详情*/} - () - } - > + {/* 资源列表页 */}