From 071ac82f546e55e6a660a90a815404e5edca7173 Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期二, 08 七月 2025 11:45:57 +0800
Subject: [PATCH] ID1825-配置修改
---
src/views/deviceWindoes2.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/deviceWindoes2.vue b/src/views/deviceWindoes2.vue
index 75cefbf..1731ec0 100644
--- a/src/views/deviceWindoes2.vue
+++ b/src/views/deviceWindoes2.vue
@@ -1,7 +1,7 @@
<template>
<div class="divice">
<!-- {{数据初始化}} -->
- <el-carousel v-if="deviceData.患者姓名 && pageHeight > 0" height="auto" :autoplay="false" motion-blur :initial-index="0" always="always">
+ <el-carousel v-show="deviceData.患者姓名 && pageHeight > 0" height="auto" :autoplay="false" motion-blur :initial-index="0" always="always">
<el-carousel-item :style="{ height: pageHeight + 'px'}">
<div class="youzhiliao" style="height: 100%" >
<div class="toubu" style="height: 11%">
@@ -1197,7 +1197,7 @@
</el-carousel-item>
</el-carousel>
- <div v-else style="height: 100%">
+ <div v-show="!deviceData.患者姓名" style="height: 100%">
<div class="toubu" style="height: 11%">
<el-row
style="
@@ -2468,7 +2468,7 @@
// http://testbs.ihemodialysis.com/sse/sseEvent
// const test='http://testbs.ihemodialysis.com/sse/sseEvent/'
数据初始化.value = true;
- const test = import.meta.env.VITE_API_BASE_URL;
+ const test = import.meta.env.VITE_SSE_BASE_URL;
const stateArr = [
{ key: 0, value: "正在链接中" },
{ key: 1, value: "已经链接并且可以通讯" },
@@ -2538,7 +2538,7 @@
console.log(Date.now() + "DEV");
if (dataBody?.透析状态) {
deviceData.value = dataBody?.透析状态;
- if ('透析单医嘱列表' in dataBody.透析状态) {
+ if ('透析单医嘱列表' in dataBody.透析状态 && dataBody.透析状态?.透析单医嘱列表) {
deviceData.value.透析单医嘱列表 = dataBody.透析状态.透析单医嘱列表;
} else {
deviceData.value.透析单医嘱列表 = []
--
Gitblit v1.8.0