| | |
| | | <span class="text-group_3">人工肾</span> |
| | | </div> |
| | | </div> |
| | | <div style="height: 75%; text-align: center;font-weight: 600;font-size: 50px;color: #8079CB;" class="grid-container" > |
| | | <div style="height: 85%; font-weight: 600;font-size: 50px;color: #8079CB;" class="scrollable-text" > |
| | | {{deviceData.透析器}} |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | <template v-if="!ispaiban"> |
| | | <div class="chongjian" style="height: 50%;"> |
| | | <el-row :gutter="20" style="height: 100%; padding: 20px;"> |
| | | <el-col :span="7" style="height: 100%;"> |
| | | <el-row :gutter="10" style="height: 100%; padding:10px 20px 0px 20px;"> |
| | | <el-col :span="7" style="height: 100%;" ref="targetDiv"> |
| | | <div class="container-weiqiandao" style="height: 100%"> |
| | | <div class="item-weiqiandao" style="background: #FFEDD2;border-radius: 8px;height: 100%;"> |
| | | <div class="container-cord" style="height: 30px;"> |
| | |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="10"> |
| | | <div class="container-weiqiandao" > |
| | | <el-col :span="10" style="height: 100%;"> |
| | | <div class="cont_parent"> |
| | | <div class="cont_child" style="background: #E5EEFF;border-radius: 8px;"> |
| | | <div class="container-cord" style="height: 30px;"> |
| | | <img style="width: 25px;" referrerpolicy="no-referrer" :src="tsl" |
| | | /> |
| | | <span class="text-group_3">透析方案</span> |
| | | </div> |
| | | <div class="grid-container" style="height: calc(100% - 30px);width: 100%;"> |
| | | <div class="container-body-text" style="color: #3A75B8;"> |
| | | <template v-for="(item,index) in 当前客户耗材集合.透析模式" :key="index"> |
| | | <span> {{item}}</span><template v-if="当前客户耗材集合.透析模式.length>index+1">,</template> |
| | | </template> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="cont_child" style="background: #D9F0E2;border-radius: 8px;"> |
| | | <div class="container-cord" style="height: 30px;"> |
| | | <img style="width: 25px;" referrerpolicy="no-referrer" :src="tsl" |
| | | /> |
| | | <span class="text-group_3">一次性血液透析体外循环管路</span> |
| | | </div> |
| | | <div class="grid-container" style="height: calc(100% - 30px);width: 100%;"> |
| | | <div class="scrollable-container" style="height: 100%;color: #3AB859;"> |
| | | <ul> |
| | | <li v-for="(item,index) in 当前客户耗材集合.管路" :key="index"> |
| | | {{item}} |
| | | </li> |
| | | </ul> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="cont_child" style="background: #F9DEDE;border-radius: 8px;"> |
| | | <div class="container-cord" style="height: 30px;"> |
| | | <img style="width: 25px;" referrerpolicy="no-referrer" :src="tsl" |
| | | /> |
| | | <span class="text-group_3">一次性使用透析护理包</span> |
| | | </div> |
| | | <div class="grid-container" style="height: calc(100% - 30px);width: 100%;"> |
| | | <div class="scrollable-container" style="height: 100%;color: #902D2D;"> |
| | | <ul> |
| | | <li v-for="(item,index) in 当前客户耗材集合.护理包" :key="index"> |
| | | {{item}} |
| | | </li> |
| | | |
| | | </ul> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="container-weiqiandao" > |
| | | |
| | | <div class="item-weiqiandao" style="background: #E5EEFF;border-radius: 8px;height: 100%;"> |
| | | <div class="container-cord" style="height: 30px;"> |
| | | <img style="width: 25px;" referrerpolicy="no-referrer" :src="tsl" |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> --> |
| | | </el-col> |
| | | <el-col :span="7" style="height: 100%;"> |
| | | <div class="container-weiqiandao" style="height: 100%"> |
| | |
| | | </el-row> |
| | | </div> |
| | | <div class="mowei" style="height: 39%;"> |
| | | <el-row :gutter="20" style="height: 100%;padding:10px 20px 20px 20px;"> |
| | | <el-row :gutter="20" style="height: 100%;padding:10px 20px 10px 20px;"> |
| | | <el-col :span="12" style="height: 100%"> |
| | | <div class="container-weiqiandao" style="height: 100%"> |
| | | <div class="item-weiqiandao" style="background: #F6F5FA;border-radius: 8px;height: 100%;"> |
| | |
| | | import cljd from '../img/cljd.png' |
| | | import tizhong from '../img/tizhong.png' |
| | | import {EventSourcePolyfill} from 'event-source-polyfill'; |
| | | import { computed, getCurrentInstance, onBeforeMount, onMounted, ref, watch, watchEffect } from "vue"; |
| | | import { computed, getCurrentInstance, onBeforeMount, onMounted, ref, watch, onUnmounted } from "vue"; |
| | | import { Local } from '../utils/storage'; |
| | | import * as echarts from "echarts"; |
| | | import { jgTime4 } from "../utils/formatTime"; |
| | |
| | | const sseData = ref({}); |
| | | // sse状态 |
| | | const readyState = ref({ key: 0, value: "正在链接中" }); |
| | | |
| | | |
| | | const deviceCode=ref('') |
| | | const shishiTime=ref(new Date()) |
| | | //有没有推送过血压如果有 就一直会显示血压数据 |
| | |
| | | }else{ |
| | | centerDialogVisible.value=true |
| | | } |
| | | |
| | | }); |
| | | |
| | | |
| | | const saveSet=()=>{ |
| | | if(deviceCode.value){ |
| | | centerDialogVisible.value=false |
| | |
| | | ElMessage.warning('请先输入设备编号') |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 刷新页面 |
| | | */ |
| | |
| | | flex: 1; /* 确保每个子 div 占据相同的高度 */ |
| | | background-color: lightblue; /* 可以根据需要调整背景颜色 */ |
| | | padding: 10px; /* 添加内边距以美化显示 */ |
| | | |
| | | } |
| | | .container-body{ |
| | | display: flex; |
| | |
| | | } |
| | | |
| | | .scrollable-container li { |
| | | padding: 4px; |
| | | // padding: 4px; |
| | | font-weight: 600; |
| | | // border-bottom: 1px solid #ddd; |
| | | } |
| | | |
| | | </style> |
| | | |
| | | .cont_parent { |
| | | height: 100%; |
| | | display: grid; |
| | | grid-template-rows: repeat(3, 1fr); /* 将容器划分为3行,每行占1份 */ |
| | | gap: 5px; /* 子元素之间的间隙(可选) */ |
| | | } |
| | | |
| | | .cont_child { |
| | | border: 1px solid #ccc; |
| | | padding: 10px; |
| | | overflow-y: auto; /* 当内容超出时显示垂直滚动条 */ |
| | | box-sizing: border-box; /* 确保 padding 和 border 不增加实际高度 */ |
| | | } |
| | | .scrollable-text{ |
| | | white-space: nowrap; |
| | | overflow-x: auto; |
| | | width: 100%; |
| | | padding: 10px; |
| | | box-sizing: border-box; |
| | | // border: 1px solid #e4e4e4; |
| | | // font-size: 16px; |
| | | } |
| | | </style> |