From 64d7546bc5a8e72a8cefeee11162b43d3e1297df Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Fri, 15 Sep 2023 17:14:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20clear?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/patient/list.js | 14 +++++++------- src/views/doctor/doctor-list/index.vue | 16 ++++++++-------- src/views/order/medince-list/index.vue | 3 +-- src/views/order/order-list/index.vue | 6 +++--- 4 files changed, 19 insertions(+), 20 deletions(-) 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 @@ - + 专家问诊 快速问诊