| | |
| | | // 修改患者档案 |
| | | export function alterpatient(data) { |
| | | return request({ |
| | | url: '/smartor/patarchive', |
| | | method: 'put', |
| | | url: '/smartor/patarchive/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | }; |
| | |
| | | export function deletepatient(userId) { |
| | | return request({ |
| | | url: '/smartor/patarchive/remove/' + userId, |
| | | method: 'delete', |
| | | method: 'get', |
| | | }) |
| | | }; |
| | | |
| | |
| | | data: data |
| | | }) |
| | | }; |
| | | // 病史详情 |
| | | export function getmedicalhistory(userId) { |
| | | // 病史列表 |
| | | export function getmedicalhistory(data) { |
| | | return request({ |
| | | url: '/medicalhistory/'+userId, |
| | | method: 'get', |
| | | url: '/medicalhistory/selectMedicalHistoryList', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | }; |
| | | |
| | |
| | | method: 'get', |
| | | }) |
| | | }; |
| | | // 联系方式列表 |
| | | export function listcontactinformation(data) { |
| | | return request({ |
| | | url: '/archivecontact/selectPatArchivecontactList', |
| | | method: 'post', |
| | | data:data |
| | | }) |
| | | }; |
| | | // 删除详情 |
| | | export function delcontactinformation(userId) { |
| | | return request({ |
| | | url: '/archivecontact/'+userId, |
| | | url: '/archivecontact/remove/'+userId, |
| | | method: 'get', |
| | | }) |
| | | }; |