From eb0ed15a15cacc26526640a6a6591a64bf263952 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Fri, 26 Jan 2024 09:38:08 +0800
Subject: [PATCH 14/21] =?UTF-8?q?feature/2.10.1.2401.01-=E5=B7=A5=E8=B5=84?=
=?UTF-8?q?=E5=8D=95=E6=A8=A1=E6=9D=BF=E5=A4=8D=E5=88=B6=E4=BB=A5=E5=8F=8A?=
=?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=9C=B0=E5=9D=80=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/payrollFiles/components/salaryFileList/index.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFileList/index.js b/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFileList/index.js
index 9ad2cd34..36686527 100644
--- a/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFileList/index.js
+++ b/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFileList/index.js
@@ -100,12 +100,13 @@ class Index extends Component {
case "CHANGE-SALARY":
case "VIEW":
case "EDIT":
- const { taxAgentStore: { showOperateBtn } } = this.props;
+ const { taxAgentStore: { showOperateBtn }, selectedKey } = this.props;
const { record: { id: salaryArchiveId } } = params;
this.setState({
salaryFilesEditSlide: {
...this.state.salaryFilesEditSlide, visible: true, salaryArchiveId,
- runStatuses: this.props.selectedKey, showOperateBtn
+ //非系统人员保存与定薪人员一样
+ runStatuses: selectedKey === "ext" ? "fixed" : selectedKey, showOperateBtn
}
});
break;
From 240cb316a112d6286124f1bf99bd42a261ead942 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Fri, 26 Jan 2024 09:57:30 +0800
Subject: [PATCH 15/21] =?UTF-8?q?feature/2.10.1.2401.01-=E5=B7=A5=E8=B5=84?=
=?UTF-8?q?=E5=8D=95=E6=A8=A1=E6=9D=BF=E5=A4=8D=E5=88=B6=E4=BB=A5=E5=8F=8A?=
=?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=9C=B0=E5=9D=80=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/payrollFiles/components/salaryFileList/index.js | 5 ++---
.../payrollFiles/components/salaryFilesEditSlide/index.js | 3 ++-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFileList/index.js b/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFileList/index.js
index 36686527..1e95c5ec 100644
--- a/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFileList/index.js
+++ b/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFileList/index.js
@@ -100,13 +100,12 @@ class Index extends Component {
case "CHANGE-SALARY":
case "VIEW":
case "EDIT":
- const { taxAgentStore: { showOperateBtn }, selectedKey } = this.props;
+ const { taxAgentStore: { showOperateBtn }, selectedKey: runStatuses } = this.props;
const { record: { id: salaryArchiveId } } = params;
this.setState({
salaryFilesEditSlide: {
...this.state.salaryFilesEditSlide, visible: true, salaryArchiveId,
- //非系统人员保存与定薪人员一样
- runStatuses: selectedKey === "ext" ? "fixed" : selectedKey, showOperateBtn
+ runStatuses, showOperateBtn
}
});
break;
diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFilesEditSlide/index.js b/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFilesEditSlide/index.js
index 2cc7f785..1edd3e56 100644
--- a/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFilesEditSlide/index.js
+++ b/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFilesEditSlide/index.js
@@ -112,7 +112,8 @@ class Index extends Component {
if (salaryForm.isValid) {
const { payStartDate, payEndDate, ...extraParams } = salaryForm.getFormParams();
const payload = {
- salaryArchiveId, status: _.toUpper(runStatuses),
+ //status-非系统人员保存与定薪人员一样
+ salaryArchiveId, status: _.toUpper(runStatuses === "ext" ? "fixed" : runStatuses),
payStartDate, payEndDate,
salaryArchiveItems: _.map(salaryArchiveItems, o => ({
salaryItemId: o.salaryItemId,
From 93c17d1a35383389ae32ea28e6e56f22a34296dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Fri, 26 Jan 2024 10:25:32 +0800
Subject: [PATCH 16/21] =?UTF-8?q?feature/2.10.1.2401.01-=E5=B7=A5=E8=B5=84?=
=?UTF-8?q?=E5=8D=95=E6=9F=A5=E7=9C=8B=E4=B8=8E=E8=B0=83=E8=96=AA=E8=AE=B0?=
=?UTF-8?q?=E5=BD=95=E5=88=86=E5=BC=80=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pc4mobx/hrmSalary/pages/historicalPayroll/index.js | 5 +----
pc4mobx/hrmSalary/pages/salaryAdjustmentRecords/index.js | 5 ++---
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/historicalPayroll/index.js b/pc4mobx/hrmSalary/pages/historicalPayroll/index.js
index 51e21047..342a69a2 100644
--- a/pc4mobx/hrmSalary/pages/historicalPayroll/index.js
+++ b/pc4mobx/hrmSalary/pages/historicalPayroll/index.js
@@ -26,10 +26,7 @@ class Index extends Component {
render() {
const { dateRange } = this.state;
- const index1 = window.location.hash.lastIndexOf("/") + 1, index2 = window.location.hash.lastIndexOf("?");
- const employeeId = window.location.hash.slice(index1, index2);
- console.log(WeaTools.getUrlParams(), window.location);
- console.log(window.parent, window.parent.location.href);
+ const employeeId = WeaTools.getUrlParams().hrmResourceID;
return (
diff --git a/pc4mobx/hrmSalary/pages/salaryAdjustmentRecords/index.js b/pc4mobx/hrmSalary/pages/salaryAdjustmentRecords/index.js
index 4d35cfa3..5399f8dd 100644
--- a/pc4mobx/hrmSalary/pages/salaryAdjustmentRecords/index.js
+++ b/pc4mobx/hrmSalary/pages/salaryAdjustmentRecords/index.js
@@ -5,7 +5,7 @@
* Date: 2024/1/25
*/
import React, { Component } from "react";
-import { WeaLocaleProvider } from "ecCom";
+import { WeaLocaleProvider, WeaTools } from "ecCom";
import SalaryAdjustmentRecords from "../mySalaryBenefits/components/SalaryAdjustmentRecords";
import "../historicalPayroll/index.less";
@@ -13,8 +13,7 @@ const getLabel = WeaLocaleProvider.getLabel;
class Index extends Component {
render() {
- const index1 = window.location.hash.lastIndexOf("/") + 1, index2 = window.location.hash.lastIndexOf("?");
- const employeeId = window.location.hash.slice(index1, index2);
+ const employeeId = WeaTools.getUrlParams().hrmResourceID;
return (
From 13d67c5066093e444225886e58141872843f1bb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Fri, 26 Jan 2024 10:56:23 +0800
Subject: [PATCH 17/21] =?UTF-8?q?feature/2.10.1.2401.01-=E5=B7=A5=E8=B5=84?=
=?UTF-8?q?=E5=8D=95=E6=9F=A5=E7=9C=8B=E4=B8=8E=E8=B0=83=E8=96=AA=E8=AE=B0?=
=?UTF-8?q?=E5=BD=95=E5=88=86=E5=BC=80=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pc4mobx/hrmSalary/apis/mySalaryBenefits.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pc4mobx/hrmSalary/apis/mySalaryBenefits.js b/pc4mobx/hrmSalary/apis/mySalaryBenefits.js
index e7c9c9b4..0cb56cfe 100644
--- a/pc4mobx/hrmSalary/apis/mySalaryBenefits.js
+++ b/pc4mobx/hrmSalary/apis/mySalaryBenefits.js
@@ -12,7 +12,7 @@ export const mySalaryBillList4Card = params => {
};
// 人事卡片-调薪记录列表
export const mySalaryRecordList4Card = params => {
- return postFetch("/api/bs/hrmsalary/report/record/list4Card", params);
+ return WeaTools.callApi("/api/bs/hrmsalary/report/record/list4Card", "GET", params);
};
// 调薪记录列表
From 095a83308416006cd1499ebcc6e0154c352afa58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Mon, 29 Jan 2024 10:39:12 +0800
Subject: [PATCH 18/21] release/2.10.1.2401.01
---
.../pages/payrollFiles/components/salaryFileList/index.js | 2 +-
.../welfareArchive/components/welfareTableList/index.js | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFileList/index.js b/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFileList/index.js
index 1e95c5ec..bf3cfc17 100644
--- a/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFileList/index.js
+++ b/pc4mobx/hrmSalary/pages/payrollFiles/components/salaryFileList/index.js
@@ -172,7 +172,7 @@ class Index extends Component {
const columns = _.map(_.filter(toJS(tableStore.columns), (item) => item.display === "true"), (it, idx) => ({
dataIndex: it.dataIndex, title: it.title, align: "left",
width: (it.dataIndex === "taxAgentName" || it.dataIndex === "operate") ? 185 : 150,
- fixed: it.dataIndex === "username" ? "left" : it.dataIndex === "operate" ? "right" : "",
+ fixed: it.dataIndex === "username" ? "left" : it.dataIndex === "operate" ? "right" : it.fixed ? it.fixed : false,
ellipsis: true
}));
if (!_.isEmpty(columns)) {
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareTableList/index.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareTableList/index.js
index 17bb4629..05a7381a 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareTableList/index.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareTableList/index.js
@@ -167,14 +167,14 @@ class Index extends Component {
this.setState({
pageInfo: { ...pageInfo, current, pageSize, total }, dataSource,
columns: _.map(columns, o => {
- const { column: dataIndex, text: title, width } = o;
+ const { column: dataIndex, text: title, width, fixed } = o;
if (dataIndex === "employeeName") {
return {
dataIndex, title, width, fixed: "left", ellipsis: true
};
}
return {
- dataIndex, title, width, ellipsis: true
+ dataIndex, title, width, ellipsis: true, fixed: fixed || false
};
})
}, () => {
From ba49afb85dea512bdd8a889e6cb892b37a0c3e9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Tue, 30 Jan 2024 15:46:37 +0800
Subject: [PATCH 19/21] =?UTF-8?q?release/2.10.1.2401.01=20bug=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/ledgerPage/components/ledgerSalaryItemTable.js | 3 ++-
.../welfareArchive/components/welfareEditArchiveSlide/index.js | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/ledgerPage/components/ledgerSalaryItemTable.js b/pc4mobx/hrmSalary/pages/ledgerPage/components/ledgerSalaryItemTable.js
index 9366f360..ca9d9218 100644
--- a/pc4mobx/hrmSalary/pages/ledgerPage/components/ledgerSalaryItemTable.js
+++ b/pc4mobx/hrmSalary/pages/ledgerPage/components/ledgerSalaryItemTable.js
@@ -250,7 +250,8 @@ class LedgerSalaryItemTable extends Component {
render: (text, record) => {
const { salarySobId, salaryItemId } = record;
return {text};
}
},
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareEditArchiveSlide/index.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareEditArchiveSlide/index.js
index 2a9eed2d..03a89212 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareEditArchiveSlide/index.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/welfareArchive/components/welfareEditArchiveSlide/index.js
@@ -161,7 +161,7 @@ class Index extends Component {
return {
baseForm: JSON.stringify({
...formData[welfareType], ..._.reduce(_.keys(formData[welfareType]), (pre, cur) => {
- if (welfareData[cur]) return { ...pre, [cur]: welfareData[cur] };
+ if (welfareData[cur] || !_.isNil(welfareData[cur])) return { ...pre, [cur]: welfareData[cur] };
return { ...pre };
}, {}),
underTake: welfareData[`${underTakeType}UnderTake`]
From c260c31bf811375b6df5a040070fc2349f554897 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Tue, 30 Jan 2024 15:48:42 +0800
Subject: [PATCH 20/21] =?UTF-8?q?release/2.10.1.2401.01=20bug=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/ledgerPage/components/ledgerSalaryItemTable.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/ledgerPage/components/ledgerSalaryItemTable.js b/pc4mobx/hrmSalary/pages/ledgerPage/components/ledgerSalaryItemTable.js
index ca9d9218..b7121112 100644
--- a/pc4mobx/hrmSalary/pages/ledgerPage/components/ledgerSalaryItemTable.js
+++ b/pc4mobx/hrmSalary/pages/ledgerPage/components/ledgerSalaryItemTable.js
@@ -251,8 +251,8 @@ class LedgerSalaryItemTable extends Component {
const { salarySobId, salaryItemId } = record;
return {text};
+ // target="_blank"
+ href="javascript:void(0);">{text};
}
},
{
From 0e5c97d447326e8ef38b3895c6b3a785b0288332 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Tue, 30 Jan 2024 16:59:05 +0800
Subject: [PATCH 21/21] 0release/2.10.1.2401.01
---
pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.less | 1 +
1 file changed, 1 insertion(+)
diff --git a/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.less b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.less
index 8f71d224..eac828ef 100644
--- a/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.less
+++ b/pc4mobx/hrmSalary/pages/analysisOfSalaryStatistics/index.less
@@ -97,6 +97,7 @@
flex-direction: column;
justify-content: space-between;
margin-left: 10px;
+ overflow: hidden;
.reportName {
font-size: 14px;