From 83c3fd352439e8f8c5858aaa8190e6ea33e2722d Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 13 五月 2024 16:41:38 +0800
Subject: [PATCH] tianjia

---
 src/stores/StoresConfing.ts |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/stores/StoresConfing.ts b/src/stores/StoresConfing.ts
index 23190e9..12541ed 100644
--- a/src/stores/StoresConfing.ts
+++ b/src/stores/StoresConfing.ts
@@ -2,6 +2,7 @@
 import { ref } from 'vue'
 export const confingInfoStore =defineStore('confingInfo',()=>{
     const confingInfo=ref({
+        isLanFace:false,
         screenTimeout: 150,
         isUseFaceRecogService: true,
         deviceType:"血压计",
@@ -10,10 +11,13 @@
         timeJg:10000,
         base_api:"",
         face_push:3,
+        imgHeight:200,
         // 播报定时
         BobaoJg:4,
         beginWorkTime:5,
 	    endWorkTime:22,
+        // 默认显示床号 开启就显示干体重
+        gantiziShow:false,
         Is_ce_wen:false,
         portPath:'COM5',
         baudRate:115200,
@@ -36,11 +40,18 @@
      * @param roleText 配置文件设置 
      */
     function setconfingInfo(info:any){
+        if(info.gantiziShow===undefined){
+            info.gantiziShow=false
+        }
         confingInfo.value=info
         // 给默认值
         if(info.BobaoJg===undefined){
             confingInfo.value.BobaoJg=4
         }
+        // 
+        if(info.isLanFace===undefined){
+            confingInfo.value.isLanFace=true
+        }
     }
     return {confingInfo,setconfingInfo}
 })
\ No newline at end of file

--
Gitblit v1.8.0