系统多语言-添加
This commit is contained in:
parent
c8623c713d
commit
d1085d5c7c
|
|
@ -17,17 +17,27 @@ import { getQueryString } from "../../util/url";
|
|||
const getLabel = WeaLocaleProvider.getLabel;
|
||||
|
||||
export const i18n = {
|
||||
"总计": getLabel(523, "总计"), "编辑": getLabel(501169, "编辑"),
|
||||
"操作": getLabel(30585, "操作"), "姓名": getLabel(25034, "姓名"),
|
||||
"共": getLabel(18609, "共"), "条": getLabel(18256, "条"),
|
||||
"加载中": getLabel(31230, "加载中"), "删除": getLabel(535052, "删除"),
|
||||
"锁定的项目值": getLabel(543647, "锁定的项目值"), "点击解锁所有锁定的项目值": getLabel(543648, "点击解锁所有锁定的项目值"),
|
||||
"总计": getLabel(523, "总计"),
|
||||
"编辑": getLabel(501169, "编辑"),
|
||||
"操作": getLabel(30585, "操作"),
|
||||
"姓名": getLabel(25034, "姓名"),
|
||||
"共": getLabel(18609, "共"),
|
||||
"条": getLabel(18256, "条"),
|
||||
"加载中": getLabel(31230, "加载中"),
|
||||
"删除": getLabel(535052, "删除"),
|
||||
"锁定的项目值": getLabel(543647, "锁定的项目值"),
|
||||
"点击解锁所有锁定的项目值": getLabel(543648, "点击解锁所有锁定的项目值"),
|
||||
"点击锁定所有解锁的项目值": getLabel(543649, "点击锁定所有解锁的项目值"),
|
||||
"查看": getLabel(33564, "查看"), "第": getLabel(15323, "第"),
|
||||
"次": getLabel(18929, "次"),"更多": getLabel(17499, "更多"),
|
||||
"删除待办": getLabel(543181, "删除待办"),"设为发薪人员": getLabel(543308, "设为发薪人员"),
|
||||
"调薪": getLabel(542686, "调薪"),"停薪": getLabel(542692, "停薪"),
|
||||
"取消停薪": getLabel(543309, "取消停薪")
|
||||
"查看": getLabel(33564, "查看"),
|
||||
"第": getLabel(15323, "第"),
|
||||
"次": getLabel(18929, "次"),
|
||||
"更多": getLabel(17499, "更多"),
|
||||
"删除待办": getLabel(543181, "删除待办"),
|
||||
"设为发薪人员": getLabel(543308, "设为发薪人员"),
|
||||
"调薪": getLabel(542686, "调薪"),
|
||||
"停薪": getLabel(542692, "停薪"),
|
||||
"取消停薪": getLabel(543309, "取消停薪"),
|
||||
"删除档案": getLabel(111, "删除档案")
|
||||
};
|
||||
@inject("calculateStore", "salaryFileStore")
|
||||
@observer
|
||||
|
|
@ -113,7 +123,10 @@ export default class UserSure extends React.Component {
|
|||
value={String(status)}
|
||||
options={[
|
||||
{ key: "", showname: "" }, { key: "ALL", showname: getLabel(332, "全部") },
|
||||
{ key: "NORMAL", showname: getLabel(1831, "在职") }, { key: "UNAVAILABLE", showname: getLabel(6091, "离职") }
|
||||
{ key: "NORMAL", showname: getLabel(1831, "在职") }, {
|
||||
key: "UNAVAILABLE",
|
||||
showname: getLabel(6091, "离职")
|
||||
}
|
||||
]}
|
||||
onChange={(val) => this.setState({ searchItemsValue: { ...this.state.searchItemsValue, [key]: val } })}/>
|
||||
</WeaFormItem>
|
||||
|
|
|
|||
Loading…
Reference in New Issue