From 6ca4dcf73b6fd1ac42c77c75c8ce422a75b75a19 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 07 三月 2024 09:59:54 +0800 Subject: [PATCH] 整合代码 --- Source/UBCS-WEB/src/api/docking/info.js | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/api/docking/info.js b/Source/UBCS-WEB/src/api/docking/info.js index 6e8c242..81a1fb3 100644 --- a/Source/UBCS-WEB/src/api/docking/info.js +++ b/Source/UBCS-WEB/src/api/docking/info.js @@ -61,19 +61,27 @@ } // header鍙傛暟 -export const HeaderRequest =(params) => { +export const HeaderRequest =(page,limit,params) => { return request({ url: '/api/ubcs-code/dockingManagement/gridHeader', method: 'get', - ...params + params: { + ...params, + page, + limit + } }) } // 鍙傛暟璇锋眰 -export const ParmRequest =(params) => { +export const ParmRequest =(page,limit,params) => { return request({ url: '/api/ubcs-code/dockingManagement/gridParam', method: 'get', - ...params + params:{ + ...params, + page, + limit + } }) } -- Gitblit v1.9.3