Files
fe_supplier_frontend/src/pages/supplier/informationRetrieval/groupQualifiedSupplierQuery/services.ts

29 lines
670 B
TypeScript
Raw Normal View History

2025-06-24 10:52:30 +08:00
import request from '@/utils/request';
2025-07-02 16:18:03 +08:00
interface getPageQualified {
pageNo: number;
pageSize: number;
2025-07-16 12:21:52 +08:00
deptId?: string;
2025-07-22 13:17:34 +08:00
orgId?: string;
2025-07-02 16:18:03 +08:00
}
export const getPageQualified = (data: getPageQualified) => request.post('/coscoSupplierBase/getPageQualified', { data });
2025-07-09 16:34:10 +08:00
interface getCategoryPage {
pageNo: number;
2025-06-24 10:52:30 +08:00
pageSize: number;
2025-07-09 16:34:10 +08:00
supplierId?: string;
2025-06-24 10:52:30 +08:00
}
2025-07-09 16:34:10 +08:00
export const getCategoryPage = (data: getCategoryPage) => request.post('/coscoSupplierBase/getCategoryPage', { data });
2025-07-16 12:21:52 +08:00
interface treeInterface {
upOrgId?: string
orgId?: string;
orgCategory?: string; //Org
2025-06-24 10:52:30 +08:00
}
2025-07-16 12:21:52 +08:00
export const treeData = (params:treeInterface) => request.get('/org/list', { params });