From 0c04b3e557501f6ddefbf2d760549dec3aeb496d Mon Sep 17 00:00:00 2001 From: lq Date: Thu, 26 Sep 2024 11:16:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=8C=82=E5=8F=B7=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=8A=B6=E6=80=81=E6=A0=87=E7=AD=BE=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/modules/v1/controllers/PatientController.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/service/modules/v1/controllers/PatientController.php b/service/modules/v1/controllers/PatientController.php index 04a95f6..4af32e1 100644 --- a/service/modules/v1/controllers/PatientController.php +++ b/service/modules/v1/controllers/PatientController.php @@ -151,6 +151,13 @@ class PatientController extends BaseServiceController return $list; } + /** + * 获取挂号订单状态标签内容 + * + * @param $status + * @param $type + * @return string + */ public static function getStatusInfo($status , $type) { $data = [ @@ -167,9 +174,9 @@ class PatientController extends BaseServiceController ], 'type' => [ 0 => 'info', - 1 => 'info', + 1 => 'primary', 2 => 'success', - 3 => 'info', + 3 => 'success', 4 => 'error', 5 => 'info', 6 => 'success',