From d3429f26d341cd8047e79ada5f2f5468efe2947f Mon Sep 17 00:00:00 2001 From: liuwh <liuwh@hugeinfo.com.cn> Date: Thu, 05 Mar 2020 18:54:42 +0800 Subject: [PATCH] 1 --- SunshineIns/src/index.jsx | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/SunshineIns/src/index.jsx b/SunshineIns/src/index.jsx index 816d599..d9ee57a 100644 --- a/SunshineIns/src/index.jsx +++ b/SunshineIns/src/index.jsx @@ -42,6 +42,7 @@ import NewlyList from './page/NewlyList'; import Newly from './page/Newly'; import SignIn from './page/SignIn'; +import QuestionDetail from './page/QuestionDetail'; import PoliceSecurity from './page/PoliceSecurity'; import policeSecurityEdit from './page/policeSecurityEdit'; @@ -53,11 +54,13 @@ 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='/signIn/:id' component={null} /> <Route component={Menu} /> </Switch> <Switch> @@ -99,7 +102,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} /> -- Gitblit v1.8.0