diff --git a/src/components/Table/src/Table.vue b/src/components/Table/src/Table.vue
index 279a9fa..1afdc93 100644
--- a/src/components/Table/src/Table.vue
+++ b/src/components/Table/src/Table.vue
@@ -56,7 +56,7 @@ export default defineComponent({
// 注册
onMounted(() => {
const tableRef = unref(elTableRef)
- emit('register', tableRef?.$parent, elTableRef)
+ emit('register', tableRef?.$parent, unref(elTableRef))
})
const pageSizeRef = ref(props.pageSize)
diff --git a/src/views/sta/index.vue b/src/views/sta/index.vue
index 20b9ca2..91be9b3 100644
--- a/src/views/sta/index.vue
+++ b/src/views/sta/index.vue
@@ -52,7 +52,7 @@
{{ row.orgname || '未知' }}
-
+
{{ row.districtname || '未知' }}
diff --git a/src/views/summary/reprot-print/report-print.vue b/src/views/summary/reprot-print/report-print.vue
index e0be211..b393f96 100644
--- a/src/views/summary/reprot-print/report-print.vue
+++ b/src/views/summary/reprot-print/report-print.vue
@@ -38,7 +38,7 @@
class="!w-320px"
/>
-
+
@@ -140,6 +140,7 @@ import { PatientApi, type PatientVO } from '@/api/inspect/inspectpatient'
import ReportPreview from './components/ReportPreview.vue'
import dayjs from 'dayjs'
import { hospitals } from '@/config/hospitals'
+import { getUserProfile } from '@/api/system/user/profile'
defineOptions({ name: 'ReportPrint' })
//打印预览相关变量
@@ -155,7 +156,7 @@ const queryParams = reactive({
pageSize: 10,
medicalSn: undefined as string | undefined,
pname: undefined as string | undefined,
- hospitalNo: undefined as string | undefined,
+ examhoscode: undefined as string | undefined,
medicalDateTime: [
dayjs().startOf('day').format('YYYY-MM-DD HH:mm:ss'),
dayjs().endOf('day').format('YYYY-MM-DD HH:mm:ss')
@@ -168,6 +169,8 @@ const queryFormRef = ref() // 搜索的表单
const getList = async () => {
loading.value = true
try {
+ const userInfo = await getUserProfile()
+ queryParams.examhoscode = userInfo.deptId
const data = await PatientApi.getPatientPage({
pageNo: queryParams.pageNo,
pageSize: queryParams.pageSize,
@@ -175,7 +178,7 @@ const getList = async () => {
pName: queryParams.pname?.trim() || undefined,
medicalDateTime: queryParams.medicalDateTime,
status: queryParams.status,
- hospitalNo: queryParams.hospitalNo
+ examhoscode: queryParams.examhoscode
})
list.value = data.list
total.value = data.total