|
@@ -1,5 +1,5 @@
|
|
|
import { defHttp } from '/@/utils/http/axios';
|
|
|
-import { PageParams, RentListGetResultModel, addCameraParams, updateParams,getItemParams } from './model';
|
|
|
+import { PageParams, RentListGetResultModel,InvoiceListResul, addCameraParams, updateParams,getItemParams } from './model';
|
|
|
import { Result } from '/#/axios';
|
|
|
|
|
|
enum Api {
|
|
@@ -10,6 +10,8 @@ enum Api {
|
|
|
incrementExport = '/newV4/service/manage/order/increment/export',
|
|
|
downList = '/newV4//service/manage/order/down/list',
|
|
|
downExport = '/newV4/service/manage/order/down/export',
|
|
|
+ pageInvoice = '/newV4/service/manage/invoice/pageInvoice',
|
|
|
+
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -107,15 +109,15 @@ defHttp.post<Result>({
|
|
|
ignoreCancelToken: true,
|
|
|
},
|
|
|
});
|
|
|
-// export const unDeviceApi = (params: PageParams) =>
|
|
|
-// defHttp.post<RentListGetResultModel>({
|
|
|
-// url: Api.unbindDevice,
|
|
|
-// params,
|
|
|
-// headers: {
|
|
|
-// // @ts-ignore
|
|
|
-// ignoreCancelToken: true,
|
|
|
-// },
|
|
|
-// });
|
|
|
+export const InvoiceList = (params: PageParams) =>
|
|
|
+ defHttp.post<InvoiceListResul>({
|
|
|
+ url: Api.pageInvoice,
|
|
|
+ params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
// export const allCompanyApi = (params: PageParams) =>
|
|
|
// defHttp.post<RentListGetResultModel>({
|
|
|
// url: Api.allCompany,
|