From 2e167f4099e90a77bbfb13f8fcd2c04afb16818c Mon Sep 17 00:00:00 2001 From: liyongshun <971387674@qq.com> Date: Fri, 13 May 2022 18:05:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=8C=E5=8A=A1=E7=AE=A1=E7=90=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/organization/index.js | 51 ++++++++++++++++++++++------------- 1 file changed, 32 insertions(+), 19 deletions(-) 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 = ( - - - - - - + + + + + + + + );