import { errorCatcher, errorHandle, filter } from 'base-core-lib' import { appRx } from '../defalutConfig/indexRx' import { API_GET_TRAN_LIST, API_POST_TRAN_ADD, API_POST_PERSON, API_POST_TRAN_LOOK, API_GET_TRAN_TASK_WAREHOUSE, API_GET_WAREHOUSE_NO, API_POST_WORKFLOW_API_HANDLE, API_POST_TRAN_DEL, API_GET_TRAN_EXAMINE, API_GET_TRAN_EDIT, API_POST_OUT_PUT, API_GET_OUT_LIST, API_GET_OUT_EXAMINE, API_POST_OUT_DEL, API_GET_CONTRACT_GOODSNAME, API_GET_OUT_MOVE, API_POST_INOUTWAREHOUSETASK, API_GET_OUT_MOVELOOK, API_POST_OUT_STATES, API_POST_OUT_MOVESTATES, API_POST_DEL_HAULAGE_STAGE, API_GET_STAFF, API_GET_TASKHISTORIES } from '@/api/V2/taskspost' //运输任务列表 export const gain = appRx.get(API_GET_TRAN_LIST, errorCatcher, errorHandle, filter) //运输任务添加 export const addtrantask = appRx.post(API_POST_TRAN_ADD, errorCatcher, errorHandle, filter) // 识别身份证 export const getidentity = appRx.get(API_POST_PERSON, errorCatcher, errorHandle, filter) // 审核通过不通过 export const woekflowhandle = appRx.post(API_POST_WORKFLOW_API_HANDLE, errorCatcher, errorHandle, filter) // 审核编辑 export const warehousetask = appRx.post(API_POST_INOUTWAREHOUSETASK, errorCatcher, errorHandle, filter) //运输任务查看 export const lookTranTask = appRx.get(API_POST_TRAN_LOOK, errorCatcher, errorHandle, filter) //运输任务-添加-根据仓库类型选库名 export const getwarehousename = appRx.get(API_GET_TRAN_TASK_WAREHOUSE, errorCatcher, errorHandle, filter) //临时出入库合同编号下拉 export const xialaNo = appRx.get(API_GET_WAREHOUSE_NO, errorCatcher, errorHandle, filter) //运输任务-删除 export const deltran = appRx.post(API_POST_TRAN_DEL, errorCatcher, errorHandle, filter) //运输任务-查看 export const examinetran = appRx.get(API_GET_TRAN_EXAMINE, errorCatcher, errorHandle, filter) //运输任务-编辑 export const edittran = appRx.post(API_GET_TRAN_EDIT, errorCatcher, errorHandle, filter) //出入库任务-编辑(新增) export const addoreditoutput = appRx.post(API_POST_OUT_PUT, errorCatcher, errorHandle, filter) //出入库任务-列表 export const getoreditoutput = appRx.get(API_GET_OUT_LIST, errorCatcher, errorHandle, filter) //出入库任务-查看 export const outexamine = appRx.get(API_GET_OUT_EXAMINE, errorCatcher, errorHandle, filter) //出入库任务-删除 export const outdelete = appRx.post(API_POST_OUT_DEL, errorCatcher, errorHandle, filter) //出入库任务-货名 export const getGoodsName = appRx.get(API_GET_CONTRACT_GOODSNAME, errorCatcher, errorHandle, filter) //移库列表 export const moveList = appRx.get(API_GET_OUT_MOVE, errorCatcher, errorHandle, filter) //移库详情 export const moveLook = appRx.get(API_GET_OUT_MOVELOOK, errorCatcher, errorHandle, filter) //运输任务状态修改 export const states = appRx.post(API_POST_OUT_STATES, errorCatcher, errorHandle, filter) //移库任务状态修改 export const movestates = appRx.post(API_POST_OUT_MOVESTATES, errorCatcher, errorHandle, filter) //删除运输阶段 export const delhaulagestage = appRx.post(API_POST_DEL_HAULAGE_STAGE, errorCatcher, errorHandle, filter) //查询审核记录 export const gettaskhistories = appRx.get(API_GET_TASKHISTORIES, errorCatcher, errorHandle, filter) //获取发货人 export const getstaff = appRx.get(API_GET_STAFF, errorCatcher, errorHandle, filter)