import request from '@/utils/request' // 查询疾病字典列表 export function listIcd(query) { return request({ url: '/system/icd/list', method: 'get', params: query }) } // 查询疾病字典详细 export function getIcd(id) { return request({ url: '/system/icd/' + id, method: 'get' }) } // 新增疾病字典 export function addIcd(data) { return request({ url: '/system/icd', method: 'post', data: data }) } // 修改疾病字典 export function updateIcd(data) { return request({ url: '/system/icd', method: 'put', data: data }) } // 删除疾病字典 export function delIcd(id) { return request({ url: '/system/icd/' + id, method: 'delete' }) }