From d3388b160eaef6f5b4b6891c7fb56ada98ef35c6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 14 May 2026 16:23:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/src/api/doctor.ts | 5 + .../views/consumer/prescription/guahao.vue | 169 +++++++++++++++++- .../consumer/prescription/order_list.vue | 26 ++- .../doctor/AppointmentController.php | 16 ++ .../http/middleware/AuthMiddleware.php | 6 + .../lists/doctor/AppointmentLists.php | 49 +++++ .../lists/tcm/PrescriptionOrderLists.php | 19 ++ .../logic/doctor/AppointmentLogic.php | 124 +++++++++++++ .../validate/doctor/AppointmentValidate.php | 8 + 9 files changed, 417 insertions(+), 5 deletions(-) diff --git a/admin/src/api/doctor.ts b/admin/src/api/doctor.ts index b92149dc..1534dc6d 100644 --- a/admin/src/api/doctor.ts +++ b/admin/src/api/doctor.ts @@ -71,6 +71,11 @@ export function appointmentAdminEdit(params: any) { return request.post({ url: '/doctor.appointment/edit', params }) } +/** 批量修改挂号渠道来源(与 edit 共用 doctor.appointment/edit 权限) */ +export function appointmentBatchEditChannel(params: any) { + return request.post({ url: '/doctor.appointment/batchEditChannel', params }) +} + // 获取挂号详情 export function appointmentDetail(params: any) { return request.get({ url: '/doctor.appointment/detail', params }) diff --git a/admin/src/views/consumer/prescription/guahao.vue b/admin/src/views/consumer/prescription/guahao.vue index f3bc5453..faa7a0a9 100644 --- a/admin/src/views/consumer/prescription/guahao.vue +++ b/admin/src/views/consumer/prescription/guahao.vue @@ -50,6 +50,22 @@ + + + + + 查询 重置 @@ -58,7 +74,29 @@ - +
+ + 批量修改渠道 + + + 已选 {{ selectedRows.length }} 条 + +
+ + + + +

将对已选 {{ selectedRows.length }} 条挂号写入同一渠道来源(仅改渠道,不改其它字段)。

+ + + + + + + + + + + +