diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 0b546ef..b563980 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -106,41 +106,29 @@ const remainingRouter: AppRouteRecordRaw[] = [ } ] }, - { - path: '/Basic', - component: Layout, - name: 'Basic', - meta: { - title: '菜单管理' - }, - redirect: '/Basic/menu', - children: [ - { - path: 'menu', - component: () => import('@/views/Basic/Menu/index.vue'), - name: 'Menu', - meta: { - canTo: true, - // hidden: true, - noTagsView: false, - icon: 'ep:user', - title: '菜单管理' - } - }, - { - path: 'okr', - component: () => import('@/views/OKR/Management/index.vue'), - name: 'OkrManagement', - meta: { - canTo: true, - // hidden: true, - noTagsView: false, - icon: 'ep:user', - title: 'Okr管理' - } - } - ] - }, + // { + // path: '/Basic', + // component: Layout, + // name: 'Basic', + // meta: { + // title: '菜单管理' + // }, + // redirect: '/Basic/menu', + // children: [ + // { + // path: 'menu', + // component: () => import('@/views/Basic/Menu/index.vue'), + // name: 'Menu', + // meta: { + // canTo: true, + // // hidden: true, + // noTagsView: false, + // icon: 'ep:user', + // title: '菜单管理' + // } + // } + // ] + // }, { path: '/login', component: () => import('@/views/Login/Login.vue'), diff --git a/src/views/Basic/Dept/DeptForm.vue b/src/views/Basic/Dept/DeptForm.vue index 29f5e56..d135ccf 100644 --- a/src/views/Basic/Dept/DeptForm.vue +++ b/src/views/Basic/Dept/DeptForm.vue @@ -30,7 +30,12 @@ - + { /** 获得部门树 */ const getTree = async () => { deptTree.value = [] - const data = await DeptApi.getSimpleDeptList() + const data = await DeptApi.getSimpleDeptList({ allFlag: false }) let dept: Tree = { id: 0, name: '顶级部门', children: [] } dept.children = handleTree(data) deptTree.value.push(dept) diff --git a/src/views/Basic/User/UserForm.vue b/src/views/Basic/User/UserForm.vue index 44e41f3..0356e15 100644 --- a/src/views/Basic/User/UserForm.vue +++ b/src/views/Basic/User/UserForm.vue @@ -13,7 +13,7 @@ - + - + @@ -113,7 +113,8 @@