forked from nsjcy/frontEnd/nsjcy

liuwh
2020-03-14 12e9a4001d693505cc044fe2df0614257c26d535
SunshineIns/src/index.jsx
@@ -14,8 +14,12 @@
import BusDetail from './page/BusDetail';
import SupPerson from './page/SupPerson';
import Company from './page/Company';
// 涉未成年负责部门组织
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';
@@ -40,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';
@@ -51,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>
@@ -72,12 +84,14 @@
          <Route path='/active' component={Active} />
          <Route path='/supPerson' component={SupPerson} />
          <Route path='/company' component={Company} />
          <Route path='/underAgeList' component={UnderAgeList} />
          <Route path='/knowledgeBase' component={KnowledgeBase} />
          <Route path='/articlePublish' component={ArticlePublish} />
          <Route path='/articleEidt/:id' component={ArticleEidt} />
          <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} />
@@ -96,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} />
@@ -104,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>