| | |
| | | data |
| | | }) |
| | | } |
| | | // 司机登录 |
| | | export const loginDriverByPhone = (data) => { |
| | | return http({ |
| | | url: 'loginDriverByPhone', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | // 司机验证码登录 |
| | | export const loginDriverWithCode = (data) => { |
| | | return http({ |
| | | url: 'loginDriverWithCode', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | // 司机首页 |
| | | export const driverHomeData = (data) => { |
| | | return http({ |
| | |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | // wms运单详情 |
| | | export const wmsJobDetail = (data) => { |
| | | return http({ |
| | | url: 'visitsAdmin/cloudService/web/driverPlatform/wmsJobDetail', |
| | | method: 'get', |
| | | data |
| | | }) |
| | | } |
| | | export const loginGkUserWithCode = (data) => { |
| | | return http({ |
| | | url: 'loginGkUserWithCode', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | export const orderListTms = (data) => { |
| | | return http({ |
| | | url: 'visitsAdmin/cloudService/tms/orderList', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | export const orderInfoTms = (data) => { |
| | | return http({ |
| | | url: 'visitsAdmin/cloudService/tms/orderInfo', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | export const getLastWaitJob = (data) => { |
| | | return http({ |
| | | url: 'visitsAdmin/cloudService/business/platformJob/getLastWaitJob', |
| | | method: 'get', |
| | | data |
| | | }) |
| | | } |
| | | // 司机提报 |
| | | // 任务列表 |
| | | export const putTaskList = (data) => { |
| | | return http({ |
| | | url: 'visitsAdmin/cloudService/tms/taskList', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | // 任务详情 |
| | | export const putTaskDetail = (data) => { |
| | | return http({ |
| | | url: 'visitsAdmin/cloudService/tms/taskDetail', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | // 任务 到货提交 |
| | | export const putDriverArrival = (data) => { |
| | | return http({ |
| | | url: 'visitsAdmin/cloudService/tms/driverArrival', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | // 任务 启动 |
| | | export const putDriverStart = (data) => { |
| | | return http({ |
| | | url: 'visitsAdmin/cloudService/tms/driverStart', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |