2025-05-14 11:17:24 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
// 分页查询 营养科普-列表
|
|
|
|
|
export function getHealthSciencePageApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/health_popular_science/list',
|
|
|
|
|
method: 'get',
|
|
|
|
|
headers: {
|
|
|
|
|
"merchant-id":"378915229716713472",
|
|
|
|
|
},
|
|
|
|
|
params:data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 营养科普-新增
|
|
|
|
|
export function addHealthScienceApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/health_popular_science',
|
|
|
|
|
method: 'post',
|
|
|
|
|
headers: {
|
|
|
|
|
"merchant-id":"378915229716713472",
|
|
|
|
|
},
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 营养科普-编辑
|
|
|
|
|
export function editHealthScienceApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/health_popular_science/edit',
|
|
|
|
|
method: 'post',
|
|
|
|
|
headers: {
|
|
|
|
|
"merchant-id":"378915229716713472",
|
|
|
|
|
},
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 营养科普-删除
|
2025-06-03 09:17:05 +08:00
|
|
|
export function delHealthScienceApi(Id) {
|
2025-05-14 11:17:24 +08:00
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/health_popular_science/del/'+Id,
|
|
|
|
|
method: 'post',
|
|
|
|
|
headers: {
|
|
|
|
|
"merchant-id":"378915229716713472",
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 获取慢性病字典-下拉
|
|
|
|
|
export function dictHealthChronicApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/health/chronic/dict-health-chronic',
|
|
|
|
|
method: 'post',
|
|
|
|
|
headers: {
|
|
|
|
|
"merchant-id":"378915229716713472",
|
|
|
|
|
},
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 分页查询 慢性病 列表
|
|
|
|
|
export function getChronicPageApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/health_chronic/list',
|
|
|
|
|
method: 'get',
|
|
|
|
|
headers: {
|
|
|
|
|
"merchant-id":"378915229716713472",
|
|
|
|
|
},
|
|
|
|
|
params:data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 慢性病-新增
|
|
|
|
|
export function addChronicApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/health_chronic',
|
|
|
|
|
method: 'post',
|
|
|
|
|
headers: {
|
|
|
|
|
"merchant-id":"378915229716713472",
|
|
|
|
|
},
|
|
|
|
|
data: data
|
|
|
|
|
})
|
2025-06-03 09:17:05 +08:00
|
|
|
}
|
2025-05-14 11:17:24 +08:00
|
|
|
// 慢性病-更新
|
|
|
|
|
export function editChronicApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/health_chronic/edit',
|
|
|
|
|
method: 'post',
|
|
|
|
|
headers: {
|
|
|
|
|
"merchant-id":"378915229716713472",
|
|
|
|
|
},
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
// 慢性病-更新
|
|
|
|
|
export function delChronicApi(Id) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/health_chronic/del/'+Id,
|
|
|
|
|
method: 'post',
|
|
|
|
|
headers: {
|
|
|
|
|
"merchant-id":"378915229716713472",
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
2025-06-03 09:17:05 +08:00
|
|
|
// 分页查询 健康档案-列表
|
|
|
|
|
export function getHealthInfoPageApi(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/smart-canteen/health/info/list',
|
|
|
|
|
method: 'get',
|
|
|
|
|
headers: {
|
|
|
|
|
"merchant-id":"378915229716713472",
|
|
|
|
|
},
|
|
|
|
|
params:data
|
|
|
|
|
})
|
|
|
|
|
}
|
2025-05-14 11:17:24 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|