import oahttp from "@/utils/oahttp.js"; // http://logistics.lihaink.cn/api/getCarHistory /** * 车辆列表 */ // /api/vehicle/townCompanyVehicleIndex export const getvehicleListApi = (data) => oahttp.get('/vehicle/townCompanyVehicleIndex', data) // 车辆详情 export const getvehicleDetailApi = (data) => oahttp.get('/vehicle/vehicleInfo', data) // 车辆上传 export const upVehicleApi = (data) => oahttp.post('/vehicle/rentApply', data) // 申请用车 export const applycarApi = (data) => oahttp.post('/vehicle/rentApply', data) // 显示轨迹 export const locusApi = (data) => oahttp.post('/vehicle/vehicleTrack', data) // 获取可购买车辆列表 export const canBuyCarListApi = (data) => oahttp.get('/vehicle/getFreeCars', data) // 购买车辆 export const buyCarApi = (data) => oahttp.post('/vehicle/buyCars', data) // 当前车辆位置信息 // export const locusApi = (data) => oahttp.post('/vehicle/vehicleTrack', data) // api / getCarLocal // 签约列表 export const getAgencyListApi = (data) => oahttp.get('/vehicle/rentApplyList', data) // 签约公司详情 export const getAgencyDetailApi = (data) => oahttp.get('/vehicle/rentApplyInfo', data) // 车辆租赁 export const leaseApi = (data) => oahttp.post('/vehicle/setContractByTownCompany', data) // 生成合同 export const contractApi = (data) => oahttp.post('/vehicle/setContractByVillageCompany', data) // 发送合同 export const sendcontractApi = (data) => oahttp.post('/vehicle/initiatingRentCarContract', data) // 申请驳回 export const overruleApi = (data) => oahttp.post('/vehicle/rejectRentApply', data) // 小组公司详情 export const villageCompanyApi = (data) => oahttp.get('/vehicle/villageCompanyIndex', data) // 重新发送短信 export const sendMsgApi = (data) => oahttp.post('/vehicle/sendSmsAgain', data) // 解约 export const cancelContractApi = (data) => oahttp.post('/vehicle/cancelContract', data) // 镇街公司合同列表 export const ContractListApi = (data) => oahttp.get('/vehicle/townCompanyContractList', data) // 图片上传 export const upLoadImage = (data) => oahttp.post('/upload/image', data) // 资产详情 // export const getpropertyDetil = (data) => oahttp.get('/lstDetail', data) /** * 更新商机 */ // export const informationOpportunityUpdate = (data) => oahttp.post('/information/opportunity_update', data)