考勤引用分页的bug

This commit is contained in:
liyongshun 2022-06-29 13:30:15 +08:00
parent e83a05d8bb
commit 23c6ad30ed
1 changed files with 32 additions and 31 deletions

View File

@ -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 {
</WeaTop>
</WeaRightMenu>
{/* {this.state.modalVisiable && */}
<ImportModal
init={() => {
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();
}}
/>
{/* } */}
<ImportModal
init={() => {
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();
}}
/>
{/* } */}
<SelectItemModal
onRestoreDefault={() => {