mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-12-01 06:30:49 +00:00
77 lines
1.8 KiB
JavaScript
Vendored
77 lines
1.8 KiB
JavaScript
Vendored
const list = [
|
|
{
|
|
path: "/Login",
|
|
name: "Login",
|
|
component: () => import("../views/Login.vue"),
|
|
},
|
|
{
|
|
path: "/",
|
|
component: () => import("../views/index.vue"),
|
|
children: [
|
|
{
|
|
path: "GOODS_LIST",
|
|
name: "商品列表",
|
|
component: () => import("../views/yingyeting/yingyeting.vue"),
|
|
meta: {
|
|
keepAlive: true,
|
|
},
|
|
},
|
|
{
|
|
path: "GOODS_TYPE",
|
|
name: "商品种类",
|
|
component: () => import("../views/home/home.vue"),
|
|
},
|
|
{
|
|
path: "GOODS_BRAND",
|
|
name: "商品品牌",
|
|
component: () => import("../views/brand/brand.vue"),
|
|
},
|
|
{
|
|
path: "SHOP_MANAGE",
|
|
name: "店铺管理",
|
|
component: () => import("../views/store/store.vue"),
|
|
},
|
|
{
|
|
path: "USER_MANAGE",
|
|
name: "用户管理",
|
|
component: () => import("../views/users/users.vue"),
|
|
},
|
|
{
|
|
path: "ROLE_MANAGE",
|
|
name: "角色管理",
|
|
component: () => import("../views/system/role.vue"),
|
|
},
|
|
{
|
|
path: "PERMISSION_MANAGE",
|
|
name: "权限管理",
|
|
component: () => import("../views/system/authority.vue"),
|
|
},
|
|
{
|
|
path: "SYSTEM_LOG",
|
|
name: "系统日志",
|
|
component: () => import("../views/shuju/shuju.vue"),
|
|
},
|
|
{
|
|
path: "GOODS_LOG",
|
|
name: "商品记录",
|
|
component: () => import("../views/shuju/record.vue"),
|
|
},
|
|
{
|
|
path: "ADDGOODS",
|
|
name: "新建商品",
|
|
component: () => import("../views/yingyeting/addgoods/addgoods.vue"),
|
|
},
|
|
{
|
|
path: "/",
|
|
redirect: "GOODS_LIST",
|
|
},
|
|
],
|
|
},
|
|
// {
|
|
// path: "/",
|
|
// redirect: "/index",
|
|
// },
|
|
];
|
|
|
|
export default list;
|