diff --git a/pc4mobx/hrmSalary/pages/calculateDetail/placeOnFileDetail.js b/pc4mobx/hrmSalary/pages/calculateDetail/placeOnFileDetail.js
index f305bdbc..9103f680 100644
--- a/pc4mobx/hrmSalary/pages/calculateDetail/placeOnFileDetail.js
+++ b/pc4mobx/hrmSalary/pages/calculateDetail/placeOnFileDetail.js
@@ -7,10 +7,10 @@ import SlideModalTitle from "../../components/slideModalTitle";
import FileMergeDetail from "./fileMergeDetail";
import { getQueryString } from "../../util/url";
import { inject, observer } from "mobx-react";
-import { i18n } from "./userSure";
import "./index.less";
const getLabel = WeaLocaleProvider.getLabel;
+
@inject("calculateStore")
@observer
export default class PlaceOnFileDetail extends React.Component {
@@ -40,6 +40,29 @@ export default class PlaceOnFileDetail extends React.Component {
}
handleClick = ({ data }) => {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const childFrameObj = document.getElementById("atdTable");
const salaryAcctRecordId = getQueryString("id");
const { type, data: { id, data: record, extraId = "" } = {} } = data;
@@ -82,6 +105,29 @@ export default class PlaceOnFileDetail extends React.Component {
};
handleSearch = (employeeName) => {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const childFrameObj = document.getElementById("atdTable");
const salaryAcctRecordId = getQueryString("id");
const payload = {
diff --git a/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js b/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js
index 63adb8f8..46de57cc 100644
--- a/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js
+++ b/pc4mobx/hrmSalary/pages/calculateDetail/salaryDetail.js
@@ -9,9 +9,9 @@ import { inject, observer } from "mobx-react";
import { toJS } from "mobx";
import "./index.less";
import ProgressModal from "../../components/progressModal";
-import { i18n } from "./userSure";
const getLabel = WeaLocaleProvider.getLabel;
+
@inject("calculateStore", "taxAgentStore")
@observer
export default class SalaryDetail extends React.Component {
@@ -49,6 +49,29 @@ export default class SalaryDetail extends React.Component {
}
handleClick = ({ data }) => {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const childFrameObj = document.getElementById("atdTable");
const salaryAcctRecordId = getQueryString("id");
const { type, data: { id, data: record, extraId = "" } = {} } = data;
@@ -120,6 +143,29 @@ export default class SalaryDetail extends React.Component {
//列头解锁和锁定
updateLockStatus = (lockStatus, salaryItemId) => {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const { calculateStore: { updateLockStatus } } = this.props;
const salaryAcctRecordId = getQueryString("id");
const module = {
@@ -181,6 +227,29 @@ export default class SalaryDetail extends React.Component {
// 侧边栏保存
handleEditSlideSave = () => {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const { calculateStore } = this.props;
const { saveAcctResult } = calculateStore;
this.setState({ loading: true });
diff --git a/pc4mobx/hrmSalary/pages/calculateDetail/userSure.js b/pc4mobx/hrmSalary/pages/calculateDetail/userSure.js
index 4fdf844b..23072ae4 100644
--- a/pc4mobx/hrmSalary/pages/calculateDetail/userSure.js
+++ b/pc4mobx/hrmSalary/pages/calculateDetail/userSure.js
@@ -16,29 +16,6 @@ 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(543649, "点击锁定所有解锁的项目值"),
- "查看": getLabel(33564, "查看"),
- "第": getLabel(15323, "第"),
- "次": getLabel(18929, "次"),
- "更多": getLabel(17499, "更多"),
- "删除待办": getLabel(543181, "删除待办"),
- "设为发薪人员": getLabel(543308, "设为发薪人员"),
- "调薪": getLabel(542686, "调薪"),
- "停薪": getLabel(542692, "停薪"),
- "取消停薪": getLabel(543309, "取消停薪"),
- "删除档案": getLabel(23238, "删除档案")
-};
@inject("calculateStore", "salaryFileStore")
@observer
export default class UserSure extends React.Component {
@@ -142,6 +119,29 @@ export default class UserSure extends React.Component {
}
handleClick = ({ data }) => {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const childFrameObj = document.getElementById("atdTable");
const salaryAcctRecordId = getQueryString("id");
const { type, data: { id, data: record, extraId = "" } = {} } = data;
@@ -199,6 +199,29 @@ export default class UserSure extends React.Component {
// 添加人员回调
handleUserBrowserChange(ids) {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const childFrameObj = document.getElementById("atdTable");
const salaryAcctRecordId = getQueryString("id");
if (ids && ids.length > 0) {
@@ -239,6 +262,29 @@ export default class UserSure extends React.Component {
// 批量删除
handleBatchDelete() {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const { selectedRowKeys } = this.state;
const {
calculateStore: { deleteAcctemployee }
@@ -276,6 +322,29 @@ export default class UserSure extends React.Component {
// 删除人员
handleDeleteItem = record => {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const {
calculateStore: { deleteAcctemployee }
} = this.props;
@@ -306,6 +375,29 @@ export default class UserSure extends React.Component {
// 刷新薪资核算人员的个税扣缴义务人
handleRefresh = () => {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const childFrameObj = document.getElementById("atdTable");
const salaryAcctRecordId = getQueryString("id");
const {
@@ -332,6 +424,29 @@ export default class UserSure extends React.Component {
// 搜索
handleUserListSearch = (value) => {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const childFrameObj = document.getElementById("atdTable");
const salaryAcctRecordId = getQueryString("id");
this.pageInfo.current = 1;
@@ -399,6 +514,29 @@ export default class UserSure extends React.Component {
];
return ;
};
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
return (
diff --git a/pc4mobx/hrmSalary/pages/employeeView/index.js b/pc4mobx/hrmSalary/pages/employeeView/index.js
index 783dee7a..46fcfa6b 100644
--- a/pc4mobx/hrmSalary/pages/employeeView/index.js
+++ b/pc4mobx/hrmSalary/pages/employeeView/index.js
@@ -13,7 +13,6 @@ import { inject, observer } from "mobx-react";
import { MonthRangePicker } from "../reportView/components/statisticalMicroSettingsSlide";
import { optionAddWhole } from "../../util/options";
import moment from "moment";
-import { i18n } from "../calculateDetail/userSure";
import "./index.less";
const WeaTableComx = WeaTableNew.WeaTable;
@@ -71,6 +70,29 @@ class Index extends Component {
}
};
postMessageToChild = (payload) => {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const childFrameObj = document.getElementById("atdTable");
const { dataSource, columns, showSum, pageInfo, countResult } = payload;
childFrameObj && childFrameObj.contentWindow.postMessage(JSON.stringify({
diff --git a/pc4mobx/hrmSalary/pages/fieldManagement/components/fieldSlide.js b/pc4mobx/hrmSalary/pages/fieldManagement/components/fieldSlide.js
index 354ee82c..d3f9afb7 100644
--- a/pc4mobx/hrmSalary/pages/fieldManagement/components/fieldSlide.js
+++ b/pc4mobx/hrmSalary/pages/fieldManagement/components/fieldSlide.js
@@ -24,6 +24,7 @@ import { commonEnumList } from "../../../apis/payrollFiles";
import { dataTypeOptions, patternOptions, roundingModeOptions } from "../../salaryItem/options";
const getLabel = WeaLocaleProvider.getLabel;
+
@inject("taxAgentStore")
@observer
class FieldSlide extends Component {
@@ -300,14 +301,20 @@ class FieldSlide extends Component {
({
+ ...it,
+ showname: getLabel(it.lanId, it.showname)
+ }))}
onChange={value => this.handleChangeFields("dataType", value)}
/>
({
+ ...it,
+ showname: getLabel(it.lanId, it.showname)
+ }))}
onChange={value => this.handleChangeFields("roundingMode", value)}
/>
diff --git a/pc4mobx/hrmSalary/pages/payroll/payrollDetail/index.js b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/index.js
index 98a41d7f..92bcfee0 100644
--- a/pc4mobx/hrmSalary/pages/payroll/payrollDetail/index.js
+++ b/pc4mobx/hrmSalary/pages/payroll/payrollDetail/index.js
@@ -6,7 +6,6 @@ import { getQueryString } from "../../../util/url";
import { removePropertyCondition } from "../../../util/response";
import { getSearchs } from "../../../util";
import { getPayrollDetailList, getPayrollDetailSa, getPayrollInfo } from "../../../apis/payroll";
-import { i18n } from "../../calculateDetail/userSure";
import "./index.less";
const getLabel = WeaLocaleProvider.getLabel;
@@ -37,6 +36,29 @@ export default class PayrollDetail extends React.Component {
}
handleReceiveMessage = async ({ data }) => {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const { dataSource, columns, pageInfo } = this.state;
const childFrameObj = document.getElementById("atdTable");
const { type, payload } = data;
@@ -85,6 +107,29 @@ export default class PayrollDetail extends React.Component {
});
};
getPayrollDetailList = (extra = {}) => {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const childFrameObj = document.getElementById("atdTable");
const { pageInfo } = this.state;
const { child, ...extraParams } = extra;
diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/index.js b/pc4mobx/hrmSalary/pages/payrollFiles/index.js
index 06887746..81ddb60c 100644
--- a/pc4mobx/hrmSalary/pages/payrollFiles/index.js
+++ b/pc4mobx/hrmSalary/pages/payrollFiles/index.js
@@ -32,7 +32,6 @@ import SlideModalTitle from "../../components/slideModalTitle";
import SalaryFileViewSlide from "../salaryFile/saralyFileViewSlide";
import ChangeSalaryModal from "../salaryFile/changeSalaryModal";
import { sysinfo } from "../../apis/ruleconfig";
-import { i18n } from "../calculateDetail/userSure";
import "./index.less";
const getLabel = WeaLocaleProvider.getLabel;
@@ -215,6 +214,29 @@ class Index extends Component {
}
};
postMessageToChild = (payload) => {
+ const i18n = {
+ "总计": 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(23238, "删除档案")
+ };
const childFrameObj = document.getElementById("atdTable");
const { dataSource, columns, showSum, pageInfo, showOperateBtn, selectedKey, selectedRowKeys } = payload;
const { salaryArchiveDelete } = this.state;
@@ -466,10 +488,10 @@ class Index extends Component {
/>
}>
+ style={{
+ marginLeft: 8,
+ verticalAlign: "middle"
+ }}/>
,