yxh
2026-09-29 e41cb44dc302b51534036b3cf114dd2d5bc4f809
src/views/ecg/appointment/alter.vue
@@ -313,8 +313,11 @@
import { status } from 'nprogress'
import { log } from 'node:console'
/** 预约 列表 */
defineOptions({ name: 'Appointment' })
/** 预约申请单 列表 */
// 注意:本页(预约申请单)与 appointment/index.vue(预约记录)原本都声明 name: 'Appointment',
// 会使两者路由 name 相同 → keep-alive 缓存键冲突 → 切换标签页时可能互相显示对方的缓存内容。
// 改用唯一名称,并与菜单 system_menu(id=2855).component_name 保持一致。
defineOptions({ name: 'AppointmentAlter' })
const message = useMessage() // 消息弹窗
const { t } = useI18n() // 国际化