diff --git a/pc4mobx/organization/index.js b/pc4mobx/organization/index.js index f99c5d4..1e8517f 100644 --- a/pc4mobx/organization/index.js +++ b/pc4mobx/organization/index.js @@ -1,29 +1,42 @@ -import React from 'react'; -import Route from 'react-router/lib/Route'; -import { WeaLocaleProvider } from 'ecCom' -import SimpleOrg from './components/tree/index'; -import StandardOrg from './components/tree/standard_org' -import RankScheme from './components/postionrank/RankScheme'; -import JobLevel from './components/postionrank/JobLevel'; -import JobGrade from './components/postionrank/JobGrade' -import stores from './stores'; -import './style/index'; +import React from "react"; +import Route from "react-router/lib/Route"; +import { WeaLocaleProvider } from "ecCom"; +import SimpleOrg from "./components/tree/index"; +import StandardOrg from "./components/tree/standard_org"; +import RankScheme from "./components/postionrank/RankScheme"; +import JobLevel from "./components/postionrank/JobLevel"; +import JobGrade from "./components/postionrank/JobGrade"; +import CompanyManage from "./components/company/companyManage"; +import OfficeManage from "./components/office/officeManage"; +import stores from "./stores"; +import "./style/index"; // 读取系统多语言配置 -let getLocaleLabel = WeaLocaleProvider.getLocaleLabel.bind(this, 'organization'); +let getLocaleLabel = WeaLocaleProvider.getLocaleLabel.bind( + this, + "organization" +); // 不需要读取系统多语言 -getLocaleLabel = function(nextState, replace, callback) { callback();}; +getLocaleLabel = function (nextState, replace, callback) { + callback(); +}; -const Home = props => props.children; +const Home = (props) => props.children; const Routes = ( - - - - - - + + + + + + + + );