bug
jiangping
2023-12-06 1f4e7d0f73a73e7350cf5a1df279d5f30904c5d5
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
const request = uni.$u.http
 
// 分页查询
export function getList (data) {
  return request.post('/ext/plansExt/page', data)
}
// export function getList(data: any): Promise<any> {
//     return httpRequest({
//         url: '/ext/plansExt/page',
//         method: 'post',
//         data
//     })
// }
 
// 根据id查询
export function queryByID (id) {
  return request.get(`/ext/plansExt/h5/${id}`)
}
// export function queryByID(id: any): Promise<any> {
//     return httpRequest({
//         url: `/ext/plansExt/h5/${id}`,
//         method: 'get'
//     })
// }
 
// 查询统计列表数量
export function pageCount (data) {
  return request.post('/ext/plansExt/pageCount', data)
}
// export function pageCount(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/plansExt/pageCount',
//         method: 'post',
//         data
//     })
// }
 
// 查询工序(个人)
export function getWorkingProcedure (data) {
  return request.post('/ext/proceduresExt/page', data)
}
// export function getWorkingProcedure(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/proceduresExt/page',
//         method: 'post',
//         data
//     })
// }
 
// 根据ID发布计划
export function publishById (data) {
  return request.post('/ext/plansExt/publishById', data)
}
// export function publishById(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/plansExt/publishById',
//         method: 'post',
//         data
//     })
// }
 
// 根据ID分配计划
export function distributeById (data) {
  return request.post('/ext/plansExt/distributeById', data)
}
// export function distributeById(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/plansExt/distributeById',
//         method: 'post',
//         data
//     })
// }
 
// 查询当前用户全部范围内的全部工序
export function getSelfList (data) {
  return request.post('/ext/proceduresExt/getSelfList', data)
}
// export function getSelfList(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/proceduresExt/getSelfList',
//         method: 'post',
//         data
//     })
// }
 
// 终检分页查询
export function ZJPage (data) {
  return request.post('/ext/endCheckExt/page', data)
}
// export function ZJPage(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/endCheckExt/page',
//         method: 'post',
//         data
//     })
// }
 
// 终检根据ID查询
export function getById (id) {
  return request.get(`/ext/endCheckExt/${id}`)
}
// export function getById(id: any): Promise<any> {
//     return httpRequest({
//         url: `ext/endCheckExt/${id}`,
//         method: 'get'
//     })
// }
 
// 查询设备
export function getDeviceByCondition (data) {
  return request.post('/ext/deviceExt/getDeviceByCondition', data)
}
// export function getDeviceByCondition(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/deviceExt/getDeviceByCondition',
//         method: 'post',
//         data
//     })
// }
 
// 人员绑定设备信息
export function getFindAll (data) {
  return request.post('/ext/userDeviceExt/findAll', data)
}
// export function getFindAll(data: any): Promise<any> {
//     return httpRequest({
//         url: 'ext/userDeviceExt/findAll',
//         method: 'post',
//         data
//     })
// }
 
// 条件查询企业全部部门
export function deletejy (id) {
  return request.get(`/ext/workorderCheckExt/delete/${id}`)
}
// export function deletejy(id: any): Promise<any> {
//     return httpRequest({
//         url: `ext/workorderCheckExt/delete/${id}`,
//         method: 'get'
//     })
// }
 
// 根据对象信息查询
export function queryOne (data) {
  return request.post('/ext/salaryParam/queryOne', data)
}
// export function queryOne (data: any): Promise<any> {
//     return httpRequest({
//         url: '/ext/salaryParam/queryOne',
//         method: 'post',
//         data
//     })
// }
 
// 根据对象信息查询
export function queryList (data) {
  return request.post('/ext/salaryParam/queryList', data)
}
// export function queryList (data: any): Promise<any> {
//     return httpRequest({
//         url: '/ext/salaryParam/queryList',
//         method: 'post',
//         data
//     })
// }
 
// 一键报工
export function autoWorkReport (data) {
  return request.post('/ext/plansExt/autoWorkReport', data)
}
// export function autoWorkReport (data: any): Promise<any> {
//     return httpRequest({
//         url: '/ext/plansExt/autoWorkReport',
//         method: 'post',
//         data
//     })
// }
 
// 根据id查询
export function getIdPlansExt (id) {
  return request.get(`/ext/plansExt/${id}`)
}
// export function getIdPlansExt(id: any): Promise<any> {
//     return httpRequest({
//         url: `/ext/plansExt/${id}`,
//         method: 'get'
//     })
// }
 
// 列表查询
export function categoryExtList (data) {
  return request.post('/ext/categoryExt/list', data)
}
// export function categoryExtList (data: any): Promise<any> {
//     return httpRequest({
//         url: '/ext/categoryExt/list',
//         method: 'post',
//         data
//     })
// }
 
// 查询全部
export function allUser (data) {
  return request.post('/ext/companyUserExt/allUser', data)
}
// export function allUser (data: any): Promise<any> {
//     return httpRequest({
//         url: '/ext/companyUserExt/allUser',
//         method: 'post',
//         data
//     })
// }