| | |
| | | component: () => import("@/views/gyEmployee/index"), |
| | | hidden: true, |
| | | }, |
| | | // 客户 |
| | | { |
| | | path: "/GyCustomer", |
| | | component: () => import("@/views/GyCustomer/index"), |
| | | hidden: false, |
| | | }, |
| | | { |
| | | path: "/basic/gy/gyCustomer", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy/gyCustomer", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyCustomer", |
| | | component: () => import("@/views/GyCustomer/index"), |
| | | name: "GyCustomer", |
| | | meta: { title: "客户列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | // 物料 |
| | | { |
| | | path: "/gyMaterial", |
| | | component: () => import("@/views/gyMaterial/GyMaterial"), |
| | | hidden: false, |
| | | }, |
| | | { |
| | | path: "/basic/gy/gyMaterial", |
| | | component: Layout, |
| | | hidden: true, |
| | | redirect: "noredirect", |
| | | meta: { |
| | | breadcrumb: false, // 如果设置为false,则不会在breadcrumb面包屑中显示 |
| | | activeMenu: "/basic/gy/gyMaterial", // 当路由设置了该属性,则会高亮相对应的侧边栏。 |
| | | }, |
| | | children: [ |
| | | { |
| | | path: "/basic/gy/gyMaterial", |
| | | component: () => import("@/views/gyMaterial/GyMaterial"), |
| | | name: "gyMaterial", |
| | | meta: { title: "物料列表", activeMenu: "basic/gy" }, |
| | | }, |
| | | ], |
| | | }, |
| | | |
| | | ]; |
| | | |
| | | // 动态路由,基于用户权限动态去加载 |