diff --git a/src/api/patient/list.js b/src/api/patient/list.js index 193f628..ee95432 100644 --- a/src/api/patient/list.js +++ b/src/api/patient/list.js @@ -1,17 +1,17 @@ import request from '../../utils/request' -const url = '/admin/doctor'; +const url = '/admin/patient'; -export function getDoctorList(params){ +export function getPatientList(params){ return request({ - url:'/admin/doctor', + url:'/admin/patient', method: 'get', params }) } -export function addDoctor(data) { +export function addPatient(data) { return request({ url, method: 'post', @@ -19,7 +19,7 @@ export function addDoctor(data) { }) } -export function removeDoctor(data) { +export function removePatient(data) { return request({ url, method: 'delete', @@ -27,14 +27,14 @@ export function removeDoctor(data) { }) } -export function updateDoctor(data, id) { +export function updatePatient(data, id) { return request({ url: `${url}/${id}`, method: 'put', data }) } -export function getDoctorDetail(id){ +export function getPatientDetail(id){ return request({ url:'/admin/doctor/'+id, method: 'get' diff --git a/src/views/doctor/doctor-list/index.vue b/src/views/doctor/doctor-list/index.vue index c97a723..832fdc3 100644 --- a/src/views/doctor/doctor-list/index.vue +++ b/src/views/doctor/doctor-list/index.vue @@ -15,7 +15,7 @@ --> - + 主任医师 主任中医师 @@ -26,7 +26,7 @@ - + 专家问诊 快速问诊 @@ -35,7 +35,7 @@ - + 未认证 认证通过 @@ -44,7 +44,7 @@ - + 未认证 认证通过 @@ -53,7 +53,7 @@ - + 未认证 认证通过 @@ -61,21 +61,21 @@ - + - + - + diff --git a/src/views/order/medince-list/index.vue b/src/views/order/medince-list/index.vue index a2f260c..769012e 100644 --- a/src/views/order/medince-list/index.vue +++ b/src/views/order/medince-list/index.vue @@ -38,7 +38,7 @@ { if(code==200){ Object.assign(AddressData,data) } - }; const formatProductStatus = (val) => { //订单状态( diff --git a/src/views/order/order-list/index.vue b/src/views/order/order-list/index.vue index 531877d..ea28bba 100644 --- a/src/views/order/order-list/index.vue +++ b/src/views/order/order-list/index.vue @@ -22,8 +22,8 @@ @press-enter="handleQuery" /> - - + + 待支付 待分配 @@ -35,7 +35,7 @@ - + 专家问诊 快速问诊