feat: add production task set API client and item mapping
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
49e208c241
commit
d60d4bd4b6
4 files changed
+162
No files matched your search
@@ -10,6 +10,13 @@ export function fetchCreateProductionTask(data: Record<string, any>) {
|
||||
return request.post({ url: '/web/admin/production-tasks', params: data })
|
||||
}
|
||||
|
||||
export function fetchCreateProductionTasksFromSet(data: { workOrderId: string; setId: string }) {
|
||||
return request.post<{ createdCount: number; list: any[] }>({
|
||||
url: '/web/admin/production-tasks/from-set',
|
||||
params: data
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchProductionTaskList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
|
||||
Reference in new issue
Block a user