4.1 同步发版内容到天梯
This commit is contained in:
@ -28,10 +28,10 @@ export async function addInvoice(params: any) {
|
||||
* 获取发票列表
|
||||
* @param params
|
||||
*/
|
||||
export async function getList(params: any,props: any) {
|
||||
export async function getList(params: any, props: any) {
|
||||
return request('/api/biz-service-ebtp-expenses/v1/bizbidinvoice/payerGetPagelist', {
|
||||
method: 'GET',
|
||||
params:{
|
||||
params: {
|
||||
...params,
|
||||
// pageNo: params.current
|
||||
...props
|
||||
@ -48,7 +48,7 @@ export async function getCommonInvoiceList(params: any) {
|
||||
`/api/biz-service-ebtp-expenses/v1/bizbidinvoicecommon/list`,
|
||||
{
|
||||
method: 'GET',
|
||||
params:{
|
||||
params: {
|
||||
...params,
|
||||
}
|
||||
},
|
||||
@ -64,41 +64,9 @@ export async function getCommonAddressList(params: any) {
|
||||
`/api/biz-service-ebtp-expenses/v1/bizbidinvoiceaddress/list`,
|
||||
{
|
||||
method: 'GET',
|
||||
params:{
|
||||
params: {
|
||||
...params,
|
||||
}
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取业务id
|
||||
*/
|
||||
export async function getBusinessId() {
|
||||
return request('/api/core-service-ebtp-updownload/v1/business/id', {
|
||||
method: 'GET',
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据bid获取文件列表
|
||||
* @param params
|
||||
*/
|
||||
export async function getFileListByBid(params: any) {
|
||||
return request('/api/core-service-ebtp-updownload/v1/attachment/find', {
|
||||
method: 'POST',
|
||||
data: {...params}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据oid删除文件
|
||||
* @param params
|
||||
*/
|
||||
export async function deleteFileByOid(params: any) {
|
||||
return request('/api/core-service-ebtp-updownload/v1/attachment/item/' + params, {
|
||||
method: 'DELETE',
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user