From 5c8ada33d8dc51d8388c2f6a2e7820afa117f1da Mon Sep 17 00:00:00 2001
From: lys <971387674@qq.com>
Date: Thu, 20 Nov 2025 14:39:45 +0800
Subject: [PATCH] =?UTF-8?q?custom/=E8=A5=BF=E9=83=A8=E4=BF=A1=E6=89=980401?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../hrmSalary/pages/mobilePayroll/secondaryVerify.js | 3 +++
.../mySalaryMobile/components/payrollList/index.js | 12 ++++++------
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/pc4mobx/hrmSalary/pages/mobilePayroll/secondaryVerify.js b/pc4mobx/hrmSalary/pages/mobilePayroll/secondaryVerify.js
index ad86c294..3b57754f 100644
--- a/pc4mobx/hrmSalary/pages/mobilePayroll/secondaryVerify.js
+++ b/pc4mobx/hrmSalary/pages/mobilePayroll/secondaryVerify.js
@@ -24,6 +24,9 @@ class SecondaryVerify extends Component {
super(props);
this.state = { notSetting: false };
}
+ componentWillMount() {
+ this.setState({ notSetting: false }, () => form.resetForm());
+ }
componentDidMount() {
API.getSecondAuthForm({ mouldCode: "HRM", itemCode: "SALARY" }, this.props.salaryBillToken)
diff --git a/pc4mobx/hrmSalary/pages/mySalaryMobile/components/payrollList/index.js b/pc4mobx/hrmSalary/pages/mySalaryMobile/components/payrollList/index.js
index 78a2c045..6d29500d 100644
--- a/pc4mobx/hrmSalary/pages/mySalaryMobile/components/payrollList/index.js
+++ b/pc4mobx/hrmSalary/pages/mySalaryMobile/components/payrollList/index.js
@@ -12,6 +12,10 @@ const getLabel = WeaLocaleProvider.getLabel;
class Index extends Component {
+ handleViewSalary = (it) => {
+ window.location.href = `/spa/hrmSalary/static/index.html#/main/hrmSalary/mobilepayroll?id=${it.id}&salaryCode=${it.salaryCode}&type=phone`;
+ };
+
render() {
const { dataSource, isMore, loading } = this.props;
return (
@@ -27,11 +31,7 @@ class Index extends Component {
{getLabel(111, "发放时间")}
{moment(it.sendTime).format("YYYY-MM")}
-
- {`${getLabel(33564, "查看")}>`}
-
+ this.handleViewSalary(it)}>{`${getLabel(33564, "查看")}>`}
;
})
}
@@ -46,4 +46,4 @@ class Index extends Component {
}
}
-export default Index;
+export default Index;
\ No newline at end of file