提交
This commit is contained in:
1 parent
4a00f21bfb
commit
edf88dc016
1503 files changed
+329728
-41987
No files matched your search
@@ -4,7 +4,11 @@ import request from '@/utils/http'
|
||||
// 耗材管理
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export function fetchConsumableList(params?: { page?: number; pageSize?: number; keyword?: string }) {
|
||||
export function fetchConsumableList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
}) {
|
||||
return request.get<{
|
||||
list: any[]
|
||||
total: number
|
||||
@@ -128,7 +132,11 @@ export function fetchDeleteProcessCategory(id: string) {
|
||||
// 工艺产出物类型
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export function fetchOutputTypeList(params?: { page?: number; pageSize?: number; keyword?: string }) {
|
||||
export function fetchOutputTypeList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
}) {
|
||||
return request.get<{
|
||||
list: any[]
|
||||
total: number
|
||||
@@ -267,7 +275,11 @@ export function fetchDeleteProcessRoute(id: string) {
|
||||
}
|
||||
|
||||
// 步骤操作
|
||||
export function fetchAddRouteStep(data: { routeId: string; processId: string; stepOrder?: number }) {
|
||||
export function fetchAddRouteStep(data: {
|
||||
routeId: string
|
||||
processId: string
|
||||
stepOrder?: number
|
||||
}) {
|
||||
return request.post({ url: '/web/admin/process-routes/step/add', params: data })
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user