/**
 *  发票接口
 */
import request from '@/utils/request'
// 获取待审核列表
export const getPageList = (params) => request.basic.get('/api/v1/invoiceReviewList', params)
// 审核
export const review = (id) => request.basic.post(`/api/v1/invoiceReviewList/review`,params)
// 审核失败列表
export const getFaildList = (params) => request.basic.get('/api/v1/invoceFailedList', params)
// 待开票列表
export const getPendingList = (params) => request.basic.get('/api/v1/invoicePendingList', params)
// 开票
export const pendingUpload = (params) => request.basic.post('/api/v1/invoicePendingList/upload', params)
// 开票失败
export const getPendingFaildList = (params) => request.basic.post('/api/v1/invoicePendingList/failed', params)
//开票失败列表
export const getInvoicingFailedList=(params)=>request.basic.get('/api/v1/invoicingFailedList',params)
// 开票寄送列表
export const invoceBeSentList = (params) => request.basic.get('/api/v1/invoceBeSentList', params)
// 寄送
export const sendResult = (params) => request.basic.post('/api/v1/invoceBeSentList/result', params)
// 寄送失败列表
export const getDeliveriesFailedList = (params) => request.basic.get('/api/v1/invoiceDeliveriesFailed', params)
// 寄送完成列表
export const getinvoiceSuccessList = (params) => request.basic.get('/api/v1/invoiceSuccessList', params)
