From 12e9a4001d693505cc044fe2df0614257c26d535 Mon Sep 17 00:00:00 2001 From: liuwh <liuwh@hugeinfo.com.cn> Date: Sat, 14 Mar 2020 21:40:31 +0800 Subject: [PATCH] bug修复 --- SunshineIns/src/index.jsx | 26 +++++++++++++++++++++++--- 1 files changed, 23 insertions(+), 3 deletions(-) diff --git a/SunshineIns/src/index.jsx b/SunshineIns/src/index.jsx index 816d599..84f0ab9 100644 --- a/SunshineIns/src/index.jsx +++ b/SunshineIns/src/index.jsx @@ -18,6 +18,8 @@ import UnderAgeList from './page/UnderAgeList'; import ActiveManage from './page/ActiveManage'; import ActiveManageEdit from './page/ActiveManageEdit'; +import ActiveManageEditquestionnaire from './page/ActiveManageEditquestionnaire'; + import KnowledgeBase from './page/KnowledgeBase'; import ArticlePublish from './page/ArticlePublish'; import ArticleEidt from './page/ArticleEidt'; @@ -42,6 +44,10 @@ import NewlyList from './page/NewlyList'; import Newly from './page/Newly'; import SignIn from './page/SignIn'; +import QuestionDetail from './page/QuestionDetail'; + +import NoInspectionReportList from './page/NoInspectionReportList'; +import NoInspectionReportDetail from './page/NoInspectionReportDetail'; import PoliceSecurity from './page/PoliceSecurity'; import policeSecurityEdit from './page/policeSecurityEdit'; @@ -53,11 +59,15 @@ ReactDOM.render( <LocaleProvider locale={zh_CN}> <Router history={hashHistory()}> - <Layout style={{ minHeight: '100vh' }}> + <Layout style={{ height: '100%' }}> <Switch> <Route path="/bus/attachment/:busId/:attachmentId" component={AttTree} /> <Route path="/bus/attachment/:busId" component={AttTree} /> - <Route path='/signIn/:id' component={null} /> + {/* <Route path='/questionnaire/newly' component={AttTree} /> */} + {/* 问卷详情 */} + <Route path='/activeManageEditquestionnaire/:id' component={null} /> + {/* 签到墙 */} + <Route path='/signIn/:id' component={null} /> <Route component={Menu} /> </Switch> <Switch> @@ -81,6 +91,7 @@ <Route path='/typeManage' component={TypeList} /> <Route path='/activeManage' component={ActiveManage} /> <Route path='/activeManageEdit/:id' component={ActiveManageEdit} /> + <Route path='/activeManageEditquestionnaire/:id' component={ActiveManageEditquestionnaire} /> <Route path='/snapshot' component={Snapshot} /> <Route path='/snapshotDetail/:id/:flag' component={SnapshotDetail} /> <Route path='/sweeping' component={Sweeping} /> @@ -99,7 +110,10 @@ {/* 问卷管理部分 */} <Route path='/questionnaire/newlyList' component={NewlyList} /> - <Route path='/questionnaire/newly' component={Newly} /> + <Route path='/questionnaire/newly/:id' component={Newly} /> + {/* 问卷详情 */} + <Route path='/questionnaire/detail/:id' component={QuestionDetail} /> + {/* 公安审核 */} <Route path='/entry/policeSecurity' component={PoliceSecurity} /> @@ -107,6 +121,12 @@ {/* 签到墙 */} <Route path='/signIn/:id' component={SignIn} /> + + {/* 未检举报(列表、详情) */} + <Route path='/noInspectionReportList' component={NoInspectionReportList} /> + <Route path='/noInspectionReportDetail/:id/:flag' component={NoInspectionReportDetail} /> + + <Route path='/' component={Index} /> </Switch> -- Gitblit v1.8.0