| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192 |
- const appmenu = {
- url: '/account/menu',
- type: 'get',
- response: {
- code: 200,
- msg: 'success',
- total: 0,
- data: [
- {
- authType: 1,
- sort: 1,
- title: '主页',
- code: 'home',
- url: '/home',
- urlType: 1,
- component: 'views/home/main/index.vue',
- icon: 'g-icon--home-filled',
- },
- {
- authType: 1,
- sort: 2,
- title: '钻石搜索',
- code: 'search',
- url: '/search',
- urlType: 1,
- component: 'Main',
- icon: 'g-icon--search-filled',
- children: [
- {
- authType: 1,
- sort: 1,
- title: '单颗裸钻',
- code: 'search_diamond',
- url: '',
- urlType: 1,
- component: 'views/search/diamond/index.vue',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'search_diamond_details',
- component: 'views/warehousing/goods/components/details/index.vue',
- },
- {
- authType: 3,
- title: '收藏',
- code: 'search_diamond_favorite',
- component: 'views/warehousing/goods/components/favorite/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 2,
- title: '单颗彩钻',
- code: 'search_fancy',
- url: 'fancy',
- urlType: 1,
- component: 'views/search/fancy/index.vue',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'search_fancy_details',
- component: 'views/warehousing/goods/components/details/index.vue',
- },
- {
- authType: 3,
- title: '收藏',
- code: 'search_fancy_favorite',
- component: 'views/warehousing/goods/components/favorite/index.vue',
- },
- ]
- },
- ]
- },
- {
- authType: 1,
- sort: 3,
- title: '钻石首饰',
- code: 'search_jewelry',
- url: '/search/jewelry',
- urlType: 1,
- component: 'views/search/jewelry/index.vue',
- icon: 'g-icon--diamond-filled',
- },
- {
- authType: 1,
- sort: 4,
- title: '挂牌大厅',
- code: 'trade',
- url: '/trade',
- urlType: 1,
- component: 'Main',
- icon: 'g-icon--listing-filled',
- children: [
- {
- authType: 1,
- sort: 1,
- title: '出售大厅',
- code: 'trade_sell',
- url: '',
- urlType: 1,
- component: 'views/trade/sell/index.vue',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'trade_sell_details',
- component: 'views/warehousing/goods/components/details/index.vue',
- },
- {
- authType: 3,
- title: '收藏',
- code: 'trade_sell_favorite',
- component: 'views/warehousing/goods/components/favorite/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 1,
- title: '求购大厅',
- code: 'trade_buy',
- url: 'buy',
- urlType: 1,
- component: 'views/trade/buy/index.vue',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'trade_buy_details',
- component: 'views/trade/buy/components/details/index.vue',
- children: [
- {
- authType: 2,
- title: '摘牌',
- code: 'trade_buy_delisting',
- component: 'views/trade/buy/components/delisting/index.vue',
- className: 'el-button--primary',
- },
- ]
- },
- ]
- },
- {
- authType: 1,
- sort: 1,
- title: '我的出售',
- code: 'trade_sale',
- url: 'sale',
- urlType: 1,
- component: 'views/trade/sale/index.vue',
- children: [
- {
- authType: 3,
- title: '我要出售',
- code: 'trade_sale_add',
- component: 'views/trade/sale/components/add/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '详情',
- code: 'trade_sale_details',
- component: 'views/trade/sale/components/details/index.vue',
- },
- {
- authType: 3,
- title: '撤销',
- code: 'trade_sale_cancel',
- component: 'views/trade/sale/components/cancel/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 1,
- title: '我的求购',
- code: 'trade_purchase',
- url: 'purchase',
- urlType: 1,
- component: 'views/trade/purchase/index.vue',
- children: [
- {
- authType: 3,
- title: '我要求购',
- code: 'trade_purchase_add',
- component: 'views/trade/purchase/components/add/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '详情',
- code: 'trade_purchase_details',
- component: 'views/trade/purchase/components/details/index.vue',
- },
- {
- authType: 3,
- title: '撤销',
- code: 'trade_purchase_cancel',
- component: 'views/trade/purchase/components/cancel/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 1,
- title: '我的摘牌',
- code: 'trade_delisting',
- url: 'delisting',
- urlType: 1,
- component: 'views/trade/delisting/index.vue',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'trade_delisting_details',
- component: 'views/trade/delisting/components/details/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 1,
- title: '我的询价',
- code: 'trade_bargain',
- url: 'bargain',
- urlType: 1,
- component: 'views/trade/bargain/index.vue',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'trade_bargain_details',
- component: 'views/trade/bargain/components/details/index.vue',
- },
- {
- authType: 3,
- title: '撤销',
- code: 'trade_bargain_cancel',
- component: 'views/trade/bargain/components/cancel/index.vue',
- },
- ]
- }
- ]
- },
- {
- authType: 1,
- sort: 5,
- title: '竞价大厅',
- code: 'bidding',
- url: '/bidding',
- urlType: 1,
- component: 'Main',
- icon: 'g-icon--bidding-filled',
- },
- {
- authType: 1,
- sort: 4,
- title: '预售大厅',
- code: 'presale',
- url: '/presale',
- urlType: 1,
- component: 'Main',
- icon: 'g-icon--presale-filled',
- children: [
- {
- authType: 1,
- sort: 1,
- title: '预售大厅',
- code: 'presale_list',
- url: '',
- urlType: 1,
- component: 'views/presale/list/index.vue',
- children: [
- {
- authType: 3,
- title: '认购下单',
- code: 'presale_list_details',
- component: 'views/presale/list/components/details/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 2,
- title: '我的预售',
- code: 'presale_mine',
- url: 'mine',
- urlType: 1,
- component: 'views/presale/mine/index.vue',
- children: [
- {
- authType: 3,
- title: '预售申请',
- code: 'presale_mine_add',
- component: 'views/presale/mine/components/add/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '我的申请',
- code: 'presale_mine_apply',
- component: 'views/presale/mine/components/apply/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '详情',
- code: 'presale_mine_details',
- component: 'views/presale/mine/components/details/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 3,
- title: '我参与的预售',
- code: 'presale_partake',
- url: 'partake',
- urlType: 1,
- component: 'views/presale/partake/index.vue',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'presale_partake_details',
- component: 'views/presale/partake/components/details/index.vue',
- },
- ]
- },
- ]
- },
- {
- authType: 1,
- sort: 5,
- title: '集采交易',
- code: 'centralize',
- url: '/centralize',
- urlType: 1,
- component: 'Main',
- icon: 'g-icon--centralize-filled',
- children: [
- {
- authType: 1,
- sort: 1,
- title: '集采大厅',
- code: 'centralize_list',
- url: '',
- urlType: 1,
- component: 'views/centralize/list/index.vue',
- children: [
- {
- authType: 3,
- title: '采购下单',
- code: 'centralize_list_details',
- component: 'views/centralize/list/components/details/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 2,
- title: '我的集采',
- code: 'centralize_mine',
- url: 'mine',
- urlType: 1,
- component: 'views/centralize/mine/index.vue',
- children: [
- {
- authType: 3,
- title: '集采申请',
- code: 'centralize_mine_add',
- component: 'views/centralize/mine/components/add/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '我的申请',
- code: 'centralize_mine_apply',
- component: 'views/centralize/mine/components/apply/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '详情',
- code: 'centralize_mine_details',
- component: 'views/centralize/mine/components/details/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 3,
- title: '我参与的集采',
- code: 'centralize_partake',
- url: 'partake',
- urlType: 1,
- component: 'views/centralize/partake/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 5,
- title: '我的收藏',
- code: 'favorite',
- url: '/favorite',
- urlType: 1,
- component: 'views/favorite/main/index.vue',
- icon: 'g-icon--favorite-filled',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'favorite_details',
- component: 'views/warehousing/goods/components/details/index.vue',
- },
- {
- authType: 3,
- title: '取消',
- code: 'favorite_cancel',
- component: 'views/favorite/main/components/cancel/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 6,
- title: '订单管理',
- code: 'order',
- url: '/order',
- urlType: 1,
- component: 'Main',
- icon: 'g-icon--order-filled',
- children: [
- {
- authType: 1,
- sort: 1,
- title: '我的买履约',
- code: 'order_buy',
- url: '',
- urlType: 1,
- component: 'views/order/main/index.vue',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'order_buy_details',
- component: 'views/order/main/components/details/index.vue',
- },
- {
- authType: 3,
- title: '手动',
- code: 'order_buy_manual',
- component: 'views/order/main/components/manual/index.vue',
- },
- {
- authType: 3,
- title: '延期',
- code: 'order_buy_delay',
- component: 'views/order/main/components/delay/index.vue',
- },
- {
- authType: 3,
- title: '违约',
- code: 'order_buy_contracted',
- component: 'views/order/main/components/contracted/index.vue',
- },
- {
- authType: 3,
- title: '修改',
- code: 'order_buy_edit',
- component: 'views/order/main/components/edit/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 2,
- title: '我的卖履约',
- code: 'order_sell',
- url: 'sell',
- urlType: 1,
- component: 'views/order/main/index.vue',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'order_sell_details',
- component: 'views/order/main/components/details/index.vue',
- },
- {
- authType: 3,
- title: '手动',
- code: 'order_sell_manual',
- component: 'views/order/main/components/manual/index.vue',
- },
- {
- authType: 3,
- title: '延期',
- code: 'order_sell_delay',
- component: 'views/order/main/components/delay/index.vue',
- },
- {
- authType: 3,
- title: '违约',
- code: 'order_sell_contracted',
- component: 'views/order/main/components/contracted/index.vue',
- },
- {
- authType: 3,
- title: '修改',
- code: 'order_sell_edit',
- component: 'views/order/main/components/edit/index.vue',
- },
- ]
- },
- ]
- },
- {
- authType: 1,
- sort: 7,
- title: '交易服务',
- code: 'customs',
- url: '/customs',
- urlType: 1,
- component: 'Main',
- icon: 'g-icon--trade-filled',
- children: [
- {
- authType: 1,
- sort: 1,
- title: '出境检测',
- code: 'customs_exit',
- url: '',
- urlType: 1,
- component: 'views/customs/exit/index.vue',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'customs_exit_details',
- component: 'views/customs/exit/components/details/index.vue',
- },
- {
- authType: 3,
- title: '提交申请',
- code: 'customs_exit_add',
- component: 'views/customs/exit/components/edit/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '修改',
- code: 'customs_exit_edit',
- component: 'views/customs/exit/components/edit/index.vue',
- },
- {
- authType: 3,
- title: '撤回',
- code: 'customs_exit_cancel',
- component: 'views/customs/exit/components/cancel/index.vue',
- },
- {
- authType: 3,
- title: '下载',
- code: 'customs_exit_download',
- component: 'components/modules/download/index.vue',
- },
- {
- authType: 3,
- title: '确认发货',
- code: 'customs_exit_delivery',
- component: 'views/customs/exit/components/delivery/index.vue',
- },
- {
- authType: 3,
- title: '确认检测结果',
- code: 'customs_exit_check',
- component: 'views/customs/exit/components/check/index.vue',
- },
- {
- authType: 3,
- title: '确认预付款',
- code: 'customs_exit_advance_payment',
- component: 'views/customs/exit/components/advance-payment/index.vue',
- },
- {
- authType: 3,
- title: '确认付款',
- code: 'customs_exit_payment',
- component: 'views/customs/exit/components/payment/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 2,
- title: '保税服务',
- code: 'customs_bonded',
- url: 'bonded',
- urlType: 1,
- component: 'views/customs/bonded/index.vue',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'customs_bonded_details',
- component: 'views/customs/bonded/components/details/index.vue',
- },
- {
- authType: 3,
- title: '上传发货单',
- code: 'customs_bonded_upload_bill',
- component: 'views/customs/bonded/components/upload-bill/index.vue',
- },
- {
- authType: 3,
- title: '下载',
- code: 'customs_bonded_download',
- component: 'components/modules/download/index.vue',
- },
- {
- authType: 3,
- title: '上传盖章单据',
- code: 'customs_bonded_upload_seal',
- component: 'views/customs/bonded/components/upload-seal/index.vue',
- },
- {
- authType: 3,
- title: '确认预付款',
- code: 'customs_bonded_advance_payment',
- component: 'views/customs/bonded/components/advance-payment/index.vue',
- },
- {
- authType: 3,
- title: '确认付款',
- code: 'customs_bonded_payment',
- component: 'views/customs/bonded/components/payment/index.vue',
- },
- ]
- },
- ]
- },
- {
- authType: 1,
- sort: 8,
- title: '保税仓业务',
- code: 'bonded',
- url: '/bonded',
- urlType: 1,
- component: 'Main',
- icon: 'g-icon--bonded-filled',
- children: [
- {
- authType: 1,
- sort: 1,
- title: '进仓管理',
- code: 'bonded_inbound',
- url: '',
- urlType: 1,
- component: 'views/bonded/inbound/index.vue',
- children: [
- {
- authType: 3,
- title: '提交申请',
- code: 'bonded_inbound_apply',
- component: 'views/bonded/inbound/components/apply/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '详情',
- code: 'bonded_inbound_details',
- component: 'views/bonded/inbound/components/details/index.vue',
- },
- {
- authType: 3,
- title: '下载',
- code: 'bonded_inbound_download',
- component: 'components/modules/download/index.vue',
- },
- {
- authType: 3,
- title: '上传',
- code: 'bonded_inbound_upload',
- component: 'views/bonded/components/upload/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 2,
- title: '出仓管理',
- code: 'bonded_outbound',
- url: 'outbound',
- urlType: 1,
- component: 'views/bonded/outbound/index.vue',
- children: [
- {
- authType: 3,
- title: '提交申请',
- code: 'bonded_outbound_apply',
- component: 'views/bonded/outbound/components/apply/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '详情',
- code: 'bonded_outbound_details',
- component: 'views/bonded/outbound/components/details/index.vue',
- },
- {
- authType: 3,
- title: '下载',
- code: 'bonded_outbound_download',
- component: 'components/modules/download/index.vue',
- },
- {
- authType: 3,
- title: '上传',
- code: 'bonded_outbound_upload',
- component: 'views/bonded/components/upload/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 3,
- title: '计费管理',
- code: 'bonded_expense',
- url: 'expense',
- urlType: 1,
- component: 'views/bonded/expense/index.vue',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'bonded_expense_details',
- component: 'views/bonded/expense/components/details/index.vue',
- },
- {
- authType: 3,
- title: '支付',
- code: 'bonded_expense_payment',
- component: 'views/bonded/expense/components/payment/index.vue',
- },
- ]
- }
- ]
- },
- {
- authType: 1,
- sort: 9,
- title: '我的仓储',
- code: 'warehousing',
- url: '/warehousing',
- urlType: 1,
- component: 'Main',
- icon: 'g-icon--warehousing-filled',
- children: [
- {
- authType: 1,
- sort: 1,
- title: '我的库存',
- code: 'warehousing_goods',
- url: '',
- urlType: 1,
- component: 'views/warehousing/goods/index.vue',
- children: [
- {
- authType: 3,
- title: '添加商品',
- code: 'warehousing_goods_add',
- component: 'views/warehousing/goods/components/edit/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '商品上架',
- code: 'warehousing_goods_sell',
- component: 'views/warehousing/goods/components/edit/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '详情',
- code: 'warehousing_goods_details',
- component: 'views/warehousing/goods/components/details/index.vue',
- },
- {
- authType: 3,
- title: '上架',
- code: 'warehousing_goods_put',
- component: 'views/warehousing/goods/components/put/index.vue',
- },
- {
- authType: 3,
- title: '下架',
- code: 'warehousing_goods_pull',
- component: 'views/warehousing/goods/components/pull/index.vue',
- },
- {
- authType: 3,
- title: '删除',
- code: 'warehousing_goods_delete',
- component: 'views/warehousing/goods/components/delete/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 1,
- title: '我的仓库',
- code: 'warehousing_warehouse',
- url: 'warehouse',
- urlType: 1,
- component: 'views/warehousing/warehouse/index.vue',
- children: [
- {
- authType: 3,
- title: '新增仓库',
- code: 'warehousing_warehouse_add',
- component: 'views/warehousing/warehouse/components/edit/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '修改',
- code: 'warehousing_warehouse_edit',
- component: 'views/warehousing/warehouse/components/edit/index.vue',
- }
- ]
- },
- ]
- },
- {
- authType: 1,
- sort: 10,
- title: '会员中心',
- code: 'mine',
- url: '/mine',
- urlType: 1,
- component: 'Main',
- icon: 'g-icon--member-filled',
- children: [
- {
- authType: 1,
- sort: 1,
- title: '会员信息',
- code: 'mine_profile',
- url: '',
- urlType: 1,
- component: 'views/mine/profile/index.vue',
- children: [
- {
- authType: 3,
- title: '签约',
- code: 'mine_profile_sign',
- component: 'views/mine/profile/components/sign/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '解约',
- code: 'mine_profile_rescind',
- component: 'views/mine/profile/components/rescind/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '修改登录密码',
- code: 'mine_profile_loginpassword',
- component: 'views/mine/profile/components/password/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '修改资金密码',
- code: 'mine_profile_accountpassword',
- component: 'views/mine/profile/components/password/index.vue',
- className: 'el-button--primary',
- hidden: true,
- }
- ]
- },
- {
- authType: 1,
- sort: 2,
- title: '我的出入金',
- code: 'mine_bank',
- url: 'bank',
- urlType: 1,
- component: 'views/mine/bank/index.vue',
- children: [
- {
- authType: 3,
- title: '入金申请',
- code: 'bank_deposit',
- component: 'views/mine/bank/components/deposit/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '出金申请',
- code: 'bank_withdraw',
- component: 'views/mine/bank/components/withdraw/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '撤销',
- code: 'bank_cancel',
- component: 'views/mine/bank/components/cancel/index.vue',
- }
- ]
- },
- {
- authType: 1,
- sort: 3,
- title: '我的地址',
- code: 'mine_address',
- url: 'address',
- urlType: 1,
- component: 'views/mine/address/index.vue',
- children: [
- {
- authType: 3,
- title: '新增地址',
- code: 'mine_address_add',
- component: 'views/mine/address/components/edit/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '修改',
- code: 'mine_address_edit',
- component: 'views/mine/address/components/edit/index.vue',
- },
- {
- authType: 3,
- title: '默认',
- code: 'mine_address_default',
- component: 'views/mine/address/components/default/index.vue',
- },
- {
- authType: 3,
- title: '删除',
- code: 'mine_address_delete',
- component: 'views/mine/address/components/delete/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 4,
- title: '我的发票',
- code: 'mine_invoice',
- url: 'invoice',
- urlType: 1,
- component: 'views/mine/invoice/index.vue',
- children: [
- {
- authType: 3,
- title: '新增发票',
- code: 'mine_invoice_add',
- component: 'views/mine/invoice/components/edit/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '修改',
- code: 'mine_invoice_edit',
- component: 'views/mine/invoice/components/edit/index.vue',
- },
- {
- authType: 3,
- title: '删除',
- code: 'mine_invoice_delete',
- component: 'views/mine/invoice/components/delete/index.vue',
- }
- ]
- },
- ]
- },
- {
- authType: 1,
- sort: 11,
- title: '报表',
- code: 'report',
- url: '/report',
- urlType: 1,
- component: 'Main',
- icon: 'g-icon--chart-filled',
- children: [
- {
- authType: 1,
- sort: 1,
- title: '会员报表',
- code: 'report_member',
- url: '',
- urlType: 1,
- component: 'views/report/member/index.vue',
- },
- {
- authType: 1,
- sort: 2,
- title: '仓储报表',
- code: 'report_warehousing',
- url: 'warehousing',
- urlType: 1,
- component: 'views/report/warehousing/index.vue',
- },
- {
- authType: 1,
- sort: 3,
- title: '交易报表',
- code: 'report_trade',
- url: 'trade',
- urlType: 1,
- component: 'views/report/trade/index.vue',
- },
- ]
- },
- {
- authType: 1,
- sort: 12,
- title: '询价消息',
- code: 'bargain',
- url: '/bargain',
- urlType: 1,
- component: 'Main',
- icon: 'Comment',
- hidden: true,
- children: [
- {
- authType: 1,
- sort: 1,
- title: '买方询价',
- code: 'bargain_buy',
- url: '',
- urlType: 1,
- component: 'views/bargain/buy/index.vue',
- children: [
- {
- authType: 3,
- title: '同意',
- code: 'bargain_buy_agree',
- component: 'views/bargain/buy/components/audit/index.vue',
- },
- {
- authType: 3,
- title: '拒绝',
- code: 'bargain_buy_refuse',
- component: 'views/bargain/buy/components/audit/index.vue',
- }
- ]
- },
- {
- authType: 1,
- sort: 1,
- title: '卖方询价',
- code: 'bargain_sell',
- url: 'sell',
- urlType: 1,
- component: 'views/bargain/sell/index.vue',
- children: [
- {
- authType: 3,
- title: '详情',
- code: 'bargain_sell_details',
- component: 'views/warehousing/goods/components/details/index.vue',
- },
- {
- authType: 3,
- title: '同意',
- code: 'bargain_sell_agree',
- component: 'views/bargain/sell/components/audit/index.vue',
- },
- {
- authType: 3,
- title: '拒绝',
- code: 'bargain_sell_refuse',
- component: 'views/bargain/sell/components/audit/index.vue',
- }
- ]
- }
- ]
- },
- {
- authType: 1,
- sort: 13,
- title: '帮助支持',
- code: 'help',
- url: '/help',
- urlType: 1,
- component: 'views/help/main/index.vue',
- icon: 'g-icon--help-filled',
- },
- {
- authType: 1,
- sort: 14,
- title: '系统管理',
- code: 'system',
- url: '/system',
- urlType: 1,
- component: 'Main',
- icon: 'Setting',
- hidden: true,
- children: [
- {
- authType: 1,
- sort: 1,
- title: '菜单管理',
- code: 'system_menu',
- url: '',
- urlType: 1,
- component: 'views/system/menu/index.vue',
- children: [
- {
- authType: 3,
- title: '新增',
- code: 'system_menu_add',
- icon: 'Plus',
- component: 'views/system/menu/components/edit/index.vue',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '编辑',
- code: 'system_menu_edit',
- icon: 'Edit',
- component: 'views/system/menu/components/edit/index.vue',
- },
- {
- authType: 3,
- title: '删除',
- code: 'system_menu_delete',
- icon: 'Delete',
- }
- ]
- },
- {
- authType: 1,
- sort: 1,
- title: '角色管理',
- code: 'system_role',
- url: 'role',
- urlType: 1,
- component: 'views/system/role/index.vue',
- children: [
- {
- authType: 3,
- title: '新增',
- code: 'system_role_add',
- icon: 'Plus',
- className: 'el-button--primary',
- },
- {
- authType: 3,
- title: '权限',
- code: 'system_role_auth',
- icon: 'Lock',
- component: 'views/system/role/components/auth/index.vue',
- },
- {
- authType: 3,
- title: '编辑',
- code: 'system_role_edit',
- icon: 'Edit',
- },
- {
- authType: 3,
- title: '删除',
- code: 'system_role_delete',
- icon: 'Delete',
- }
- ]
- },
- ]
- },
- ]
- }
- };
- export default [
- appmenu,
- ]
|