custom/西部信托0401
This commit is contained in:
parent
4838542492
commit
5c8ada33d8
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 {
|
|||
<span>{getLabel(111, "发放时间")}</span>
|
||||
<span>{moment(it.sendTime).format("YYYY-MM")}</span>
|
||||
</div>
|
||||
<a
|
||||
href={`/spa/hrmSalary/static/index.html#/main/hrmSalary/mobilepayroll?id=${it.id}&salaryCode=${it.salaryCode}&type=phone`}
|
||||
target="_blank">
|
||||
{`${getLabel(33564, "查看")}>`}
|
||||
</a>
|
||||
<a onClick={() => this.handleViewSalary(it)}>{`${getLabel(33564, "查看")}>`}</a>
|
||||
</li>;
|
||||
})
|
||||
}
|
||||
|
|
@ -46,4 +46,4 @@ class Index extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
export default Index;
|
||||
export default Index;
|
||||
Loading…
Reference in New Issue