parent
1cbc705d7c
commit
af425f41f9
@ -1,46 +1,48 @@
|
||||
import request from '@/config/axios'
|
||||
|
||||
export interface PlanSubVO {
|
||||
id: number
|
||||
projectPlanId: number
|
||||
projectId: number
|
||||
projectSubId: number
|
||||
mouldId: number
|
||||
equipId: number
|
||||
blankDate: Date
|
||||
blankOwner: string
|
||||
twoDimDate: Date
|
||||
twoDimOwner: string
|
||||
threeDimDate: Date
|
||||
threeDimOwner: string
|
||||
}
|
||||
|
||||
// 查询生产计划子项目分页
|
||||
export const getPlanSubPage = async (params) => {
|
||||
return await request.get({ url: `/heli/plan-sub/page`, params })
|
||||
}
|
||||
|
||||
// 查询生产计划子项目详情
|
||||
export const getPlanSub = async (id: number) => {
|
||||
return await request.get({ url: `/heli/plan-sub/get?id=` + id })
|
||||
}
|
||||
|
||||
// 新增生产计划子项目
|
||||
export const createPlanSub = async (data: PlanSubVO) => {
|
||||
return await request.post({ url: `/heli/plan-sub/create`, data })
|
||||
}
|
||||
|
||||
// 修改生产计划子项目
|
||||
export const updatePlanSub = async (data: PlanSubVO) => {
|
||||
return await request.put({ url: `/heli/plan-sub/update`, data })
|
||||
}
|
||||
|
||||
// 删除生产计划子项目
|
||||
export const deletePlanSub = async (id: number) => {
|
||||
return await request.delete({ url: `/heli/plan-sub/delete?id=` + id })
|
||||
}
|
||||
|
||||
// 导出生产计划子项目 Excel
|
||||
export const exportPlanSub = async (params) => {
|
||||
return await request.download({ url: `/heli/plan-sub/export-excel`, params })
|
||||
}
|
||||
import request from '@/config/axios'
|
||||
|
||||
export interface PlanSubVO {
|
||||
id: number
|
||||
projectPlanId: number
|
||||
projectId: number
|
||||
projectSubId: number
|
||||
projectSubShortName: string
|
||||
projectSubCode: string
|
||||
mouldId: number
|
||||
equipId: number
|
||||
blankDate: Date
|
||||
blankOwner: string
|
||||
twoDimDate: Date
|
||||
twoDimOwner: string
|
||||
threeDimDate: Date
|
||||
threeDimOwner: string
|
||||
}
|
||||
|
||||
// 查询生产计划子项目分页
|
||||
export const getPlanSubPage = async (params) => {
|
||||
return await request.get({ url: `/heli/plan-sub/page`, params })
|
||||
}
|
||||
|
||||
// 查询生产计划子项目详情
|
||||
export const getPlanSub = async (id: number) => {
|
||||
return await request.get({ url: `/heli/plan-sub/get?id=` + id })
|
||||
}
|
||||
|
||||
// 新增生产计划子项目
|
||||
export const createPlanSub = async (data: PlanSubVO) => {
|
||||
return await request.post({ url: `/heli/plan-sub/create`, data })
|
||||
}
|
||||
|
||||
// 修改生产计划子项目
|
||||
export const updatePlanSub = async (data: PlanSubVO) => {
|
||||
return await request.put({ url: `/heli/plan-sub/update`, data })
|
||||
}
|
||||
|
||||
// 删除生产计划子项目
|
||||
export const deletePlanSub = async (id: number) => {
|
||||
return await request.delete({ url: `/heli/plan-sub/delete?id=` + id })
|
||||
}
|
||||
|
||||
// 导出生产计划子项目 Excel
|
||||
export const exportPlanSub = async (params) => {
|
||||
return await request.download({ url: `/heli/plan-sub/export-excel`, params })
|
||||
}
|
||||
|
Loading…
Reference in new issue