forked from nsjcy/frontEnd/nsjcy

LAPTOP-RI7D261L\Mr Ke
2020-02-26 8f619dde9e2382fc8a4f1e04fafde1418f06165b
SunshineIns/src/index.jsx
@@ -30,6 +30,21 @@
import UserDetail from './page/UserDetail';
import InsideUser from './page/InsideUser';
import UpdatePWD from './page/UpdatePWD';
import CareList from './page/CareList';
import CareListEdit from './page/CareListEdit';
// 入职查询
import ApplyFor from './page/ApplyFor';
import ApplyForEdit from './page/ApplyForEdit';
import Examine from './page/Examine';
import ExamineEdit from './page/ExamineEdit';
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';
import { LocaleProvider } from 'antd';
import zh_CN from 'antd/lib/locale-provider/zh_CN';
import 'moment/locale/zh-cn';
@@ -37,10 +52,11 @@
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='/questionnaire/newly' component={AttTree} /> */}
          <Route component={Menu} />
        </Switch>
        <Switch>
@@ -70,6 +86,29 @@
          <Route path='/userDetail/:id/:flag' component={UserDetail} />
          <Route path='/insideUser' component={InsideUser} />
          <Route path='/updatePWD/:id' component={UpdatePWD} />
          {/* 社会关护 */}
          <Route path='/careList' component={CareList} />
          <Route path='/careListEdit/:id' component={CareListEdit} />
          {/* 入职查询 */}
          <Route path='/entry/applyFor' component={ApplyFor} />
          <Route path='/entry/ApplyForEdit/:id' component={ApplyForEdit} />
          <Route path='/entry/examine' component={Examine} />
          <Route path='/entry/examineEdit/:id' component={ExamineEdit} />
          {/* 问卷管理部分 */}
          <Route path='/questionnaire/newlyList' component={NewlyList} />
          <Route path='/questionnaire/newly/:id' component={Newly} />
          {/* 问卷详情 */}
          <Route path='/questionnaire/detail/:id' component={QuestionDetail} />
          {/* 公安审核 */}
          <Route path='/entry/policeSecurity' component={PoliceSecurity} />
          <Route path='/entry/policeSecurityEdit/:id' component={policeSecurityEdit} />
          {/* 签到墙 */}
          <Route path='/signIn/:id' component={SignIn} />
          <Route path='/' component={Index} />
        </Switch>
      </Layout>