From b5e123281f226d6d191ca161aa331b1c2064f6a1 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 21 十月 2025 16:02:26 +0800
Subject: [PATCH] 添加界面参数
---
src/views/home/index.vue | 7 ++++++-
src/stores/StoresConfing.ts | 1 +
src/utils/axios.ts | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/stores/StoresConfing.ts b/src/stores/StoresConfing.ts
index 641fa35..783db14 100644
--- a/src/stores/StoresConfing.ts
+++ b/src/stores/StoresConfing.ts
@@ -41,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,// 是否显示实际测量值
})
/**
diff --git a/src/utils/axios.ts b/src/utils/axios.ts
index 3771f0b..c7aaf29 100644
--- a/src/utils/axios.ts
+++ b/src/utils/axios.ts
@@ -4,7 +4,7 @@
import { ipcRenderer } from 'electron'
-let BASE_URL = 'https://hemobs.icoldchain.cn'
+let BASE_URL = 'https://backend.ihemodialysis.com'
const TIME_OUT = 10 * 1000
// setTimeout(()=>{
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 0806e19..8d95ac7 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -184,7 +184,10 @@
<!-- 目标脱水量(L) -->
{{aimTSL}}
</template>
- <template v-else> {{patientInfo.actuallyClliang}}</template>
+ <template v-else>
+ <span v-if="configData.isHiddenActuallyClliang" >/</span>
+ <span v-else>{{patientInfo.actuallyClliang}}</span>
+ </template>
<!-- 实际超滤量(L) -->
</template>
@@ -349,6 +352,7 @@
const clockNum=ref(60)
const timerNum=ref(0)//定时器数
const aimTSL=ref('')// 目标脱水量,
+const actuallyClliang=ref('') //实际超滤量
const gao_ya=ref("")//高压
const di_ya=ref("")//低压
const mai_bu=ref("")//脉搏,
@@ -461,6 +465,7 @@
})
clockNum.value = patientInfoStore().viewNumber
aimTSL.value = ''
+
gao_ya.value = ''
di_ya.value = ''
mai_bu.value = ''
--
Gitblit v1.8.0