| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033 |
- import Vue from 'vue'
- import Router from 'vue-router'
- import layout from '../views/layout/layout'
- const _import = require('./_import_' + process.env.NODE_ENV)
- if(Router.version >= '3.1.0'){
- const originalPush = Router.prototype.push
- Router.prototype.push = function push(location) {
- return originalPush.call(this, location).catch(err => err)
- }
- }
- Vue.use(Router)
- export const constantRouterMap = [
- {path: '/', redirect: '/login'},
- {path: '/login', component: _import('login/index'), name: 'login'},
- {path: '/modify-password/:adminName', component: _import('login/modify-password'), name: 'modify-password'},
- // { path: '/authredirect', component: _import('login/authredirect'), hidden: true },
- // { path: '/404', component: _import('errorPage/404'), hidden: true },
- // { path: '/401', component: _import('errorPage/401'), hidden: true },
- {
- path: '/dashboard',
- component: layout,
- redirect: '/dashboard/index',
- children: [{
- path: '/dashboard/index',
- component: _import('dashboard/index'),
- name: 'dashboard_index',
- meta: {
- title: 'Dashboard',//控制台
- breadcrumb: [
- {title: 'Dashboard', path: '/dashboard/index'},//首页
- ],
- },
- }]
- },
- {
- path: '/shop',
- component: layout,
- redirect: '/shop/dec-order-list',
- children: [
- {
- path: '/shop/dec-order-list',
- component: _import('shop/dec-order-list'),
- name: 'shop_dec-order-list',
- meta: {
- title: '报单列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '商城管理', path: '/shop/dec-order-list'},
- ],
- },
- },
- {
- path: '/shop/order-list',
- component: _import('shop/order-list'),
- name: 'shop_order-list',
- meta: {
- title: '订单列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '商城管理', path: '/shop/dec-order-list'},
- ],
- },
- },
- {
- path: '/shop/order-shop-list',
- component: _import('shop/order-shop-list'),
- name: 'shop_order_shop-list',
- meta: {
- title: '外部商城订单列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '商城管理', path: '/shop/dec-order-list'},
- ],
- },
- },
- {
- path: '/shop/order-dec-list',
- component: _import('shop/order-dec-list'),
- name: 'shop_order_dec-list',
- meta: {
- title: '外部商城报单列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '商城管理', path: '/shop/dec-order-list'},
- ],
- },
- },
- {
- path: '/shop/order-standard-list',
- component: _import('shop/order-standard-list'),
- name: 'shop_order_standard-list',
- meta: {
- title: '外部商城达标订单列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '商城管理', path: '/shop/dec-order-list'},
- ],
- },
- },
- {
- path: '/shop/package',
- component: _import('shop/package'),
- name: 'shop_package',
- meta: {
- title: 'Kitting products list',//报单套餐列表
- breadcrumb: [
- {title: 'Dashboard', path: '/dashboard/index'},//首页
- {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
- ],
- },
- },
- {
- path: '/shop/package-add',
- component: _import('shop/package-add'),
- name: 'shop_package-add',
- meta: {
- title: 'Add Kitting products',//报单套餐添加
- breadcrumb: [
- {title: 'Dashboard', path: '/dashboard/index'},//首页
- {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
- ],
- },
- },
- {
- path: '/shop/index',
- component: _import('shop/index'),
- name: 'shop_index',
- meta: {
- title: 'Products list',//商品列表
- breadcrumb: [
- {title: 'Dashboard', path: '/dashboard/index'},//首页
- {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
- ],
- },
- },
- {
- path: '/shop/goods-add',
- component: _import('shop/goods-add'),
- name: 'shop_goods-add',
- meta: {
- title: 'Products add',//商品添加
- breadcrumb: [
- {title: 'Dashboard', path: '/dashboard/index'},//首页
- {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
- ],
- },
- },
- ],
- },
- {
- path: '/user',
- component: layout,
- redirect: '/user/index',
- children: [
- {
- path: '/user/index',
- component: _import('user/index'),
- name: 'user_index',
- meta: {
- title: '会员列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/user-add-opt',
- component: _import('user/user-add-opt'),
- name: 'user_user-add-opt',
- meta: {
- title: '空单操作',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/empty-list',
- component: _import('user/empty-list'),
- name: 'user_empty_list',
- meta: {
- title: '空单列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/bind',
- component: _import('user/bind'),
- name: 'user_bind',
- meta: {
- title: '点位绑定',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/bind-add',
- component: _import('user/bind-edit'),
- name: 'user_bind-add',
- meta: {
- title: '添加点位绑定',
- highLight: '/user/bind',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- {title: '点位绑定', path: '/user/bind'},
- ],
- },
- },
- {
- path: '/user/bind-edit/:id',
- component: _import('user/bind-edit'),
- name: 'user_bind-edit',
- meta: {
- title: '编辑点位绑定',
- highLight: '/user/bind',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- {title: '点位绑定', path: '/user/bind'},
- ],
- },
- },
- {
- path: '/user/teamwork',
- component: _import('user/teamwork'),
- name: 'user_teamwork',
- meta: {
- title: '点位合作',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/teamwork-add',
- component: _import('user/teamwork-edit'),
- name: 'user_teamwork-add',
- meta: {
- title: '添加点位合作',
- highLight: '/user/teamwork',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- {title: '点位合作', path: '/user/teamwork'},
- ],
- },
- },
- {
- path: '/user/teamwork-edit/:id',
- component: _import('user/teamwork-edit'),
- name: 'user_teamwork-edit',
- meta: {
- title: '编辑点位合作',
- highLight: '/user/teamwork',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- {title: '点位合作', path: '/user/teamwork'},
- ],
- },
- },
- {
- path: '/user/system',
- component: _import('user/system'),
- name: 'user_system',
- meta: {
- title: '体系管理',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/system-add',
- component: _import('user/system-edit'),
- name: 'user_system-add',
- meta: {
- title: '添加体系',
- highLight: '/user/system',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- {title: '体系管理', path: '/user/system'},
- ],
- },
- },
- {
- path: '/user/system-edit/:id',
- component: _import('user/system-edit'),
- name: 'user_system-edit',
- meta: {
- title: '编辑体系',
- highLight: '/user/system',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- {title: '体系管理', path: '/user/system'},
- ],
- },
- },
- {
- path: '/user/group',
- component: _import('user/group'),
- name: 'user_group',
- meta: {
- title: '团队领导人列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/move',
- component: _import('user/move'),
- name: 'user_move',
- meta: {
- title: '移网管理',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/move-add',
- component: _import('user/move-add'),
- name: 'user_move-add',
- meta: {
- title: '申请移网',
- highLight: '/user/move',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- {title: '移网管理', path: '/user/move'},
- ],
- },
- },
- {
- path: '/user/reg-info',
- component: _import('user/reg-info'),
- name: 'user_reg-info',
- meta: {
- title: '注册信息报表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/reg-info-audit',
- component: _import('user/reg-info-audit'),
- name: 'user_reg-info-audit',
- meta: {
- title: '注册信息审核',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/reg-info-audit-add-opt/:id?',
- component: _import('user/reg-info-audit-add-opt'),
- name: 'user_reg-info-audit-add-opt',
- meta: {
- title: '注册信息添加操作',
- highLight: '/user/reg-info-audit',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- {title: '注册信息审核', path: '/user/reg-info-audit'},
- ],
- },
- },
- {
- path: '/user/status-audit-list',
- component: _import('user/status-audit-list'),
- name: 'user_status-audit-list',
- meta: {
- title: '会员状态管理',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/status-audit-add',
- component: _import('user/status-audit-add'),
- name: 'user_status-audit-add',
- meta: {
- title: '申请修改会员状态',
- highLight: '/user/status-audit-list',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- {title: '会员状态管理', path: '/user/status-audit-list'},
- ],
- },
- },
- {
- path: '/user/status-audit-add/:userName',
- component: _import('user/status-audit-add'),
- name: 'user_status-audit-add-username',
- meta: {
- title: '申请修改会员状态',
- highLight: '/user/status-audit-list',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- {title: '会员状态管理', path: '/user/status-audit-list'},
- ],
- },
- },
- {
- path: '/user/dec-level-list',
- component: _import('user/dec-level-list'),
- name: 'user_dec-level-list',
- meta: {
- title: '会员级别调整列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/change-user-dec-level',
- component: _import('user/change-user-dec-level'),
- name: 'user_change-user-dec-level',
- meta: {
- title: '修改会员级别',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/change-user-dec-role',
- component: _import('user/change-user-dec-role'),
- name: 'user_change-user-dec-role',
- meta: {
- title: '修改报单中心级别',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/year-highest-emp-lv',
- component: _import('user/year-highest-emp-lv'),
- name: 'user_year-highest-emp-lv',
- meta: {
- title: '会员历史年度最高聘级表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- {
- path: '/user/change-show-emp-level',
- component: _import('user/change-show-emp-level'),
- name: 'user_change-show-emp-level',
- meta: {
- title: '修改会员前台显示聘级',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '会员管理', path: '/user/index'},
- ],
- },
- },
- ]
- },
- {
- path: '/atlas',
- component: layout,
- redirect: '/atlas/relation-opt',
- children: [
- {
- path: '/atlas/relation-opt',
- component: _import('atlas/relation-opt'),
- name: 'atlas_relation-opt',
- meta: {
- title: '开拓网络',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '网络图谱', path: '/atlas/relation-opt'},
- ],
- },
- },
- {
- path: '/atlas/network-opt',
- component: _import('atlas/network-opt'),
- name: 'atlas_network-opt',
- meta: {
- title: '安置网络',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '网络图谱', path: '/atlas/relation-opt'},
- ],
- },
- },
- {
- path: '/atlas/network-line-opt',
- component: _import('atlas/network-line-opt'),
- name: 'atlas_network-line-opt',
- meta: {
- title: '安置链路',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '网络图谱', path: '/atlas/relation-opt'},
- ],
- },
- },
- {
- path: '/atlas/emp-user-line',
- component: _import('atlas/emp-user-line'),
- name: 'atlas_emp-user-line',
- meta: {
- title: '聘级网络',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '网络图谱', path: '/atlas/relation-opt'},
- ],
- },
- },
- // {
- // path: '/atlas/emp-user-list',
- // component: _import('atlas/emp-user-list'),
- // name: 'atlas_emp-user-list',
- // meta: {
- // title: '聘级网络列表',
- // breadcrumb: [
- // {title: '首页', path: '/dashboard/index'},
- // {title: '网络图谱', path: '/atlas/relation-opt'},
- // ],
- // },
- // },
- ]
- },
- {
- path: '/reconsume',
- component: layout,
- redirect: '/reconsume/pool-list',
- children: [
- {
- path: '/reconsume/pool-list',
- component: _import('reconsume/pool-list'),
- name: 'reconsume_pool-list',
- meta: {
- title: '复销池余额列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '复销管理', path: '/reconsume/pool-list'},
- ],
- },
- },
- {
- path: '/reconsume/deduct',
- component: _import('reconsume/deduct'),
- name: 'reconsume_deduct',
- meta: {
- title: '手动扣除月复销',
- highLight: '/reconsume/deduct',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '复销管理', path: '/reconsume/pool-list'},
- ],
- },
- },
- {
- path: '/reconsume/change-audit-list',
- component: _import('reconsume/change-audit-list'),
- name: 'reconsume_change-audit-list',
- meta: {
- title: '复销余额调整审核',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '复销管理', path: '/reconsume/pool-list'},
- ],
- },
- },
- {
- path: '/reconsume/change-audit-add/:userName?',
- component: _import('reconsume/change-audit-add'),
- name: 'reconsume_change-audit-add',
- meta: {
- title: '申请调整复销池余额',
- highLight: '/reconsume/change-audit-list',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '复销管理', path: '/reconsume/pool-list'},
- {title: '复销余额调整审核', path: '/reconsume/change-audit-list'},
- ],
- },
- },
- {
- path: '/reconsume/deduct-audit-list',
- component: _import('reconsume/deduct-audit-list'),
- name: 'reconsume_deduct-audit-list',
- meta: {
- title: '扣除复销审核',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '复销管理', path: '/reconsume/pool-list'},
- ],
- },
- },
- {
- path: '/reconsume/deduct-audit-add',
- component: _import('reconsume/deduct-audit-add'),
- name: 'reconsume_deduct-audit-add',
- meta: {
- title: '手动扣除月复销',
- highLight: '/reconsume/deduct-audit-list',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '复销管理', path: '/reconsume/pool-list'},
- ],
- },
- },
- {
- path: '/reconsume/flow-list',
- component: _import('reconsume/flow-list'),
- name: 'reconsume_flow-list',
- meta: {
- title: '复销流水',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '复销管理', path: '/reconsume/pool-list'},
- ],
- },
- },
- ]
- },
- {
- path: '/bonus',
- component: layout,
- redirect: '/bonus/period',
- children: [
- {
- path: '/bonus/period',
- component: _import('bonus/period'),
- name: 'bonus_period',
- meta: {
- title: '封期管理',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/balance-list',
- component: _import('bonus/balance-list'),
- name: 'bonus_balance-list',
- meta: {
- title: '会员奖金余额',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/period-detail/:periodNum',
- component: _import('bonus/period-detail'),
- name: 'bonus_period-detail',
- meta: {
- title: '期奖金明细',
- highLight: '/bonus/period',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- {title: '封期管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/new-period-bonus',
- component: _import('bonus/new-period-bonus'),
- name: 'bonus_new-period-bonus',
- meta: {
- title: '最新奖金',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/other-period-bonus',
- component: _import('bonus/other-period-bonus'),
- name: 'bonus_other-period-bonus',
- meta: {
- title: '往期奖金',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/flow-bonus',
- component: _import('bonus/flow-bonus'),
- name: 'bonus_flow-bonus',
- meta: {
- title: '奖金流水',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- // {
- // path: '/bonus/flow-rp',
- // component: _import('bonus/flow-rp'),
- // name: 'bonus_flow-rp',
- // meta: {
- // title: '复消积分流水',
- // breadcrumb: [
- // {title: '首页', path: '/dashboard/index'},
- // {title: '奖金管理', path: '/bonus/period'},
- // ],
- // },
- // },
- {
- path: '/bonus/flow-lx',
- component: _import('bonus/flow-lx'),
- name: 'bonus_flow-lx',
- meta: {
- title: '领袖分红奖流水',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/cf-lx-audit-list',
- component: _import('bonus/cf-lx-audit-list'),
- name: 'bonus_cf-lx-audit-list',
- meta: {
- title: '年度奖金发放审核',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/cf-lx-apply',
- component: _import('bonus/cf-lx-apply'),
- name: 'bonus_cf-lx-apply',
- meta: {
- title: '申请发放年度奖',
- highLight: '/bonus/cf-lx-audit-list',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- {title: '年度奖金发放审核', path: '/bonus/cf-lx-audit-list'},
- ],
- },
- },
- {
- path: '/bonus/perf',
- component: _import('bonus/perf'),
- name: 'bonus_perf',
- meta: {
- title: '业绩管理',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/calc-qy',
- component: _import('bonus/calc-qy'),
- name: 'bonus_calc-qy',
- meta: {
- title: '区域津贴核算',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/resend-qy-list',
- component: _import('bonus/resend-qy-list'),
- name: 'bonus_resend-qy-list',
- meta: {
- title: '区域津贴补发列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/resend-qy-audit-list',
- component: _import('bonus/resend-qy-audit-list'),
- name: 'bonus_resend-qy-audit-list',
- meta: {
- title: '补发区域津贴审核列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-down-qy',
- component: _import('bonus/trace-down-qy'),
- name: 'bonus_trace-down-qy',
- meta: {
- title: '团队奖向下追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-up-qy',
- component: _import('bonus/trace-up-qy'),
- name: 'bonus_trace-up-qy',
- meta: {
- title: '团队奖向上追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-down-yc',
- component: _import('bonus/trace-down-yc'),
- name: 'bonus_trace-down-yc',
- meta: {
- title: '荣衔奖向下追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-up-yc',
- component: _import('bonus/trace-up-yc'),
- name: 'bonus_trace-up-yc',
- meta: {
- title: '荣衔奖向上追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-down-bd',
- component: _import('bonus/trace-down-bd'),
- name: 'bonus_trace-down-bd',
- meta: {
- title: '报单奖向下追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-up-bd',
- component: _import('bonus/trace-up-bd'),
- name: 'bonus_trace-up-bd',
- meta: {
- title: '报单奖向上追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-down-tg',
- component: _import('bonus/trace-down-tg'),
- name: 'bonus_trace-down-tg',
- meta: {
- title: '推广奖向下追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-up-tg',
- component: _import('bonus/trace-up-tg'),
- name: 'bonus_trace-up-tg',
- meta: {
- title: '推广奖向上追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-down-xf',
- component: _import('bonus/trace-down-xf'),
- name: 'bonus_trace-down-xf',
- meta: {
- title: '消费奖向下追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-up-xf',
- component: _import('bonus/trace-up-xf'),
- name: 'bonus_trace-up-xf',
- meta: {
- title: '消费奖向上追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-down-yj',
- component: _import('bonus/trace-down-yj'),
- name: 'bonus_trace-down-yj',
- meta: {
- title: '业绩奖向下追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-up-yj',
- component: _import('bonus/trace-up-yj'),
- name: 'bonus_trace-up-yj',
- meta: {
- title: '业绩奖向上追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-down-gx',
- component: _import('bonus/trace-down-gx'),
- name: 'bonus_trace-down-gx',
- meta: {
- title: '共享奖向下追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-up-gx',
- component: _import('bonus/trace-up-gx'),
- name: 'bonus_trace-up-gx',
- meta: {
- title: '共享奖向上追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-down-gl',
- component: _import('bonus/trace-down-gl'),
- name: 'bonus_trace-down-gl',
- meta: {
- title: '管理奖向下追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-up-gl',
- component: _import('bonus/trace-up-gl'),
- name: 'bonus_trace-up-gl',
- meta: {
- title: '管理奖向上追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-down-fx',
- component: _import('bonus/trace-down-fx'),
- name: 'bonus_trace-down-fx',
- meta: {
- title: '复销奖向下追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-up-fx',
- component: _import('bonus/trace-up-fx'),
- name: 'bonus_trace-up-fx',
- meta: {
- title: '复销奖向上追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-bt',
- component: _import('bonus/trace-bt'),
- name: 'bonus_trace-bt',
- meta: {
- title: '报单中心补贴追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-fl',
- component: _import('bonus/trace-fl'),
- name: 'bonus_trace-fl',
- meta: {
- title: '报单中心货补追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/trace-fw',
- component: _import('bonus/trace-fw'),
- name: 'bonus_trace-fw',
- meta: {
- title: '区域业绩提成追溯',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/perf-order',
- component: _import('bonus/perf-order'),
- name: 'bonus_perf-order',
- meta: {
- title: '业绩单',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/perf-period-list',
- component: _import('bonus/perf-period-list'),
- name: 'bonus_perf-period-list',
- meta: {
- title: '期业绩',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/perf-month',
- component: _import('bonus/perf-month'),
- name: 'bonus_perf-month',
- meta: {
- title: '月业绩',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/perf-standard',
- component: _import('bonus/perf-standard'),
- name: 'bonus_perf-standard',
- meta: {
- title: '达标业绩',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/score-month',
- component: _import('bonus/score-month'),
- name: 'bonus_score-month',
- meta: {
- title: '月积分',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/real-time-perf',
- component: _import('bonus/real-time-perf'),
- name: 'bonus_real-time-perf',
- meta: {
- title: '会员实时业绩',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/yc-perf',
- component: _import('bonus/yc-perf'),
- name: 'bonus_yc-perf',
- meta: {
- title: '荣衔业绩',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- {
- path: '/bonus/user-perf',
- component: _import('bonus/user-perf'),
- name: 'leo-user-perf-table',
- meta: {
- title: '用户业绩',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '奖金管理', path: '/bonus/period'},
- ],
- },
- },
- ]
- },
- {
- path: '/report',
- component: layout,
- redirect: '/report/dec',
- children: [
- {
- path: '/report/dec',
- component: _import('report/dec'),
- name: 'report_dec',
- meta: {
- title: '报单查询',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '报表管理', path: '/report/dec'},
- ],
- },
- },
- ]
- },
- {
- path: '/finance',
- component: layout,
- redirect: '/finance/balance-audit-list',
- children: [
- {
- path: '/finance/balance-audit-list',
- component: _import('finance/balance-audit-list'),
- name: 'finance_balance-audit-list',
- meta: {
- title: '会员余额调整列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '财务管理', path: '/finance/balance-audit-list'},
- ],
- },
- },
- {
- path: '/finance/change-balance-opt',
- component: _import('finance/change-balance-opt'),
- name: 'finance_change-balance-opt',
- meta: {
- title: '申请调整会员余额',
- highLight: '/finance/balance-audit-list',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '财务管理', path: '/finance/balance-audit-list'},
- {title: '会员余额调整列表', path: '/finance/balance-audit-list'},
- ],
- },
- },
- {
- path: '/finance/dec-list',
- component: _import('finance/dec-list'),
- name: 'finance_dec-list',
- meta: {
- title: '报单订货单列表',
- highLight: '/finance/dec-list',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '财务管理', path: '/finance/balance-audit-list'},
- ],
- },
- },
- {
- path: '/finance/transfer-list',
- component: _import('finance/transfer-list'),
- name: 'finance_transfer-list',
- meta: {
- title: '转账记录列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '财务管理', path: '/finance/balance-audit-list'},
- ],
- },
- },
- {
- path: '/finance/withdraw',
- component: _import('finance/withdraw'),
- name: 'finance_withdraw',
- meta: {
- title: '提现管理',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '提现管理', path: '/finance/withdraw'},
- ],
- },
- },
- {
- path: '/finance/withdraw-add',
- component: _import('finance/withdraw-add'),
- name: 'finance_withdraw-add',
- meta: {
- title: '新增提现',
- highLight: '/finance/withdraw',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '提现管理', path: '/finance/withdraw'},
- {title: '新增提现', path: '/finance/withdraw-add'},
- ],
- },
- },
- {
- path: '/finance/invoice-audit',
- component: _import('finance/invoice-audit'),
- name: 'finance_invoice-audit',
- meta: {
- title: '发票管理',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '发票管理', path: '/finance/invoice-audit'},
- ],
- },
- },
- {
- path: '/finance/perf-audit-list',
- component: _import('finance/perf-audit-list'),
- name: 'finance_perf-audit-list',
- meta: {
- title: '会员业绩调整列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '财务管理', path: '/finance/balance-audit-list'},
- ],
- },
- },
- {
- path: '/finance/perf-apply',
- component: _import('finance/perf-apply'),
- name: 'finance_perf-apply',
- meta: {
- title: '调整会员业绩',
- highLight: '/finance/perf-audit-list',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '财务管理', path: '/finance/balance-audit-list'},
- {title: '调整会员业绩', path: '/finance/perf-audit-list'},
- ],
- },
- },
- {
- path: '/finance/deal-type',
- component: _import('finance/deal-type'),
- name: 'finance_deal-type',
- meta: {
- title: '交易类型',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '交易类型', path: '/finance/deal-type'},
- ],
- },
- },
- {
- path: '/finance/deal-type-add',
- component: _import('finance/deal-type-add'),
- name: 'finance_deal-type-add',
- meta: {
- title: '交易类型添加',
- highLight: '/finance/deal-type',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '交易类型', path: '/finance/deal-type'},
- {title: '交易类型添加', path: '/finance/deal-type-add'},
- ],
- },
- },
- {
- path: '/finance/history-bonus',
- component: _import('finance/history-bonus'),
- name: 'finance_history-bonus',
- meta: {
- title: '历史奖金余额',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '财务管理', path: '/finance/balance-audit-list'},
- ],
- },
- },
- {
- path: '/finance/recharge',
- component: _import('finance/recharge'),
- name: 'finance_recharge',
- meta: {
- title: '充值管理',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '财务管理', path: '/finance/balance-audit-list'},
- ],
- },
- },
- {
- path: '/finance/recharge-status',
- component: _import('finance/recharge-status'),
- name: 'finance_recharge-status',
- meta: {
- title: '状态管理',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '财务管理', path: '/finance/balance-audit-list'},
- ],
- },
- },
- ]
- },
- {
- path: '/article',
- component: layout,
- redirect: '/article/category',
- children: [
- {
- path: '/article/category',
- component: _import('article/category'),
- name: 'article_category',
- meta: {
- title: '分类管理',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '分类管理', path: '/article/category'},
- ],
- },
- },
- {
- path: '/article/category-add',
- component: _import('article/category-add'),
- name: 'article_category-add',
- meta: {
- title: '添加分类',
- highLight: '/article/category-add',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '分类管理', path: '/article/category'},
- {title: '添加分类', path: '/article/category-add'},
- ],
- },
- },
- {
- path: '/article/index',
- component: _import('article/index'),
- name: 'article_index',
- meta: {
- title: '文章列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '文章列表', path: '/article/index'},
- ],
- },
- },
- {
- path: '/article/add',
- component: _import('article/edit'),
- name: 'article_add',
- meta: {
- title: '添加文章',
- highLight: '/article/index',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '文章列表', path: '/article/index'},
- {title: '添加文章', path: '/article/add'},
- ],
- },
- },
- {
- path: '/article/edit/:id',
- component: _import('article/edit'),
- name: 'article_edit',
- meta: {
- title: '编辑文章',
- highLight: '/article/index',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '文章列表', path: '/article/index'},
- {title: '编辑文章', path: '/article/edit'},
- ],
- },
- },
- ]
- },
- {
- path: '/message',
- component: layout,
- redirect: '/message/list',
- children: [
- {
- path: '/message/list',
- component: _import('message/list'),
- name: 'message_list',
- meta: {
- title: '站内信列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '站内信管理', path: '/message/list'},
- ],
- },
- },
- {
- path: '/message/add',
- component: _import('message/edit'),
- name: 'message_add',
- meta: {
- title: '添加站内信',
- highLight: '/message/list',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '站内信管理', path: '/message/list'},
- {title: '站内信列表', path: '/message/list'},
- ],
- },
- },
- ]
- },
- {
- path: '/file',
- component: layout,
- redirect: '/file/export',
- children: [
- {
- path: '/file/export',
- component: _import('file/export'),
- name: 'file_export',
- meta: {
- title: '导出文件',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '文件管理', path: '/bonus/period'},
- ],
- },
- },
- ]
- },
- {
- path: '/admin',
- component: layout,
- redirect: '/admin/index',
- children: [
- {
- path: '/admin/change-password',
- component: _import('admin/edit'),
- name: 'admin_change-password',
- meta: {
- title: '重置密码',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '管理员管理', path: '/admin/index'},
- ],
- },
- },
- {
- path: '/admin/index',
- component: _import('admin/index'),
- name: 'admin_index',
- meta: {
- title: '管理员列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '管理员管理', path: '/admin/index'},
- ],
- },
- }, {
- path: '/admin/add',
- component: _import('admin/edit'),
- name: 'admin_add',
- meta: {
- title: '添加管理员',
- highLight: '/admin/index',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '管理员管理', path: '/admin/index'},
- {title: '管理员列表', path: '/admin/index'},
- ],
- },
- }, {
- path: '/admin/edit/:id',
- component: _import('admin/edit'),
- name: 'admin_edit',
- meta: {
- title: '编辑管理员',
- highLight: '/admin/index',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '管理员管理', path: '/admin/index'},
- {title: '管理员列表', path: '/admin/index'},
- ],
- },
- }, {
- path: '/admin/role',
- component: _import('admin/role'),
- name: 'admin_role',
- meta: {
- title: '管理员角色列表',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '管理员管理', path: '/admin/index'},
- ],
- },
- }, {
- path: '/admin/role-add',
- component: _import('admin/role-add'),
- name: 'admin_role-add',
- meta: {
- title: '添加管理员角色',
- highLight: '/admin/role',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '管理员管理', path: '/admin/index'},
- {title: '管理员角色列表', path: '/admin/role'},
- ],
- },
- },{
- path: '/admin/role-edit/:id',
- component: _import('admin/role-add'),
- name: 'admin_role-edit',
- meta: {
- title: '编辑管理员角色',
- highLight: '/admin/role',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '管理员管理', path: '/admin/index'},
- {title: '管理员角色列表', path: '/admin/role'},
- ],
- },
- }, {
- path: '/admin/role-permission/:id',
- component: _import('admin/role-permission'),
- name: 'admin_role-permission',
- meta: {
- title: '管理员角色权限',
- highLight: '/admin/role',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '管理员管理', path: '/admin/index'},
- {title: '管理员角色列表', path: '/admin/role'},
- ],
- },
- }, {
- path: '/admin/role-column/:id',
- component: _import('admin/role-column'),
- name: 'admin_role-column',
- meta: {
- title: '管理员角色列表字段权限',
- highLight: '/admin/role',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '管理员管理', path: '/admin/index'},
- {title: '管理员角色列表', path: '/admin/role'},
- ],
- },
- }, {
- path: '/admin/test',
- component: _import('admin/test'),
- name: 'admin_test',
- }]
- },
- {
- path: '/ad',
- component: layout,
- redirect: '/ad/location',
- children: [
- {
- path: '/ad/location',
- component: _import('ad/location'),
- name: 'ad_location',
- meta: {
- title: '广告位',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '广告管理', path: '/ad/location'},
- ],
- },
- },
- {
- path: '/ad/list/:lid',
- component: _import('ad/list'),
- name: 'ad_list',
- meta: {
- title: '广告列表',
- highLight: '/ad/location',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '广告管理', path: '/ad/location'},
- {title: '广告位', path: '/ad/location'},
- ],
- },
- },
- {
- path: '/ad/add',
- component: _import('ad/edit'),
- name: 'ad_add',
- meta: {
- title: '添加广告',
- highLight: '/ad/location',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '广告管理', path: '/ad/location'},
- {title: '广告位', path: '/ad/location'},
- ],
- },
- },
- {
- path: '/ad/edit/:id',
- component: _import('ad/edit'),
- name: 'ad_edit',
- meta: {
- title: '编辑广告',
- highLight: '/ad/location',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '广告管理', path: '/ad/location'},
- {title: '广告位', path: '/ad/location'},
- ],
- },
- },
- ]
- },
- {
- path: '/log',
- component: layout,
- redirect: '/log/admin-login',
- children: [
- {
- path: '/log/admin-login',
- component: _import('log/admin-login'),
- name: 'log_admin-login',
- meta: {
- title: '管理员登录日志',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '日志管理', path: '/log/admin-login'},
- ],
- },
- },
- {
- path: '/log/user-login',
- component: _import('log/user-login'),
- name: 'log_user-login',
- meta: {
- title: '会员登录日志',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '日志管理', path: '/log/user-login'},
- ],
- },
- },
- {
- path: '/log/admin-handle',
- component: _import('log/admin-handle'),
- name: 'log_admin-handle',
- meta: {
- title: '管理员操作日志',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '日志管理', path: '/log/admin-login'},
- ],
- },
- },
- {
- path: '/log/user-handle',
- component: _import('log/user-handle'),
- name: 'log_user-handle',
- meta: {
- title: '会员操作日志',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '日志管理', path: '/log/admin-login'},
- ],
- },
- },
- {
- path: '/log/system',
- component: _import('log/system'),
- name: 'log_system',
- meta: {
- title: '系统日志',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '日志管理', path: '/log/admin-login'},
- ],
- },
- },
- ]
- },
- {
- path: '/config',
- component: layout,
- redirect: '/config/base',
- children: [
- {
- path: '/config/base',
- component: _import('config/base'),
- name: 'config_base',
- meta: {
- title: '站点设置',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/base'},
- ],
- },
- },
- // {
- // path: '/config/period',
- // component: _import('config/period'),
- // name: 'config_period',
- // meta: {
- // title: '期数配置',
- // breadcrumb: [
- // {title: '首页', path: '/dashboard/index'},
- // {title: '配置', path: '/config/index'},
- // ],
- // },
- // },
- {
- path: '/config/other',
- component: _import('config/other'),
- name: 'config_other',
- meta: {
- title: '其他配置',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- ],
- },
- }, {
- path: '/config/dec-level',
- component: _import('config/dec-level'),
- name: 'config_dec-level',
- meta: {
- title: '会员级别配置',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- ],
- },
- }, {
- path: '/config/dec-level-add',
- component: _import('config/dec-level-edit'),
- name: 'config_dec-level-add',
- meta: {
- title: '添加会员级别',
- highLight: '/config/dec-level',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- {title: '会员级别配置', path: '/config/dec-level'},
- ],
- },
- }, {
- path: '/config/dec-level-edit/:id',
- component: _import('config/dec-level-edit'),
- name: 'config_dec-level-edit',
- meta: {
- title: '编辑会员级别',
- highLight: '/config/dec-level',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- {title: '会员级别配置', path: '/config/dec-level'},
- ],
- },
- }, {
- path: '/config/dec-role',
- component: _import('config/dec-role'),
- name: 'config_dec-role',
- meta: {
- title: '报单中心级别配置',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- ],
- },
- }, {
- path: '/config/dec-role-edit/:id',
- component: _import('config/dec-role-edit'),
- name: 'config_dec-role-edit',
- meta: {
- title: '编辑报单中心级别',
- highLight: '/config/dec-role',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- {title: '报单中心级别配置', path: '/config/dec-role'},
- ],
- },
- }, {
- path: '/config/emp-level',
- component: _import('config/emp-level'),
- name: 'config_emp-level',
- meta: {
- title: '会员聘级配置',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- ],
- },
- }, {
- path: '/config/emp-level-add',
- component: _import('config/emp-level-edit'),
- name: 'config_emp-level-add',
- meta: {
- title: '添加聘级',
- highLight: '/config/emp-level',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- {title: '聘级管理', path: '/config/emp-level'},
- ],
- },
- }, {
- path: '/config/emp-level-edit/:id',
- component: _import('config/emp-level-edit'),
- name: 'config_emp-level-edit',
- meta: {
- title: '编辑聘级',
- highLight: '/config/emp-level',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- {title: '聘级管理', path: '/config/emp-level'},
- ],
- },
- }, {
- path: '/config/reg-type',
- component: _import('config/reg-type'),
- name: 'config_reg-type',
- meta: {
- title: '会员注册类型配置',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- ],
- },
- }, {
- path: '/config/bonus-opt',
- component: _import('config/bonus-opt'),
- name: 'config_bonus-opt',
- meta: {
- title: '奖金设置',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- ],
- },
- }, {
- path: '/config/clear-data',
- component: _import('config/clear-data'),
- name: 'config_clear-data',
- meta: {
- title: '清空数据',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- ],
- },
- }, {
- path: '/config/api-opt',
- component: _import('config/api-opt'),
- name: 'config_api-opt',
- meta: {
- title: '第三方接口',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- ],
- },
- }, {
- path: '/config/api-edit/:type/:id',
- component: _import('config/api-edit'),
- name: 'config_api-edit',
- meta: {
- title: '编辑第三方接口',
- highLight: '/config/api-opt',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- {title: '第三方接口', path: '/config/api-opt'},
- ],
- },
- },
- {
- path: '/config/sms',
- component: _import('config/sms'),
- name: 'config_sms',
- meta: {
- title: '短信配置',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- ],
- },
- },
- {
- path: '/config/transfer',
- component: _import('config/transfer'),
- name: 'config_transfer',
- meta: {
- title: '转账配置',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- ],
- },
- },
- {
- path: '/config/score',
- component: _import('config/score'),
- name: 'config_score',
- meta: {
- title: '积分配置',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- ],
- },
- },
- {
- path: '/config/exchange-rate',
- component: _import('config/exchange-rate'),
- name: 'config_exchange_rate',
- meta: {
- title: '汇率配置',
- breadcrumb: [
- {title: '首页', path: '/dashboard/index'},
- {title: '配置', path: '/config/index'},
- ],
- },
- },
- ]
- }
- // {
- // path: '/documentation',
- // component: Layout,
- // redirect: '/documentation/index',
- // children: [{
- // path: 'index',
- // component: _import('documentation/index'),
- // name: 'documentation',
- // meta: { title: 'documentation', icon: 'documentation', noCache: true }
- // }]
- // }
- ]
- export default new Router({
- routes: constantRouterMap
- })
|