供应商退出、准入、 工作台
This commit is contained in:
@ -0,0 +1,64 @@
|
||||
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}`);
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user