heli-mes/mes-ui/mini-app/src/services/approveOrder.ts

74 lines
1.6 KiB
TypeScript
Raw Normal View History

2025-01-10 08:50:29 +08:00
/*
* @Author:
* @Date: 2024-01-04 12:54:56
* @LastEditors:
* @LastEditTime: 2024-03-25 11:17:12
* @FilePath: /app-nx-personal/src/services/home.ts
* @Description: ,`customMade`, koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import { http } from '@/utils/http'
export const getApproveOrderAPI = (data: Object) => {
return http<any[]>({
method: 'GET',
url: '/heli/project-order/page',
data,
})
}
export const getApproveOrderDetailAPI = (data: Object) => {
return http<any[]>({
method: 'GET',
url: '/heli/project-order/get',
data,
})
}
/**
* //
*/
export const postOperateAPI = (data: Object) => {
return http<any[]>({
method: 'POST',
url: '/heli/project-order/operate',
data,
})
}
/**
*
*/
export const getChildProductAPI = (data: Object) => {
return http<any[]>({
method: 'GET',
url: '/heli/project-order/project-order-sub/list-by-project-order-id',
data,
})
}
/**
*
*/
export const getFileAPI = (data: Object) => {
return http<any[]>({
method: 'GET',
url: '/infra/file/page',
data,
})
}
/**
*
*/
export const getLogAPI = (data: Object) => {
return http<any[]>({
method: 'GET',
url: '/system/operate-log/page',
data,
})
}
export const getDictAPI = (data: Object) => {
return http<any[]>({
method: 'GET',
url: '/system/dict-data/page',
data,
})
}