//定义分页参数 interface IPaganation { pageSize?: number, pageIndex?: number, machineTypeId?: string, codeSearch?: string }
//分页 const _pagination = { current: pagination.pageIndex, pageSize: pagination.pageSize, total: totol, onChange: onChange, showTotal: () => { return '共 ' + totol + ' 条记录'; }, }