|
@@ -58,13 +58,7 @@ function Approved(props) {
|
|
|
run: conAuditedRun,
|
|
|
loading: conAduitedLoading,
|
|
|
} = useRequest((data) => queryApprovedList(data), {
|
|
|
- defaultParams: [
|
|
|
- {
|
|
|
- check_by: user.CName,
|
|
|
- // currentPage: 1,
|
|
|
- // pageSize: 10,
|
|
|
- },
|
|
|
- ],
|
|
|
+ defaultParams: [{ currentPage: 1, pageSize: 10 }],
|
|
|
// formatResult: contractResult,
|
|
|
});
|
|
|
// //合同 我审批过的列表
|
|
@@ -95,7 +89,6 @@ function Approved(props) {
|
|
|
};
|
|
|
const handleApplyPaginationChange = (pagination) => {
|
|
|
conAuditedRun({
|
|
|
- check_by: user.CName,
|
|
|
currentPage: pagination.current,
|
|
|
pageSize: 10,
|
|
|
});
|