浏览代码

临床医护菜单引入

cyy 1 年之前
父节点
当前提交
642dc6126b
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/views/system/dashboard/index.vue

+ 3 - 2
src/views/system/dashboard/index.vue

@@ -167,7 +167,7 @@ import TreeUtils from '@/utils/tree'
 import i18n from '@/utils/i18n' // Internationalization 国际化
 import i18n from '@/utils/i18n' // Internationalization 国际化
 import IbpsAvatar from '@/components/ibps-avatar'
 import IbpsAvatar from '@/components/ibps-avatar'
 import NoticeDialog from '@/views/platform/notice/edit'
 import NoticeDialog from '@/views/platform/notice/edit'
-// import menu from './menu.json'
+import menu from './menu.json'
 import { findAllByCurrUserId } from '@/api/platform/system/desktop'
 import { findAllByCurrUserId } from '@/api/platform/system/desktop'
 
 
 // 透明图片
 // 透明图片
@@ -251,7 +251,8 @@ export default {
         this.userInfo.employee.jiNengZhiCheng !== 'inside' &&
         this.userInfo.employee.jiNengZhiCheng !== 'inside' &&
         this.userInfo.employee.isSuper === 'N'
         this.userInfo.employee.isSuper === 'N'
       ) {
       ) {
-        this.dashboards = this.outList
+        this.dashboards = menu
+        // this.dashboards = this.outList
         if (this.$utils.isNotEmpty(this.dashboards)) {
         if (this.$utils.isNotEmpty(this.dashboards)) {
           const activeDashboards = []
           const activeDashboards = []
           this.dashboards.forEach(d => {
           this.dashboards.forEach(d => {