From 521aeaee5f182fbea458b655cc7c4120348a61ae Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期一, 21 七月 2025 17:15:07 +0800
Subject: [PATCH] ID1625-修改未签到时抗凝剂

---
 src/views/mobile/bedsideAuxiliaryScreen/components/NotSignedIn.vue |   28 ++++++++++++++++++++++------
 src/store/type/bedsideAuxiliaryScreen.type.ts                      |   28 ++++++++++++++++++----------
 2 files changed, 40 insertions(+), 16 deletions(-)

diff --git a/src/store/type/bedsideAuxiliaryScreen.type.ts b/src/store/type/bedsideAuxiliaryScreen.type.ts
index eafa9a2..01f3425 100644
--- a/src/store/type/bedsideAuxiliaryScreen.type.ts
+++ b/src/store/type/bedsideAuxiliaryScreen.type.ts
@@ -116,16 +116,27 @@
   类型: string;
 }
 
-export interface Dialyzer extends Anticoagulant {}
+export interface Dialyzer extends item {}
 
-export interface Piping extends Anticoagulant {}
+export interface Piping extends item {}
 
-export interface PunctureNeedle extends Anticoagulant {}
+export interface PunctureNeedle extends item {}
 
-export interface Anticoagulant {
+export interface item {
   name: string;
   单位: string;
   数量: number | null;
+}
+
+export interface Anticoagulant {
+    name: string;
+    单位: string;
+    数量: number | null;
+    总量: number | null;
+    是否为追加: number | null;
+    维持剂量: number | null;
+    追加剂量: number | null;
+    首剂: number | null;
 }
 
 export interface AnomalyIndex {
@@ -215,12 +226,7 @@
   dialyzerList: Dialyzer[];
   pipingList: Piping[];
   dialysateList: any[];
-  anticoagulant: {
-    name: string;
-    unit: string;
-    firstAndAddition: string;
-    total: string;
-  }[];
+  anticoagulant: Anticoagulant[];
   carePackage: any[];
   punctureNeedle: PunctureNeedle[];
   vascularAccess: VascularAccess[];
@@ -409,6 +415,8 @@
         notSignedIn.carePackage = seeMsg.透析状态?.护理包列表 || [];
         notSignedIn.punctureNeedle = seeMsg.透析状态?.穿刺针列表 || [];
         notSignedIn.vascularAccess = seeMsg.透析状态?.血管通路列表 || [];
+        notSignedIn.anticoagulant = seeMsg.透析状态?.抗凝剂列表 || [];
+
         result.notSignedIn = notSignedIn;
       }
       // 已签到未开始透析需要显示的
diff --git a/src/views/mobile/bedsideAuxiliaryScreen/components/NotSignedIn.vue b/src/views/mobile/bedsideAuxiliaryScreen/components/NotSignedIn.vue
index db997c5..b54fbdd 100644
--- a/src/views/mobile/bedsideAuxiliaryScreen/components/NotSignedIn.vue
+++ b/src/views/mobile/bedsideAuxiliaryScreen/components/NotSignedIn.vue
@@ -103,19 +103,22 @@
         background-color="#FFEDD2"
         class="row-item"
       >
-        <!-- <div class="list-box-1">
+        <div class="list-box-2">
           <div
-            v-for="(item, index) in pageData.pipingList"
+            v-for="(item, index) in pageData.anticoagulant"
             :key="index"
             class="list-item"
-            style="color: #3ab859"
           >
-            <div class="list-item-left">
+            <div class="list-item-name">
               {{ item.name }}
             </div>
-            <div class="list-item-right">{{ item.数量 }}{{ item.单位 }}</div>
+            <div class="list-item-num">
+              <span>首剂:{{ item.首剂 }}{{ item.单位 }}</span>
+              <span>追加/维持:{{ item.是否为追加 ? item.追加剂量 : item.维持剂量  }}{{ item.单位 }}</span>
+              <span>总量:{{ item.总量 }}{{ item.单位 }}</span>
+            </div>
           </div>
-        </div> -->
+        </div>
       </Card>
       <Card
         title="一次性使用透析护理包"
@@ -300,5 +303,18 @@
       }
     }
   }
+  .list-box-2 {
+    font-family: PingFangSC, PingFang SC;
+    font-weight: 500;
+    font-size: 5px;
+    color: #A78718;
+    text-align: left;
+    font-style: normal;
+    .list-item {
+     &:not(:last-child) {
+        margin-bottom: 3px;
+      }
+    }
+  }
 }
 </style>
\ No newline at end of file

--
Gitblit v1.8.0