65 lines
1.5 KiB
TypeScript
65 lines
1.5 KiB
TypeScript
![]() |
import request from '@/utils/request';
|
|||
|
|
|||
|
/**
|
|||
|
* 品类准入管理列表
|
|||
|
*/
|
|||
|
interface getPageData {
|
|||
|
pageNo: number;
|
|||
|
pageSize: number;
|
|||
|
deptId?: string;
|
|||
|
accessType?: string;
|
|||
|
reviewStatus?: string;
|
|||
|
approveStatus?: string;
|
|||
|
categoryId?: string;
|
|||
|
}
|
|||
|
export const getPage = (data: getPageData) => request.post('/coscoSupplierexit/getPage', { data });
|
|||
|
/**
|
|||
|
* 供应商分页列表查询
|
|||
|
*/
|
|||
|
interface getSupplierCategoryPageData {
|
|||
|
pageNo: number;
|
|||
|
pageSize: number;
|
|||
|
supplierName?: number;
|
|||
|
categoryId?: string;
|
|||
|
reviewResult?: string;
|
|||
|
}
|
|||
|
|
|||
|
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}`);
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|