Files
pqs-9100_client/frontend/src/api/device/icd/index.ts

38 lines
696 B
TypeScript
Raw Normal View History

2025-02-11 10:40:34 +08:00
import type { ICD } from '@/api/device/interface/icd'
import http from '@/api'
/**
* @name ICD管理模块
*/
//获取ICD分页
export const getICDList = (params: ICD.ReqICDParams) => {
2025-02-11 11:26:50 +08:00
return http.post(`/icd/list`,params)
2025-02-11 10:40:34 +08:00
}
//获取ICD
export const getICDAllList = (params: ICD.ResICD) => {
return http.get(`/icd/listAll`,params)
}
//添加ICD
export const addICD = (params: ICD.ResICD) => {
2025-11-13 08:42:05 +08:00
return http.upload(`/icd/add`, params)
2025-02-11 10:40:34 +08:00
}
//编辑ICD
export const updateICD = (params: ICD.ResICD) => {
2025-11-13 08:42:05 +08:00
return http.upload(`/icd/update`, params)
2025-02-11 10:40:34 +08:00
}
//删除ICD
export const deleteICD = (params: string[]) => {
return http.post(`/icd/delete`, params)
}