考勤引用分页的bug
This commit is contained in:
parent
e83a05d8bb
commit
23c6ad30ed
|
|
@ -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={() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue