产品-多语言
This commit is contained in:
parent
8bac520ff0
commit
b6157dd074
|
|
@ -139,10 +139,10 @@ export default class CalculateDetail extends React.Component {
|
|||
multiple
|
||||
value={statuses}
|
||||
options={[
|
||||
{ key: "0", showname: getLabel(111, "试用") }, { key: "1", showname: getLabel(111, "正式") },
|
||||
{ key: "2", showname: getLabel(111, "临时") }, { key: "3", showname: getLabel(111, "试用延期") },
|
||||
{ key: "4", showname: getLabel(111, "解雇") }, { key: "5", showname: getLabel(6091, "离职") },
|
||||
{ key: "6", showname: getLabel(111, "退休") }
|
||||
{ key: "0", showname: getLabel(18883, "试用") }, { key: "1", showname: getLabel(15711, "正式") },
|
||||
{ key: "2", showname: getLabel(480, "临时") }, { key: "3", showname: getLabel(15844, "试用延期") },
|
||||
{ key: "4", showname: getLabel(542707, "解雇") }, { key: "5", showname: getLabel(6091, "离职") },
|
||||
{ key: "6", showname: getLabel(6092, "退休") }
|
||||
]}
|
||||
onChange={(val) => this.setState({ searchItemsValue: { ...this.state.searchItemsValue, [key]: val } })}/>
|
||||
</WeaFormItem>
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ export const i18n = {
|
|||
"调薪": getLabel(542686, "调薪"),
|
||||
"停薪": getLabel(542692, "停薪"),
|
||||
"取消停薪": getLabel(543309, "取消停薪"),
|
||||
"删除档案": getLabel(111, "删除档案")
|
||||
"删除档案": getLabel(23238, "删除档案")
|
||||
};
|
||||
@inject("calculateStore", "salaryFileStore")
|
||||
@observer
|
||||
|
|
@ -123,10 +123,10 @@ export default class UserSure extends React.Component {
|
|||
multiple
|
||||
value={String(statuses)}
|
||||
options={[
|
||||
{ key: "0", showname: getLabel(1831, "试用") }, { key: "1", showname: getLabel(111, "正式") },
|
||||
{ key: "2", showname: getLabel(1831, "临时") }, { key: "3", showname: getLabel(1831, "在职") },
|
||||
{ key: "4", showname: getLabel(1831, "解雇") }, { key: "5", showname: getLabel(6091, "离职") },
|
||||
{ key: "6", showname: getLabel(1831, "退休") }
|
||||
{ key: "0", showname: getLabel(18883, "试用") }, { key: "1", showname: getLabel(15711, "正式") },
|
||||
{ key: "2", showname: getLabel(480, "临时") }, { key: "3", showname: getLabel(1831, "在职") },
|
||||
{ key: "4", showname: getLabel(542707, "解雇") }, { key: "5", showname: getLabel(6091, "离职") },
|
||||
{ key: "6", showname: getLabel(6092, "退休") }
|
||||
]}
|
||||
onChange={(val) => this.setState({ searchItemsValue: { ...this.state.searchItemsValue, [key]: val } })}/>
|
||||
</WeaFormItem>
|
||||
|
|
|
|||
|
|
@ -68,10 +68,10 @@ export default class Declare extends React.Component {
|
|||
withDrawTaxDeclaration = (taxDeclarationId) => {
|
||||
withDrawTaxDeclaration({ taxDeclarationId }).then(({ status, errormsg }) => {
|
||||
if (status) {
|
||||
message.success(getLabel(111, "撤回成功"));
|
||||
message.success(getLabel(505793, "撤回成功"));
|
||||
this.getDeclareList();
|
||||
} else {
|
||||
message.error(errormsg || getLabel(111, "撤回失败"));
|
||||
message.error(errormsg || getLabel(505791, "撤回失败"));
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
import React, { Component } from "react";
|
||||
import { inject, observer } from "mobx-react";
|
||||
import { WeaTab, WeaTable, WeaTop } from "ecCom";
|
||||
import { WeaLocaleProvider, WeaTab, WeaTable, WeaTop } from "ecCom";
|
||||
import ExternalPersonManageEditSlide from "./components/externalPersonManageEditSlide";
|
||||
import { Button, message, Modal } from "antd";
|
||||
import { getSearchs } from "../../util";
|
||||
|
|
@ -14,6 +14,8 @@ import { condition, searchCondition } from "./conditions";
|
|||
import { deleteExtEmp, listPage } from "../../apis/externalPersonManage";
|
||||
import "./index.less";
|
||||
|
||||
const getLabel = WeaLocaleProvider.getLabel;
|
||||
|
||||
@inject("externalPersonManageStore", "taxAgentStore")
|
||||
@observer
|
||||
class Index extends Component {
|
||||
|
|
@ -84,7 +86,7 @@ class Index extends Component {
|
|||
this.setState({
|
||||
externalPersonManagePayload: {
|
||||
...externalPersonManagePayload,
|
||||
visible: true, id, title: id ? "编辑" : "新建"
|
||||
visible: true, id, title: id ? getLabel(501169, "编辑") : getLabel(365, "新建")
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
@ -152,7 +154,7 @@ class Index extends Component {
|
|||
render: (_, { id }) => (
|
||||
<React.Fragment>
|
||||
<a href="javascript: void(0);" onClick={() => this.handleAdd(id)}
|
||||
style={{ paddingRight: 8 }}>编辑</a>
|
||||
style={{ paddingRight: 8 }}>{getLabel(501169, "编辑")}</a>
|
||||
{/*<a href="javascript: void(0);" onClick={() => this.handleDelete(id)}>删除</a>*/}
|
||||
</React.Fragment>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { inject, observer } from "mobx-react";
|
|||
|
||||
import { Button, Dropdown, Menu, Modal, Switch } from "antd";
|
||||
|
||||
import { WeaInputSearch, WeaSlideModal, WeaTable, WeaTop } from "ecCom";
|
||||
import { WeaInputSearch, WeaLocaleProvider, WeaSlideModal, WeaTable, WeaTop } from "ecCom";
|
||||
import { renderNoright } from "../../util"; // 渲染form数据的方法:因为多个页面都会使用,所以抽的公共方法在util中
|
||||
import CustomTab from "../../components/customTab";
|
||||
import StepSlide from "../../components/stepSlide";
|
||||
|
|
@ -16,6 +16,7 @@ import SlideModalTitle from "../../components/slideModalTitle";
|
|||
import CopyFormModal from "./copyFormModal";
|
||||
import "./index.less";
|
||||
|
||||
const getLabel = WeaLocaleProvider.getLabel;
|
||||
@inject("ledgerStore", "taxAgentStore")
|
||||
@observer
|
||||
export default class Ledger extends React.Component {
|
||||
|
|
@ -379,10 +380,10 @@ export default class Ledger extends React.Component {
|
|||
overlay={
|
||||
<Menu
|
||||
onClick={item => this.onOperatesClick(record, item.key)}>
|
||||
<Menu.Item key="0">编辑</Menu.Item>
|
||||
<Menu.Item key="1">复制</Menu.Item>
|
||||
<Menu.Item key="0">{getLabel(501169, "编辑")}</Menu.Item>
|
||||
<Menu.Item key="1">{getLabel(77, "复制")}</Menu.Item>
|
||||
{/*<Menu.Item key="3">关联人员</Menu.Item>*/}
|
||||
<Menu.Item key="4">删除</Menu.Item>
|
||||
<Menu.Item key="4">{getLabel(535052, "删除")}</Menu.Item>
|
||||
</Menu>
|
||||
}>
|
||||
<a className="ant-dropdown-link" href="javaScript:void(0);">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import React, { Fragment } from "react";
|
||||
import { Icon, message, Modal, Button} from "antd";
|
||||
import { WeaCheckbox, WeaHelpfulTip, WeaTable } from "ecCom";
|
||||
import { WeaCheckbox, WeaHelpfulTip, WeaTable, WeaLocaleProvider } from "ecCom";
|
||||
import { slideStep3Columns } from "../columns";
|
||||
import AddSalaryItemModal from "./AddSalaryItemModal";
|
||||
import { inject, observer } from "mobx-react";
|
||||
|
|
@ -8,6 +8,7 @@ import { toJS } from "mobx";
|
|||
import FormalFormModal from "../../salaryItem/formalFormModal";
|
||||
import AddCategoryModal from "../step3/AddCategoryModal";
|
||||
|
||||
const getLabel = WeaLocaleProvider.getLabel;
|
||||
const helpContent = () => {
|
||||
return <span>
|
||||
<span>1、新建薪资账套时,核算公式与【薪资项目管理】菜单一致;</span><br/>
|
||||
|
|
@ -234,7 +235,7 @@ export default class CanMoveItem extends React.Component {
|
|||
marginRight: "10px",
|
||||
cursor: "pointer"
|
||||
}}
|
||||
title="编辑"
|
||||
title={getLabel(501169, "编辑")}
|
||||
onClick={() => {
|
||||
this.handleEditGroupIconClick(this.props.title);
|
||||
}}
|
||||
|
|
@ -242,7 +243,7 @@ export default class CanMoveItem extends React.Component {
|
|||
<i
|
||||
className="icon-coms-Delete"
|
||||
style={{ cursor: "pointer" }}
|
||||
title="删除"
|
||||
title={getLabel(535052, "删除")}
|
||||
onClick={() => {
|
||||
this.handleDeleteGroupIconClick();
|
||||
}}
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ export default MySalaryView;
|
|||
|
||||
export const ConfirmBtns = (props) => {
|
||||
return <div className="space">
|
||||
<Button type="primary" onClick={props.confirmSalaryBill}>{getLabel(111, "确认")}</Button>
|
||||
<Button type="ghost" onClick={props.goFeedback}>{getLabel(111, "反馈")}</Button>
|
||||
<Button type="primary" onClick={props.confirmSalaryBill}>{getLabel(33703, "确认")}</Button>
|
||||
<Button type="ghost" onClick={props.goFeedback}>{getLabel(31808, "反馈")}</Button>
|
||||
</div>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ export const commonVariables = [
|
|||
{ id: "HRM_Mobile", name: getLabel(501436, "当前操作者移动电话")},
|
||||
{ id: "HRM_Email", name: getLabel(501437, "当前操作者电子邮件")},
|
||||
{ id: "HRM_CurrentOperatorId", name: getLabel(501438, "当前操作者人员id")},
|
||||
{ id: "HRM_Department", name: getLabel(111, "当前操作者部门")},
|
||||
{ id: "HRM_Department", name: getLabel(501440, "当前操作者部门")},
|
||||
{ id: "HRM_SecondDepartment", name: getLabel(33553, "分部")},
|
||||
{ id: "HRM_CurrentDate", name: getLabel(15625, "当前日期")},
|
||||
{ id: "HRM_CurrentTime", name: getLabel(15626, "当前时间")},
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ class WaterMarkSetModal extends Component {
|
|||
value={wmClassify} detailtype={3}
|
||||
options={[
|
||||
{ key: "text", showname: getLabel(128895, "文本") },
|
||||
{ key: "image", showname: getLabel(111, "图片") }
|
||||
{ key: "image", showname: getLabel(74, "图片") }
|
||||
]}
|
||||
onChange={wmClassify => this.setState({ wmClassify })}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ class WmContentSetModal extends Component {
|
|||
</WeaFormItem>
|
||||
</WeaSearchGroup>
|
||||
<WeaSearchGroup
|
||||
title={getLabel(111, "内容")}
|
||||
title={getLabel(33368, "内容")}
|
||||
showGroup needTigger={false} className="waterMarkWrapper wmContGroup mt16">
|
||||
<Row className="content-box" gutter={10}>
|
||||
<Col span={18}>
|
||||
|
|
|
|||
|
|
@ -606,7 +606,7 @@ export default class PayrollGrant extends React.Component {
|
|||
{
|
||||
this.state.progressVisible &&
|
||||
<ProgressModal
|
||||
title={getLabel(111, "正在发放中,请稍后...")}
|
||||
title={getLabel(544093, "正在发放中,请稍后...")}
|
||||
visible={this.state.progressVisible}
|
||||
onCancel={() => {
|
||||
this.setState({ progressVisible: false, progress: 0 });
|
||||
|
|
|
|||
|
|
@ -194,7 +194,7 @@ export default class BaseInformForm extends React.Component {
|
|||
<WeaCheckbox value={emailStatus ? "1" : "0"} display="switch"
|
||||
onChange={value => this.handleChange({ emailStatus: value === "1" })}/>
|
||||
</WeaFormItem>
|
||||
<WeaFormItem label={getLabel(111, "定时发送")} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<WeaFormItem label={getLabel(32028, "定时发送")} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<WeaCheckbox value={autoSendStatus ? "1" : "0"} display="switch"
|
||||
onChange={value => {
|
||||
this.handleChange({
|
||||
|
|
@ -210,7 +210,7 @@ export default class BaseInformForm extends React.Component {
|
|||
</WeaFormItem>
|
||||
{
|
||||
autoSendStatus &&
|
||||
<WeaFormItem label={getLabel(111, "发送时间")} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<WeaFormItem label={getLabel(18961, "发送时间")} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<SendTimeComp
|
||||
salaryMonthOptions={salaryMonthOptions}
|
||||
value={{
|
||||
|
|
@ -223,9 +223,9 @@ export default class BaseInformForm extends React.Component {
|
|||
</WeaFormItem>
|
||||
}
|
||||
</WeaSearchGroup>
|
||||
<WeaSearchGroup title={getLabel(111, "工资单确认反馈设置")} showGroup needTigger col={1}
|
||||
<WeaSearchGroup title={getLabel(544092, "工资单确认反馈设置")} showGroup needTigger col={1}
|
||||
className="payrollBaseInfoWrapper">
|
||||
<WeaFormItem label={getLabel(111, "启用工资单确认")} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<WeaFormItem label={getLabel(544094, "启用工资单确认")} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<WeaCheckbox value={ackFeedbackStatus ? "1" : "0"} display="switch"
|
||||
onChange={value => this.handleChange({
|
||||
ackFeedbackStatus: value === "1",
|
||||
|
|
@ -236,7 +236,7 @@ export default class BaseInformForm extends React.Component {
|
|||
{
|
||||
ackFeedbackStatus &&
|
||||
<React.Fragment>
|
||||
<WeaFormItem label={getLabel(111, "自动确认超时天数")} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<WeaFormItem label={getLabel(544095, "自动确认超时天数")} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<WeaInputNumber
|
||||
min={1} value={autoAckDays} viewAttr={3}
|
||||
style={{ width: "95%" }}
|
||||
|
|
@ -247,7 +247,7 @@ export default class BaseInformForm extends React.Component {
|
|||
style={{ marginLeft: 10 }}
|
||||
placement="top" width={200}/>
|
||||
</WeaFormItem>
|
||||
<WeaFormItem label={getLabel(111, "反馈流程地址")} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<WeaFormItem label={getLabel(544096, "反馈流程地址")} labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<WeaInput
|
||||
value={feedbackUrl} viewAttr={3}
|
||||
onChange={feedbackUrl => this.handleChange({ feedbackUrl })}
|
||||
|
|
|
|||
|
|
@ -65,8 +65,8 @@ class TemplateBaseSettings extends Component {
|
|||
const { feedBackUrl } = ackFeedbackSetting;
|
||||
if (!feedBackUrl) {
|
||||
Modal.warning({
|
||||
title: getLabel(111, "信息确认"),
|
||||
content: getLabel(111, "必要信息不完整,红色*为必填项!")
|
||||
title: getLabel(131329, "信息确认"),
|
||||
content: getLabel(384146, "必要信息不完整,红色*为必填项!")
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
|
@ -77,10 +77,10 @@ class TemplateBaseSettings extends Component {
|
|||
salaryBillBaseSetSave(payload).then(({ status, errormsg }) => {
|
||||
this.props.onChangeLoading(false);
|
||||
if (status) {
|
||||
message.success(getLabel(111, "保存成功"));
|
||||
message.success(getLabel(22619, "保存成功"));
|
||||
this.getSalaryBillBaseSetForm();
|
||||
} else {
|
||||
message.error(errormsg || getLabel(111, "保存失败"));
|
||||
message.error(errormsg || getLabel(22620, "保存失败"));
|
||||
}
|
||||
}).catch(() => this.props.onChangeLoading(false));
|
||||
};
|
||||
|
|
@ -122,8 +122,8 @@ class TemplateBaseSettings extends Component {
|
|||
</WeaFormItem>
|
||||
}
|
||||
</WeaSearchGroup>
|
||||
<WeaSearchGroup title={getLabel(111, "工资单确认反馈设置")} showGroup needTigger className="waterMarkWrapper">
|
||||
<WeaFormItem label={getLabel(111, "启用工资单确认")} labelCol={{ span: 2 }} wrapperCol={{ span: 4 }}>
|
||||
<WeaSearchGroup title={getLabel(544092, "工资单确认反馈设置")} showGroup needTigger className="waterMarkWrapper">
|
||||
<WeaFormItem label={getLabel(544094, "启用工资单确认")} labelCol={{ span: 2 }} wrapperCol={{ span: 4 }}>
|
||||
<WeaCheckbox value={ackStatus} display="switch"
|
||||
onChange={ackStatus => this.setState({
|
||||
ackFeedbackSetting: {
|
||||
|
|
@ -134,7 +134,7 @@ class TemplateBaseSettings extends Component {
|
|||
{
|
||||
ackStatus === "1" &&
|
||||
<React.Fragment>
|
||||
<WeaFormItem label={getLabel(111, "自动确认超时天数")} labelCol={{ span: 2 }} wrapperCol={{ span: 4 }}>
|
||||
<WeaFormItem label={getLabel(544095, "自动确认超时天数")} labelCol={{ span: 2 }} wrapperCol={{ span: 4 }}>
|
||||
<WeaInputNumber
|
||||
min={1} value={autoAckDays} viewAttr={3}
|
||||
style={{ width: "90%" }}
|
||||
|
|
@ -148,7 +148,7 @@ class TemplateBaseSettings extends Component {
|
|||
style={{ marginLeft: 10 }}
|
||||
placement="top" width={200}/>
|
||||
</WeaFormItem>
|
||||
<WeaFormItem label={getLabel(111, "反馈流程地址")} labelCol={{ span: 2 }} wrapperCol={{ span: 4 }}>
|
||||
<WeaFormItem label={getLabel(544096, "反馈流程地址")} labelCol={{ span: 2 }} wrapperCol={{ span: 4 }}>
|
||||
<WeaInput
|
||||
value={feedBackUrl} viewAttr={3}
|
||||
onChange={feedBackUrl => this.setState({
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ export const condition = [
|
|||
conditionType: "SELECT",
|
||||
domkey: ["taxAgent"],
|
||||
fieldcol: 18,
|
||||
label: getLabel(111, "个税扣缴义务人"),
|
||||
label: getLabel(537996, "个税扣缴义务人"),
|
||||
labelcol: 6,
|
||||
options: [],
|
||||
multiple: true,
|
||||
|
|
@ -35,7 +35,7 @@ export const condition = [
|
|||
pageSize: 10,
|
||||
quickSearchName: "",
|
||||
replaceDatas: [],
|
||||
title: getLabel(111, "分部"),
|
||||
title: getLabel(33553, "分部"),
|
||||
type: "164",
|
||||
viewAttr: 2
|
||||
},
|
||||
|
|
@ -44,7 +44,7 @@ export const condition = [
|
|||
domkey: ["subCompany"],
|
||||
fieldcol: 18,
|
||||
isQuickSearch: false,
|
||||
label: getLabel(111, "分部"),
|
||||
label: getLabel(33553, "分部"),
|
||||
labelcol: 6,
|
||||
viewAttr: 2
|
||||
},
|
||||
|
|
@ -65,7 +65,7 @@ export const condition = [
|
|||
pageSize: 10,
|
||||
quickSearchName: "",
|
||||
replaceDatas: [],
|
||||
title: getLabel(111, "部门"),
|
||||
title: getLabel(27511, "部门"),
|
||||
type: "57",
|
||||
viewAttr: 2
|
||||
},
|
||||
|
|
@ -74,7 +74,7 @@ export const condition = [
|
|||
domkey: ["department"],
|
||||
fieldcol: 18,
|
||||
isQuickSearch: false,
|
||||
label: getLabel(111, "部门"),
|
||||
label: getLabel(27511, "部门"),
|
||||
labelcol: 6,
|
||||
viewAttr: 2
|
||||
},
|
||||
|
|
@ -125,7 +125,7 @@ export const condition = [
|
|||
pageSize: 10,
|
||||
quickSearchName: "",
|
||||
replaceDatas: [],
|
||||
title: getLabel(111, "人员"),
|
||||
title: getLabel(30042, "人员"),
|
||||
type: "17",
|
||||
viewAttr: 2
|
||||
},
|
||||
|
|
@ -134,7 +134,7 @@ export const condition = [
|
|||
domkey: ["employee"],
|
||||
fieldcol: 18,
|
||||
isQuickSearch: false,
|
||||
label: getLabel(111, "人员"),
|
||||
label: getLabel(30042, "人员"),
|
||||
labelcol: 6,
|
||||
viewAttr: 2
|
||||
},
|
||||
|
|
@ -143,7 +143,7 @@ export const condition = [
|
|||
conditionType: "RANGEPICKER",
|
||||
domkey: ["hiredate1", "hiredate2"],
|
||||
fieldcol: 18,
|
||||
label: getLabel(111, "入职日期"),
|
||||
label: getLabel(1516, "入职日期"),
|
||||
labelcol: 6,
|
||||
viewAttr: 2
|
||||
}
|
||||
|
|
|
|||
|
|
@ -285,7 +285,7 @@ export default class Index extends Component {
|
|||
break;
|
||||
case "extEmpsWitch":
|
||||
this.saveSysOperate({
|
||||
title: getLabel(111, "开启非系统人员"),
|
||||
title: getLabel(544097, "开启非系统人员"),
|
||||
module: "basic", confKey: key
|
||||
});
|
||||
break;
|
||||
|
|
@ -386,8 +386,8 @@ export default class Index extends Component {
|
|||
/>
|
||||
</WeaFormItem>
|
||||
</WeaSearchGroup>
|
||||
<WeaSearchGroup title={getLabel(111, "非系统人员")} showGroup center>
|
||||
<WeaFormItem label={getLabel(111, "开启非系统人员")} labelCol={{ span: 8 }} wrapperCol={{ span: 16 }}>
|
||||
<WeaSearchGroup title={getLabel(542679, "非系统人员")} showGroup center>
|
||||
<WeaFormItem label={getLabel(544097, "开启非系统人员")} labelCol={{ span: 8 }} wrapperCol={{ span: 16 }}>
|
||||
<WeaCheckbox display="switch" value={extEmpsWitch}
|
||||
onChange={val => this.handleChange("extEmpsWitch", val)}/>
|
||||
</WeaFormItem>
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ export default class Archives extends React.Component {
|
|||
{
|
||||
showOperateBtn && selectedKey === "stop" && salaryArchiveDelete === "1" &&
|
||||
<a href="javascript:void(0);" className="mr10"
|
||||
onClick={() => this.deleteSocialArchive([record.baseInfo])}>{getLabel(111, "删除档案")}</a>
|
||||
onClick={() => this.deleteSocialArchive([record.baseInfo])}>{getLabel(23238, "删除档案")}</a>
|
||||
}
|
||||
{
|
||||
showOperateBtn && selectedKey === "stop" && salaryArchiveDelete !== "1" &&
|
||||
|
|
@ -177,7 +177,7 @@ export default class Archives extends React.Component {
|
|||
});
|
||||
}
|
||||
}}>
|
||||
<Menu.Item key="deleteAchives">{getLabel(111, "删除档案")}</Menu.Item>
|
||||
<Menu.Item key="deleteAchives">{getLabel(23238, "删除档案")}</Menu.Item>
|
||||
<Menu.Item key="stopSalary">{getLabel(543181, "删除待办")}</Menu.Item>
|
||||
</Menu> :
|
||||
<Menu onClick={({ key }) => {
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ class CustomBenefitsTable extends Component {
|
|||
return (
|
||||
<div className="linkWapper">
|
||||
{showOperateBtn &&
|
||||
<a href="javascript: void(0);" onClick={() => onCustomEdit(record)}>{getLabel(93, "编辑")}</a>
|
||||
<a href="javascript: void(0);" onClick={() => onCustomEdit(record)}>{getLabel(501169, "编辑")}</a>
|
||||
}
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -344,7 +344,7 @@ export default class DefaultSlideForm extends React.Component {
|
|||
<WeaTab
|
||||
datas={[
|
||||
{ title: getLabel(500201, "个人"), viewcondition: "PERSONAL" },
|
||||
{ title: getLabel(1851, "公司"), viewcondition: "COMPANY" }
|
||||
{ title: getLabel(388108, "公司"), viewcondition: "COMPANY" }
|
||||
]}
|
||||
keyParam="viewcondition"
|
||||
selectedKey={this.state.selectedKey}
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ export default class Programme extends React.Component {
|
|||
switch (newColumn.dataIndex) {
|
||||
case "operate":
|
||||
return (
|
||||
<a href="javascript: void(0);" onClick={() => this.onEdit(record)}>{getLabel(93, "编辑")}</a>
|
||||
<a href="javascript: void(0);" onClick={() => this.onEdit(record)}>{getLabel(501169, "编辑")}</a>
|
||||
);
|
||||
default:
|
||||
return <div dangerouslySetInnerHTML={{ __html: valueSpan }}/>;
|
||||
|
|
@ -82,7 +82,7 @@ export default class Programme extends React.Component {
|
|||
return (
|
||||
<React.Fragment>
|
||||
<a href="javascript:void(0);" onClick={() => this.onEdit(record)}
|
||||
style={{ marginRight: 10 }}>{showOperateBtn ? getLabel(93, "编辑") : getLabel(33564, "查看")}</a>
|
||||
style={{ marginRight: 10 }}>{showOperateBtn ? getLabel(501169, "编辑") : getLabel(33564, "查看")}</a>
|
||||
{
|
||||
showOperateBtn &&
|
||||
<a href="javascript:void(0)" onClick={() => this.onCopy(record)}
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ export default class StandingBook extends React.Component {
|
|||
paymentOrganizationId: r.paymentOrganizationId,
|
||||
creator
|
||||
})}>
|
||||
归档
|
||||
{getLabel(251, "归档")}
|
||||
</a>
|
||||
)}
|
||||
{billStatus === "1" && (
|
||||
|
|
@ -177,7 +177,7 @@ export default class StandingBook extends React.Component {
|
|||
paymentOrganizationId: r.paymentOrganizationId,
|
||||
creator
|
||||
})}>
|
||||
查看
|
||||
{getLabel(111, "查看")}
|
||||
</a>
|
||||
)}
|
||||
{billStatus === "1" && (
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ class RegEditDetial extends Component {
|
|||
_.forEach(data, it => {
|
||||
if (item === it.insuranceName && it.paymentScope === getLabel(500201, "个人")) {
|
||||
obj = _.assign(obj, { ...it, personalPaymentAmount: it.insuranceValue });
|
||||
} else if (item === it.insuranceName && it.paymentScope === getLabel(1851, "公司")) {
|
||||
} else if (item === it.insuranceName && it.paymentScope === getLabel(388108, "公司")) {
|
||||
obj = _.assign(obj, { ...it, companyPaymentAmount: it.insuranceValue });
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,11 +1,13 @@
|
|||
import { action, observable } from "mobx";
|
||||
import { message } from "antd";
|
||||
import { WeaLocaleProvider } from "ecCom";
|
||||
import { WeaForm, WeaTableNew } from "comsMobx";
|
||||
|
||||
import * as API from "../apis/welfareScheme"; // 引入API接口文件
|
||||
import { notNull } from "../util/validate";
|
||||
|
||||
const { TableStore } = WeaTableNew;
|
||||
const getLabel = WeaLocaleProvider.getLabel;
|
||||
|
||||
export class ProgrammeStore {
|
||||
@observable tableStore = new TableStore(); // new table
|
||||
|
|
@ -147,8 +149,8 @@ export class ProgrammeStore {
|
|||
rententionRule: it.rententionRule ? it.rententionRule : "2",
|
||||
validNum: !_.isNil(it.validNum) ? it.validNum : "2"
|
||||
}));
|
||||
this.defaultPersonDataSource = resultList.filter(item => item.paymentScope == "个人");
|
||||
this.defaultCompanyDataSource = resultList.filter(item => item.paymentScope == "公司");
|
||||
this.defaultPersonDataSource = resultList.filter(item => item.paymentScope == getLabel(500201, "个人"));
|
||||
this.defaultCompanyDataSource = resultList.filter(item => item.paymentScope == getLabel(388108, "公司"));
|
||||
let defaultRequest = {
|
||||
schemeName: "",
|
||||
remarks: "",
|
||||
|
|
|
|||
Loading…
Reference in New Issue