修复业务模块bug
This commit is contained in:
@@ -1,9 +1,24 @@
|
||||
import request from '@/axios';
|
||||
import { createCrudApi } from './common';
|
||||
|
||||
const api = createCrudApi('/blade-transport/process-config');
|
||||
|
||||
export const getList = api.getList;
|
||||
export const getDetail = api.getDetail;
|
||||
export const getDetail = (id, waybillId) =>
|
||||
request({
|
||||
url: '/blade-transport/process-config/detail',
|
||||
method: 'get',
|
||||
params: {
|
||||
id,
|
||||
...(waybillId === undefined ? {} : { waybillId }),
|
||||
},
|
||||
});
|
||||
export const getVoucherImages = waybillId =>
|
||||
request({
|
||||
url: '/blade-transport/process-config/voucher-images',
|
||||
method: 'get',
|
||||
params: { waybillId },
|
||||
});
|
||||
export const submit = api.submit;
|
||||
export const remove = api.remove;
|
||||
export const copy = api.copy;
|
||||
|
||||
Reference in New Issue
Block a user