import { errorCatcher, errorHandle, filter } from 'base-core-lib' import { appRx } from '../defalutConfig/indexRx' import { API_GET_MAPINFO, API_GET_WAREHOUSE_LOOK, API_POST_WAREHOUSE_EDIT, API_GET_BILLNO, API_GET_TRADESERVICES_LIST, API_POST_RECEIPTAPPL_ADD, API_POST_DELETETRANEINFO, API_GET_RECORD, API_GET_WAREHOUSE_COUNT, API_POST_WAREHOUSE_UPDATE, API_GET_SETTLEACCOUT, API_GET_WAREHOUSE_SEE, API_POST_WAREHOUSERECEIPT_UPDATE, API_GET_WAREHOUSE_EXAMINE, API_GET_REPAYMENT_LIST, API_POST_REPAYMENT_SUBMIT, API_GET_WAREHOUSERECEIPT_BANKLIST, API_GET_SETDEFAULT, API_SET_SETDEFAULT, API_OPENLOCK, API_GET_VIDEO_LIST, API_GET_VIDEO_LIST_MORE } from '@/api/V2/tradeServicesManagement' // 列表 export const getList = appRx.get(API_GET_TRADESERVICES_LIST, errorCatcher, errorHandle, filter) export const getVideoList = appRx.get(API_GET_VIDEO_LIST, errorCatcher, errorHandle, filter) export const getVideoListMore = appRx.get(API_GET_VIDEO_LIST_MORE, errorCatcher, errorHandle, filter) export const getMapInfo = appRx.get(API_GET_MAPINFO, errorCatcher, errorHandle, filter) // 添加 export const addList = appRx.post(API_POST_RECEIPTAPPL_ADD, errorCatcher, errorHandle, filter) // 查看 export const getwarehousewarrantList = appRx.get(API_GET_WAREHOUSE_LOOK, errorCatcher, errorHandle, filter) // 编辑 export const editList = appRx.post(API_POST_WAREHOUSE_EDIT, errorCatcher, errorHandle, filter) // 获取业务编号 export const getbillno = appRx.get(API_GET_BILLNO, errorCatcher, errorHandle, filter) // 列表删除 export const deleteTrageInfo = appRx.post(API_POST_DELETETRANEINFO, errorCatcher, errorHandle, filter) // 出入库记录 export const getrecord = appRx.get(API_GET_RECORD, errorCatcher, errorHandle, filter) // 查看当天出/入数量 export const getwarehousecount = appRx.get(API_GET_WAREHOUSE_COUNT, errorCatcher, errorHandle, filter) // 出入库调整 export const postwarehouseadjustment = appRx.post(API_POST_WAREHOUSE_UPDATE, errorCatcher, errorHandle, filter) // 出入库调整 export const getsettleaccout = appRx.get(API_GET_SETTLEACCOUT, errorCatcher, errorHandle, filter) // 仓单查看 export const getWarehouseReceiptLook = appRx.get(API_GET_WAREHOUSE_SEE, errorCatcher, errorHandle, filter) // 仓单修改 export const WarehouseReceiptUpdate = appRx.post(API_POST_WAREHOUSERECEIPT_UPDATE, errorCatcher, errorHandle, filter) // 审核记录 export const getWarehouseReceiptExamine = appRx.get(API_GET_WAREHOUSE_EXAMINE, errorCatcher, errorHandle, filter) // 还款列表 export const getRepaymentList = appRx.get(API_GET_REPAYMENT_LIST, errorCatcher, errorHandle, filter) // 还款列表 export const repaymentSubmit = appRx.post(API_POST_REPAYMENT_SUBMIT, errorCatcher, errorHandle, filter) // 银行列表 export const WarehouseReceiptBankList = appRx.get(API_GET_WAREHOUSERECEIPT_BANKLIST, errorCatcher, errorHandle, filter) // 贸易服务默认显示 export const getDefault = appRx.get(API_GET_SETDEFAULT, errorCatcher, errorHandle, filter) // 贸易服务设置显示 export const setDefault = appRx.post(API_SET_SETDEFAULT, errorCatcher, errorHandle, filter) // 开锁关锁 export const openlock = appRx.post(API_OPENLOCK, errorCatcher, errorHandle, filter)