修正了我的报销搜索
parent
e63fa0153d
commit
8d02ef7ecc
|
@ -331,7 +331,7 @@ class Subpage extends React.Component<any, any> {
|
||||||
total: totalRecordLength,
|
total: totalRecordLength,
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
if (response.data.reimbursementSubmitStaff.staffId !== store.getState().token.staffId) {
|
if (response.data.reimbursementSubmitStaff.staffId === store.getState().token.staffId) {
|
||||||
tableListDataSource = await this.converter(response.data, pageSize)
|
tableListDataSource = await this.converter(response.data, pageSize)
|
||||||
totalRecordLength = tableListDataSource.length
|
totalRecordLength = tableListDataSource.length
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue