/*
 * @Descripttion: 
 * @version: 
 * @Author: kl2018
 * @Date: 2020-06-28 09:19:35
 * @LastEditors: kl2018
 * @LastEditTime: 2020-08-06 14:08:09
 */
import {
  Route,
} from 'react-router';

// 个性化设置
import WeaCustomSetting from './common/wea-custom-setting/';
import WeaHrmGroup from './hrm/hrm-group/';
// 个性化设置
import store from './stores/';

import {
  WeaLocaleProvider,
} from 'ecCom';

const getLocaleLabel = WeaLocaleProvider.getLocaleLabel.bind(this, 'hrm,customsetting,portal,odoc');

const CustomSettingRoute = (
  <Route ecId={`${this && this.props && this.props.ecId || ''}_Route@b45u8o`} path="customsetting" onEnter={getLocaleLabel} component={WeaCustomSetting} />
);

module.exports = {
  Route: CustomSettingRoute,
  store,
  com: {
    WeaCustomSetting,
    WeaHrmGroup,
  },
};
