|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="layout_display_flex">
|
|
|
<div style="width: 195px">
|
|
|
- <HuoQuMuBan @selectionFeiYong="xuanZeXiangMuTable"></HuoQuMuBan>
|
|
|
+ <HuoQuMuBan ref="muBanRef" @selectionFeiYong="xuanZeXiangMuTable"></HuoQuMuBan>
|
|
|
</div>
|
|
|
<div class="layout_flex_1-x layout_display_flex_y">
|
|
|
<div>
|
|
@@ -198,7 +198,6 @@ import {computed, onMounted, ref, watch} from 'vue'
|
|
|
import {
|
|
|
getBingQuDuiYingKeShi,
|
|
|
getDept,
|
|
|
- getMuBanXinXi,
|
|
|
getPyCode,
|
|
|
getWard,
|
|
|
queryDanGeXiangMu,
|
|
@@ -215,6 +214,7 @@ import {useUserStore} from "@/pinia/user-store";
|
|
|
import cyRefList from "@/utils/cyRefList";
|
|
|
import Dig from "@/utils/math";
|
|
|
import XEUtils from "xe-utils";
|
|
|
+import useCompRef from "@/utils/useCompRef";
|
|
|
|
|
|
const props = defineProps<{
|
|
|
patient: {
|
|
@@ -232,6 +232,7 @@ const userStore = useUserStore().userInfo
|
|
|
const tableHeight = window.innerHeight - 170
|
|
|
const deptData = ref([])
|
|
|
const wardData = ref([])
|
|
|
+const muBanRef = useCompRef(HuoQuMuBan)
|
|
|
|
|
|
// 手术编码
|
|
|
const ssCode = ref('')
|
|
@@ -399,6 +400,7 @@ const baoCunMuBan = () => {
|
|
|
// 开始上传
|
|
|
shangChuanMuBan(cunMuBanPojo.value).then(() => {
|
|
|
cunMuBanPojo.value = {}
|
|
|
+ muBanRef.value?.reloadData()
|
|
|
})
|
|
|
}
|
|
|
|