维护系统->检查部位后端接口优化。
This commit is contained in:
@@ -81,12 +81,39 @@ export function delCheckMethod(checkMethodId) {
|
||||
// 查询检查部位列表
|
||||
export function listCheckPart(query) {
|
||||
return request({
|
||||
url: '/system/check-part/list',
|
||||
url: '/check/part/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 新增检查部位
|
||||
export function addCheckPart(data) {
|
||||
return request({
|
||||
url: '/check/part/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除检查部位
|
||||
export function delCheckPart(checkPartId) {
|
||||
return request({
|
||||
url: '/check/part/delete/' + checkPartId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 更新检查部位
|
||||
export function updateCheckPart(data) {
|
||||
return request({
|
||||
url: '/check/part/update',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 查询检查套餐列表
|
||||
export function listCheckPackage(query) {
|
||||
return request({
|
||||
|
||||
Reference in New Issue
Block a user