ll
liukangdong
2024-08-29 1382a7990e9b13f60c6416ada5477673a934dd16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
import { http } from '@/utils/service.js'
 
// 司机注册
export const driverRegister = (data) => {
  return http({
    url: 'visitsAdmin/cloudService/business/member/registerDriver',
    method: 'post',
    data
  })
}
// 司机登录
export const driverLogin = (data) => {
  return http({
    url: 'loginDriver',
    method: 'post',
    data
  })
}
// 司机首页
export const driverHomeData = (data) => {
  return http({
    url: 'visitsAdmin/cloudService/web/driverPlatform/driverHome',
    method: 'get',
    data
  })
}
 
// 物流车 入园原因
export const driverReasonList = (data) => {
  return http({
    url: 'visitsAdmin/cloudService/web/driverPlatform/platformReasonList',
    method: 'get',
    data
  })
}
// 查询可预约量
export const checkSurplusNum = (data) => {
  return http({
    url: 'visitsAdmin/cloudService/web/driverPlatform/checkSurplusNum',
    method: 'post',
    data
  })
}
// 物流车预约
export const driverCarApply = (data) => {
  return http({
    url: 'visitsAdmin/cloudService/web/driverPlatform/apply',
    method: 'post',
    data
  })
}
// 物流车预约修改
export const driverCarApplyEdit = (data) => {
  return http({
    url: 'visitsAdmin/cloudService/web/driverPlatform/applyEdit',
    method: 'post',
    data
  })
}
// 物流车撤销
export const driverCarRevoke= (data) => {
  return http({
    url: 'visitsAdmin/cloudService/web/driverPlatform/revoke',
    method: 'post',
    data
  })
}
// 预约     记录
export const driverApplyRecord = (data) => {
  return http({
    url: 'visitsAdmin/cloudService/web/driverPlatform/page',
    method: 'post',
    data
  })
}
// 预约     详情
export const driverApplyDetail = (data) => {
  return http({
    url: 'visitsAdmin/cloudService/web/driverPlatform/getDetail',
    method: 'get',
    data
  })
}
// 月台 排队情况
export const driverLineUpDetail = (data) => {
  return http({
    url: 'visitsAdmin/cloudService/web/driverPlatform/lineUpDetail',
    method: 'post',
    data
  })
}
// 月台 任务详情
export const driverTaskJobDetail = (data) => {
  return http({
    url: 'visitsAdmin/cloudService/web/driverPlatform/jobDetail',
    method: 'post',
    data
  })
}
// 任务确认
export const driverConfirmTask = (data) => {
  return http({
    url: 'visitsAdmin/cloudService/web/driverPlatform/confirmTask',
    method: 'post',
    data
  })
}
// 任务签到
export const driverSignInTask = (data) => {
  return http({
    url: 'visitsAdmin/cloudService/web/driverPlatform/signIn',
    method: 'post',
    data
  })
}