feat(health): 新增慢性疾病档案小程序模块

- 新增慢性疾病档案API接口
- 新增慢性疾病档案列表页
- 新增慢性疾病档案新增/编辑页
- 支持成员选择、疾病状态管理
- 参考现有模块样式开发
This commit is contained in:
bot5
2026-03-17 23:51:42 +08:00
parent 2aff79dc6c
commit bc39cb60d3
4 changed files with 1128 additions and 1 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询慢性疾病档案列表
export function listChronicDisease(query) {
return request({
url: '/health/chronicDisease/list',
method: 'get',
params: query
})
}
// 查询慢性疾病档案详细
export function getChronicDisease(id) {
return request({
url: '/health/chronicDisease/' + id,
method: 'get'
})
}
// 新增慢性疾病档案
export function addChronicDisease(data) {
return request({
url: '/health/chronicDisease',
method: 'post',
data
})
}
// 修改慢性疾病档案
export function updateChronicDisease(data) {
return request({
url: '/health/chronicDisease',
method: 'put',
data
})
}
// 删除慢性疾病档案
export function delChronicDisease(id) {
return request({
url: '/health/chronicDisease/' + id,
method: 'delete'
})
}