diff --git a/public/react/src/modules/user/usersInfo/InfosTopics.js b/public/react/src/modules/user/usersInfo/InfosTopics.js index 03b71b858..167ce14de 100644 --- a/public/react/src/modules/user/usersInfo/InfosTopics.js +++ b/public/react/src/modules/user/usersInfo/InfosTopics.js @@ -471,7 +471,7 @@ class InfosTopics extends Component{ category==="normal"?`/banks/normal/${item.id}?tab=0`: category==="group"?`/banks/group/${item.id}?tab=0`: category==="poll"?`/banks/poll/${item.id}`: - category==="exercise"?``: + category==="exercise"?`/banks/exercise/${item.id}`: category==="gtask"?`/banks/gtask/${item.id}`: category==="gtopic"?`/banks/gtopic/${item.id}`:"" } @@ -498,11 +498,11 @@ class InfosTopics extends Component{
{types==="personal"?user_id===targetuserid&&user_type!="学生"? 编辑 diff --git a/public/react/src/modules/user/usersInfo/banks/BanksIndex.js b/public/react/src/modules/user/usersInfo/banks/BanksIndex.js index aac2a0fc5..a39904298 100644 --- a/public/react/src/modules/user/usersInfo/banks/BanksIndex.js +++ b/public/react/src/modules/user/usersInfo/banks/BanksIndex.js @@ -7,12 +7,10 @@ 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'; @@ -110,14 +108,6 @@ class BanksIndex extends Component{

- {/*毕设任务编辑*/} - { - return () - } - }> - - { - return () - } - }> - { + return () + } + }> + + {/*题库问卷编辑详情*/} + () + } + > + + + { return () } }> - {/*题库问卷编辑详情*/} - () - } - > + {/*毕设任务题库详情*/} () + (props) => () } > {/*毕设内容题库详情*/} () + (props) => () } > {/*分组作业题库详情*/} () + (props) => () } > {/* 普通作业题库详情*/} () + (props) => () } > @@ -192,4 +187,13 @@ class BanksIndex extends Component{ ) } } -export default CNotificationHOC() ( SnackbarHOC() ( TPMIndexHOC(BanksIndex) )); \ No newline at end of file +export default CNotificationHOC() ( SnackbarHOC() ( TPMIndexHOC(BanksIndex) )); + + + +// { +// return () +// } +// }> \ No newline at end of file