diff --git a/src/api/patient/family.js b/src/api/patient/family.js new file mode 100644 index 0000000..887b8c0 --- /dev/null +++ b/src/api/patient/family.js @@ -0,0 +1,26 @@ +import request from '../../utils/request' + +const url = '/admin/patient/family'; + + +export function getFamilyList(params){ + return request({ + url:'/admin/patient/family', + method: 'get', + params + }) +} +export function getFamilyDetail(id){ + return request({ + url:'/admin/patient/family/'+id, + method: 'get' + }) + } + export function decryptMobile(params){ + return request({ + url:'/decrypt/mobile', + method: 'get', + params + }) + } + \ No newline at end of file diff --git a/src/api/patient/list.js b/src/api/patient/list.js index c431d57..aeeb1c6 100644 --- a/src/api/patient/list.js +++ b/src/api/patient/list.js @@ -10,73 +10,10 @@ export function getPatientList(params){ params }) } - - -export function removePatient(data) { - return request({ - url, - method: 'delete', - data - }) -} - -export function updatePatient(data, id) { - return request({ - url: `${url}/${id}`, - method: 'put', - data - }) -} export function getPatientDetail(id){ return request({ url:'/admin/patient/'+id, method: 'get' }) } - export function departmentList(){ //获取科室列表 - return request({ - url:'/basic/department/custom/list', - method: 'get' - }) - } - export function decryptCard(params){ - return request({ - url:'/decrypt/card/num', - method: 'get', - params - }) - } - export function decryptBank(doctor_id){ - return request({ - url:'/decrypt/bank/'+doctor_id, - method: 'get' - }) - } - - export function hospitalList(params){ //获取医院地址列表 - return request({ - url:'/basic/hospital/list', - method: 'get', - params - }) - } - export function expertiseList(){ //获取专长列表 - return request({ - url:'/basic/expertise/list', - method: 'get' - }) - } - export function bankList(){ //获取银行列表 - return request({ - url:'/basic/bank/list', - method: 'get' - }) - } - export function areaList(params){ //获取银行列表 - return request({ - url:'/basic/area/list', - method: 'get', - params - }) - } \ No newline at end of file diff --git a/src/components/familyModal.vue b/src/components/familyModal.vue new file mode 100644 index 0000000..c9be3ab --- /dev/null +++ b/src/components/familyModal.vue @@ -0,0 +1,252 @@ + + \ No newline at end of file diff --git a/src/components/tableUnit.vue b/src/components/tableUnit.vue index 0a2f90a..18fc4c2 100644 --- a/src/components/tableUnit.vue +++ b/src/components/tableUnit.vue @@ -1,13 +1,26 @@