| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242 |
- /**
- * 固定导航菜单配置
- * @description 系统的导航菜单固定配置,不再从后端获取
- */
- export function getStaticMenuData() {
- return {
- code: 0,
- msg: null,
- data: [
- {
- id: '1000',
- parentId: '-1',
- weight: 1,
- name: '订单管理',
- path: '/order',
- componentPath: null,
- meta: {
- isLink: '',
- isIframe: false,
- isKeepAlive: false,
- icon: 'iconfont icon-document-record',
- isAffix: false,
- title: '订单管理',
- isHide: false,
- },
- sortOrder: 1,
- menuType: '0',
- permission: null,
- children: [
- {
- id: '1001',
- parentId: '1000',
- weight: 0,
- name: '代收订单',
- path: '/order/payOrder/index',
- componentPath: null,
- meta: {
- isLink: '',
- isIframe: false,
- isKeepAlive: true,
- icon: 'iconfont icon-document-record',
- isAffix: false,
- title: '代收订单',
- isHide: false,
- },
- sortOrder: 1,
- menuType: '0',
- permission: null,
- },
- {
- id: '1002',
- parentId: '1000',
- weight: 0,
- name: '代付订单',
- path: '/order/withdrawOrder/index',
- componentPath: null,
- meta: {
- isLink: '',
- isIframe: false,
- isKeepAlive: true,
- icon: 'iconfont icon-document-record',
- isAffix: false,
- title: '代付订单',
- isHide: false,
- },
- sortOrder: 2,
- menuType: '0',
- permission: null,
- },
- ],
- },
- {
- id: '2000',
- parentId: '-1',
- weight: 1,
- name: '支付配置',
- path: '/payment',
- componentPath: null,
- meta: {
- isLink: '',
- isIframe: false,
- isKeepAlive: false,
- icon: 'iconfont icon-shujuyuanguanli',
- isAffix: false,
- title: '支付配置',
- isHide: false,
- },
- sortOrder: 2,
- menuType: '0',
- permission: null,
- children: [
- {
- id: '2001',
- parentId: '2000',
- weight: 0,
- name: '支付通道',
- path: '/payment/channel/index',
- componentPath: null,
- meta: {
- isLink: '',
- isIframe: false,
- isKeepAlive: true,
- icon: 'iconfont icon-shujuyuanguanli',
- isAffix: false,
- title: '支付通道',
- isHide: false,
- },
- sortOrder: 1,
- menuType: '0',
- permission: null,
- },
- ],
- },
- {
- id: '3000',
- parentId: '-1',
- weight: 1,
- name: '结算管理',
- path: '/settlement',
- componentPath: null,
- meta: {
- isLink: '',
- isIframe: false,
- isKeepAlive: false,
- icon: 'iconfont icon-lingpai',
- isAffix: false,
- title: '结算管理',
- isHide: false,
- },
- sortOrder: 3,
- menuType: '0',
- permission: null,
- children: [
- {
- id: '3001',
- parentId: '3000',
- weight: 0,
- name: '申请结算',
- path: '/settlement/apply/index',
- componentPath: null,
- meta: {
- isLink: '',
- isIframe: false,
- isKeepAlive: false,
- icon: 'iconfont icon-lingpai',
- isAffix: false,
- title: '申请结算',
- isHide: false,
- },
- sortOrder: 1,
- menuType: '0',
- permission: null,
- },
- {
- id: '3002',
- parentId: '3000',
- weight: 0,
- name: '结算记录',
- path: '/settlement/record/index',
- componentPath: null,
- meta: {
- isLink: '',
- isIframe: false,
- isKeepAlive: false,
- icon: 'iconfont icon-lingpai',
- isAffix: false,
- title: '结算记录',
- isHide: false,
- },
- sortOrder: 2,
- menuType: '0',
- permission: null,
- },
- {
- id: '3003',
- parentId: '3000',
- weight: 0,
- name: '资金明细',
- path: '/settlement/fundFlow/index',
- componentPath: null,
- meta: {
- isLink: '',
- isIframe: false,
- isKeepAlive: false,
- icon: 'iconfont icon-lingpai',
- isAffix: false,
- title: '资金明细',
- isHide: false,
- },
- sortOrder: 3,
- menuType: '0',
- permission: null,
- },
- ],
- },
- {
- id: '4000',
- parentId: '-1',
- weight: 1,
- name: '系统设置',
- path: '/settings',
- componentPath: null,
- meta: {
- isLink: '',
- isIframe: false,
- isKeepAlive: false,
- icon: 'iconfont icon-xitongshezhi',
- isAffix: false,
- title: '系统设置',
- isHide: false,
- },
- sortOrder: 4,
- menuType: '0',
- permission: null,
- children: [
- {
- id: '4001',
- parentId: '4000',
- weight: 0,
- name: '安全中心',
- path: '/settings/security/index',
- componentPath: null,
- meta: {
- isLink: '',
- isIframe: false,
- isKeepAlive: false,
- icon: 'iconfont icon-xitongshezhi',
- isAffix: false,
- title: '安全中心',
- isHide: false,
- },
- sortOrder: 0,
- menuType: '0',
- permission: null,
- },
- ],
- },
- ],
- ok: true,
- };
- }
|