chore(router): 添加患者档案管理路由配置

- 添加患者档案管理路由配置代码
- 注释掉租户用户设置路由部分代码
- 新增patientmgr路由项配置
- 配置路由组件和元信息
- 设置路由隐藏属性
- 完善路由路径和名称定义
This commit is contained in:
2026-01-08 14:52:28 +08:00
parent fb9f85e967
commit 062c4a92b8
5 changed files with 4 additions and 29 deletions

View File

@@ -205,7 +205,7 @@
</template> </template>
<script setup> <script setup>
import { ref, reactive, onMounted, defineEmits, defineExpose } from 'vue' import { ref, reactive, onMounted } from 'vue'
import { ElMessage, ElMessageBox } from 'element-plus' import { ElMessage, ElMessageBox } from 'element-plus'
import { import {
VideoPlay, CircleCheck, Close, View, Delete VideoPlay, CircleCheck, Close, View, Delete

View File

@@ -78,7 +78,7 @@
</template> </template>
<script setup> <script setup>
import { ref, onMounted, defineEmits, defineExpose } from 'vue' import { ref, onMounted } from 'vue'
import { User, Clock, VideoPlay, CircleCheck, Timer, Watch } from '@element-plus/icons-vue' import { User, Clock, VideoPlay, CircleCheck, Timer, Watch } from '@element-plus/icons-vue'
import { getTodayOutpatientStats } from './api.js' import { getTodayOutpatientStats } from './api.js'

View File

@@ -822,7 +822,7 @@
</template> </template>
<script setup> <script setup>
import {defineExpose, reactive, ref} from 'vue'; import {reactive, ref} from 'vue';
const bodyRef = ref(); const bodyRef = ref();
// 响应式表单数据 // 响应式表单数据

View File

@@ -34,7 +34,7 @@
<script setup> <script setup>
import {getPatientList, getWardList} from './api'; import {getPatientList, getWardList} from './api';
import {updatePatientInfoList} from './store/patient'; import {updatePatientInfoList} from './store/patient';
import {defineExpose, inject, nextTick, ref} from 'vue'; import {inject, nextTick, ref} from 'vue';
const treeRef = ref(null); const treeRef = ref(null);
const searchKey = ref(''); const searchKey = ref('');

View File

@@ -1,25 +0,0 @@
// 测试util._extend是否存在
if (typeof process !== 'undefined' && process.versions && process.versions.node) {
try {
const util = require('util');
console.log('util._extend存在吗', typeof util._extend);
if (typeof util._extend === 'function') {
console.log('util._extend是一个函数');
} else {
console.log('util._extend不是一个函数添加兼容实现');
util._extend = function(destination, source) {
for (var key in source) {
if (source.hasOwnProperty(key)) {
destination[key] = source[key];
}
}
return destination;
};
console.log('兼容实现添加成功');
}
} catch (e) {
console.error('util模块加载失败:', e);
}
} else {
console.log('不在Node.js环境中');
}