icd调整
This commit is contained in:
@@ -4,34 +4,34 @@ import http from '@/api'
|
||||
/**
|
||||
* @name ICD管理模块
|
||||
*/
|
||||
|
||||
|
||||
|
||||
//获取ICD分页
|
||||
export const getICDList = (params: ICD.ReqICDParams) => {
|
||||
return http.post(`/icd/list`,params)
|
||||
return http.post<ICD.ResICDPage>(`/icd/list`, params)
|
||||
}
|
||||
|
||||
|
||||
//获取ICD
|
||||
export const getICDAllList = (params: ICD.ResICD) => {
|
||||
return http.get(`/icd/listAll`,params)
|
||||
export const getICDAllList = () => {
|
||||
return http.get<ICD.ResICD[]>(`/icd/listAll`)
|
||||
}
|
||||
|
||||
//添加ICD
|
||||
export const addICD = (params: ICD.ResICD) => {
|
||||
export const getStandardICDList = () => {
|
||||
return http.get<ICD.StandardOption[]>(`/icd/standard-list`)
|
||||
}
|
||||
|
||||
export const getICDById = (id: string) => {
|
||||
return http.get<ICD.ResICD>(`/icd/getById`, { id })
|
||||
}
|
||||
|
||||
export const addICD = (params: FormData) => {
|
||||
return http.upload(`/icd/add`, params)
|
||||
}
|
||||
|
||||
//编辑ICD
|
||||
export const updateICD = (params: ICD.ResICD) => {
|
||||
}
|
||||
|
||||
export const updateICD = (params: FormData) => {
|
||||
return http.upload(`/icd/update`, params)
|
||||
}
|
||||
|
||||
//删除ICD
|
||||
export const deleteICD = (params: string[]) => {
|
||||
}
|
||||
|
||||
export const deleteICD = (params: string[]) => {
|
||||
return http.post(`/icd/delete`, params)
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
export const exportICD = (id: string) => {
|
||||
return http.downloadGetWithHeaders(`/icd/export/${id}`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user