From 0c444dadce0f855086dc5053c17dda6bcbbe8988 Mon Sep 17 00:00:00 2001
From: Guoxianpeng <744964089@qq.com>
Date: Fri, 17 Apr 2026 10:55:34 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=82=A3=E8=80=85=E5=88=97?=
=?UTF-8?q?=E8=A1=A8=E5=86=85=E7=9A=84=E5=85=B6=E4=BB=96=E8=A1=80=E7=B3=96?=
=?UTF-8?q?=E8=BE=93=E5=85=A5=E9=80=BB=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../tcm/diagnosis/components/BloodRecordList.vue | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/admin/src/views/tcm/diagnosis/components/BloodRecordList.vue b/admin/src/views/tcm/diagnosis/components/BloodRecordList.vue
index 2d4bbb3d..99d029f1 100644
--- a/admin/src/views/tcm/diagnosis/components/BloodRecordList.vue
+++ b/admin/src/views/tcm/diagnosis/components/BloodRecordList.vue
@@ -114,13 +114,13 @@
mmol/L
-
mmol/L
@@ -399,6 +399,11 @@ const handleEdit = (row: any) => {
dialogVisible.value = true
}
+// 处理其他血糖输入,只允许数字
+const handleOtherBloodSugarInput = (value: string) => {
+ recordForm.value.other_blood_sugar = value.replace(/[^\d.]/g, '')
+}
+
// 删除记录
const handleDelete = async (row: any) => {
await feedback.confirm('确定要删除这条记录吗?')