From 43b449343715b398b9e1222b93d83f50f8e8e19e Mon Sep 17 00:00:00 2001
From: fujunling <2984387807@qq.com>
Date: 星期三, 05 七月 2023 10:18:52 +0800
Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs
---
Source/UBCS-WEB/src/api/code/codebasic.js | 35 +++++++++++++++++++----------------
1 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/Source/UBCS-WEB/src/api/code/codebasic.js b/Source/UBCS-WEB/src/api/code/codebasic.js
index 845eff6..0102583 100644
--- a/Source/UBCS-WEB/src/api/code/codebasic.js
+++ b/Source/UBCS-WEB/src/api/code/codebasic.js
@@ -1,13 +1,16 @@
import request from '@/router/axios';
-export const gridCodeBasicSec = (current, size, params) => {
+export const gridCodeBasicSec = (page, limit, params) => {
return request({
url: '/api/ubcs-code/codeBasicSecController/gridCodeBasicSec',
method: 'get',
params: {
...params,
- current,
- size,
+ page,
+ limit,
+ },
+ paramsSerializer: function(params) {
+ return qs.stringify(params, { encode: false });
}
})
}
@@ -56,26 +59,26 @@
})
}
-export const refDataGrid = (current, size, params) => {
- return request({
- url: '/api/ubcs-code/codeBasicSecController/refDataGrid',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- }
- })
+export const refDataGrid = (page, limit, params) => {
+ return request({
+ url: '/api/ubcs-code/codeBasicSecController/refDataGrid',
+ method: 'get',
+ params: {
+ ...params,
+ page,
+ limit,
+ }
+ })
}
-export const refDataGridClassifySec = (current, size, params) => {
+export const refDataGridClassifySec = (page, limit, params) => {
return request({
url: '/api/ubcs-code/codeBasicSecController/refDataGridClassifySec',
method: 'get',
params: {
...params,
- current,
- size,
+ page,
+ limit,
}
})
}
--
Gitblit v1.9.3