From 07d1135a1913a919679dc23f0a38b9b61987171f Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期五, 01 八月 2025 15:29:37 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/OAManage

---
 config/routes.ts |  401 ++++++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 294 insertions(+), 107 deletions(-)

diff --git a/config/routes.ts b/config/routes.ts
index 06c47e3..f35f2e7 100644
--- a/config/routes.ts
+++ b/config/routes.ts
@@ -1,19 +1,28 @@
-锘縤mport { access } from "fs";
-
-export default [
+锘縠xport default [
   {
-    path: '/user',
+    path: "/user",
     layout: false,
-    routes: [{ name: '鐧诲綍', path: '/user/login', component: './User/Login' }],
+    routes: [{ name: "鐧诲綍", path: "/user/login", component: "./User/Login" }],
   },
-  { path: '/welcome', name: '娆㈣繋', icon: 'smile', component: './Welcome' },
   {
-    path: '/admin',
-    name: '绠$悊椤�',
-    icon: 'crown',
+    // layout: false,
+    path: "/welcome",
+    name: "娆㈣繋",
+    icon: "smile",
+    component: "./Welcome",
+  },
+  {
+    path: "/admin",
+    name: "绠$悊椤�",
+    icon: "crown",
     routes: [
-      { path: '/admin', redirect: '/admin/sub-page' },
-      { path: '/admin/sub-page', access: 'canAdmin', name: '浜岀骇绠$悊椤�', component: './Admin' },
+      { path: "/admin", redirect: "/admin/sub-page" },
+      {
+        path: "/admin/sub-page",
+        access: "canAdmin",
+        name: "浜岀骇绠$悊椤�",
+        component: "./Admin",
+      },
     ],
   },
   // {
@@ -33,108 +42,286 @@
   //   ],
   // },
   {
-    path: '/myWork',
-    name: '鎴戠殑宸ヤ綔',
-    icon: 'crown',
+    path: "/myWork",
+    name: "鎴戠殑宸ヤ綔",
+    icon: "crown",
     routes: [
-      { path: '/myWork', redirect: '/admin/sub-page' },
-      { path: '/myWork/taskManagement', name: '浠诲姟绠$悊', component: './myWork/taskManagement' },
-      { path: '/myWork/AnnouncementManagement', name: '鍏憡绠$悊', component: './Admin' },
-      { path: '/myWork/messageManagement', name: '娑堟伅绠$悊', component: './Admin' },
-    ],
-  },
-  {
-    path: '/organizationDesign',
-    name: '缁勭粐璁捐',
-    icon: 'crown',
-    routes: [
-      { path: '/organizationDesign', redirect: '/admin/sub-page' },
-      { path: '/organizationDesign/OrganizationalStructureConfiguration', name: '缁勭粐鏈烘瀯閰嶇疆', component: './organizationDesign/OrganizationalStructureConfiguration' },
-      { path: '/organizationDesign/DepartmentalInformationConfiguration', name: '閮ㄩ棬淇℃伅閰嶇疆', component: './organizationDesign/DepartmentalInformationConfiguration' },
-      { path: '/organizationDesign/JobInformationConfiguration', name: '鑱屼綅淇℃伅閰嶇疆', component: './organizationDesign/JobInformationConfiguration' },
-      { path: '/organizationDesign/jobLevelInformationConfiguration', name: '鑱岀骇淇℃伅閰嶇疆', component: './organizationDesign/jobLevelInformationConfiguration' },
-      { path: '/organizationDesign/postInformationConfiguration', name: '宀椾綅淇℃伅閰嶇疆', component: './organizationDesign/postInformationConfiguration' },
-      { path: '/organizationDesign/departmentalEmployeeInformation', name: '閮ㄩ棬鍛樺伐淇℃伅', component: './Admin' },
-      { path: '/organizationDesign/organizationChart', name: '缁勭粐缁撴瀯鍥�', component: './Admin' },
-      { path: '/organizationDesign/organizationalStructureChanges', name: '缁勭粐缁撴瀯鍙樿縼', component: './Admin' },
-    ],
-  },
-  {
-    path: '/humanResourcePlanning',
-    name: '浜哄姏璧勬簮瑙勫垝',
-    icon: 'crown',
-    routes: [
-      { path: '/humanResourcePlanning', redirect: '/admin/sub-page' },
-      { path: '/humanResourcePlanning/organizationalStrategyFormulation', name: '缁勭粐鎴樼暐鍒跺畾', component: './humanResourcePlanning/organizationalStrategyFormulation' },
-      { path: '/humanResourcePlanning/personnelRequirementAnalysis', name: '浜哄憳闇�姹傚垎鏋�', component: './Admin' },
-      { path: '/humanResourcePlanning/analysisOfHumanResourceSupply', name: '浜哄姏璧勬簮渚涚粰鍒嗘瀽', component: './Admin' },
-      { path: '/humanResourcePlanning/humanResourcesBudget', name: '浜哄姏璧勬簮棰勭畻', component: './Admin' },
-      { path: '/humanResourcePlanning/jobAnalysis', name: '宸ヤ綔鍒嗘瀽', component: './Admin' },
-      { path: '/humanResourcePlanning/jobEvaluation', name: '宸ヤ綔璇勪环', component: './Admin' },
-    ],
-  },
-  {
-    path: '/Recruiting',
-    name: '鎷涜仒绠$悊',
-    icon: 'crown',
-    routes: [
-      { path: '/Recruiting', redirect: '/admin/sub-page' },
-      { path: '/Recruiting/recruitmentNeeds', name: '鎷涜仒闇�姹�', component: './Admin' },
-      { path: '/Recruiting/recruitingPlan', name: '鎷涜仒璁″垝', component: './Admin' },
-      { path: '/Recruiting/jobPosting', name: '宀椾綅鍙戝竷', component: './Admin' },
-      { path: '/Recruiting/workApplicationApproval', name: '宸ヤ綔鐢宠瀹℃壒', component: './Admin' },
-      { path: '/Recruiting/select', name: '鐢勯��', component: './Admin' },
-      { path: '/Recruiting/physicalExamination', name: '浣撴', component: './Admin' },
+      { path: "/myWork", redirect: "/admin/sub-page" },
       {
-        path: '/Recruiting/employmentInformationRelease',
-        name: '褰曠敤淇℃伅鍙戝竷',
-        component: './Admin',
+        path: "/myWork/taskManagement",
+        name: "浠诲姟绠$悊",
+        component: "./myWork/taskManagement",
       },
-      { path: '/Recruiting/newEmployeeRegistration', name: '鏂板憳宸ユ姤鍒�', component: './Admin' },
-      { path: '/Recruiting/recruitmentEvaluation', name: '褰曠敤璇勪及', component: './Admin' },
-      { path: '/Recruiting/costManagement', name: '璐圭敤绠$悊', component: './Admin' },
-      { path: '/Recruiting/talentPoolMaintenance', name: '浜烘墠搴撶淮鎶�', component: './Admin' },
+      {
+        path: "/myWork/AnnouncementManagement",
+        name: "鍏憡绠$悊",
+        component: "./Admin",
+      },
+      {
+        path: "/myWork/messageManagement",
+        name: "娑堟伅绠$悊",
+        component: "./Admin",
+      },
     ],
   },
   {
-    path: '/humanResourceManagement',
-    name: '浜轰簨绠$悊',
-    icon: 'crown',
+    path: "/organizationDesign",
+    name: "缁勭粐璁捐",
+    icon: "crown",
     routes: [
-      { path: '/humanResourceManagement', redirect: '/admin/sub-page' },
-      { path: '/humanResourceManagement/employeeInformation', name: '鍛樺伐淇℃伅', component: './Admin' },
-      { path: '/humanResourceManagement/contractManagement', name: '鍚堝悓绠$悊', component: './HumanResourceManagement/contractManagement' },
-      { path: '/humanResourceManagement/nominationForAppointment', name: '浠昏亴鎻愬悕', component: './HumanResourceManagement/nominationForAppointment' },
-      { path: '/humanResourceManagement/dismissalApplication', name: '鍏嶈亴鐢宠', component: './HumanResourceManagement/dismissalApplication' },
-
-      { path: '/humanResourceManagement/transferApplication', name: '璋冨叆鐢宠', component: './Admin' },
-      { path: '/humanResourceManagement/transferOutApplication', name: '璋冨嚭鐢宠', component: './Admin' },
-      { path: '/humanResourceManagement/changeRequest', name: '鍙樺姩鐢宠', component: './HumanResourceManagement/changeRequest' },
-      // { path: '/humanResourceManagement/transferApplication', name: '杞换鐢宠', component: './Admin' }, 
-      { path: '/humanResourceManagement/applicationForSecondment', name: '鎸傝亴鐢宠', component: './HumanResourceManagement/applicationForSecondment' },
-      { path: '/humanResourceManagement/challengeForCause', name: '鍥為伩鐢宠', component: './HumanResourceManagement/challengeForCause' },
-      { path: '/humanResourceManagement/resignationApplication', name: '绂昏亴鐢宠', component: './HumanResourceManagement/resignationApplication' },
-      // { path: '/humanResourceManagement/dismissalApplication', name: '杈為��鐢宠', component: './Admin' }, 
-      // { path: '/humanResourceManagement/retirementManagement', name: '绂讳紤绠$悊', component: './Admin' }, 
-      { path: '/humanResourceManagement/retirementManagement', name: '閫�浼戠鐞�', component: './HumanResourceManagement/retirementManagement' },
-      { path: '/humanResourceManagement/compulsoryRetirementApplication', name: '寮哄埗閫�浼戠敵璇�', component: './Admin' },
+      {
+        path: "/organizationDesign",
+        redirect: "/organizationDesign/OrganizationalStructureConfiguration",
+      },
+      {
+        path: "/organizationDesign/OrganizationalStructureConfiguration",
+        name: "缁勭粐鏈烘瀯閰嶇疆",
+        component: "./organizationDesign/OrganizationalStructureConfiguration",
+      },
+      {
+        path: "/organizationDesign/DepartmentalInformationConfiguration",
+        name: "閮ㄩ棬淇℃伅閰嶇疆",
+        component: "./organizationDesign/DepartmentalInformationConfiguration",
+      },
+      {
+        path: "/organizationDesign/JobInformationConfiguration",
+        name: "鑱屼綅淇℃伅閰嶇疆",
+        component: "./organizationDesign/JobInformationConfiguration",
+      },
+      {
+        path: "/organizationDesign/jobLevelInformationConfiguration",
+        name: "鑱岀骇淇℃伅閰嶇疆",
+        component: "./organizationDesign/jobLevelInformationConfiguration",
+      },
+      {
+        path: "/organizationDesign/postInformationConfiguration",
+        name: "宀椾綅淇℃伅閰嶇疆",
+        component: "./organizationDesign/postInformationConfiguration",
+      },
+      {
+        path: "/organizationDesign/departmentalEmployeeInformation",
+        name: "閮ㄩ棬鍛樺伐淇℃伅",
+        component: "./organizationDesign/departmentalEmployeeInformation",
+      },
+      {
+        path: "/organizationDesign/organizationChart",
+        name: "缁勭粐缁撴瀯鍥�",
+        component: "./Admin",
+      },
+      {
+        path: "/organizationDesign/organizationalStructureChanges",
+        name: "缁勭粐缁撴瀯鍙樿縼",
+        component: "./Admin",
+      },
     ],
   },
   {
-    path: '/trainingManagement',
-    name: '鍩硅绠$悊',
-    icon: 'crown',
+    path: "/humanResourcePlanning",
+    name: "浜哄姏璧勬簮瑙勫垝",
+    icon: "crown",
     routes: [
-      { path: '/trainingManagement', redirect: '/admin/sub-page' },
-      { path: '/trainingManagement/鍩硅鏈烘瀯绠$悊', name: '鍩硅鏈烘瀯绠$悊', component: './Admin' },
-      { path: '/trainingManagement/contractManagement', name: '鍩虹璧勬枡绠$悊', component: './Admin' },
-      { path: '/trainingManagement/nominationForAppointment', name: '鍩硅闇�姹傜鐞�', component: './Admin' },
-      // { path: '/trainingManagement/dismissalApplication', name: '鍩硅璁″垝绠$悊', component: './Admin' }, 
-      { path: '/trainingManagement/transferApplication', name: '鍩硅璁″垝绠$悊', component: './Admin' },
-      { path: '/trainingManagement/transferOutApplication', name: '鍩硅鏃ョ▼绠$悊', component: './Admin' },
-      { path: '/trainingManagement/changeRequest', name: '鍩硅鏁堟灉绠$悊', component: './Admin' },
-      // { path: '/trainingManagement/transferApplication', name: '鍩硅璐圭敤绠$悊', component: './Admin' }, 
+      { path: "/humanResourcePlanning", redirect: "/admin/sub-page" },
+      {
+        path: "/humanResourcePlanning/organizationalStrategyFormulation",
+        name: "缁勭粐鎴樼暐鍒跺畾",
+        component: "./humanResourcePlanning/organizationalStrategyFormulation",
+      },
+      {
+        path: "/humanResourcePlanning/personnelRequirementAnalysis",
+        name: "浜哄憳闇�姹傚垎鏋�",
+        component: "./Admin",
+      },
+      {
+        path: "/humanResourcePlanning/analysisOfHumanResourceSupply",
+        name: "浜哄姏璧勬簮渚涚粰鍒嗘瀽",
+        component: "./Admin",
+      },
+      {
+        path: "/humanResourcePlanning/humanResourcesBudget",
+        name: "浜哄姏璧勬簮棰勭畻",
+        component: "./Admin",
+      },
+      {
+        path: "/humanResourcePlanning/jobAnalysis",
+        name: "宸ヤ綔鍒嗘瀽",
+        component: "./Admin",
+      },
+      {
+        path: "/humanResourcePlanning/jobEvaluation",
+        name: "宸ヤ綔璇勪环",
+        component: "./Admin",
+      },
+    ],
+  },
+  {
+    path: "/Recruiting",
+    name: "鎷涜仒绠$悊",
+    icon: "crown",
+    routes: [
+      { path: "/Recruiting", redirect: "/admin/sub-page" },
+      {
+        path: "/Recruiting/recruitmentNeeds",
+        name: "鎷涜仒闇�姹�",
+        component: "./Admin",
+      },
+      {
+        path: "/Recruiting/recruitingPlan",
+        name: "鎷涜仒璁″垝",
+        component: "./Admin",
+      },
+      {
+        path: "/Recruiting/jobPosting",
+        name: "宀椾綅鍙戝竷",
+        component: "./Admin",
+      },
+      {
+        path: "/Recruiting/workApplicationApproval",
+        name: "宸ヤ綔鐢宠瀹℃壒",
+        component: "./Admin",
+      },
+      { path: "/Recruiting/select", name: "鐢勯��", component: "./Admin" },
+      {
+        path: "/Recruiting/physicalExamination",
+        name: "浣撴",
+        component: "./Admin",
+      },
+      {
+        path: "/Recruiting/employmentInformationRelease",
+        name: "褰曠敤淇℃伅鍙戝竷",
+        component: "./Admin",
+      },
+      {
+        path: "/Recruiting/newEmployeeRegistration",
+        name: "鏂板憳宸ユ姤鍒�",
+        component: "./Admin",
+      },
+      {
+        path: "/Recruiting/recruitmentEvaluation",
+        name: "褰曠敤璇勪及",
+        component: "./Admin",
+      },
+      {
+        path: "/Recruiting/costManagement",
+        name: "璐圭敤绠$悊",
+        component: "./Admin",
+      },
+      {
+        path: "/Recruiting/talentPoolMaintenance",
+        name: "浜烘墠搴撶淮鎶�",
+        component: "./Admin",
+      },
+    ],
+  },
+  {
+    path: "/humanResourceManagement",
+    name: "浜轰簨绠$悊",
+    icon: "crown",
+    routes: [
+      { path: "/humanResourceManagement", redirect: "/admin/sub-page" },
+      {
+        path: "/humanResourceManagement/employeeInformation",
+        name: "鍛樺伐淇℃伅",
+        component: "./Admin",
+      },
+      {
+        path: "/humanResourceManagement/contractManagement",
+        name: "鍚堝悓绠$悊",
+        component: "./HumanResourceManagement/contractManagement",
+      },
+      {
+        path: "/humanResourceManagement/nominationForAppointment",
+        name: "浠昏亴鎻愬悕",
+        component: "./HumanResourceManagement/nominationForAppointment",
+      },
+      {
+        path: "/humanResourceManagement/dismissalApplication",
+        name: "鍏嶈亴鐢宠",
+        component: "./HumanResourceManagement/dismissalApplication",
+      },
 
+      {
+        path: "/humanResourceManagement/transferApplication",
+        name: "璋冨叆鐢宠",
+        component: "./Admin",
+      },
+      {
+        path: "/humanResourceManagement/transferOutApplication",
+        name: "璋冨嚭鐢宠",
+        component: "./Admin",
+      },
+      {
+        path: "/humanResourceManagement/changeRequest",
+        name: "鍙樺姩鐢宠",
+        component: "./HumanResourceManagement/changeRequest",
+      },
+      // { path: '/humanResourceManagement/transferApplication', name: '杞换鐢宠', component: './Admin' },
+      {
+        path: "/humanResourceManagement/applicationForSecondment",
+        name: "鎸傝亴鐢宠",
+        component: "./HumanResourceManagement/applicationForSecondment",
+      },
+      {
+        path: "/humanResourceManagement/challengeForCause",
+        name: "鍥為伩鐢宠",
+        component: "./HumanResourceManagement/challengeForCause",
+      },
+      {
+        path: "/humanResourceManagement/resignationApplication",
+        name: "绂昏亴鐢宠",
+        component: "./HumanResourceManagement/resignationApplication",
+      },
+      // { path: '/humanResourceManagement/dismissalApplication', name: '杈為��鐢宠', component: './Admin' },
+      // { path: '/humanResourceManagement/retirementManagement', name: '绂讳紤绠$悊', component: './Admin' },
+      {
+        path: "/humanResourceManagement/retirementManagement",
+        name: "閫�浼戠鐞�",
+        component: "./HumanResourceManagement/retirementManagement",
+      },
+      {
+        path: "/humanResourceManagement/compulsoryRetirementApplication",
+        name: "寮哄埗閫�浼戠敵璇�",
+        component: "./HumanResourceManagement/compulsoryRetirementApplication",
+      },
+    ],
+  },
+  {
+    path: "/trainingManagement",
+    name: "鍩硅绠$悊",
+    icon: "crown",
+    routes: [
+      { path: "/trainingManagement", redirect: "/admin/sub-page" },
+      {
+        path: "/trainingManagement/鍩硅鏈烘瀯绠$悊",
+        name: "鍩硅鏈烘瀯绠$悊",
+        component: "./Admin",
+      },
+      {
+        path: "/trainingManagement/contractManagement",
+        name: "鍩虹璧勬枡绠$悊",
+        component: "./Admin",
+      },
+      {
+        path: "/trainingManagement/nominationForAppointment",
+        name: "鍩硅闇�姹傜鐞�",
+        component: "./Admin",
+      },
+      // { path: '/trainingManagement/dismissalApplication', name: '鍩硅璁″垝绠$悊', component: './Admin' },
+      {
+        path: "/trainingManagement/transferApplication",
+        name: "鍩硅璁″垝绠$悊",
+        component: "./Admin",
+      },
+      {
+        path: "/trainingManagement/transferOutApplication",
+        name: "鍩硅鏃ョ▼绠$悊",
+        component: "./Admin",
+      },
+      {
+        path: "/trainingManagement/changeRequest",
+        name: "鍩硅鏁堟灉绠$悊",
+        component: "./Admin",
+      },
+      // { path: '/trainingManagement/transferApplication', name: '鍩硅璐圭敤绠$悊', component: './Admin' },
     ],
   },
   // { name: '鏌ヨ琛ㄦ牸', icon: 'table', path: '/list', component: './TableList' },
@@ -356,12 +543,12 @@
   //   component: './orgManage',
   // },
   {
-    name: '閮ㄩ棬绠$悊',
-    icon: 'crown',
+    name: "閮ㄩ棬绠$悊",
+    icon: "crown",
     headerRender: true,
-    access: 'canAdmin',
-    path: '/department',
-    component: './DepartmentManage',
+    access: "canAdmin",
+    path: "/department",
+    component: "./DepartmentManage",
   },
-  { path: '*', layout: false, component: './404' },
+  { path: "*", layout: false, component: "./404" },
 ];

--
Gitblit v1.9.1