2025-08-11 17:21:27 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
// 查询设计项目汇报详情列表
|
|
|
|
|
export async function listReportDetail(query) {
|
|
|
|
|
return request({
|
2025-08-11 17:50:36 +08:00
|
|
|
url: '/wms/reportDetail/list',
|
2025-08-11 17:21:27 +08:00
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查询设计项目汇报详情详细
|
|
|
|
|
export function getReportDetail(id) {
|
|
|
|
|
return request({
|
2025-08-11 17:50:36 +08:00
|
|
|
url: '/wms/reportDetail/' + id,
|
2025-08-11 17:21:27 +08:00
|
|
|
method: 'get'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 新增设计项目汇报详情
|
|
|
|
|
export function addReportDetail(data) {
|
|
|
|
|
return request({
|
2025-08-11 17:50:36 +08:00
|
|
|
url: '/wms/reportDetail',
|
2025-08-11 17:21:27 +08:00
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 修改设计项目汇报详情
|
|
|
|
|
export function updateReportDetail(data) {
|
|
|
|
|
return request({
|
2025-08-11 17:50:36 +08:00
|
|
|
url: '/wms/reportDetail',
|
2025-08-11 17:21:27 +08:00
|
|
|
method: 'put',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 删除设计项目汇报详情
|
|
|
|
|
export function delReportDetail(id) {
|
|
|
|
|
return request({
|
2025-08-11 17:50:36 +08:00
|
|
|
url: '/wms/reportDetail/' + id,
|
2025-08-11 17:21:27 +08:00
|
|
|
method: 'delete'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function listReportDetailByProjectId(projectId) {
|
|
|
|
|
return request({
|
2025-08-11 17:50:36 +08:00
|
|
|
url: '/wms/reportDetail/project/' + projectId,
|
2025-08-11 17:21:27 +08:00
|
|
|
method: 'get'
|
|
|
|
|
})
|
|
|
|
|
}
|