From f2f14789f0e1169988bb3bd8370f35f7dd6152e8 Mon Sep 17 00:00:00 2001
From: qsh <>
Date: Tue, 15 Apr 2025 12:45:33 +0800
Subject: [PATCH] sc
---
src/router/modules/remaining.ts | 58 ++---
src/views/Basic/Dept/DeptForm.vue | 9 +-
src/views/Basic/User/UserForm.vue | 13 +-
src/views/Basic/User/index.vue | 203 +++++++++---------
.../OKR/Management/Components/AllTarget.vue | 5 +-
.../OKR/Management/Components/DialogOkr.vue | 6 +-
.../Management/Components/DialogOkrInfo.vue | 24 ++-
.../OKR/Management/Components/MyDuty.vue | 4 +-
src/views/OKR/Management/Components/MySon.vue | 42 +++-
.../OKR/Management/Components/ObjectList.vue | 4 +-
10 files changed, 205 insertions(+), 163 deletions(-)
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 @@