2025-06-27 10:41:33 +08:00
|
|
|
|
import request from '@/utils/request';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 品类准入管理列表
|
|
|
|
|
*/
|
|
|
|
|
interface getPageData {
|
|
|
|
|
pageNo: number;
|
|
|
|
|
pageSize: number;
|
|
|
|
|
deptId?: string;
|
|
|
|
|
accessType?: string;
|
|
|
|
|
reviewStatus?: string;
|
|
|
|
|
approveStatus?: string;
|
|
|
|
|
categoryId?: string;
|
2025-07-02 16:18:03 +08:00
|
|
|
|
exitTheme?: string;
|
|
|
|
|
startTime?: string;
|
|
|
|
|
endTime?: string;
|
2025-06-27 10:41:33 +08:00
|
|
|
|
}
|
|
|
|
|
export const getPage = (data: getPageData) => request.post('/coscoSupplierexit/getPage', { data });
|
2025-07-02 16:18:03 +08:00
|
|
|
|
|
2025-06-27 10:41:33 +08:00
|
|
|
|
/**
|
|
|
|
|
* 供应商分页列表查询
|
|
|
|
|
*/
|
|
|
|
|
interface getSupplierCategoryPageData {
|
|
|
|
|
pageNo: number;
|
|
|
|
|
pageSize: number;
|
|
|
|
|
supplierName?: number;
|
|
|
|
|
categoryId?: string;
|
|
|
|
|
reviewResult?: string;
|
2025-07-03 10:24:33 +08:00
|
|
|
|
name?: string;
|
|
|
|
|
levelName?: string;
|
2025-06-27 10:41:33 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const getSupplierCategoryPage = (data: getSupplierCategoryPageData) => request.post('/coscoSupplierexit/getSupplierCategoryPage', { data });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 的供应商分页列表查询
|
|
|
|
|
*/
|
|
|
|
|
export interface addInterface {
|
|
|
|
|
coscoSupplierexit: CoscoSupplierexit;
|
|
|
|
|
coscoSupplierexitSupplierCategoryList: CoscoSupplierexitSupplierCategoryList[];
|
|
|
|
|
supplierIdList: string[];
|
|
|
|
|
[property: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface CoscoSupplierexit {
|
|
|
|
|
deptId: string;
|
|
|
|
|
exitReason: string;
|
|
|
|
|
exitTheme: string;
|
|
|
|
|
[property: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface CoscoSupplierexitSupplierCategoryList {
|
|
|
|
|
categoryId: string;
|
|
|
|
|
supplierId: string;
|
|
|
|
|
[property: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const add = (data: addInterface) => request.post('/coscoSupplierexit/add', { data });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 退出详情页(没分页)
|
|
|
|
|
*/
|
|
|
|
|
export const coscoSupplierexit = (id: string) => request.get(`/coscoSupplierexit/${id}`);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|