jyy-smart-canteen-h5/api/mine/survey.js

70 lines
1.1 KiB
JavaScript
Raw Normal View History

2025-05-27 10:30:44 +08:00
import request from '@/utils/request';
/**
* @data 用户体检报告列表
*/
export function listMedicalReportApi(data) {
return request({
2025-06-13 13:25:10 +08:00
url: '/smart-canteen/health_person_medical_report/getReportList',
2025-05-27 10:30:44 +08:00
method: 'post',
data
})
}
/**
* @data 根据体检id查询报告详情
*/
export function getMedicalReportInfoApi(data) {
return request({
2025-06-13 13:25:10 +08:00
url: '/smart-canteen/health_person_medical_report/getReportById',
2025-05-27 10:30:44 +08:00
method: 'post',
data
})
}
/**
* @data 查询体检报告模板
*/
export function listTemplateApi(data) {
return request({
2025-06-13 13:25:10 +08:00
url: '/smart-canteen/health_medical_report_template/getModelList',
method: 'get',
2025-05-27 10:30:44 +08:00
data
})
}
/**
* @data 根据体检报告模板id查询模板详情
*/
export function getTemplateInfoApi(data) {
return request({
2025-06-13 13:25:10 +08:00
url: '/smart-canteen/health_medical_report_template/getModelById',
2025-05-27 10:30:44 +08:00
method: 'post',
data
})
}
/**
* @data 编辑人员体检报告/edit-medicalreport
*/
export function editMedicalReportApi(data) {
return request({
2025-06-13 13:25:10 +08:00
url: '/smart-canteen/health_person_medical_report/addReport',
2025-05-27 10:30:44 +08:00
method: 'post',
data
})
}