Compare commits
2 Commits
38ef377cbd
...
062c4a92b8
| Author | SHA1 | Date | |
|---|---|---|---|
| 062c4a92b8 | |||
| fb9f85e967 |
@@ -188,6 +188,19 @@ export const dynamicRoutes = [
|
||||
// ]
|
||||
// },
|
||||
// 租户用户设置路由
|
||||
//{
|
||||
// path: '/patient',
|
||||
// component: Layout,
|
||||
// hidden: true,
|
||||
// children: [
|
||||
// {
|
||||
// path: 'patientmgr',
|
||||
// component: () => import('@/views/patientmanagement/patientmanagement/index.vue'),
|
||||
// name: 'Patientmgr',
|
||||
// meta: { title: '患者档案管理', icon: 'user' }
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
{
|
||||
path: '/system/tenant-user',
|
||||
component: Layout,
|
||||
|
||||
@@ -205,7 +205,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, reactive, onMounted, defineEmits, defineExpose } from 'vue'
|
||||
import { ref, reactive, onMounted } from 'vue'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import {
|
||||
VideoPlay, CircleCheck, Close, View, Delete
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
</template>
|
||||
|
||||
<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 { getTodayOutpatientStats } from './api.js'
|
||||
|
||||
|
||||
@@ -822,7 +822,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {defineExpose, reactive, ref} from 'vue';
|
||||
import {reactive, ref} from 'vue';
|
||||
|
||||
const bodyRef = ref();
|
||||
// 响应式表单数据
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<script setup>
|
||||
import {getPatientList, getWardList} from './api';
|
||||
import {updatePatientInfoList} from './store/patient';
|
||||
import {defineExpose, inject, nextTick, ref} from 'vue';
|
||||
import {inject, nextTick, ref} from 'vue';
|
||||
|
||||
const treeRef = ref(null);
|
||||
const searchKey = ref('');
|
||||
|
||||
@@ -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环境中');
|
||||
}
|
||||
Reference in New Issue
Block a user