diff --git a/pc4mobx/hrmSalary/pages/dataAcquisition/attendance/index.js b/pc4mobx/hrmSalary/pages/dataAcquisition/attendance/index.js index 3f74f2d9..99cb4514 100644 --- a/pc4mobx/hrmSalary/pages/dataAcquisition/attendance/index.js +++ b/pc4mobx/hrmSalary/pages/dataAcquisition/attendance/index.js @@ -142,12 +142,13 @@ export default class Attendance extends React.Component { handleFieldPageChange(value) { const { attendanceStore: { getAttendanceFieldList } } = this.props; this.fieldSearch.current = value; + this.fieldSearch.pageSize = this.pageInfo.pageSize; getAttendanceFieldList(this.fieldSearch); } handleFieldShowSizeChange(pageInfo) { const { attendanceStore: { getAttendanceFieldList } } = this.props; - this.fieldSearch.current = value; + this.fieldSearch.current = pageInfo; getAttendanceFieldList({ ...this.fieldSearch, ...pageInfo }); } @@ -841,36 +842,36 @@ export default class Attendance extends React.Component { {/* {this.state.modalVisiable && */} - { - this.handleInitImportModal(); - }} - params={this.state.modalParam} - columns={previewAttendQuoteColumns} - step={step} - setStep={setStep} - slideDataSource={previewAttendQuoteDataSource} - importResult={importResult} - onFinish={() => { - this.handleFinish(); - }} - previewImport={params => { - this.handlePreviewImport(params); - }} - importFile={params => { - this.handleImport(params); - }} - headerSetCompoent={renderHeaderSetCompoent()} - templateLink={() => { - this.handleTemplateLinkClick(); - }} - renderFormComponent={() => renderFormComponent()} - visiable={this.state.modalVisiable} - onCancel={() => { - this.handleFinish(); - }} - /> - {/* } */} + { + this.handleInitImportModal(); + }} + params={this.state.modalParam} + columns={previewAttendQuoteColumns} + step={step} + setStep={setStep} + slideDataSource={previewAttendQuoteDataSource} + importResult={importResult} + onFinish={() => { + this.handleFinish(); + }} + previewImport={params => { + this.handlePreviewImport(params); + }} + importFile={params => { + this.handleImport(params); + }} + headerSetCompoent={renderHeaderSetCompoent()} + templateLink={() => { + this.handleTemplateLinkClick(); + }} + renderFormComponent={() => renderFormComponent()} + visiable={this.state.modalVisiable} + onCancel={() => { + this.handleFinish(); + }} + /> + {/* } */} {