2026-03-05 09:00:48 +08:00
|
|
|
import request from '@/config/axios'
|
|
|
|
|
|
|
|
|
|
export interface ProcessDetailVO {
|
|
|
|
|
id: number
|
|
|
|
|
date: string
|
|
|
|
|
remark: string
|
|
|
|
|
status: boolean
|
|
|
|
|
projectName: string
|
|
|
|
|
projectNameSim: string
|
|
|
|
|
projectStartTime: Date
|
|
|
|
|
projectEndTime: Date
|
|
|
|
|
projectProcess: number
|
|
|
|
|
deliveryStatus: boolean
|
|
|
|
|
isExten: string
|
|
|
|
|
isSelect: string
|
|
|
|
|
ordDate: Date
|
|
|
|
|
projectId: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查询大屏-设计、装配、加工进度子分页
|
|
|
|
|
export const getProcessDetailPage = async (params) => {
|
|
|
|
|
return await request.get({ url: `/heli/process-detail/page`, params })
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查询大屏-设计、装配、加工进度子详情
|
|
|
|
|
export const getProcessDetail = async (id: number) => {
|
|
|
|
|
return await request.get({ url: `/heli/process-detail/get?id=` + id })
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 新增大屏-设计、装配、加工进度子
|
|
|
|
|
export const createProcessDetail = async (data: ProcessDetailVO) => {
|
|
|
|
|
return await request.post({ url: `/heli/process-detail/create`, data })
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 修改大屏-设计、装配、加工进度子
|
|
|
|
|
export const updateProcessDetail = async (data: ProcessDetailVO) => {
|
|
|
|
|
return await request.put({ url: `/heli/process-detail/update`, data })
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 删除大屏-设计、装配、加工进度子
|
|
|
|
|
export const deleteProcessDetail = async (id: number) => {
|
|
|
|
|
return await request.delete({ url: `/heli/process-detail/delete?id=` + id })
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 导出大屏-设计、装配、加工进度子 Excel
|
|
|
|
|
export const exportProcessDetail = async (params) => {
|
|
|
|
|
return await request.download({ url: `/heli/process-detail/export-excel`, params })
|
|
|
|
|
}
|
|
|
|
|
// 查询大屏-设计、装配、加工进度子详情
|
2026-03-16 10:16:12 +08:00
|
|
|
export const searchProgress = async (type: number,condition: string) => {
|
|
|
|
|
return await request.get({ url: `/heli/process-detail/searchProgress?type=` + type +"&condition="+condition})
|
2026-03-05 09:00:48 +08:00
|
|
|
}
|
|
|
|
|
// 修改大屏-设计、装配、加工进度子
|
|
|
|
|
export const update = async (data: ProcessDetailVO) => {
|
|
|
|
|
return await request.put({ url: `/heli/process-detail/updateProcessDetail`, data })
|
|
|
|
|
}
|