fix: 修复前端Bug #396 #397

- #396 疾病报卡管理:搜索查询区域布局优化(单行紧凑布局)
- #397 分诊排队管理:页面标题科室名称动态获取(替代硬编码)
This commit is contained in:
2026-04-23 16:37:52 +08:00
parent acc59ab87c
commit 87d4214541
2 changed files with 85 additions and 73 deletions

View File

@@ -3,7 +3,7 @@
<!-- 顶部标题栏 -->
<div class="header-section">
<div class="header-left">
<span class="title">智能分诊排队管理 - 心内科</span>
<span class="title">智能分诊排队管理 - {{ currentDeptName }}</span>
</div>
<div class="header-right">
<el-button type="primary" @click="handleRefresh">
@@ -401,6 +401,9 @@
<script setup>
import { ref, reactive, computed, onMounted, onUnmounted } from 'vue'
import { useUserStore } from '@/store/modules/user'
const userStore = useUserStore()
import { Refresh } from '@element-plus/icons-vue'
import { ElMessage } from 'element-plus'
import {
@@ -443,6 +446,11 @@ const selectedDept = ref('all')
// 就诊科室列表
const departmentList = ref([])
// 修复【#397】动态获取当前科室名称
const currentDeptName = computed(() => {
return userStore.deptName || userStore.orgName || '心内科'
})
// 后台配置对话框
const configDialogVisible = ref(false)
const rules = ref([