fix: 新功能开发完善。

This commit is contained in:
tianyongbao
2024-10-28 13:09:06 +08:00
parent df34762355
commit 66c776c753
48 changed files with 5845 additions and 1633 deletions

View File

@@ -2,43 +2,43 @@ import request from '@/utils/request'
// 查询就医记录列表
export function listDoctorRecord(query) {
return request({
url: '/health/doctorRecord/list',
method: 'get',
params: query
})
return request({
url: '/health/doctorRecord/list',
method: 'get',
params: query
})
}
// 查询就医记录详细
export function getDoctorRecord(id) {
return request({
url: '/health/doctorRecord/' + id,
method: 'get'
})
return request({
url: '/health/doctorRecord/' + id,
method: 'get'
})
}
// 新增就医记录
export function addDoctorRecord(data) {
return request({
url: '/health/doctorRecord',
method: 'post',
data: data
})
return request({
url: '/health/doctorRecord',
method: 'post',
data
})
}
// 修改就医记录
export function updateDoctorRecord(data) {
return request({
url: '/health/doctorRecord',
method: 'put',
data: data
})
return request({
url: '/health/doctorRecord',
method: 'put',
data
})
}
// 删除就医记录
export function delDoctorRecord(id) {
return request({
url: '/health/doctorRecord/' + id,
method: 'delete'
})
return request({
url: '/health/doctorRecord/' + id,
method: 'delete'
})
}