|
@@ -13,6 +13,7 @@
|
|
|
<br>
|
|
|
</div>
|
|
|
<div class="describe">
|
|
|
+
|
|
|
<el-button v-if="isEmr" type="primary" @click="copyOutcome('病理结果')">
|
|
|
病理结果
|
|
|
</el-button>
|
|
@@ -89,10 +90,11 @@
|
|
|
<div style="display: flex">
|
|
|
<div class="sidebar">
|
|
|
<vxe-table :height="height"
|
|
|
+ :max-height="height"
|
|
|
:row-config="{isHover : true, isCurrent: true,height: 24}"
|
|
|
show-header-overflow
|
|
|
show-overflow
|
|
|
- :scroll-x="{gt: 0,enabled: false}"
|
|
|
+ :scroll-x="{enabled: false}"
|
|
|
:scroll-y="{gt: 0 ,enabled: true}"
|
|
|
class="vxe-padding_zero"
|
|
|
@cell-click="sidebarRow"
|
|
@@ -159,9 +161,11 @@ import {
|
|
|
emrCopyFunc
|
|
|
} from '@/views/hospitalization/zhu-yuan-yi-sheng/electronic-medical-record/emr-editor/emr-init'
|
|
|
import {copyStrFunc} from "@/utils/public";
|
|
|
+import {getCriticalValueByPatInfo} from "@/api/zhu-yuan-yi-sheng/critical-value";
|
|
|
|
|
|
-const {patNo, isEmr} = defineProps({
|
|
|
+const {patNo, isEmr, times} = defineProps({
|
|
|
patNo: String,
|
|
|
+ times: Number,
|
|
|
isEmr: {
|
|
|
type: Boolean,
|
|
|
default: true
|
|
@@ -317,7 +321,7 @@ onMounted(async () => {
|
|
|
dateRange.value = await currentAndAFewDaysAgo()
|
|
|
await query()
|
|
|
// todo 检验接口没有返回危急值。
|
|
|
- // let res = await getCriticalValueByPatInfo(patInfo.value.inpatientNo, patInfo.value.admissTimes)
|
|
|
+ let res = await getCriticalValueByPatInfo(patNo, times)
|
|
|
})
|
|
|
|
|
|
</script>
|