diff --git a/src/api/home/main.ts b/src/api/home/main.ts index acdf631..b9d8ce1 100644 --- a/src/api/home/main.ts +++ b/src/api/home/main.ts @@ -226,11 +226,12 @@ export async function queryPageListByCheckNo(params: any): Promise { headers: { 'Content-Type': ContentTypeEnum.FORM_DATA }, }) - const { data: { records, pages, total } } = res + const { data: { records, pages, total, current } } = res return { pageCount: pages, data: records, total, + current, } } /** @@ -288,11 +289,11 @@ export async function getFilterList(params) { * @param * @returns */ - export async function getLastCheckNox() { +export async function getLastCheckNox() { return http.request({ url: `/ocr/checkDuplicate/getLastCheckNo`, method: 'get', - + }) } @@ -301,10 +302,10 @@ export async function getFilterList(params) { * @param * @returns */ - export async function getCheckDuplicateStatusx(params) { +export async function getCheckDuplicateStatusx(params) { return http.request({ url: `/ocr/checkDuplicate/getCheckDuplicateStatus`, method: 'get', - params + params, }) -} \ No newline at end of file +} diff --git a/src/components/DataHeader/index.vue b/src/components/DataHeader/index.vue index 0e86196..213fe63 100644 --- a/src/components/DataHeader/index.vue +++ b/src/components/DataHeader/index.vue @@ -1,75 +1,74 @@