From c6fa14ee9022558cb99875524a2001760f75bbed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=90=A6?= Date: Mon, 13 Jul 2026 14:32:04 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E5=8C=BB=E7=94=9F=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=8C=BB=E7=94=9F=202.=20=E5=9B=9E=E8=B0=83?= =?UTF-8?q?=E5=88=86=E8=B4=A6=E9=93=BE=E8=B7=AF=E7=9A=84=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=203.=20=E5=87=8F=E5=B0=91=E9=A6=96=E9=A1=B5=E8=AE=BF=E9=97=AE?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E5=80=99=E6=95=B0=E6=8D=AE=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/doctor/doctor/api/index.ts | 5 ++ .../components/cells/DoctorBasicInfoCell.vue | 55 ++++++++++++++++++- .../src/views/doctor/doctor/index.vue | 6 +- 3 files changed, 63 insertions(+), 3 deletions(-) diff --git a/apps/web-antd/src/views/doctor/doctor/api/index.ts b/apps/web-antd/src/views/doctor/doctor/api/index.ts index 90c4919b..7e05a59e 100644 --- a/apps/web-antd/src/views/doctor/doctor/api/index.ts +++ b/apps/web-antd/src/views/doctor/doctor/api/index.ts @@ -76,6 +76,11 @@ export async function updateDoctorTitleBindApi(data: Record) { return requestClient.post(`${prefix}update-title-bind`, data); } +/** doctor_id 为 su_id,更新是否为测试医生 */ +export async function updateDoctorIsTestApi(data: Record) { + return requestClient.post(`${prefix}update-is-test`, data); +} + /** * 新增医生 * @param data diff --git a/apps/web-antd/src/views/doctor/doctor/components/cells/DoctorBasicInfoCell.vue b/apps/web-antd/src/views/doctor/doctor/components/cells/DoctorBasicInfoCell.vue index 649775c5..10a73867 100644 --- a/apps/web-antd/src/views/doctor/doctor/components/cells/DoctorBasicInfoCell.vue +++ b/apps/web-antd/src/views/doctor/doctor/components/cells/DoctorBasicInfoCell.vue @@ -1,13 +1,42 @@ @@ -71,6 +114,14 @@ defineProps<{ gap: 4px 8px; } +.doctor-basic-info__test { + display: flex; + align-items: center; + gap: 8px; + margin-top: 6px; + font-size: 12px; +} + .info-item { display: flex; align-items: center; diff --git a/apps/web-antd/src/views/doctor/doctor/index.vue b/apps/web-antd/src/views/doctor/doctor/index.vue index 02060e94..f1e42c13 100644 --- a/apps/web-antd/src/views/doctor/doctor/index.vue +++ b/apps/web-antd/src/views/doctor/doctor/index.vue @@ -173,7 +173,11 @@ const refuse = (id: number) => {