|
@ -95,7 +95,15 @@ export function sendVehicle(data) { |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 11.用户登出
|
|
|
// 11.获取点位的载具号
|
|
|
|
|
|
export function getPointVehicle() { |
|
|
|
|
|
const res = { vehicle_code: '123' } |
|
|
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
|
|
resolve(res) |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 12.用户登出
|
|
|
export function loginOut() { |
|
|
export function loginOut() { |
|
|
const res = {} |
|
|
const res = {} |
|
|
return new Promise((resolve, reject) => { |
|
|
return new Promise((resolve, reject) => { |
|
@ -104,5 +112,5 @@ export function loginOut() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
authLogin, getUserOrDevice, deviceInLogin, regionOrder, fabMaterial, callMater, callEmp, fabOrders, sendMater, sendVehicle, loginOut |
|
|
authLogin, getUserOrDevice, deviceInLogin, regionOrder, fabMaterial, callMater, callEmp, fabOrders, sendMater, sendVehicle, getPointVehicle, loginOut |
|
|
} |
|
|
} |
|
|