forked from nsjcy/frontEnd/nsjcy

liuwh
2020-03-10 c935312f14761bb107d220693eaeb5e183021028
SunshineIns/src/index.jsx
@@ -42,6 +42,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 +57,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 +105,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 +116,12 @@
          {/* 签到墙 */}
          <Route path='/signIn/:id' component={SignIn} />
          {/* 未检举报(列表、详情) */}
          <Route path='/noInspectionReportList' component={NoInspectionReportList} />
          <Route path='/noInspectionReportDetail/:id/:flag' component={NoInspectionReportDetail} />
          
          <Route path='/' component={Index} />
        </Switch>