添加]}
>
From 89b9e6110eb45fc5b5d6d6954f4b17539c655355 Mon Sep 17 00:00:00 2001
From: lys <971387674@qq.com>
Date: Mon, 9 Dec 2024 18:01:05 +0800
Subject: [PATCH 09/14] release/2.18.1.2412.01
---
.../pages/ledgerPage/components/ledgerSalaryItemAddModal.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pc4mobx/hrmSalary/pages/ledgerPage/components/ledgerSalaryItemAddModal.js b/pc4mobx/hrmSalary/pages/ledgerPage/components/ledgerSalaryItemAddModal.js
index e0707394..663aff22 100644
--- a/pc4mobx/hrmSalary/pages/ledgerPage/components/ledgerSalaryItemAddModal.js
+++ b/pc4mobx/hrmSalary/pages/ledgerPage/components/ledgerSalaryItemAddModal.js
@@ -138,7 +138,7 @@ export default class LedgerSalaryItemAddModal extends React.Component {
Date: Mon, 9 Dec 2024 18:14:41 +0800
Subject: [PATCH 10/14] release/2.18.1.2412.01
---
pc4mobx/hrmSalary/apis/calculate.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pc4mobx/hrmSalary/apis/calculate.js b/pc4mobx/hrmSalary/apis/calculate.js
index fbc8abb9..009a9bd8 100644
--- a/pc4mobx/hrmSalary/apis/calculate.js
+++ b/pc4mobx/hrmSalary/apis/calculate.js
@@ -219,7 +219,8 @@ export const exportComparisonResult = (salaryAcctRecordId) => {
// 核算进度条
export const getCalculateProgress = (id = "", paymentOrganization = "") => {
- return WeaTools.callApi(`/api/bs/hrmsalary/progress/getRate?cacheKey=ACCT_PROGRESS_${id}_${paymentOrganization}`, "get", {});
+ const extra= paymentOrganization ? `_${paymentOrganization}` : paymentOrganization
+ return WeaTools.callApi(`/api/bs/hrmsalary/progress/getRate?cacheKey=ACCT_PROGRESS_${id}${extra}`, "get", {});
};
// 核算进度条
From 02a367befb1c9c004b7b4b0c2e555c4abde4aa14 Mon Sep 17 00:00:00 2001
From: lys <971387674@qq.com>
Date: Tue, 10 Dec 2024 09:11:12 +0800
Subject: [PATCH 11/14] =?UTF-8?q?release/2.18.1.2412.01=20=E8=96=AA?=
=?UTF-8?q?=E8=B5=84=E6=A0=B8=E7=AE=97=E8=BF=9B=E5=BA=A6=E6=9D=A1=E5=A4=84?=
=?UTF-8?q?=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pc4mobx/hrmSalary/pages/calculate/doCalc/index.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/calculate/doCalc/index.js b/pc4mobx/hrmSalary/pages/calculate/doCalc/index.js
index 602e48b5..4f4944c7 100644
--- a/pc4mobx/hrmSalary/pages/calculate/doCalc/index.js
+++ b/pc4mobx/hrmSalary/pages/calculate/doCalc/index.js
@@ -77,7 +77,8 @@ class Index extends Component {
if (this.timer) clearInterval(this.timer);
this.timer = setInterval(() => {
getCalculateProgress(salaryAcctRecordId).then(({ data }) => {
- if ((_.isNil(data) || data.progress === 1) && this.timer) {
+ let progress = data.progress;
+ if (progress === 1 && this.timer) {
clearInterval(this.timer);
this.timer = null;
this.setState({
@@ -95,7 +96,7 @@ class Index extends Component {
});
message.error(data.message);
}
- this.setState({ progress: Number(data.progress) * 100 });
+ this.setState({ progress: Number(progress) * 100 });
});
}, 1000);
});
From d2bd5befe70998b679ce7fea02feed22b3a6c395 Mon Sep 17 00:00:00 2001
From: lys <971387674@qq.com>
Date: Tue, 10 Dec 2024 14:07:12 +0800
Subject: [PATCH 12/14] =?UTF-8?q?feature/2.15.2.2411.01=E4=B8=9A=E5=8A=A1?=
=?UTF-8?q?=E7=BA=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/socialSecurityBenefits/standingBook/standingBook.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/standingBook.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/standingBook.js
index a1ae06c7..be9cd463 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/standingBook.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/standingBook.js
@@ -79,7 +79,7 @@ class StandingBook extends Component {
this.setState({
accountDialog: { ...this.state.accountDialog, visible: false }
}, () => {
- this.wfListRef.wrappedInstance.getWelfareRecordList();
+ this.wfListRef.getWelfareRecordList();
const calcPayload = { ...payload, creator };
window.open(`/spa/hrmSalary/static/index.html#/main/hrmSalary/socialSecurityBenefits/standingBookDetail?${convertToUrlString(calcPayload)}`);
});
From d9844eed9bea223e330b89d7703992a1b03a88d7 Mon Sep 17 00:00:00 2001
From: lys <971387674@qq.com>
Date: Wed, 11 Dec 2024 15:28:14 +0800
Subject: [PATCH 13/14] release/2.18.1.2412.01
---
.../pages/mySalaryMobile/components/payrollList/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pc4mobx/hrmSalary/pages/mySalaryMobile/components/payrollList/index.js b/pc4mobx/hrmSalary/pages/mySalaryMobile/components/payrollList/index.js
index 69bac121..78a2c045 100644
--- a/pc4mobx/hrmSalary/pages/mySalaryMobile/components/payrollList/index.js
+++ b/pc4mobx/hrmSalary/pages/mySalaryMobile/components/payrollList/index.js
@@ -28,7 +28,7 @@ class Index extends Component {
{moment(it.sendTime).format("YYYY-MM")}
{`${getLabel(33564, "查看")}>`}
From ef1c529941d23c3c9a9db99e44f7b8a6acc5a1c9 Mon Sep 17 00:00:00 2001
From: lys <971387674@qq.com>
Date: Tue, 17 Dec 2024 16:03:52 +0800
Subject: [PATCH 14/14] release/2.18.1.2412.01
---
pc4mobx/hrmSalary/pages/ruleConfig/conditions.js | 16 ++++++++++++++++
pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js | 4 +++-
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/pc4mobx/hrmSalary/pages/ruleConfig/conditions.js b/pc4mobx/hrmSalary/pages/ruleConfig/conditions.js
index 51759130..c5701013 100644
--- a/pc4mobx/hrmSalary/pages/ruleConfig/conditions.js
+++ b/pc4mobx/hrmSalary/pages/ruleConfig/conditions.js
@@ -152,6 +152,22 @@ export const conditions = [
lanId: 538004,
defaultshow: true
},
+ {
+ items: [
+ {
+ conditionType: "SWITCH",
+ domkey: ["ATTENDANCE_SERIAL_COLLECTION_BTN"],
+ fieldcol: 10,
+ label: "考勤引用是否采集班次数据",
+ lanId: 111,
+ labelcol: 8,
+ viewAttr: 2
+ }
+ ],
+ title: "数据采集",
+ lanId: 111,
+ defaultshow: true
+ },
{
items: [
{
diff --git a/pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js b/pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js
index f84987cb..573bc864 100644
--- a/pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js
+++ b/pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js
@@ -153,6 +153,7 @@ class RuleConfig extends Component {
case "APPROVAL_CAN_MANUAL_FILE_STATUS":
case "APPROVAL_CAN_RE_CALC_STATUS":
case "APPROVAL_CAN_EDIT_RESULT_STATUS":
+ case "ATTENDANCE_SERIAL_COLLECTION_BTN":
if (!this.handleDebounce) {
this.handleDebounce = _.debounce(() => {
const confTitle = {
@@ -169,7 +170,8 @@ class RuleConfig extends Component {
SALARY_APPROVAL_STATUS: getLabel(111, "是否开启薪资审批"),
APPROVAL_CAN_MANUAL_FILE_STATUS: getLabel(111, "开启审批的核算记录允许手动归档"),
APPROVAL_CAN_RE_CALC_STATUS: getLabel(111, "开启审批的核算记录允许重新核算"),
- APPROVAL_CAN_EDIT_RESULT_STATUS: getLabel(111, "审批流程发起后允许修改核算数据")
+ APPROVAL_CAN_EDIT_RESULT_STATUS: getLabel(111, "审批流程发起后允许修改核算数据"),
+ ATTENDANCE_SERIAL_COLLECTION_BTN: getLabel(111, "考勤引用是否采集班次数据")
};
this.unifiedSettings(key, confTitle[key]);
this.handleDebounce = null;