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