Files
zhxg_pc/src/api/diagnostic/details.js
2025-07-28 15:52:07 +08:00

63 lines
1.2 KiB
JavaScript

import request from '@/utils/request'
// 查询诊断报告列表
export function listDetails(query) {
return request({
url: '/diagnostic/details/list',
method: 'get',
params: query
})
}
// 批量新增诊断报告
export function batchAddDetails(data) {
return request({
url: '/diagnostic/details/batchAdd',
method: 'post',
data: data
})
}
// 提交诊断标准
export function submitStandardsDetails(data) {
return request({
url: '/diagnostic/details/submitStandards',
method: 'post',
data: data
})
}
// 查询诊断报告详细
export function getDetails(id) {
return request({
url: '/diagnostic/details/' + id,
method: 'get'
})
}
// // 新增诊断报告
// export function addDetails(data) {
// return request({
// url: '/diagnostic/details/add',
// method: 'post',
// data: data
// })
// }
// 修改诊断报告
export function updateDetails(data) {
return request({
url: '/diagnostic/details/update',
method: 'post',
data: data
})
}
// 删除诊断报告
// export function delDetails(id) {
// return request({
// url: '/diagnostic/details/' + id,
// method: 'post'
// })
// }