From a7fb2f5eab3e548f040004c1019f1c994eb91ad4 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 09 十二月 2025 14:44:36 +0800
Subject: [PATCH] 日常更新
---
src/stores/StoresConfing.ts | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/stores/StoresConfing.ts b/src/stores/StoresConfing.ts
index f53b7c5..783db14 100644
--- a/src/stores/StoresConfing.ts
+++ b/src/stores/StoresConfing.ts
@@ -2,7 +2,10 @@
import { ref } from 'vue'
export const confingInfoStore =defineStore('confingInfo',()=>{
const confingInfo=ref({
- isLanFace:false,
+ clientCode:"",//客户端编号
+ isLanFace:false,//内网版
+ faceType:"百度",//人脸识别类型 baidu 阿里云
+ faceApi:'',
screenTimeout: 150,
// 启用人脸识别
isUseFaceRecogService: true,
@@ -13,6 +16,7 @@
//结果展示等待页面读秒
timeJg:10000,
base_api:"",
+
// 人脸识别请求间隔
face_push:3,
imgHeight:200,
@@ -37,6 +41,7 @@
tzcBaudRate:9600,// zhiRongT605波特率1200;台衡523波特率9600, 耀华XK3190-A12 9600 耀华XK3190-A11E 1200 //M503 9600
seca101Path:"D:/seca101/data/",//该参数只对体重秤 赛康101 文件获取目录,
jianyancishu:4,// 该参数只对耀华XK3190-A12体重秤有效 检验体重秤多次数据相等就传送
+ isHiddenActuallyClliang:false,// 是否显示实际测量值
})
/**
@@ -50,12 +55,15 @@
confingInfo.value=info
// 给默认值
if(info.BobaoJg===undefined){
- confingInfo.value.BobaoJg=4
+ confingInfo.value.BobaoJg=10
}
//
if(info.isLanFace===undefined){
confingInfo.value.isLanFace=false
}
+ if(info.faceType===undefined){
+ confingInfo.value.faceType="阿里云"
+ }
}
return {confingInfo,setconfingInfo}
})
\ No newline at end of file
--
Gitblit v1.8.0