|
@@ -1,111 +1,111 @@
|
|
|
<template>
|
|
|
- <div style="height: 10%;font-size: 12px;display: flex">
|
|
|
- <div style="width: 70%;color: blue;border: 1px solid #000;border-radius: 5px;padding: 0 5px">
|
|
|
- {{ otherInfo }}
|
|
|
- </div>
|
|
|
- <div style="flex: 1;color: red">
|
|
|
- 注意:体温单位为℃脉搏单位为”次m1n”,血压单位为"mmg”,Sp02
|
|
|
- 单位为“%”,体重单位为”kg”,呼吸单位为“次/min”,血糖单位
|
|
|
- ”mo1/1”
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div style="height: 90%">
|
|
|
- <el-auto-resizer>
|
|
|
- <template #default="{ height, width }">
|
|
|
- <div style="height: 40px; display: flex;align-items: center ">
|
|
|
- <div>
|
|
|
- <el-date-picker v-model="dateRange"
|
|
|
- style="width: 240px"
|
|
|
- type="daterange"
|
|
|
- format="YYYY-MM-DD"
|
|
|
- value-format="YYYY-MM-DD"
|
|
|
- :shortcuts="shortcuts"/>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <el-button @click="query">查询</el-button>
|
|
|
- <el-button @click="quoteClick" v-if="!patInfo360" type="primary">引用</el-button>
|
|
|
- </div>
|
|
|
+ <CyFlex>
|
|
|
+ <template #header>
|
|
|
+ <div style="height: max-content;min-height: 50px ;font-size: 12px;display: flex">
|
|
|
+ <div style="width: 70%;color: blue;border: 1px solid #000;border-radius: 5px;padding: 0 5px">
|
|
|
+ {{ otherInfo }}
|
|
|
</div>
|
|
|
- <vxe-table :height="height - 40"
|
|
|
- ref="tableRef"
|
|
|
- border
|
|
|
- :scroll-x="{ enabled: false}"
|
|
|
- :scroll-y="{gt: 50 ,enabled: true}"
|
|
|
- :column-config="{resizable: true}"
|
|
|
- :row-config="{height: 24}"
|
|
|
- class="vxe-padding_zero hl-style"
|
|
|
- header-row-class-name="padding_zero"
|
|
|
- :row-class-name="rowClassName"
|
|
|
- @cell-click="rowClick"
|
|
|
- show-header-overflow
|
|
|
- show-overflow
|
|
|
- :data="listComputed">
|
|
|
- <vxe-column field="recDateStr" title="日期" width="80" sortable>
|
|
|
- <template #default="{row,rowIndex}">
|
|
|
- <component :is="dateDisplay(row,row.recDateStr,rowIndex)"/>
|
|
|
- </template>
|
|
|
- </vxe-column>
|
|
|
- <vxe-column title="时间" width="40">
|
|
|
- <template #default="{row,rowIndex}">
|
|
|
- <component :is="timePlsy(row,row.recTimeStr,rowIndex)"/>
|
|
|
- </template>
|
|
|
- </vxe-column>
|
|
|
- <vxe-column field="patientState" title="病情" width="50"/>
|
|
|
- <vxe-column title="体温" width="50">
|
|
|
- <template #default="{row}">
|
|
|
- <template v-if="stringIsBlank(row.temperature1)">
|
|
|
- <span></span>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- {{ row.temperature1 }}{{ row.temperature1Type }}
|
|
|
- </template>
|
|
|
- </template>
|
|
|
- </vxe-column>
|
|
|
-
|
|
|
- <vxe-colgroup title="次/min">
|
|
|
- <vxe-column field="heart" title="心率" width="40"/>
|
|
|
- <vxe-column field="pulse1" title="脉搏" width="40"/>
|
|
|
- </vxe-colgroup>
|
|
|
-
|
|
|
- <vxe-column field="breathe1" title="呼吸" width="40"/>
|
|
|
- <vxe-column field="pressure1AmAndPm" title="血压" width="60"/>
|
|
|
- <vxe-column field="spo2" title="Sp02%" width="50"/>
|
|
|
- <vxe-column field="mind" title="意识" width="40"/>
|
|
|
-
|
|
|
- <vxe-colgroup title="入量">
|
|
|
- <vxe-column field="col1Name" title="名称" width="100"/>
|
|
|
- <vxe-column field="col1Am" title="ml" width="40"/>
|
|
|
- </vxe-colgroup>
|
|
|
-
|
|
|
- <vxe-colgroup title="出量">
|
|
|
- <vxe-column field="col2Name" title="名称" width="80"/>
|
|
|
- <vxe-column field="col2Am" title="ml" width="40"/>
|
|
|
- <vxe-column title="颜色" field="urineColor" width="40"/>
|
|
|
- <vxe-column title="状态" field="shitShape" width="40"/>
|
|
|
- </vxe-colgroup>
|
|
|
-
|
|
|
- <vxe-column field="skin" title="皮肤" width="40"/>
|
|
|
-
|
|
|
-
|
|
|
- <vxe-colgroup title="管道">
|
|
|
- <vxe-column field="tubesName" title="管道名称" width="90"/>
|
|
|
- <vxe-column field="tubesStatus" title="管道情况" width="90"/>
|
|
|
- </vxe-colgroup>
|
|
|
-
|
|
|
- <vxe-column field="glu" title="血糖" width="40"/>
|
|
|
- <vxe-column field="otherInfo" title="护理措施及效果" min-width="250"/>
|
|
|
-
|
|
|
- <vxe-column field="userid" title="护士" width="70">
|
|
|
- <template #default="{row,rowIndex}">
|
|
|
- <component :is="timePlsy(row,row.userid , rowIndex)"/>
|
|
|
- </template>
|
|
|
- </vxe-column>
|
|
|
-
|
|
|
- </vxe-table>
|
|
|
-
|
|
|
- </template>
|
|
|
- </el-auto-resizer>
|
|
|
- </div>
|
|
|
+ <div style="flex: 1;color: red">
|
|
|
+ 注意:体温单位为℃脉搏单位为”次m1n”,血压单位为"mmg”,Sp02
|
|
|
+ 单位为“%”,体重单位为”kg”,呼吸单位为“次/min”,血糖单位
|
|
|
+ ”mo1/1”
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div style="height: 40px; display: flex;align-items: center ">
|
|
|
+ <div>
|
|
|
+ <el-date-picker v-model="dateRange"
|
|
|
+ style="width: 240px"
|
|
|
+ type="daterange"
|
|
|
+ format="YYYY-MM-DD"
|
|
|
+ value-format="YYYY-MM-DD"
|
|
|
+ :shortcuts="shortcuts"/>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <el-button @click="query">查询</el-button>
|
|
|
+ <el-button @click="quoteClick" v-if="!patInfo360" type="primary">引用</el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <vxe-table height="100%"
|
|
|
+ ref="tableRef"
|
|
|
+ border
|
|
|
+ :scroll-x="{ enabled: false}"
|
|
|
+ :scroll-y="{gt: 50 ,enabled: true}"
|
|
|
+ :column-config="{resizable: true}"
|
|
|
+ :row-config="{height: 24}"
|
|
|
+ class="vxe-padding_zero hl-style"
|
|
|
+ header-row-class-name="padding_zero"
|
|
|
+ :row-class-name="rowClassName"
|
|
|
+ @cell-click="rowClick"
|
|
|
+ show-header-overflow
|
|
|
+ show-overflow
|
|
|
+ :data="listComputed">
|
|
|
+ <vxe-column field="recDateStr" title="日期" width="80" sortable>
|
|
|
+ <template #default="{row,rowIndex}">
|
|
|
+ <component :is="dateDisplay(row,row.recDateStr,rowIndex)"/>
|
|
|
+ </template>
|
|
|
+ </vxe-column>
|
|
|
+ <vxe-column title="时间" width="40">
|
|
|
+ <template #default="{row,rowIndex}">
|
|
|
+ <component :is="timePlsy(row,row.recTimeStr,rowIndex)"/>
|
|
|
+ </template>
|
|
|
+ </vxe-column>
|
|
|
+ <vxe-column field="patientState" title="病情" width="50"/>
|
|
|
+ <vxe-column title="体温" width="50">
|
|
|
+ <template #default="{row}">
|
|
|
+ <template v-if="stringIsBlank(row.temperature1)">
|
|
|
+ <span></span>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ {{ row.temperature1 }}{{ row.temperature1Type }}
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </vxe-column>
|
|
|
+
|
|
|
+ <vxe-colgroup title="次/min">
|
|
|
+ <vxe-column field="heart" title="心率" width="40"/>
|
|
|
+ <vxe-column field="pulse1" title="脉搏" width="40"/>
|
|
|
+ </vxe-colgroup>
|
|
|
+
|
|
|
+ <vxe-column field="breathe1" title="呼吸" width="40"/>
|
|
|
+ <vxe-column field="pressure1AmAndPm" title="血压" width="60"/>
|
|
|
+ <vxe-column field="spo2" title="Sp02%" width="50"/>
|
|
|
+ <vxe-column field="mind" title="意识" width="40"/>
|
|
|
+
|
|
|
+ <vxe-colgroup title="入量">
|
|
|
+ <vxe-column field="col1Name" title="名称" width="100"/>
|
|
|
+ <vxe-column field="col1Am" title="ml" width="40"/>
|
|
|
+ </vxe-colgroup>
|
|
|
+
|
|
|
+ <vxe-colgroup title="出量">
|
|
|
+ <vxe-column field="col2Name" title="名称" width="80"/>
|
|
|
+ <vxe-column field="col2Am" title="ml" width="40"/>
|
|
|
+ <vxe-column title="颜色" field="urineColor" width="40"/>
|
|
|
+ <vxe-column title="状态" field="shitShape" width="40"/>
|
|
|
+ </vxe-colgroup>
|
|
|
+
|
|
|
+ <vxe-column field="skin" title="皮肤" width="40"/>
|
|
|
+
|
|
|
+
|
|
|
+ <vxe-colgroup title="管道">
|
|
|
+ <vxe-column field="tubesName" title="管道名称" width="90"/>
|
|
|
+ <vxe-column field="tubesStatus" title="管道情况" width="90"/>
|
|
|
+ </vxe-colgroup>
|
|
|
+
|
|
|
+ <vxe-column field="glu" title="血糖" width="40"/>
|
|
|
+ <vxe-column field="otherInfo" title="护理措施及效果" min-width="250"/>
|
|
|
+
|
|
|
+ <vxe-column field="userid" title="护士" width="70">
|
|
|
+ <template #default="{row,rowIndex}">
|
|
|
+ <component :is="timePlsy(row,row.userid , rowIndex)"/>
|
|
|
+ </template>
|
|
|
+ </vxe-column>
|
|
|
+
|
|
|
+ </vxe-table>
|
|
|
+
|
|
|
+ </CyFlex>
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="tsx">
|
|
@@ -121,6 +121,7 @@ import {
|
|
|
patInfo360Computed
|
|
|
} from "@/views/view/patient360/src/hosp";
|
|
|
import {VxeTable, TablePublicMethods} from 'vxe-table'
|
|
|
+import CyFlex from "@/components/cy/flex/src/CyFlex.vue";
|
|
|
|
|
|
const props = defineProps({
|
|
|
patNo: String,
|