| | |
| | | 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'; |
| | |
| | | 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> |
| | |
| | | |
| | | {/* 问卷管理部分 */} |
| | | <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} /> |
| | |
| | | |
| | | {/* 签到墙 */} |
| | | <Route path='/signIn/:id' component={SignIn} /> |
| | | |
| | | {/* 未检举报(列表、详情) */} |
| | | <Route path='/noInspectionReportList' component={NoInspectionReportList} /> |
| | | <Route path='/noInspectionReportDetail/:id/:flag' component={NoInspectionReportDetail} /> |
| | | |
| | | |
| | | |
| | | <Route path='/' component={Index} /> |
| | | </Switch> |