686 lines
17 KiB
JavaScript
686 lines
17 KiB
JavaScript
import { getUUID } from "@/utils";
|
|
export default {
|
|
msg: "success",
|
|
menuList: [
|
|
// {
|
|
// "menuId": 999,
|
|
// url: 'http://localhost:8082/',
|
|
// type: 'iframe',
|
|
// // isMicroApp: true,
|
|
// name: '大屏展示',
|
|
// icon: 's-data',
|
|
// "type": 1,
|
|
// },
|
|
// new===
|
|
//放到首页
|
|
// {
|
|
// "menuId": getUUID(),
|
|
// "parentId": 0,
|
|
// "parentName": null,
|
|
// "name": "数据看板",
|
|
// "url": "local-dashboard/dashboard",
|
|
// "perms": "",
|
|
// "type": 1,
|
|
// "elIcon": "el-icon-data-analysis",
|
|
// "orderNum": 0,
|
|
// "open": null,
|
|
// list: []
|
|
// },
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "运营管理",
|
|
url: "operation-management",
|
|
perms: "operation-management",
|
|
type: 0,
|
|
elIcon: "el-icon-s-help",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: [
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "市场列表",
|
|
url: "operation-management/market-list/index",
|
|
perms: "operation-management:market-list:index",
|
|
type: 1,
|
|
elIcon: "el-icon-shopping-cart-full",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "店铺列表",
|
|
url: "operation-management/shop-list/index",
|
|
perms: "operation-management:shop-list:index",
|
|
type: 1,
|
|
elIcon: "el-icon-shopping-cart-full",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "品牌店铺",
|
|
url: "operation-management/brand-store/index",
|
|
perms: "operation-management:brand-store:index",
|
|
type: 1,
|
|
elIcon: "el-icon-shopping-cart-full",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "品牌市场",
|
|
url: "operation-management/brand-market/index",
|
|
perms: "operation-management:brand-market:index",
|
|
type: 1,
|
|
elIcon: "el-icon-shopping-cart-full",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "分销商列表",
|
|
url: "operation-management/distributor/index",
|
|
perms: "operation-management:distributor:index",
|
|
type: 1,
|
|
elIcon: "el-icon-shopping-cart-full",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "商品管理",
|
|
url: "operation-management/commodity/index",
|
|
perms: "operation-management:commodity:index",
|
|
type: 1,
|
|
elIcon: "el-icon-menu",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "总订单管理",
|
|
url: "operation-management/total-order/index",
|
|
perms: "operation-management:total-order:index",
|
|
type: 1,
|
|
elIcon: "el-icon-menu",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: [],
|
|
hideInMenu: true
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "订单管理",
|
|
url: "operation-management/order/index",
|
|
perms: "operation-management:order:index",
|
|
type: 1,
|
|
elIcon: "el-icon-menu",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "订单管理",
|
|
url: "operation-management/brand-order/index",
|
|
perms: "operation-management:brand-order:index",
|
|
type: 1,
|
|
elIcon: "el-icon-menu",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "轮播图管理",
|
|
url: "operation-management/banner/index",
|
|
perms: "operation-management:banner:index",
|
|
type: 1,
|
|
elIcon: "el-icon-menu",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "购物须知管理",
|
|
url: "operation-management/paynotice/index",
|
|
perms: "operation-management:paynotice:index",
|
|
type: 1,
|
|
elIcon: "el-icon-menu",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "公告管理",
|
|
url: "operation-management/notice/index",
|
|
perms: "operation-management:notice:index",
|
|
type: 1,
|
|
elIcon: "el-icon-menu",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
// {
|
|
// menuId: getUUID(),
|
|
// parentId: 0,
|
|
// parentName: null,
|
|
// name: "账号管理",
|
|
// url: "operation-management/accountNumber/index",
|
|
// perms: "operation-management:accountNumber:index",
|
|
// type: 1,
|
|
// elIcon: "el-icon-menu",
|
|
// orderNum: 0,
|
|
// open: null,
|
|
// list: []
|
|
// },
|
|
// {
|
|
// menuId: getUUID(),
|
|
// parentId: 0,
|
|
// parentName: null,
|
|
// name: "角色管理",
|
|
// url: "operation-management/role/index",
|
|
// perms: "operation-management:role:index",
|
|
// type: 1,
|
|
// elIcon: "el-icon-user",
|
|
// orderNum: 0,
|
|
// open: null,
|
|
// list: []
|
|
// }
|
|
]
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "权限管理",
|
|
url: "operation-management/permission",
|
|
perms: "operation-management:permission",
|
|
type: 0,
|
|
elIcon: "el-icon-lock",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: [
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "子经营者管理",
|
|
url: "operation-management/permission/sub-operator/index",
|
|
perms: "operation-management:permission:sub-operator:index",
|
|
type: 1,
|
|
elIcon: "el-icon-user",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "商户账号管理",
|
|
url: "operation-management/permission/merchant-account/index",
|
|
perms: "operation-management:permission:merchant-account:index",
|
|
type: 1,
|
|
elIcon: "el-icon-user-solid",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "数据中心",
|
|
url: "datacenter",
|
|
perms: "datacenter",
|
|
type: 0,
|
|
elIcon: "el-icon-tickets",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: [
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "客户分析",
|
|
url: "datacenter/customer-analysis/index",
|
|
perms: "datacenter:customer-analysis:index",
|
|
type: 1,
|
|
elIcon: "el-icon-user",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "商品分析",
|
|
url: "datacenter/product-analysis/index",
|
|
perms: "datacenter:product-analysis:index",
|
|
type: 1,
|
|
elIcon: "el-icon-data-analysis",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "订单统计分析",
|
|
url: "datacenter/order-analysis/index",
|
|
perms: "datacenter:order-analysis:index",
|
|
type: 1,
|
|
elIcon: "el-icon-shopping-cart-full",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "银行卡管理",
|
|
url: "bank-card/index",
|
|
perms: "bank-card:index",
|
|
type: 0,
|
|
elIcon: "el-icon-picture-outline",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: [],
|
|
hideInMenu: true
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "品牌管理",
|
|
url: "brand",
|
|
perms: "brand",
|
|
type: 0,
|
|
elIcon: "el-icon-money",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: [
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "品牌管理",
|
|
url: "brand/config/index",
|
|
perms: "brand:config:index",
|
|
type: 1,
|
|
elIcon: "el-icon-postcard",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "优惠卷营销工具管理",
|
|
url: "coupon/index",
|
|
perms: "coupon:index",
|
|
type: 0,
|
|
elIcon: "el-icon-document-remove",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "预售营销工具管理",
|
|
url: "presale",
|
|
perms: "presale",
|
|
type: 0,
|
|
elIcon: "el-icon-data-analysis",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: [
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "预售商品",
|
|
url: "presale/products/index",
|
|
perms: "presale:products:index",
|
|
type: 1,
|
|
elIcon: "el-icon-postcard",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "预售订单",
|
|
url: "presale/order/index",
|
|
perms: "presale:order:index",
|
|
type: 1,
|
|
elIcon: "el-icon-postcard",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "等级明细",
|
|
url: "marketing-level/detail",
|
|
perms: "marketing-level:detail",
|
|
type: 1,
|
|
elIcon: "el-icon-user",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: [],
|
|
hideInMenu: true
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "会员营销工具管理",
|
|
url: "marketing",
|
|
perms: "marketing",
|
|
type: 0,
|
|
elIcon: "el-icon-tickets",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: [
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "等级设置",
|
|
url: "marketing/level/index",
|
|
perms: "marketing:level:index",
|
|
type: 1,
|
|
elIcon: "el-icon-user",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "会员列表",
|
|
url: "marketing/user/index",
|
|
perms: "marketing:user:index",
|
|
type: 1,
|
|
elIcon: "el-icon-data-analysis",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
// {
|
|
// menuId: getUUID(),
|
|
// parentId: 0,
|
|
// parentName: null,
|
|
// name: "积分设置",
|
|
// url: "marketing/points-setting/index",
|
|
// perms: "marketing:points-setting:index",
|
|
// type: 1,
|
|
// elIcon: "el-icon-shopping-cart-full",
|
|
// orderNum: 0,
|
|
// open: null,
|
|
// list: []
|
|
// },
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "积分商品",
|
|
url: "marketing/points-mall/index",
|
|
perms: "marketing:points-mall:index",
|
|
type: 1,
|
|
elIcon: "el-icon-shopping-cart-full",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "积分订单",
|
|
url: "marketing/points-order/index",
|
|
perms: "marketing:points-order:index",
|
|
type: 1,
|
|
elIcon: "el-icon-shopping-cart-full",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "代理商",
|
|
url: "agent",
|
|
perms: "agent",
|
|
type: 0,
|
|
elIcon: "el-icon-tickets",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: [
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "数据面板",
|
|
url: "agent/data-panel/index",
|
|
perms: "agent:data-panel:index",
|
|
type: 1,
|
|
elIcon: "el-icon-user",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "品牌管理",
|
|
url: "agent/brand/index",
|
|
perms: "agent:brand:index",
|
|
type: 1,
|
|
elIcon: "el-icon-data-analysis",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "报表",
|
|
url: "agent/report-form/index",
|
|
perms: "agent:report-form:index",
|
|
type: 1,
|
|
elIcon: "el-icon-shopping-cart-full",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "权限管理",
|
|
url: "agent/jurisdiction/index",
|
|
perms: "agent:jurisdiction:index",
|
|
type: 1,
|
|
elIcon: "el-icon-shopping-cart-full",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
}
|
|
],
|
|
hideInMenu: true
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "钱包管理",
|
|
url: "local-course/resources",
|
|
perms: "wallet",
|
|
type: 0,
|
|
elIcon: "el-icon-menu",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: [
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "我的钱包",
|
|
url: "wallet/index",
|
|
perms: "wallet:index",
|
|
type: 1,
|
|
elIcon: "el-icon-menu",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "运费管理",
|
|
url: "ogistics-fare",
|
|
perms: "ogistics-fare",
|
|
type: 0,
|
|
elIcon: "el-icon-money",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: [
|
|
{
|
|
menuId: getUUID(),
|
|
parentId: 0,
|
|
parentName: null,
|
|
name: "运费模板",
|
|
url: "logistics-fare/logistics-template/index",
|
|
perms: "logistics-fare:logistics-template:index",
|
|
type: 1,
|
|
elIcon: "el-icon-postcard",
|
|
orderNum: 0,
|
|
open: null,
|
|
list: []
|
|
}
|
|
]
|
|
}
|
|
// {
|
|
// menuId: getUUID(),
|
|
// parentId: 0,
|
|
// parentName: null,
|
|
// name: "会员管理",
|
|
// url: "member-management",
|
|
// perms: "member-management",
|
|
// type: 0,
|
|
// elIcon: "el-icon-user-solid",
|
|
// orderNum: 0,
|
|
// open: null,
|
|
// list: [
|
|
// {
|
|
// menuId: getUUID(),
|
|
// parentId: 0,
|
|
// parentName: null,
|
|
// name: "等级设置",
|
|
// url: "member-management/level-setting/index",
|
|
// perms: "member-management:level-setting:index",
|
|
// type: 1,
|
|
// elIcon: "el-icon-star-on",
|
|
// orderNum: 0,
|
|
// open: null,
|
|
// list: []
|
|
// }
|
|
// ]
|
|
// },
|
|
// {
|
|
// menuId: getUUID(),
|
|
// parentId: 0,
|
|
// parentName: null,
|
|
// name: "会员列表",
|
|
// url: "member-list",
|
|
// perms: "member-list",
|
|
// type: 0,
|
|
// elIcon: "el-icon-user",
|
|
// orderNum: 0,
|
|
// open: null,
|
|
// list: [
|
|
// {
|
|
// menuId: getUUID(),
|
|
// parentId: 0,
|
|
// parentName: null,
|
|
// name: "会员列表",
|
|
// url: "member-list/member-list/index",
|
|
// perms: "member-list:member-list:index",
|
|
// type: 1,
|
|
// elIcon: "el-icon-user",
|
|
// orderNum: 0,
|
|
// open: null,
|
|
// list: []
|
|
// }
|
|
// ]
|
|
// }
|
|
],
|
|
code: 0,
|
|
permissions: []
|
|
};
|