2023-08-31 10:44:45 +08:00
|
|
|
import oahttp from "@/utils/oahttp.js";
|
|
|
|
import oahttp2 from "@/utils/logistics.js";
|
|
|
|
// http://logistics.lihaink.cn/api/getCarHistory
|
2023-08-29 11:11:19 +08:00
|
|
|
/**
|
|
|
|
* 车辆列表
|
|
|
|
*/
|
2023-08-31 10:44:45 +08:00
|
|
|
// /api/vehicle/townCompanyVehicleIndex
|
|
|
|
export const getvehicleListApi = (data) => oahttp.get('/vehicle/townCompanyVehicleIndex', data)
|
2023-08-29 11:11:19 +08:00
|
|
|
// 车辆详情
|
2023-08-31 10:44:45 +08:00
|
|
|
export const getvehicleDetailApi = (data) => oahttp.get('/vehicle/vehicleInfo', data)
|
2023-08-30 11:28:35 +08:00
|
|
|
// 车辆上传
|
2023-08-31 10:44:45 +08:00
|
|
|
export const upVehicleApi = (data) => oahttp.post('/vehicle/rentApply', data)
|
2023-08-30 11:28:35 +08:00
|
|
|
// 申请用车
|
2023-08-31 10:44:45 +08:00
|
|
|
export const applycarApi = (data) => oahttp.post('/vehicle/rentApply', data)
|
2023-08-29 11:11:19 +08:00
|
|
|
// 显示轨迹
|
2023-08-31 10:44:45 +08:00
|
|
|
export const locusApi = (data) => oahttp.post('/vehicle/vehicleTrack', data)
|
2023-08-29 11:11:19 +08:00
|
|
|
// 签约列表
|
2023-08-31 10:44:45 +08:00
|
|
|
export const getAgencyListApi = (data) => oahttp.get('/vehicle/rentApplyList', data)
|
2023-08-29 11:11:19 +08:00
|
|
|
// 签约公司详情
|
2023-08-31 10:44:45 +08:00
|
|
|
export const getAgencyDetailApi = (data) => oahttp.get('/vehicle/rentApplyInfo', data)
|
2023-08-29 11:11:19 +08:00
|
|
|
// 车辆租赁
|
2023-08-30 11:28:35 +08:00
|
|
|
export const leaseApi = (data) => oahttp.post('/vehicle/setContractByTownCompany', data)
|
2023-08-29 11:11:19 +08:00
|
|
|
// 生成合同
|
2023-08-31 10:44:45 +08:00
|
|
|
export const contractApi = (data) => oahttp.post('/vehicle/setContractByVillageCompany', data)
|
|
|
|
// 发送合同
|
|
|
|
export const sendcontractApi = (data) => oahttp.post('/vehicle/initiatingRentCarContract', data)
|
2023-08-29 11:11:19 +08:00
|
|
|
// 申请驳回
|
2023-08-31 10:44:45 +08:00
|
|
|
export const overruleApi = (data) => oahttp.post('/vehicle/rejectRentApply', data)
|
|
|
|
// 小组公司详情
|
|
|
|
export const villageCompanyApi = (data) => oahttp.get('/vehicle/villageCompanyIndex', data)
|
2023-08-29 11:11:19 +08:00
|
|
|
// 资产详情
|
|
|
|
// export const getpropertyDetil = (data) => oahttp.get('/lstDetail', data)
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 更新商机
|
|
|
|
*/
|
|
|
|
// export const informationOpportunityUpdate = (data) => oahttp.post('/information/opportunity_update', data)
|