feat: wire production waste-output API route and menu mirror.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
351a742c07
commit
c78d02a348
3 files changed
+54
No files matched your search
@@ -0,0 +1,32 @@
|
||||
import request from '@/utils/http'
|
||||
|
||||
export interface ProductionWasteOutputItem {
|
||||
id: string
|
||||
outputName?: string
|
||||
outputBarcode?: string
|
||||
remark?: string
|
||||
createTime?: string
|
||||
stepId?: string
|
||||
processName?: string
|
||||
taskId?: string
|
||||
taskNo?: string
|
||||
workOrderId?: string
|
||||
workOrderNo?: string
|
||||
sampleCode?: string
|
||||
}
|
||||
|
||||
export function fetchProductionWasteOutputList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
createTimeStart?: string
|
||||
createTimeEnd?: string
|
||||
}) {
|
||||
return request.get<{
|
||||
list: ProductionWasteOutputItem[]
|
||||
total: number
|
||||
page: number
|
||||
pageSize: number
|
||||
totalPages: number
|
||||
}>({ url: '/web/admin/production-waste-outputs', params })
|
||||
}
|
||||
Reference in new issue
Block a user