合并代码

This commit is contained in:
孙景学
2025-07-02 16:18:03 +08:00
parent 2b3eb5672d
commit 3ae57eb23b
87 changed files with 3852 additions and 19276 deletions

View File

@ -2,36 +2,28 @@ import request from '@/utils/request';
interface getRegisterPage {
pageNo: number;
pageSize: number;
name?: string;
supplierType?: string;
accessStatus?: string;
}
export const getRegisterPage = (data: getRegisterPage) => request.post('/coscoSupplierBase/getRegisterPage', { data });
interface getCategoryPage {
pageNo: number;
pageSize: number;
categoryNames?: string;
}
export const getCategoryPage = (data: getCategoryPage) => request.post('/coscoSupplierBase/getCategoryPage', { data });
export async function systemDict(dict:String) {
return request(`/api/system/${dict}`, {
method: 'GET'
});
}
export interface ListParams {
page: number;
pageSize: number;
captcha?: string;
tmpToken?: string;
}
export async function list(params:ListParams) {
return request(`/api/system/list`, {
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
});
}