合并代码
This commit is contained in:
@ -1,26 +1,24 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
|
||||
export async function getSupplierChangeList(params: any) {
|
||||
return request('/api/supplier/getSupplierChangeList', { method: 'GET', params });
|
||||
}
|
||||
|
||||
export async function list(params:any) {
|
||||
return request('/api/system/list', {
|
||||
method: 'GET',
|
||||
params
|
||||
});
|
||||
}
|
||||
export async function getPage(params:any) {
|
||||
return request('/api/system/getPage', {
|
||||
method: 'GET',
|
||||
params
|
||||
});
|
||||
/**
|
||||
* 供应商变更审批管理分页列表
|
||||
*/
|
||||
interface getPageData {
|
||||
pageNo: number;
|
||||
pageSize: number;
|
||||
supplierName?: string;
|
||||
supplierType?: string;
|
||||
startTime?: string;
|
||||
endTime?: string;
|
||||
approveStatus?: string;
|
||||
enterpriseType?: string;
|
||||
}
|
||||
export const getPage = (data: getPageData) => request.post('/coscoSupplierChangeApply/getPage', { data });
|
||||
|
||||
|
||||
export const supplierChangeApplyById = (id: string) => request.get(`/coscoSupplierChangeApply/supplierChangeApplyById/${id}` );
|
||||
|
||||
|
||||
|
||||
|
||||
export async function getSupplierChangeDetail(params:any) {
|
||||
return request('/api/system/getSupplierChangeDetail', {
|
||||
method: 'GET',
|
||||
params
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user