|
@@ -1,1146 +0,0 @@
|
|
|
-/**
|
|
|
- * 管理后台本地数据
|
|
|
- */
|
|
|
-
|
|
|
-// 系统初始化数据
|
|
|
-const initData = {
|
|
|
- error: 0,
|
|
|
- msg: '获取成功',
|
|
|
- data: {
|
|
|
- name: 'bandhuBuy',
|
|
|
- logo: '/static/img/logo.png',
|
|
|
- domainurl: 'https://mall-oss.trust-will.com',
|
|
|
- filesystem: 'aliyun',
|
|
|
- version: '1.0.0',
|
|
|
- sheep_version: 'v1.4.1',
|
|
|
- is_pro: true,
|
|
|
- },
|
|
|
-};
|
|
|
-
|
|
|
-// 登录配置数据
|
|
|
-const loginConfigData = {
|
|
|
- error: 0,
|
|
|
- msg: '获取成功',
|
|
|
- data: {
|
|
|
- background: '/storage/default/20250227/8fdd538e05f5ad15402f5a66fe595621.jpg',
|
|
|
- mode: 'none',
|
|
|
- },
|
|
|
-};
|
|
|
-
|
|
|
-// 菜单权限数据 - 改造为二级结构
|
|
|
-const menuRulesData = {
|
|
|
- error: 0,
|
|
|
- msg: '获取成功',
|
|
|
- data: {
|
|
|
- menu: [
|
|
|
- {
|
|
|
- type_text: '菜单',
|
|
|
- status_text: '显示',
|
|
|
- id: 1,
|
|
|
- parent_id: 0,
|
|
|
- name: 'admin',
|
|
|
- title: '系统管理',
|
|
|
- type: 'menu',
|
|
|
- icon: '/static/img/admin/access/system.png',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- children: [
|
|
|
- {
|
|
|
- type_text: '菜单',
|
|
|
- status_text: '显示',
|
|
|
- id: 2,
|
|
|
- parent_id: 1,
|
|
|
- name: 'admin.config',
|
|
|
- title: '系统设置',
|
|
|
- type: 'menu',
|
|
|
- icon: 'sa-config',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- children: [
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 3,
|
|
|
- parent_id: 2,
|
|
|
- name: 'admin.config.basic',
|
|
|
- title: '基础配置',
|
|
|
- type: 'page',
|
|
|
- icon: 'sa-config-basic',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 8,
|
|
|
- parent_id: 2,
|
|
|
- name: 'file.admin.config',
|
|
|
- title: '附件配置',
|
|
|
- type: 'page',
|
|
|
- icon: 'sa-config-filesystem',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 10,
|
|
|
- parent_id: 2,
|
|
|
- name: 'admin.config.easysms',
|
|
|
- title: '短信配置',
|
|
|
- type: 'page',
|
|
|
- icon: 'sa-config-easysms',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '菜单',
|
|
|
- status_text: '显示',
|
|
|
- id: 12,
|
|
|
- parent_id: 1,
|
|
|
- name: 'admin.notification.config',
|
|
|
- title: '通知设置',
|
|
|
- type: 'menu',
|
|
|
- icon: 'sa-Notification01',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '菜单',
|
|
|
- status_text: '显示',
|
|
|
- id: 18,
|
|
|
- parent_id: 1,
|
|
|
- name: 'admin.auth',
|
|
|
- title: '权限设置',
|
|
|
- type: 'menu',
|
|
|
- icon: 'sa-auth',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- children: [
|
|
|
- {
|
|
|
- type_text: '菜单',
|
|
|
- status_text: '显示',
|
|
|
- id: 19,
|
|
|
- parent_id: 18,
|
|
|
- name: 'admin.auth.adminlog',
|
|
|
- title: '操作记录',
|
|
|
- type: 'menu',
|
|
|
- icon: 'sa-auth-adminlog',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 21,
|
|
|
- parent_id: 18,
|
|
|
- name: 'admin.auth.access',
|
|
|
- title: '菜单权限',
|
|
|
- type: 'page',
|
|
|
- icon: 'sa-auth-access',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 27,
|
|
|
- parent_id: 18,
|
|
|
- name: 'admin.auth.role',
|
|
|
- title: '角色组',
|
|
|
- type: 'page',
|
|
|
- icon: 'sa-auth-role',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 33,
|
|
|
- parent_id: 18,
|
|
|
- name: 'admin.auth.admin',
|
|
|
- title: '管理员',
|
|
|
- type: 'page',
|
|
|
- icon: 'sa-auth-admin',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
-
|
|
|
- {
|
|
|
- type_text: '菜单',
|
|
|
- status_text: '显示',
|
|
|
- id: 89,
|
|
|
- parent_id: 0,
|
|
|
- name: 'shop.admin',
|
|
|
- title: '商城',
|
|
|
- type: 'menu',
|
|
|
- icon: '/static/img/shop/logo.png',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- children: [
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 90,
|
|
|
- parent_id: 89,
|
|
|
- name: 'shop.admin.dashboard',
|
|
|
- title: '总览',
|
|
|
- type: 'page',
|
|
|
- icon: 'sa-home_line',
|
|
|
- params: '',
|
|
|
- weigh: 10,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '菜单',
|
|
|
- status_text: '显示',
|
|
|
- id: 758,
|
|
|
- parent_id: 89,
|
|
|
- name: 'shop.admin.pc',
|
|
|
- title: 'PC',
|
|
|
- type: 'menu',
|
|
|
- icon: 'sa-shop_line',
|
|
|
- params: '',
|
|
|
- weigh: 1,
|
|
|
- status: 'show',
|
|
|
- children: [
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 759,
|
|
|
- parent_id: 758,
|
|
|
- name: 'shop.admin.pc.decorate',
|
|
|
- title: '首页装修',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '菜单',
|
|
|
- status_text: '显示',
|
|
|
- id: 94,
|
|
|
- parent_id: 89,
|
|
|
- name: 'shop.admin.decorate',
|
|
|
- title: '装修',
|
|
|
- type: 'menu',
|
|
|
- icon: 'sa-shop_line',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- children: [
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 95,
|
|
|
- parent_id: 94,
|
|
|
- name: 'shop.admin.decorate.template',
|
|
|
- title: '模板管理',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 109,
|
|
|
- parent_id: 94,
|
|
|
- name: 'shop.admin.decorate.designer',
|
|
|
- title: '设计师模板',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '菜单',
|
|
|
- status_text: '显示',
|
|
|
- id: 112,
|
|
|
- parent_id: 89,
|
|
|
- name: 'shop.admin.goods',
|
|
|
- title: '商品',
|
|
|
- type: 'menu',
|
|
|
- icon: 'sa-bag_line',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- children: [
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 113,
|
|
|
- parent_id: 112,
|
|
|
- name: 'shop.admin.goods.goods',
|
|
|
- title: '商品库',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 5,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 125,
|
|
|
- parent_id: 112,
|
|
|
- name: 'shop.admin.category',
|
|
|
- title: '商品分类',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 4,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 765,
|
|
|
- parent_id: 112,
|
|
|
- name: 'shop.admin.category',
|
|
|
- title: '商品标签',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 3,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 131,
|
|
|
- parent_id: 112,
|
|
|
- name: 'shop.admin.goods.comment',
|
|
|
- title: '评价管理',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 2,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 141,
|
|
|
- parent_id: 112,
|
|
|
- name: 'shop.admin.goods.service',
|
|
|
- title: '服务保障',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 2,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 147,
|
|
|
- parent_id: 112,
|
|
|
- name: 'shop.admin.goods.stockwarning',
|
|
|
- title: '库存预警',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 2,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 151,
|
|
|
- parent_id: 112,
|
|
|
- name: 'shop.admin.goods.stocklog',
|
|
|
- title: '补货记录',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 2,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 734,
|
|
|
- parent_id: 112,
|
|
|
- name: 'shop.admin.goods.pricerule',
|
|
|
- title: '定价规则',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 2,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 746,
|
|
|
- parent_id: 112,
|
|
|
- name: 'shop.admin.goods.lmsparegoods',
|
|
|
- title: '业务库',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 1,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 740,
|
|
|
- parent_id: 112,
|
|
|
- name: 'shop.admin.goods.lmgoods',
|
|
|
- title: 'LM选品库',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 771,
|
|
|
- parent_id: 112,
|
|
|
- name: 'shop.admin.goods.zkhgoods',
|
|
|
- title: '震坤行选品库',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '菜单',
|
|
|
- status_text: '显示',
|
|
|
- id: 153,
|
|
|
- parent_id: 89,
|
|
|
- name: 'shop.admin.order',
|
|
|
- title: '订单',
|
|
|
- type: 'menu',
|
|
|
- icon: 'sa-order_line',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- children: [
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 154,
|
|
|
- parent_id: 153,
|
|
|
- name: 'shop.admin.order.order',
|
|
|
- title: '订单管理',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '菜单',
|
|
|
- status_text: '显示',
|
|
|
- id: 171,
|
|
|
- parent_id: 153,
|
|
|
- name: 'shop.admin.order.aftersale',
|
|
|
- title: '售后管理',
|
|
|
- type: 'menu',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 178,
|
|
|
- parent_id: 153,
|
|
|
- name: 'shop.admin.trade.order',
|
|
|
- title: '充值订单',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 182,
|
|
|
- parent_id: 153,
|
|
|
- name: 'shop.admin.order.invoice',
|
|
|
- title: '订单发票',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 185,
|
|
|
- parent_id: 89,
|
|
|
- name: 'shop.admin.activity.activity',
|
|
|
- title: '活动',
|
|
|
- type: 'page',
|
|
|
- icon: 'sa-marketing_line',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '菜单',
|
|
|
- status_text: '显示',
|
|
|
- id: 235,
|
|
|
- parent_id: 89,
|
|
|
- name: 'shop.admin.commission',
|
|
|
- title: '分销',
|
|
|
- type: 'menu',
|
|
|
- icon: 'sa-distribution_line',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- children: [
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 236,
|
|
|
- parent_id: 235,
|
|
|
- name: 'shop.admin.commission.agent',
|
|
|
- title: '分销商',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 242,
|
|
|
- parent_id: 235,
|
|
|
- name: 'shop.admin.commission.level',
|
|
|
- title: '分销商等级',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 248,
|
|
|
- parent_id: 235,
|
|
|
- name: 'shop.admin.commission.order',
|
|
|
- title: '分销订单',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 254,
|
|
|
- parent_id: 235,
|
|
|
- name: 'shop.admin.commission.log',
|
|
|
- title: '分销动态',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 256,
|
|
|
- parent_id: 235,
|
|
|
- name: 'shop.admin.commission.reward',
|
|
|
- title: '佣金明细',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 258,
|
|
|
- parent_id: 235,
|
|
|
- name: 'shop.admin.commission.goods',
|
|
|
- title: '分销商品',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '菜单',
|
|
|
- status_text: '显示',
|
|
|
- id: 262,
|
|
|
- parent_id: 89,
|
|
|
- name: 'shop.admin.data',
|
|
|
- title: '数据',
|
|
|
- type: 'menu',
|
|
|
- icon: 'sa-graph_line',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- children: [
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 263,
|
|
|
- parent_id: 262,
|
|
|
- name: 'shop.admin.data.page',
|
|
|
- title: '页面链接',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 269,
|
|
|
- parent_id: 262,
|
|
|
- name: 'shop.admin.data.richtext',
|
|
|
- title: '富文本',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 275,
|
|
|
- parent_id: 262,
|
|
|
- name: 'shop.admin.data.area',
|
|
|
- title: '省市区',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 281,
|
|
|
- parent_id: 262,
|
|
|
- name: 'shop.admin.data.faq',
|
|
|
- title: '常见问题',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 287,
|
|
|
- parent_id: 262,
|
|
|
- name: 'shop.admin.data.express',
|
|
|
- title: '快递公司',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 293,
|
|
|
- parent_id: 262,
|
|
|
- name: 'shop.admin.data.fakeuser',
|
|
|
- title: '虚拟用户',
|
|
|
- type: 'page',
|
|
|
- icon: '',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 300,
|
|
|
- parent_id: 89,
|
|
|
- name: 'shop.admin.feedback',
|
|
|
- title: '反馈',
|
|
|
- type: 'page',
|
|
|
- icon: 'sa-message_line',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 305,
|
|
|
- parent_id: 89,
|
|
|
- name: 'shop.admin.dispatch',
|
|
|
- title: '配送',
|
|
|
- type: 'page',
|
|
|
- icon: 'sa-box_line',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 311,
|
|
|
- parent_id: 89,
|
|
|
- name: 'shop.admin.config',
|
|
|
- title: '配置',
|
|
|
- type: 'page',
|
|
|
- icon: 'sa-slider_line',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 329,
|
|
|
- parent_id: 89,
|
|
|
- name: 'shop.admin.withdraw',
|
|
|
- title: '提现',
|
|
|
- type: 'page',
|
|
|
- icon: 'sa-cny_line',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 333,
|
|
|
- parent_id: 0,
|
|
|
- name: 'file.admin',
|
|
|
- title: '文件管理',
|
|
|
- type: 'page',
|
|
|
- icon: '/static/img/admin/access/file.png',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- {
|
|
|
- type_text: '页面',
|
|
|
- status_text: '显示',
|
|
|
- id: 345,
|
|
|
- parent_id: 0,
|
|
|
- name: 'user.admin',
|
|
|
- title: '会员管理',
|
|
|
- type: 'page',
|
|
|
- icon: '/static/img/admin/access/user.png',
|
|
|
- params: '',
|
|
|
- weigh: 0,
|
|
|
- status: 'show',
|
|
|
- },
|
|
|
- ],
|
|
|
- permission: [
|
|
|
- 'shop.admin.dashboard',
|
|
|
- 'shop.admin.goods.goods',
|
|
|
- 'shop.admin.category',
|
|
|
- 'shop.admin.category',
|
|
|
- 'shop.admin.goods.comment',
|
|
|
- 'shop.admin.goods.service',
|
|
|
- 'shop.admin.goods.stockwarning',
|
|
|
- 'shop.admin.goods.stocklog',
|
|
|
- 'shop.admin.goods.pricerule',
|
|
|
- 'shop.admin.goods.lmsparegoods',
|
|
|
- 'admin.config.basic',
|
|
|
- 'admin.config.basic.site',
|
|
|
- 'admin.config.basic.login',
|
|
|
- 'admin.config.basic.user',
|
|
|
- 'admin.config.basic.mail',
|
|
|
- 'file.admin.config',
|
|
|
- 'file.admin.config.filesystem',
|
|
|
- 'admin.config.easysms',
|
|
|
- 'admin.config.easysms.index',
|
|
|
- 'admin.notification.config.list',
|
|
|
- 'admin.notification.config.detail',
|
|
|
- 'admin.notification.config.edit',
|
|
|
- 'admin.notification.config.setstatus',
|
|
|
- 'admin.notification.config.gettemplateid',
|
|
|
- 'admin.auth.adminlog.list',
|
|
|
- 'admin.auth.access',
|
|
|
- 'admin.auth.access.list',
|
|
|
- 'admin.auth.access.detail',
|
|
|
- 'admin.auth.access.add',
|
|
|
- 'admin.auth.access.edit',
|
|
|
- 'admin.auth.access.delete',
|
|
|
- 'admin.auth.role',
|
|
|
- 'admin.auth.role.list',
|
|
|
- 'admin.auth.role.detail',
|
|
|
- 'admin.auth.role.add',
|
|
|
- 'admin.auth.role.edit',
|
|
|
- 'admin.auth.role.delete',
|
|
|
- 'admin.auth.admin',
|
|
|
- 'admin.auth.admin.list',
|
|
|
- 'admin.auth.admin.detail',
|
|
|
- 'admin.auth.admin.add',
|
|
|
- 'admin.auth.admin.edit',
|
|
|
- 'admin.auth.admin.delete',
|
|
|
-
|
|
|
- 'shop.admin.dashboard.total',
|
|
|
- 'shop.admin.dashboard.chart',
|
|
|
- 'shop.admin.dashboard.ranking',
|
|
|
- 'shop.admin.decorate.template',
|
|
|
- 'shop.admin.decorate.template.list',
|
|
|
- 'shop.admin.decorate.template.detail',
|
|
|
- 'shop.admin.decorate.template.add',
|
|
|
- 'shop.admin.decorate.template.edit',
|
|
|
- 'shop.admin.decorate.template.delete',
|
|
|
- 'shop.admin.decorate.template.copy',
|
|
|
- 'shop.admin.decorate.page',
|
|
|
- 'shop.admin.decorate.page.detail',
|
|
|
- 'shop.admin.decorate.page.edit',
|
|
|
- 'shop.admin.decorate.template.recyclebin',
|
|
|
- 'shop.admin.decorate.template.status',
|
|
|
- 'shop.admin.decorate.template.restore',
|
|
|
- 'shop.admin.decorate.template.destroy',
|
|
|
- 'shop.admin.decorate.designer',
|
|
|
- 'shop.admin.decorate.designer.list',
|
|
|
- 'shop.admin.decorate.designer.use',
|
|
|
- 'shop.admin.goods.goods.list',
|
|
|
- 'shop.admin.goods.goods.detail',
|
|
|
- 'shop.admin.goods.goods.add',
|
|
|
- 'shop.admin.goods.goods.edit',
|
|
|
- 'shop.admin.goods.goods.delete',
|
|
|
- 'shop.admin.goods.goods.recyclebin',
|
|
|
- 'shop.admin.goods.goods.restore',
|
|
|
- 'shop.admin.goods.goods.destroy',
|
|
|
- 'shop.admin.goods.goods.addstock',
|
|
|
- 'shop.admin.goods.skuprice.list',
|
|
|
- 'shop.admin.goods.skuprice.edit',
|
|
|
- 'shop.admin.category.list',
|
|
|
- 'shop.admin.category.detail',
|
|
|
- 'shop.admin.category.add',
|
|
|
- 'shop.admin.category.edit',
|
|
|
- 'shop.admin.category.delete',
|
|
|
- 'shop.admin.goods.comment.list',
|
|
|
- 'shop.admin.goods.comment.detail',
|
|
|
- 'shop.admin.goods.comment.add',
|
|
|
- 'shop.admin.goods.comment.edit',
|
|
|
- 'shop.admin.goods.comment.delete',
|
|
|
- 'shop.admin.goods.comment.reply',
|
|
|
- 'shop.admin.goods.comment.recyclebin',
|
|
|
- 'shop.admin.goods.comment.restore',
|
|
|
- 'shop.admin.goods.comment.destroy',
|
|
|
- 'shop.admin.goods.service.list',
|
|
|
- 'shop.admin.goods.service.detail',
|
|
|
- 'shop.admin.goods.service.add',
|
|
|
- 'shop.admin.goods.service.edit',
|
|
|
- 'shop.admin.goods.service.delete',
|
|
|
- 'shop.admin.goods.stockwarning.list',
|
|
|
- 'shop.admin.goods.stockwarning.addstock',
|
|
|
- 'shop.admin.goods.stockwarning.recyclebin',
|
|
|
- 'shop.admin.goods.stocklog.list',
|
|
|
- 'shop.admin.order.order',
|
|
|
- 'shop.admin.order.order.list',
|
|
|
- 'shop.admin.order.order.detail',
|
|
|
- 'shop.admin.order.order.action',
|
|
|
- 'shop.admin.order.order.editmemo',
|
|
|
- 'shop.admin.order.order.fullrefund',
|
|
|
- 'shop.admin.order.order.refund',
|
|
|
- 'shop.admin.order.order.applyrefundrefuse',
|
|
|
- 'shop.admin.order.order.export',
|
|
|
- 'shop.admin.order.order.dispatch',
|
|
|
- 'shop.admin.order.order.exportdelivery',
|
|
|
- 'shop.admin.order.order.updateexpress',
|
|
|
- 'shop.admin.order.order.changefee',
|
|
|
- 'shop.admin.order.order.editconsignee',
|
|
|
- 'shop.admin.order.order.customdispatch',
|
|
|
- 'shop.admin.order.order.offlineconfirm',
|
|
|
- 'shop.admin.order.order.offlinerefuse',
|
|
|
- 'shop.admin.order.aftersale.list',
|
|
|
- 'shop.admin.order.aftersale.detail',
|
|
|
- 'shop.admin.order.aftersale.completed',
|
|
|
- 'shop.admin.order.aftersale.refuse',
|
|
|
- 'shop.admin.order.aftersale.refund',
|
|
|
- 'shop.admin.order.aftersale.addlog',
|
|
|
- 'shop.admin.trade.order',
|
|
|
- 'shop.admin.trade.order.list',
|
|
|
- 'shop.admin.trade.order.detail',
|
|
|
- 'shop.admin.trade.order.export',
|
|
|
- 'shop.admin.order.invoice',
|
|
|
- 'shop.admin.order.invoice.list',
|
|
|
- 'shop.admin.order.invoice.confirm',
|
|
|
- 'shop.admin.activity.activity',
|
|
|
- 'shop.admin.activity.activity.list',
|
|
|
- 'shop.admin.activity.activity.detail',
|
|
|
- 'shop.admin.activity.activity.add',
|
|
|
- 'shop.admin.activity.activity.edit',
|
|
|
- 'shop.admin.activity.activity.delete',
|
|
|
- 'shop.admin.activity.activity.recyclebin',
|
|
|
- 'shop.admin.activity.groupon',
|
|
|
- 'shop.admin.activity.groupon.list',
|
|
|
- 'shop.admin.activity.groupon.detail',
|
|
|
- 'shop.admin.activity.groupon.adduser',
|
|
|
- 'shop.admin.activity.groupon.invalid',
|
|
|
- 'shop.admin.coupon',
|
|
|
- 'shop.admin.coupon.list',
|
|
|
- 'shop.admin.coupon.detail',
|
|
|
- 'shop.admin.coupon.add',
|
|
|
- 'shop.admin.coupon.edit',
|
|
|
- 'shop.admin.coupon.delete',
|
|
|
- 'shop.admin.coupon.recyclebin',
|
|
|
- 'shop.admin.coupon.restore',
|
|
|
- 'shop.admin.coupon.destroy',
|
|
|
- 'shop.admin.user.coupon.couponlist',
|
|
|
- 'shop.admin.app.scoreshop',
|
|
|
- 'shop.admin.app.scoreshop.list',
|
|
|
- 'shop.admin.app.scoreshop.skus',
|
|
|
- 'shop.admin.app.scoreshop.add',
|
|
|
- 'shop.admin.app.scoreshop.edit',
|
|
|
- 'shop.admin.app.scoreshop.delete',
|
|
|
- 'shop.admin.app.scoreshop.recyclebin',
|
|
|
- 'shop.admin.app.scoreshop.restore',
|
|
|
- 'shop.admin.app.scoreshop.destroy',
|
|
|
- 'shop.admin.app.scoreshop.skuprices',
|
|
|
- 'shop.admin.app.mplive',
|
|
|
- 'shop.admin.app.mplive.room',
|
|
|
- 'shop.admin.app.mplive.room.list',
|
|
|
- 'shop.admin.app.mplive.room.detail',
|
|
|
- 'shop.admin.app.mplive.room.add',
|
|
|
- 'shop.admin.app.mplive.room.edit',
|
|
|
- 'shop.admin.app.mplive.room.delete',
|
|
|
- 'shop.admin.app.mplive.room.sync',
|
|
|
- 'shop.admin.app.mplive.room.pushurl',
|
|
|
- 'shop.admin.app.mplive.room.playback',
|
|
|
- 'shop.admin.app.mplive.room.qrcode',
|
|
|
- 'shop.admin.app.mplive.goods',
|
|
|
- 'shop.admin.app.mplive.goods.list',
|
|
|
- 'shop.admin.app.mplive.goods.detail',
|
|
|
- 'shop.admin.app.mplive.goods.add',
|
|
|
- 'shop.admin.app.mplive.goods.edit',
|
|
|
- 'shop.admin.app.mplive.goods.delete',
|
|
|
- 'shop.admin.app.mplive.goods.audit',
|
|
|
- 'shop.admin.commission.agent',
|
|
|
- 'shop.admin.commission.agent.list',
|
|
|
- 'shop.admin.commission.agent.detail',
|
|
|
- 'shop.admin.commission.agent.edit',
|
|
|
- 'shop.admin.commission.agent.team',
|
|
|
- 'shop.admin.commission.agent.changeparentuser',
|
|
|
- 'shop.admin.commission.level',
|
|
|
- 'shop.admin.commission.level.list',
|
|
|
- 'shop.admin.commission.level.detail',
|
|
|
- 'shop.admin.commission.level.add',
|
|
|
- 'shop.admin.commission.level.edit',
|
|
|
- 'shop.admin.commission.level.delete',
|
|
|
- 'shop.admin.commission.order',
|
|
|
- 'shop.admin.commission.order.list',
|
|
|
- 'shop.admin.commission.order.confirm',
|
|
|
- 'shop.admin.commission.order.cancel',
|
|
|
- 'shop.admin.commission.order.back',
|
|
|
- 'shop.admin.commission.order.edit',
|
|
|
- 'shop.admin.commission.log',
|
|
|
- 'shop.admin.commission.log.list',
|
|
|
- 'shop.admin.commission.reward',
|
|
|
- 'shop.admin.commission.reward.list',
|
|
|
- 'shop.admin.commission.goods',
|
|
|
- 'shop.admin.commission.goods.list',
|
|
|
- 'shop.admin.commission.goods.detail',
|
|
|
- 'shop.admin.commission.goods.edit',
|
|
|
- 'shop.admin.data.page',
|
|
|
- 'shop.admin.data.page.list',
|
|
|
- 'shop.admin.data.page.detail',
|
|
|
- 'shop.admin.data.page.add',
|
|
|
- 'shop.admin.data.page.edit',
|
|
|
- 'shop.admin.data.page.delete',
|
|
|
- 'shop.admin.data.richtext',
|
|
|
- 'shop.admin.data.richtext.list',
|
|
|
- 'shop.admin.data.richtext.detail',
|
|
|
- 'shop.admin.data.richtext.add',
|
|
|
- 'shop.admin.data.richtext.edit',
|
|
|
- 'shop.admin.data.richtext.delete',
|
|
|
- 'shop.admin.data.area',
|
|
|
- 'shop.admin.data.area.list',
|
|
|
- 'shop.admin.data.area.detail',
|
|
|
- 'shop.admin.data.area.add',
|
|
|
- 'shop.admin.data.area.edit',
|
|
|
- 'shop.admin.data.area.delete',
|
|
|
- 'shop.admin.data.faq',
|
|
|
- 'shop.admin.data.faq.list',
|
|
|
- 'shop.admin.data.faq.detail',
|
|
|
- 'shop.admin.data.faq.add',
|
|
|
- 'shop.admin.data.faq.edit',
|
|
|
- 'shop.admin.data.faq.delete',
|
|
|
- 'shop.admin.data.express',
|
|
|
- 'shop.admin.data.express.list',
|
|
|
- 'shop.admin.data.express.detail',
|
|
|
- 'shop.admin.data.express.add',
|
|
|
- 'shop.admin.data.express.edit',
|
|
|
- 'shop.admin.data.express.delete',
|
|
|
- 'shop.admin.data.fakeuser',
|
|
|
- 'shop.admin.data.fakeuser.list',
|
|
|
- 'shop.admin.data.fakeuser.detail',
|
|
|
- 'shop.admin.data.fakeuser.add',
|
|
|
- 'shop.admin.data.fakeuser.edit',
|
|
|
- 'shop.admin.data.fakeuser.delete',
|
|
|
- 'shop.admin.data.fakeuser.random',
|
|
|
- 'shop.admin.feedback',
|
|
|
- 'shop.admin.feedback.list',
|
|
|
- 'shop.admin.feedback.detail',
|
|
|
- 'shop.admin.feedback.edit',
|
|
|
- 'shop.admin.feedback.delete',
|
|
|
- 'shop.admin.dispatch',
|
|
|
- 'shop.admin.dispatch.dispatch.list',
|
|
|
- 'shop.admin.dispatch.dispatch.detail',
|
|
|
- 'shop.admin.dispatch.dispatch.add',
|
|
|
- 'shop.admin.dispatch.dispatch.edit',
|
|
|
- 'shop.admin.dispatch.dispatch.delete',
|
|
|
- 'shop.admin.config',
|
|
|
- 'shop.admin.config.basic',
|
|
|
- 'shop.admin.config.platform',
|
|
|
- 'shop.admin.config.platformstatus',
|
|
|
- 'shop.admin.config.order',
|
|
|
- 'shop.admin.config.commission',
|
|
|
- 'shop.admin.payconfig',
|
|
|
- 'shop.admin.payconfig.list',
|
|
|
- 'shop.admin.payconfig.detail',
|
|
|
- 'shop.admin.payconfig.add',
|
|
|
- 'shop.admin.payconfig.edit',
|
|
|
- 'shop.admin.payconfig.delete',
|
|
|
- 'shop.admin.payconfig.recyclebin',
|
|
|
- 'shop.admin.payconfig.restore',
|
|
|
- 'shop.admin.payconfig.destroy',
|
|
|
- 'shop.admin.config.dispatch',
|
|
|
- 'shop.admin.config.rechargewithdraw',
|
|
|
- 'shop.admin.config.goods',
|
|
|
- 'shop.admin.withdraw',
|
|
|
- 'shop.admin.withdraw.list',
|
|
|
- 'shop.admin.withdraw.handle',
|
|
|
- 'shop.admin.withdraw.log',
|
|
|
- 'file.admin',
|
|
|
- 'file.admin.file',
|
|
|
- 'file.admin.file.rename',
|
|
|
- 'file.admin.file.move',
|
|
|
- 'file.admin.file.delete',
|
|
|
- 'file.admin.file.upload',
|
|
|
- 'file.admin.group',
|
|
|
- 'file.admin.group.add',
|
|
|
- 'file.admin.group.edit',
|
|
|
- 'file.admin.group.delete',
|
|
|
- 'admin.profile',
|
|
|
- 'admin.index.update',
|
|
|
- 'user.admin',
|
|
|
- 'user.admin.user.list',
|
|
|
- 'user.admin.user.detail',
|
|
|
- 'user.admin.user.edit',
|
|
|
- 'user.admin.user.delete',
|
|
|
- 'user.admin.user.recharge',
|
|
|
- 'user.admin.walletlog.money',
|
|
|
- 'user.admin.walletlog.score',
|
|
|
- 'user.admin.walletlog.commission',
|
|
|
- 'shop.admin.share.list',
|
|
|
- 'shop.admin.user.coupon.list',
|
|
|
- 'shop.admin.commission.order.export',
|
|
|
- 'shop.admin.commission.reward.export',
|
|
|
- 'shop.admin.coupon.send',
|
|
|
- 'shop.admin.goods.pricerule.list',
|
|
|
- 'shop.admin.goods.pricerule.detail',
|
|
|
- 'shop.admin.goods.pricerule.add',
|
|
|
- 'shop.admin.goods.pricerule.edit',
|
|
|
- 'shop.admin.goods.pricerule.delete',
|
|
|
- 'shop.admin.goods.lmgoods',
|
|
|
- 'shop.admin.goods.lmgoods.list',
|
|
|
- 'shop.admin.goods.lmgoods.add',
|
|
|
- 'shop.admin.goods.lmgoods.edit',
|
|
|
- 'shop.admin.goods.lmgoods.delete',
|
|
|
- 'shop.admin.goods.lmgoods.detail',
|
|
|
- 'shop.admin.goods.lmsparegoods.list',
|
|
|
- 'shop.admin.goods.lmsparegoods.detail',
|
|
|
- 'shop.admin.goods.lmsparegoods.add',
|
|
|
- 'shop.admin.goods.lmsparegoods.edit',
|
|
|
- 'shop.admin.goods.lmsparegoods.delete',
|
|
|
- 'shop.admin.pcbanner',
|
|
|
- 'shop.admin.pcbanner.list',
|
|
|
- 'shop.admin.pcbanner.detail',
|
|
|
- 'shop.admin.pcbanner.add',
|
|
|
- 'shop.admin.pcbanner.edit',
|
|
|
- 'shop.admin.pcbanner.delete',
|
|
|
- 'shop.admin.pc.decorate',
|
|
|
- 'shop.admin.pc.decorate.list',
|
|
|
- 'shop.admin.pc.decorate.detail',
|
|
|
- 'shop.admin.pc.decorate.add',
|
|
|
- 'shop.admin.pc.decorate.edit',
|
|
|
- 'shop.admin.pc.decorate.delete',
|
|
|
- 'shop.admin.category.list',
|
|
|
- 'shop.admin.category.detail',
|
|
|
- 'shop.admin.category.add',
|
|
|
- 'shop.admin.category.edit',
|
|
|
- 'shop.admin.category.delete',
|
|
|
- 'shop.admin.goods.zkhgoods',
|
|
|
- 'shop.admin.goods.zkhgoods.list',
|
|
|
- 'shop.admin.goods.zkhgoods.detail',
|
|
|
- 'shop.admin.goods.zkhgoods.add',
|
|
|
- 'shop.admin.goods.zkhgoods.edit',
|
|
|
- 'shop.admin.goods.zkhgoods.delete',
|
|
|
- ],
|
|
|
- },
|
|
|
-};
|
|
|
-
|
|
|
-export default {
|
|
|
- /**
|
|
|
- * 系统初始化接口
|
|
|
- */
|
|
|
- init: () => initData,
|
|
|
-
|
|
|
- /**
|
|
|
- * 登录配置接口
|
|
|
- */
|
|
|
- loginConfig: () => loginConfigData,
|
|
|
- /**
|
|
|
- * 菜单权限接口
|
|
|
- */
|
|
|
- account: {
|
|
|
- rules: () => menuRulesData,
|
|
|
- },
|
|
|
-};
|