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/goods/goods.vue"),
                meta: {
                    keepAlive: true,
                },
            },
            {
                path: "ADDGOODS",
                name: "新增商品/规格",
                component: () => import("../views/goods/addgoods/addgoods.vue"),
            },
            {
                path: "EDIT_GOODS",
                name: "修改商品规格",
                component: () => import("../views/goods/editgoods.vue"),
            },
            {
                path: "/",
                redirect: "GOODS_LIST",
            },
            {
                path: "GOODS_TYPE",
                name: "品类管理",
                component: () => import("../views/goodsType/goodsType.vue"),
            },
            {
                path: "GOODS_BRAND",
                name: "商品品牌",
                component: () => import("../views/brand/brand.vue"),
            },
            {
                path: "GOODS_SKU_LOCATION",
                name: "商品货架",
                component: () => import("../views/goods/location.vue"),
            },
            {
                path: "GOODS_COMBINATION",
                name: "组合商品",
                component: () => import("../views/goods/combination.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: "SYSTEM_LOG",
                name: "系统日志",
                component: () => import("../views/logs/logs.vue"),
            },
            {
                path: "GOODS_LOG",
                name: "商品记录",
                component: () => import("../views/logs/record.vue"),
            },
            {
                path: "PLAT_ORDER_LIST",
                name: "订单列表",
                component: () => import("../views/plat/orderList.vue"),
            },
            {
                path: "PLAT_GOODS_LIST",
                name: "货品列表",
                component: () => import("../views/plat/goodsList.vue"),
            },
            {
                path: "PLAT_AFTER_SALE_ORDER_LIST",
                name: "售后单列表",
                component: () => import("../views/plat/afterSaleOrder.vue"),
            },
            {
                path: "GROUP_MANAGEMENT",
                name: "团购管理",
                component: () => import("../views/group/group.vue"),
            },
            {
                path: "GROUP_GOODS_ADD",
                name: "团购商品新增",
                component: () => import("../views/group/addGroup.vue"),
            },
            {
                path: "GROUP_GOODS_EDIT",
                name: "团购商品修改",
                component: () => import("../views/group/editGroup.vue"),
            },
            {
                path: "FACE_SHEET",
                name: "电子面单",
                component: () => import("../views/plat/faceSheet.vue"),
            },
            {
                path: "SALES_REPORT_DATA",
                name: "销售数据",
                component: () => import("../views/dataCenter/salesReport.vue"),
            },
            {
                path: "sale_statistics",
                name: "sku销售统计",
                component: () => import("../views/dataCenter/skuStatistics.vue"),
            },
            {
                path: "spu_sale_statistics",
                name: "品种销售统计",
                component: () => import("../views/dataCenter/spuStatistics.vue"),
            },
            {
                path: "gmv_statistics",
                name: "交易趋势",
                component: () => import("../views/dataCenter/gmvStatistics.vue"),
            },
            {
                path: "loss_record_statistics",
                name: "报损统计",
                component: () => import("../views/dataCenter/lossStatistics.vue"),
            },
            {
                path: "SUPPLIER_MANAGE",
                name: "供应商管理",
                component: () => import("../views/supplyChain/supplier.vue")
            },
            {
                path: "PURCHASE_RECORD",
                name: "商品采购",
                component: () => import("../views/supplyChain/procureLog.vue")
            },
            {
                path: "PURCHASE_RECORD_CHECK",
                name: "质检入库",
                component: () => import("../views/supplyChain/procureCheck.vue")
            },
            {
                path: "LOSS_RECORD",
                name: "仓库报损",
                component: () => import("../views/supplyChain/lossRecord.vue")
            },
            {
                path: "DAILY_STOCK_RECORD",
                name: "库存盘点",
                component: () => import("../views/supplyChain/dailyStock.vue")
            }
        ]
    }
]

export default list
