|  |  |  | 
|---|
|  |  |  | // 查询患者门诊记录列表 | 
|---|
|  |  |  | export function listPatouthosp(query) { | 
|---|
|  |  |  | return request({ | 
|---|
|  |  |  | url: '/smartor/patouthosp/list', | 
|---|
|  |  |  | method: 'get', | 
|---|
|  |  |  | params: query | 
|---|
|  |  |  | url: '/smartor/patouthosp/selectPatMedOuthospList', | 
|---|
|  |  |  | method: 'post', | 
|---|
|  |  |  | data: query | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | // 修改患者门诊记录 | 
|---|
|  |  |  | export function updatePatouthosp(data) { | 
|---|
|  |  |  | return request({ | 
|---|
|  |  |  | url: '/smartor/patouthosp', | 
|---|
|  |  |  | method: 'put', | 
|---|
|  |  |  | url: '/smartor/patouthosp/edit', | 
|---|
|  |  |  | method: 'post', | 
|---|
|  |  |  | data: data | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | // 删除患者门诊记录 | 
|---|
|  |  |  | export function delPatouthosp(id) { | 
|---|
|  |  |  | return request({ | 
|---|
|  |  |  | url: '/smartor/patouthosp/' + id, | 
|---|
|  |  |  | method: 'delete' | 
|---|
|  |  |  | url: '/smartor/patouthosp/remove/' + id, | 
|---|
|  |  |  | method: 'get' | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|