2025-09-27 17:16:12 +08:00
|
|
|
import request from '@/config/axios'
|
|
|
|
|
|
|
|
|
|
export interface PlanSubDetailVO {
|
|
|
|
|
id: number
|
|
|
|
|
projectPlanId: number
|
|
|
|
|
projectId: number
|
|
|
|
|
projectSubId: number
|
|
|
|
|
projectSubCode: string
|
|
|
|
|
twoDimDate: Date
|
|
|
|
|
twoDimOwner: number
|
|
|
|
|
startTwoDimDate: Date
|
|
|
|
|
subType: string
|
|
|
|
|
isOverProcess: boolean
|
|
|
|
|
seqNo: number
|
|
|
|
|
designNum: number
|
|
|
|
|
code: string
|
|
|
|
|
name: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查询生产计划子项目设计时间明细分页
|
|
|
|
|
export const getPlanSubDetailPage = async (params) => {
|
|
|
|
|
return await request.get({ url: `/heli/plan-sub-detail/page`, params })
|
|
|
|
|
}
|
|
|
|
|
|
2025-10-07 18:39:32 +08:00
|
|
|
export const pageAddList = async (params) => {
|
|
|
|
|
return await request.get({ url: `/heli/plan-sub-detail/pageAddList`, params })
|
|
|
|
|
}
|
|
|
|
|
export const queryMaxDetail = async (params) => {
|
|
|
|
|
return await request.get({ url: `/heli/plan-sub-detail/queryMaxDetail`, params })
|
|
|
|
|
}
|
|
|
|
|
|
2025-09-27 17:16:12 +08:00
|
|
|
// 查询生产计划子项目设计时间明细详情
|
|
|
|
|
export const getPlanSubDetail = async (id: number) => {
|
|
|
|
|
return await request.get({ url: `/heli/plan-sub-detail/get?id=` + id })
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 新增生产计划子项目设计时间明细
|
|
|
|
|
export const createPlanSubDetail = async (data: PlanSubDetailVO) => {
|
|
|
|
|
return await request.post({ url: `/heli/plan-sub-detail/create`, data })
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 修改生产计划子项目设计时间明细
|
|
|
|
|
export const updatePlanSubDetail = async (data: PlanSubDetailVO) => {
|
|
|
|
|
return await request.put({ url: `/heli/plan-sub-detail/update`, data })
|
|
|
|
|
}
|
2025-10-07 18:39:32 +08:00
|
|
|
export const modificationPlanSubDetail = async (data: PlanSubDetailVO) => {
|
|
|
|
|
return await request.post({ url: `/heli/plan-sub-detail/modification`, data })
|
|
|
|
|
}
|
|
|
|
|
export const chahuoPlanSubDetail = async (data) => {
|
|
|
|
|
return await request.post({ url: `/heli/plan-sub-detail/chahuo`, data })
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const savechahuoPlanSubDetail = async (data) => {
|
|
|
|
|
return await request.post({ url: `/heli/plan-sub-detail/savechahuo`, data })
|
|
|
|
|
}
|
2025-09-27 17:16:12 +08:00
|
|
|
|
2025-10-07 18:39:32 +08:00
|
|
|
export const operate = async (data) => {
|
|
|
|
|
return await request.post({ url: `/heli/plan-sub-detail/operate`, data })
|
|
|
|
|
}
|
2025-09-27 17:16:12 +08:00
|
|
|
// 删除生产计划子项目设计时间明细
|
|
|
|
|
export const deletePlanSubDetail = async (id: number) => {
|
|
|
|
|
return await request.delete({ url: `/heli/plan-sub-detail/delete?id=` + id })
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 导出生产计划子项目设计时间明细 Excel
|
|
|
|
|
export const exportPlanSubDetail = async (params) => {
|
|
|
|
|
return await request.download({ url: `/heli/plan-sub-detail/export-excel`, params })
|
|
|
|
|
}
|
|
|
|
|
export const getSearchRlTsS = async (startDateTime: string ) => {
|
|
|
|
|
return await request.get({ url: `/heli/plan-sub-detail/getSearchRlTs?startDateTime=` + startDateTime})
|
|
|
|
|
}
|
2025-10-21 08:58:59 +08:00
|
|
|
export const getSearchRlT = async (data) => {
|
|
|
|
|
return await request.post({ url: `/heli/plan-sub-detail/getSearchRlT`, data })
|
|
|
|
|
}
|
2025-11-13 09:22:25 +08:00
|
|
|
export const Intersection = async (data: PlanSubDetailVO) => {
|
|
|
|
|
return await request.post({ url: `/heli/plan-sub-detail/Intersection`, data })
|
|
|
|
|
}
|
|
|
|
|
export const overlap = async (data: PlanSubDetailVO) => {
|
|
|
|
|
return await request.post({ url: `/heli/plan-sub-detail/overlap`, data })
|
|
|
|
|
}
|
2026-01-04 11:04:58 +08:00
|
|
|
//获取子项目信息
|
|
|
|
|
export const getList = async (params) => {
|
|
|
|
|
return await request.get({ url: `/heli/plan-sub-detail/getList`, params })
|
|
|
|
|
}
|
2026-01-07 09:35:49 +08:00
|
|
|
export const getList1 = async (params) => {
|
|
|
|
|
return await request.get({ url: `/heli/plan-sub-detail/getList1`, params })
|
|
|
|
|
}
|
|
|
|
|
export const getList2 = async (params) => {
|
|
|
|
|
return await request.get({ url: `/heli/plan-sub-detail/getList2`, params })
|
|
|
|
|
}
|
|
|
|
|
export const getList3 = async (params) => {
|
|
|
|
|
return await request.get({ url: `/heli/plan-sub-detail/getList3`, params })
|
|
|
|
|
}
|
|
|
|
|
export const getList4 = async (params) => {
|
|
|
|
|
return await request.get({ url: `/heli/plan-sub-detail/getList4`, params })
|
|
|
|
|
}
|
|
|
|
|
export const getList5 = async (params) => {
|
|
|
|
|
return await request.get({ url: `/heli/plan-sub-detail/getList5`, params })
|
|
|
|
|
}
|