From c4b85acdfce7b6db334faaa4832418a0bcba1719 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期四, 13 十一月 2025 08:24:54 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-VUEUI

---
 src/store/modules/permission.js |   81 ++++++++++++++++++++++++++++++++--------
 1 files changed, 65 insertions(+), 16 deletions(-)

diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js
index 58da41b..c5581f4 100644
--- a/src/store/modules/permission.js
+++ b/src/store/modules/permission.js
@@ -69,7 +69,7 @@
                       title: "閿�鍞嚭搴撳崟缁存姢",
                     },
                     component: () =>
-                      import("@/views/sell/sellOutBill/index.vue"),
+                      import("@/views/sell/sellOut/sellOutBill.vue"),
                     hidden: false,
                     name: "SellOutBill",
                     path: "sellOutBill",
@@ -81,7 +81,8 @@
                       noCache: false,
                       title: "閿�鍞嚭搴撳崟",
                     },
-                    component: () => import('@/views/sell/sellOutBill/edit/index.vue'),
+                    component: () =>
+                      import("@/views/sell/sellOut/sellOutBillEdit.vue"),
                     hidden: false,
                     name: "SellOutBillEdit",
                     path: "sellOutBillEdit",
@@ -108,7 +109,8 @@
                       noCache: false,
                       title: "閿�鍞鍗曠淮鎶�",
                     },
-                    component: () => import("@/views/sell/xsSeOrderBill/xsSeOrderBill.vue"),
+                    component: () =>
+                      import("@/views/sell/xsSeOrderBill/xsSeOrderBill.vue"),
                     hidden: false,
                     name: "XsSeOrderBill",
                     path: "xsSeOrderBill",
@@ -135,7 +137,8 @@
                       noCache: false,
                       title: "鍙戣揣閫氱煡鍗曠淮鎶�",
                     },
-                    component: () => import("@/views/sell/XsSeOutStockBill.vue"),
+                    component: () =>
+                      import("@/views/sell/XsSeOutStockBill.vue"),
                     hidden: false,
                     name: "XsSeOutStockBill",
                     path: "xsSeOutStockBill",
@@ -162,7 +165,8 @@
                       noCache: false,
                       title: "閫�璐ч�氱煡鍗曠淮鎶�",
                     },
-                    component: () => import("@/views/sell/XsSeOutStockBackBillList.vue"),
+                    component: () =>
+                      import("@/views/sell/XsSeOutStockBackBillList.vue"),
                     hidden: false,
                     name: "XsSeOutStockBackBillList",
                     path: "xsSeOutStockBackBillList",
@@ -205,8 +209,7 @@
                       noCache: false,
                       title: "鐢熶骇璧勬枡鍒楄〃",
                     },
-                    component: () =>
-                      import("@/views/basic/gySource/index.vue"),
+                    component: () => import("@/views/basic/gySource/index.vue"),
                     hidden: false,
                     name: "GySource",
                     path: "gySource",
@@ -246,7 +249,8 @@
                       noCache: false,
                       title: "浠撲綅鍒楄〃",
                     },
-                    component: () => import('@/views/basic/gyStockPlace/gyStockPlace.vue'),
+                    component: () =>
+                      import("@/views/basic/gyStockPlace/gyStockPlace.vue"),
                     hidden: false,
                     name: "GyStockPlace",
                     path: "gyStockPlace",
@@ -258,7 +262,8 @@
                       noCache: false,
                       title: "鑱屽憳鍒楄〃",
                     },
-                    component: () => import('@/views/basic/gyEmployee/gyEmployee.vue'),
+                    component: () =>
+                      import("@/views/basic/gyEmployee/gyEmployee.vue"),
                     hidden: false,
                     name: "GyEmployee",
                     path: "gyEmployee",
@@ -301,12 +306,12 @@
                       noCache: false,
                       title: "閲囪喘璁㈠崟鍒楄〃",
                     },
-                    component: () => import("@/views/purchase/cgPoOrderBill/cgPoOrderBill"),
+                    component: () =>
+                      import("@/views/purchase/cgPoOrderBill/cgPoOrderBill"),
                     hidden: false,
                     name: "CgPoOrderBill",
                     path: "cgPoOrderBill",
                   },
-
                 ],
               },
               {
@@ -330,13 +335,59 @@
                       title: "鏀舵枡閫氱煡鍗曞垪琛�",
                     },
                     component: () =>
-                      import("@/views/purchase/cgPoInStockBill/cgPoInStockBill.vue"),
+                      import(
+                        "@/views/purchase/cgPoInStockBill/cgPoInStockBill.vue"
+                      ),
                     hidden: false,
                     name: "CgPoInStockBill",
                     path: "cgPoInStockBill",
                   },
-                ]
-              }
+                ],
+              },
+              {
+                alwaysShow: true,
+                component: "Layout",
+                meta: {
+                  icon: "build",
+                  link: null,
+                  noCache: false,
+                  title: "绯荤粺绠$悊",
+                },
+                hidden: false,
+                name: "System",
+                path: "/system",
+                redirect: "noRedirect",
+                children: [
+                  {
+                    meta: {
+                      icon: "build",
+                      link: null,
+                      noCache: false,
+                      title: "鐢ㄦ埛绠$悊",
+                    },
+                    hidden: false,
+                    name: "User",
+                    path: "user",
+                    redirect: "noRedirect",
+                    component: "Layout",
+                    children: [
+                      {
+                        meta: {
+                          icon: "build",
+                          link: null,
+                          noCache: false,
+                          title: "鐢ㄦ埛鍒楄〃",
+                        },
+                        component: () =>
+                          import("@/views/system/user/xtUserList.vue"),
+                        hidden: false,
+                        name: "XtUserList",
+                        path: "xtUserList",
+                      },
+                    ],
+                  },
+                ],
+              },
             ],
           },
           {
@@ -392,10 +443,8 @@
         router.addRoutes(asyncRoutes);
         commit("SET_ROUTES", rewriteRoutes);
         commit("SET_SIDEBAR_ROUTERS", constantRoutes.concat(sidebarRoutes));
-        commit("SET_SIDEBAR_ROUTERS", constantRoutes.concat(sidebarRoutes));
         commit("SET_DEFAULT_ROUTES", sidebarRoutes);
         commit("SET_TOPBAR_ROUTES", sidebarRoutes);
-        console.log(11, rewriteRoutes);
         resolve(rewriteRoutes);
       });
     },

--
Gitblit v1.9.1