个人与集团供应商
This commit is contained in:
@ -11,30 +11,57 @@ interface getPageQualified {
|
||||
export const getPageQualified = (data: getPageQualified) => request.post('/coscoSupplierBase/getPageQualified', { data });
|
||||
|
||||
|
||||
export interface ListParams {
|
||||
page: number;
|
||||
|
||||
|
||||
|
||||
interface getCategoryPage {
|
||||
pageNo: number;
|
||||
pageSize: number;
|
||||
treeId?: string;
|
||||
tmpToken?: string;
|
||||
}
|
||||
export async function list(params:ListParams) {
|
||||
return request('/api/system/library', {
|
||||
method: 'GET',
|
||||
params
|
||||
});
|
||||
}
|
||||
export interface supplierDetailParams {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
captcha?: string;
|
||||
tmpToken?: string;
|
||||
}
|
||||
export async function supplierDetail(params:supplierDetailParams) {
|
||||
return request(`/api/system/supplierDetail`, {
|
||||
method: 'GET',
|
||||
params
|
||||
});
|
||||
supplierId?: string;
|
||||
}
|
||||
export const getCategoryPage = (data: getCategoryPage) => request.post('/coscoSupplierBase/getCategoryPage', { data });
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// export interface ListParams {
|
||||
// page: number;
|
||||
// pageSize: number;
|
||||
// treeId?: string;
|
||||
// tmpToken?: string;
|
||||
// }
|
||||
// export async function list(params:ListParams) {
|
||||
// return request('/api/system/library', {
|
||||
// method: 'GET',
|
||||
// params
|
||||
// });
|
||||
// }
|
||||
// export interface supplierDetailParams {
|
||||
// page: number;
|
||||
// pageSize: number;
|
||||
// captcha?: string;
|
||||
// tmpToken?: string;
|
||||
// }
|
||||
// export async function supplierDetail(params:supplierDetailParams) {
|
||||
// return request(`/system/supplierDetail`, {
|
||||
// method: 'GET',
|
||||
// params
|
||||
// });
|
||||
// }
|
||||
export async function treeData() {
|
||||
return request('/api/system/treeData', {
|
||||
method: 'GET'
|
||||
|
Reference in New Issue
Block a user