From 2f0d5714730108325720b232c4058d4ce0b6096d Mon Sep 17 00:00:00 2001
From: caicai8 <1149225589@qq.com>
Date: Mon, 2 Sep 2019 09:36:35 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=BB=84=E4=BD=9C=E4=B8=9A-=E4=BD=9C?=
=?UTF-8?q?=E4=B8=9A=E6=8F=8F=E8=BF=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../courses/busyWork/CommonWorkQuestion.js | 4 +-
.../user/usersInfo/banks/BanksIndex.js | 214 ++++++++++++++++++
2 files changed, 216 insertions(+), 2 deletions(-)
create mode 100644 public/react/src/modules/user/usersInfo/banks/BanksIndex.js
diff --git a/public/react/src/modules/courses/busyWork/CommonWorkQuestion.js b/public/react/src/modules/courses/busyWork/CommonWorkQuestion.js
index b14f7b209..472ebd557 100644
--- a/public/react/src/modules/courses/busyWork/CommonWorkQuestion.js
+++ b/public/react/src/modules/courses/busyWork/CommonWorkQuestion.js
@@ -105,12 +105,12 @@ class CommonWorkQuestion extends Component{
{isGroup &&
-
分组要求: {group_info.min_num} ~ {group_info.max_num}
+
分组要求: {group_info.min_num} ~ {group_info.max_num}人
{group_info.base_on_project ? '基于项目实施' : '不基于项目'}:
(学生提交作品时需要关联同组成员,组内成员作品共享)
-
({group_info.base_on_project ? '学生必须在本平台创建项目,项目管理员可以提交作品' : '无需再平台创建项目,任意小组成员均可以提交作品'})
+
({group_info.base_on_project ? '学生必须在本平台创建项目,项目管理员可以提交作品' : '无需在平台创建项目,任意小组成员均可以提交作品'})
{/*
(各小组必须在educoder平台创建项目)
*/}
}
diff --git a/public/react/src/modules/user/usersInfo/banks/BanksIndex.js b/public/react/src/modules/user/usersInfo/banks/BanksIndex.js
new file mode 100644
index 000000000..e6c39d578
--- /dev/null
+++ b/public/react/src/modules/user/usersInfo/banks/BanksIndex.js
@@ -0,0 +1,214 @@
+import React, { Component } from 'react';
+
+import {BrowserRouter as Router,Route,Switch} from 'react-router-dom';
+
+import { Breadcrumb } from 'antd';
+import { SnackbarHOC } from 'educoder';
+import { TPMIndexHOC } from '../../../tpm/TPMIndexHOC';
+import { CNotificationHOC } from '../../../courses/common/CNotificationHOC'
+
+import "../usersInfo.css"
+import "../../../courses/css/members.css"
+import "../../../courses/css/Courses.css"
+
+import Loadable from 'react-loadable';
+import Loading from '../../../../Loading';
+
+// 毕设选题
+const GtopicBanks = Loadable({
+ loader: () => import('./GtopicBanks'),
+ loading: Loading,
+})
+
+const BanksTabIndex = Loadable({
+ loader: () => import('./BanksTabIndex'),
+ loading: Loading,
+})
+const GtopicBanksEdit = Loadable({
+ loader: () => import('./GtopicBanksEdit'),
+ loading: Loading,
+})
+const HomeworkBanksEdit = Loadable({
+ loader: () => import('./HomeworkBanksEdit'),
+ loading: Loading,
+});
+const ExerciseBanksEdit = Loadable({
+ loader: () => import('./ExerciseBanksEdit'),
+ loading: Loading,
+});
+
+//普通作业题库详情
+const Generaljobbankdetails =Loadable({
+ loader: () => import('../../../courses/questionbank/Generaljobbankdetails'),
+ loading: Loading,
+});
+//分组作业题库详情
+const GroupjobbankPage =Loadable({
+ loader: () => import('../../../courses/groupjobbank/GroupjobbankPage'),
+ loading: Loading,
+});
+//毕设选题详情
+const CompletetopicdePage =Loadable({
+ loader: () => import('../../../courses/comtopicdetails/CompletetopicdePage'),
+ loading: Loading,
+});
+//毕设任务详情
+const Completetaskpage =Loadable({
+ loader: () => import('../../../courses/completetaskdetails/Completetaskpage'),
+ loading: Loading,
+});
+//问卷编辑
+const PollNewQuestbank =Loadable({
+ loader: () => import('../../../courses/poll/PollNewQuestbank'),
+ loading: Loading,
+});
+
+const GtaskBanksEdit = Loadable({
+ loader: () => import('./GtaskBanksEdit'),
+ loading: Loading,
+})
+
+class BanksIndex extends Component{
+ constructor(props){
+ super(props);
+ this.state={
+ crumbData:undefined
+ }
+ }
+
+ initPublic = (crumbData) =>{
+ this.setState({
+ crumbData
+ })
+ }
+
+ render(){
+ let { crumbData }=this.state
+ const common = {
+ initPublic:this.initPublic
+ }
+ return(
+
+
+ {
+ crumbData &&
+
+ 题库
+ {
+ crumbData.crumbArray && crumbData.crumbArray.map((item,key)=>{
+ return(
+ {item.content}
+ )
+ })
+ }
+
+ }
+
+ {
+ crumbData &&
+
+ {crumbData && crumbData.title}
+ {crumbData.is_public == true ? '公开':'私有'}
+
+ }
+
+
+ {/*毕设任务编辑*/}
+ {
+ return ()
+ }
+ }>
+
+ {
+ return ()
+ }
+ }>
+
+ {
+ return ()
+ }
+ }>
+
+ {
+ return ()
+ }
+ }>
+
+ {
+ return ()
+ }
+ }>
+
+
+ {/*题库问卷编辑详情*/}
+ ()
+ }
+ >
+
+
+ {
+ return ()
+ }
+ }>
+
+ {/*毕设任务题库详情*/}
+ ()
+ }
+ >
+ {/*毕设内容题库详情*/}
+ ()
+ }
+ >
+ {/*分组作业题库详情*/}
+ ()
+ }
+ >
+ {/* 普通作业题库详情*/}
+ ()
+ }
+ >
+
+
+
+
+
+ )
+ }
+}
+export default CNotificationHOC() ( SnackbarHOC() ( TPMIndexHOC(BanksIndex) ));
+
+
+
+// {
+// return ()
+// }
+// }>
\ No newline at end of file