window.WeaHrm4Formal = false; window.inputType = { inputType: 'MULTILANG', isBase64: true }; window.HrmGroupCol = 2; //人力布局(1、一行2列,2、一行4列) window.HrmLabelCol = 6; window.HrmWrapperCol = 15; window.HrmEngineLabelCol = 6; window.HrmEngineWrapperCol = 18; window.defaultScheduleBGColor = [ '#47A9FC', '#70C06F', '#F6D65C', '#EA744D', '#4EBCCC', '#EA5C85', '#8F72F2', '#7297F2', '#CA4DE4', '#A7CC62' ]; import { Route } from 'react-router'; import { WeaLocaleProvider } from 'ecCom'; import { isEnableMultiLang } from './apis/common'; import Home from './components/Home'; import MonthReport from './components/report/month/index'; import MonthReport4Template from './components/report/month4template/index'; import MonthCalendarReport from './components/report/monthCalendar/index'; import OriginalPunchRecord from './components/originalPunchRecord/index'; import DailyReport from './components/report/daily/index'; import VacationBalanceReportCopy from './components/vacationBalanceReportCopy/index'; import Shift from './components/shift/index'; import Checking from './components/Checking'; // 考勤 import Test from './components/Test'; import './style/index'; import './util/index'; import stores from './stores/index'; // isEnableMultiLang().then(data => { // window.inputType = { // inputType: 'NORMAL' // } // if (data.status === '1') { // if (data.isEnableMultiLang) { // window.inputType = { // inputType: 'MULTILANG', // isBase64: true // } // } // } // }, error => { // window.inputType = { // inputType: 'NORMAL' // } // }); const getLocaleLabel = WeaLocaleProvider.getLocaleLabel.bind(this, 'hrm'); const HrmAttendanceRoute = ( ) module.exports = { Route: HrmAttendanceRoute, store: stores }