From 985b9612f6f640ca5080d53caedccff3ba699ac9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Thu, 13 Jul 2023 15:02:57 +0800
Subject: [PATCH 1/7] =?UTF-8?q?=E8=96=AA=E8=B5=84=E6=A1=A3=E6=A1=88?=
=?UTF-8?q?=E4=B8=AA=E7=A8=8E=E6=89=A3=E7=BC=B4=E4=B9=89=E5=8A=A1=E4=BA=BA?=
=?UTF-8?q?=E9=80=89=E9=A1=B9=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pc4mobx/hrmSalary/pages/payrollFiles/index.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/payrollFiles/index.js b/pc4mobx/hrmSalary/pages/payrollFiles/index.js
index 61d0c031..e44df54d 100644
--- a/pc4mobx/hrmSalary/pages/payrollFiles/index.js
+++ b/pc4mobx/hrmSalary/pages/payrollFiles/index.js
@@ -127,7 +127,7 @@ class Index extends Component {
const { taxAgentStore } = this.props;
const { statuses, archiveStatus, taxAgentId } = this.state.searchItemsValue;
const { archiveStatusList, userStatusList } = this.state;
- const { taxAgentAdminOption } = taxAgentStore;
+ const { taxAgentOption } = taxAgentStore;
return (
this.setState({ searchItemsValue: { ...this.state.searchItemsValue, [key]: val } })}/>
);
@@ -148,8 +148,8 @@ class Index extends Component {
componentDidMount() {
const { taxAgentStore } = this.props;
- const { getTaxAgentSelectListAsAdmin } = taxAgentStore;
- getTaxAgentSelectListAsAdmin();
+ const { fetchTaxAgentOption } = taxAgentStore;
+ fetchTaxAgentOption();
this.queryTabTotal();
this.queryList("/api/bs/hrmsalary/salaryArchive/pendingList");
const init = this.init();
From 626f8721fbb75d22f07cc96e545c3d54c53517c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com>
Date: Thu, 13 Jul 2023 15:23:38 +0800
Subject: [PATCH 2/7] =?UTF-8?q?=E4=BA=8C=E6=AC=A1=E5=AF=86=E7=A0=81?=
=?UTF-8?q?=E8=AE=BE=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pc4mobx/hrmSalary/pages/mobilePayroll/pwdCondtion.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/mobilePayroll/pwdCondtion.js b/pc4mobx/hrmSalary/pages/mobilePayroll/pwdCondtion.js
index a54f2909..e7c1fbbb 100644
--- a/pc4mobx/hrmSalary/pages/mobilePayroll/pwdCondtion.js
+++ b/pc4mobx/hrmSalary/pages/mobilePayroll/pwdCondtion.js
@@ -37,7 +37,8 @@ export const condition = [
labelcol: 6,
detailtype: 3,
rules: "required|string",
- viewAttr: 3
+ viewAttr: 3,
+ type: "password"
},
{
colSpan: 1,
@@ -47,7 +48,8 @@ export const condition = [
label: getLabel(511112, "确认密码"),
labelcol: 6,
rules: "required|string",
- viewAttr: 3
+ viewAttr: 3,
+ type: "password"
},
{
colSpan: 1,
From 90bb69f292592639580f2e3b7e1dea34b48794c6 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, 14 Jul 2023 15:31:57 +0800
Subject: [PATCH 3/7] =?UTF-8?q?bug-=E7=A4=BE=E4=BF=9D=E7=A6=8F=E5=88=A9?=
=?UTF-8?q?=E5=8F=B0=E8=B4=A6=E6=A0=B8=E7=AE=97=E9=A1=B5=E9=9D=A2=E6=8C=89?=
=?UTF-8?q?=E9=92=AE=E6=96=87=E5=AD=97=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../standingBookDetail/components/normal.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js
index c078312f..4a2b5783 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js
@@ -459,7 +459,7 @@ export default class NormalIndex extends Component {
const { loading } = standingBookStore;
const btn1 = [
,
-
+
];
const btn2 = [
,
From ce93eff7348513aa9ad5b4bc248a9fb0ac7730ed 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, 17 Jul 2023 10:58:02 +0800
Subject: [PATCH 4/7] =?UTF-8?q?=E8=A7=84=E5=88=99=E5=90=8D=E7=A7=B0?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pc4mobx/hrmSalary/pages/ruleConfig/index.js | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/ruleConfig/index.js b/pc4mobx/hrmSalary/pages/ruleConfig/index.js
index 363531bd..1de2e589 100644
--- a/pc4mobx/hrmSalary/pages/ruleConfig/index.js
+++ b/pc4mobx/hrmSalary/pages/ruleConfig/index.js
@@ -328,24 +328,24 @@ export default class Index extends Component {
}
-
-
+
+
this.handleChange("operateTaxDeclaration", val)}/>
-
+
this.handleChange("withDrawTaxDeclaration", val)}/>
-
+
this.handleChange("confValue", val)}/>
-
-
+
+
this.handleChange("matchRule", val)}
/>
From 2af9059775229c650fe480d0614a9c699beec99b 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, 17 Jul 2023 14:43:01 +0800
Subject: [PATCH 5/7] =?UTF-8?q?=E4=BA=A7=E5=93=81-=E5=B7=A5=E8=B5=84?=
=?UTF-8?q?=E5=8D=95=E5=8F=8D=E9=A6=88=E8=B7=B3=E8=BD=AC=E9=AA=8C=E8=AF=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pc4mobx/hrmSalary/apis/payroll.js | 4 +++
.../hrmSalary/pages/mobilePayroll/index.js | 24 +++++++++++++-----
.../hrmSalary/pages/mySalary/mySalaryView.js | 25 ++++++++++++++-----
3 files changed, 41 insertions(+), 12 deletions(-)
diff --git a/pc4mobx/hrmSalary/apis/payroll.js b/pc4mobx/hrmSalary/apis/payroll.js
index 6f48f359..14c949d5 100644
--- a/pc4mobx/hrmSalary/apis/payroll.js
+++ b/pc4mobx/hrmSalary/apis/payroll.js
@@ -375,6 +375,10 @@ export const sendMobileCode = (params) => {
export const payrollCheckType = params => {
return WeaTools.callApi("/api/bs/hrmsalary/salaryBill/payrollCheckType", "GET", params);
};
+//工资单-反馈验证
+export const feedBackSalaryBill = params => {
+ return WeaTools.callApi("/api/bs/hrmsalary/salaryBill/feedBackSalaryBill", "GET", params);
+};
//工资单-确认
export const confirmSalaryBill = params => {
return WeaTools.callApi("/api/bs/hrmsalary/salaryBill/confirmSalaryBill", "GET", params);
diff --git a/pc4mobx/hrmSalary/pages/mobilePayroll/index.js b/pc4mobx/hrmSalary/pages/mobilePayroll/index.js
index c2793533..05a4c36f 100644
--- a/pc4mobx/hrmSalary/pages/mobilePayroll/index.js
+++ b/pc4mobx/hrmSalary/pages/mobilePayroll/index.js
@@ -2,13 +2,13 @@ import React from "react";
import { inject, observer } from "mobx-react";
import { getQueryString } from "../../util/url";
import { WeaDialog, WeaError, WeaInput, WeaLocaleProvider } from "ecCom";
-import { Button, message } from "antd";
+import { Button, message, Modal } from "antd";
import Authority from "../mySalary/authority";
import ComputerTemplate from "../payroll/templatePreview/computerTemplate";
import PhoneTemplate from "../payroll/templatePreview/phoneTemplate";
import "../payroll/templatePreview/index.less";
import * as API from "../../apis/mySalaryBenefits";
-import { confirmSalaryBill, payrollCheckType } from "../../apis/payroll";
+import { confirmSalaryBill, feedBackSalaryBill, payrollCheckType } from "../../apis/payroll";
import "./index.less";
import CaptchaModal from "../../components/captchaModal";
import { ConfirmBtns } from "../mySalary/mySalaryView";
@@ -117,10 +117,22 @@ export default class MobilePayroll extends React.Component {
});
};
handleGoFeedback = () => {
- const { mySalaryBillData } = this.state;
- const { salaryTemplate } = mySalaryBillData;
- const { feedbackUrl } = salaryTemplate;
- window.open(`${window.ecologyContentPath || ""}${feedbackUrl}`);
+ Modal.confirm({
+ title: getLabel(131329, "信息确认"),
+ content: getLabel(111, "请确认薪资信息是有误,进行反馈并发起反馈流程。"),
+ onOk: () => {
+ feedBackSalaryBill({ salaryInfoId: getQueryString("id") }).then(({ status, errorMsg }) => {
+ if (status) {
+ const { mySalaryBillData } = this.state;
+ const { salaryTemplate } = mySalaryBillData;
+ const { feedbackUrl } = salaryTemplate;
+ window.open(`${window.ecologyContentPath || ""}${feedbackUrl}`);
+ } else {
+ message.error(errorMsg);
+ }
+ });
+ }
+ });
};
render() {
diff --git a/pc4mobx/hrmSalary/pages/mySalary/mySalaryView.js b/pc4mobx/hrmSalary/pages/mySalary/mySalaryView.js
index c614c952..24bf675e 100644
--- a/pc4mobx/hrmSalary/pages/mySalary/mySalaryView.js
+++ b/pc4mobx/hrmSalary/pages/mySalary/mySalaryView.js
@@ -6,11 +6,11 @@
*/
import React, { Component } from "react";
import { inject, observer } from "mobx-react";
-import { Button, message } from "antd";
+import { Button, message, Modal } from "antd";
import { WeaLocaleProvider } from "ecCom";
import Authority from "./authority";
import ComputerTemplate from "../payroll/templatePreview/computerTemplate";
-import { confirmSalaryBill, payrollCheckType } from "../../apis/payroll";
+import { confirmSalaryBill, feedBackSalaryBill, payrollCheckType } from "../../apis/payroll";
import CaptchaModal from "../../components/captchaModal";
import "../payroll/templatePreview/index.less";
@@ -55,10 +55,23 @@ class MySalaryView extends Component {
});
};
handleGoFeedback = () => {
- const { mySalaryStore } = this.state;
- const { salaryTemplate } = mySalaryStore;
- const { feedbackUrl } = salaryTemplate;
- window.open(`${window.ecologyContentPath || ""}${feedbackUrl}`);
+ Modal.confirm({
+ title: getLabel(131329, "信息确认"),
+ content: getLabel(111, "请确认薪资信息是有误,进行反馈并发起反馈流程。"),
+ onOk: () => {
+ const { params: { salaryInfoId } } = this.props;
+ feedBackSalaryBill({ salaryInfoId }).then(({ status, errorMsg }) => {
+ if (status) {
+ const { mySalaryStore } = this.state;
+ const { salaryTemplate } = mySalaryStore;
+ const { feedbackUrl } = salaryTemplate;
+ window.open(`${window.ecologyContentPath || ""}${feedbackUrl}`);
+ } else {
+ message.error(errorMsg);
+ }
+ });
+ }
+ });
};
render() {
From 8ca7a02f82a4c127485bd556f08568650ebfa509 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, 17 Jul 2023 15:21:05 +0800
Subject: [PATCH 6/7] =?UTF-8?q?=E4=BA=A7=E5=93=81-=E5=B7=A5=E8=B5=84?=
=?UTF-8?q?=E5=8D=95=E5=8F=8D=E9=A6=88=E8=B7=B3=E8=BD=AC=E9=AA=8C=E8=AF=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../pages/payroll/stepForm/baseInformForm.js | 24 +++++++++----------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/payroll/stepForm/baseInformForm.js b/pc4mobx/hrmSalary/pages/payroll/stepForm/baseInformForm.js
index a6bd2e67..6dab5f84 100644
--- a/pc4mobx/hrmSalary/pages/payroll/stepForm/baseInformForm.js
+++ b/pc4mobx/hrmSalary/pages/payroll/stepForm/baseInformForm.js
@@ -56,7 +56,7 @@ export default class BaseInformForm extends React.Component {
JSON.parse(templateBaseData).salarySob && this.getReplenishRuleSetOptions({ salarySobId: JSON.parse(templateBaseData).salarySob });
}
- hanldeChange = (params) => {
+ handleChange = (params) => {
let request = { ...this.state.request, ...params };
this.setState({
request
@@ -101,7 +101,7 @@ export default class BaseInformForm extends React.Component {
options={options}
value={salarySob ? salarySob : ""}
style={{ width: 200 }}
- onChange={value => this.hanldeChange({ salarySob: value })}/>
+ onChange={value => this.handleChange({ salarySob: value })}/>
}
this.hanldeChange({ name: value })}
+ onChange={value => this.handleChange({ name: value })}
/>
this.hanldeChange({ replenishName: value })}
+ onChange={value => this.handleChange({ replenishName: value })}
/>
this.hanldeChange({ reissueRule: value })}
+ onChange={value => this.handleChange({ reissueRule: value })}
/>
{
@@ -150,7 +150,7 @@ export default class BaseInformForm extends React.Component {
options={replenishRuleOptions}
value={replenishRule}
viewAttr={3}
- onChange={value => this.hanldeChange({ replenishRule: value })}
+ onChange={value => this.handleChange({ replenishRule: value })}
/>
}
@@ -161,7 +161,7 @@ export default class BaseInformForm extends React.Component {
>
this.hanldeChange({ description: value })}
+ onChange={value => this.handleChange({ description: value })}
/>
@@ -169,18 +169,18 @@ export default class BaseInformForm extends React.Component {
className="payrollBaseInfoWrapper">
this.hanldeChange({ msgStatus: value === "1" })}/>
+ onChange={value => this.handleChange({ msgStatus: value === "1" })}/>
this.hanldeChange({ emailStatus: value === "1" })}/>
+ onChange={value => this.handleChange({ emailStatus: value === "1" })}/>
this.hanldeChange({
+ onChange={value => this.handleChange({
ackFeedbackStatus: value === "1",
autoAckDays: 7,
feedbackUrl: "/"
@@ -192,13 +192,13 @@ export default class BaseInformForm extends React.Component {
this.hanldeChange({ autoAckDays })}
+ onChange={autoAckDays => this.handleChange({ autoAckDays })}
/>
this.hanldeChange({ feedbackUrl })}
+ onChange={feedbackUrl => this.handleChange({ feedbackUrl })}
/>
From 377039ade2fdf5d48c0856f86ca16ce42aafe472 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, 17 Jul 2023 17:40:30 +0800
Subject: [PATCH 7/7] =?UTF-8?q?=E4=BA=A7=E5=93=81-=E5=B7=A5=E8=B5=84?=
=?UTF-8?q?=E5=8D=95=E5=8F=8D=E9=A6=88=E6=B7=BB=E5=8A=A0=E6=8F=90=E7=A4=BA?=
=?UTF-8?q?=E8=AF=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pc4mobx/hrmSalary/pages/payroll/index.js | 2 +-
.../pages/payroll/stepForm/baseInformForm.js | 11 ++++++++++-
.../hrmSalary/pages/payroll/templateBaseSettings.js | 6 ++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/payroll/index.js b/pc4mobx/hrmSalary/pages/payroll/index.js
index c974b699..10c526ea 100644
--- a/pc4mobx/hrmSalary/pages/payroll/index.js
+++ b/pc4mobx/hrmSalary/pages/payroll/index.js
@@ -506,7 +506,7 @@ export default class Payroll extends React.Component {
className="slideOuterWrapper"
visible={this.state.editSlideVisible}
top={0}
- width={50}
+ width={65}
height={100}
direction="right"
measure="%"
diff --git a/pc4mobx/hrmSalary/pages/payroll/stepForm/baseInformForm.js b/pc4mobx/hrmSalary/pages/payroll/stepForm/baseInformForm.js
index 5a3d8681..94719f8d 100644
--- a/pc4mobx/hrmSalary/pages/payroll/stepForm/baseInformForm.js
+++ b/pc4mobx/hrmSalary/pages/payroll/stepForm/baseInformForm.js
@@ -2,6 +2,7 @@ import React from "react";
import {
WeaCheckbox,
WeaFormItem,
+ WeaHelpfulTip,
WeaInput,
WeaInputNumber,
WeaLocaleProvider,
@@ -201,9 +202,12 @@ export default class BaseInformForm extends React.Component {
autoSendStatus: value === "1",
autoSendDayOfMonth: value === "1" ? "1" : null,
autoSendTimeOfDay: value === "1" ? "09:00" : null,
- autoSendCycleType: value === "1" ? 1 : null,
+ autoSendCycleType: value === "1" ? 1 : null
});
}}/>
+
{
autoSendStatus &&
@@ -236,8 +240,13 @@ export default class BaseInformForm extends React.Component {
this.handleChange({ autoAckDays })}
/>
+
this.setState({
ackFeedbackSetting: {
...ackFeedbackSetting, autoAckDays
}
})}/>
+