考勤引用列表
This commit is contained in:
parent
4ef5703828
commit
de6736d01c
|
|
@ -150,8 +150,28 @@ export default class Attendance extends React.Component {
|
|||
}
|
||||
|
||||
const renderLeftOperation = () => {
|
||||
const { attendanceStore: {getAttendanceList}} = this.props;
|
||||
return <MonthRange
|
||||
label={"薪资所属月"}
|
||||
onStartDateChange={(value) => {
|
||||
this.setState({
|
||||
startDate: value
|
||||
})
|
||||
|
||||
getAttendanceList({
|
||||
salaryYearMonth: [value, this.state.endDate]
|
||||
})
|
||||
|
||||
}}
|
||||
onEndDateChange={(value) => {
|
||||
this.setState({
|
||||
endDate: value
|
||||
})
|
||||
getAttendanceList({
|
||||
salaryYearMonth: [this.state.startDate, value]
|
||||
})
|
||||
|
||||
}}
|
||||
/>
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue