当输入患者的姓名和身份号码两个字段的值已经存在时,提醒挂号工作人员该患者档案已经存在

This commit is contained in:
Auora
2025-10-22 15:15:11 +08:00
parent 8bc5d45976
commit 48b2188cf9
5 changed files with 72 additions and 2 deletions

View File

@@ -44,6 +44,9 @@ import TreeSelect from '@/components/TreeSelect'
// 字典标签组件
import DictTag from '@/components/DictTag'
// 导入请求工具
import request from './utils/request'
import { ElDialog, ElMessage } from 'element-plus';
import {registerComponents} from './template';
@@ -64,6 +67,9 @@ app.config.globalProperties.handleTree = handleTree
app.config.globalProperties.addDateRange = addDateRange
app.config.globalProperties.selectDictLabel = selectDictLabel
app.config.globalProperties.selectDictLabels = selectDictLabels
// 全局挂载请求实例
app.config.globalProperties.$http = request
// 全局组件挂载
app.component('DictTag', DictTag)
app.component('Pagination', Pagination)