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
@@ -466,6 +466,17 @@ STATIC_MENU_TREE = [
|
||||
"menuCode": "production:cleanroom-garment:list",
|
||||
},
|
||||
},
|
||||
{
|
||||
"id": "95300000000000000000000000000001",
|
||||
"name": "ProductionWasteOutput",
|
||||
"path": "waste-output",
|
||||
"component": "/production/waste-output/index",
|
||||
"meta": {
|
||||
"title": "废弃物管理",
|
||||
"keepAlive": True,
|
||||
"menuCode": "production:waste-output:list",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
# 生产基础信息
|
||||
|
||||
@@ -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 })
|
||||
}
|
||||
@@ -780,6 +780,17 @@ export const sqxpAdminRoutes: AppRouteRecord[] = [
|
||||
keepAlive: true,
|
||||
menuCode: 'production:cleanroom-garment:list'
|
||||
}
|
||||
},
|
||||
{
|
||||
id: '95300000000000000000000000000001',
|
||||
name: 'ProductionWasteOutput',
|
||||
path: 'waste-output',
|
||||
component: '/production/waste-output/index',
|
||||
meta: {
|
||||
title: '废弃物管理',
|
||||
keepAlive: true,
|
||||
menuCode: 'production:waste-output:list'
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user