index.js 63 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033
  1. import Vue from 'vue'
  2. import Router from 'vue-router'
  3. import layout from '../views/layout/layout'
  4. const _import = require('./_import_' + process.env.NODE_ENV)
  5. if(Router.version >= '3.1.0'){
  6. const originalPush = Router.prototype.push
  7. Router.prototype.push = function push(location) {
  8. return originalPush.call(this, location).catch(err => err)
  9. }
  10. }
  11. Vue.use(Router)
  12. export const constantRouterMap = [
  13. {path: '/', redirect: '/login'},
  14. {path: '/login', component: _import('login/index'), name: 'login'},
  15. {path: '/modify-password/:adminName', component: _import('login/modify-password'), name: 'modify-password'},
  16. // { path: '/authredirect', component: _import('login/authredirect'), hidden: true },
  17. // { path: '/404', component: _import('errorPage/404'), hidden: true },
  18. // { path: '/401', component: _import('errorPage/401'), hidden: true },
  19. {
  20. path: '/dashboard',
  21. component: layout,
  22. redirect: '/dashboard/index',
  23. children: [{
  24. path: '/dashboard/index',
  25. component: _import('dashboard/index'),
  26. name: 'dashboard_index',
  27. meta: {
  28. title: 'Dashboard',//控制台
  29. breadcrumb: [
  30. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  31. ],
  32. },
  33. }]
  34. },
  35. {
  36. path: '/shop',
  37. component: layout,
  38. redirect: '/shop/dec-order-list',
  39. children: [
  40. {
  41. path: '/shop/dec-order-list',
  42. component: _import('shop/dec-order-list'),
  43. name: 'shop_dec-order-list',
  44. meta: {
  45. title: 'Welcome Pack Listing',//报单列表
  46. breadcrumb: [
  47. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  48. {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
  49. ],
  50. },
  51. },
  52. {
  53. path: '/shop/order-list',
  54. component: _import('shop/order-list'),
  55. name: 'shop_order-list',
  56. meta: {
  57. title: 'order list',//订单列表
  58. breadcrumb: [
  59. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  60. {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
  61. ],
  62. },
  63. },
  64. {
  65. path: '/shop/order-shop-list',
  66. component: _import('shop/order-shop-list'),
  67. name: 'shop_order_shop-list',
  68. meta: {
  69. title: 'External mall order list',//外部商城订单列表
  70. breadcrumb: [
  71. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  72. {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
  73. ],
  74. },
  75. },
  76. {
  77. path: '/shop/order-dec-list',
  78. component: _import('shop/order-dec-list'),
  79. name: 'shop_order_dec-list',
  80. meta: {
  81. title: 'External mall entry list',//外部商城报单列表
  82. breadcrumb: [
  83. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  84. {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
  85. ],
  86. },
  87. },
  88. {
  89. path: '/shop/order-standard-list',
  90. component: _import('shop/order-standard-list'),
  91. name: 'shop_order_standard-list',
  92. meta: {
  93. title: 'List of qualified orders of external mall',//外部商城达标订单列表
  94. breadcrumb: [
  95. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  96. {title: 'Products Management', path: '/shop/dec-order-list'},//商城管理
  97. ],
  98. },
  99. },
  100. // {
  101. // path: '/shop/package',
  102. // component: _import('shop/package'),
  103. // name: 'shop_package',
  104. // meta: {
  105. // title: 'Kitting products list',//报单套餐列表
  106. // breadcrumb: [
  107. // {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  108. // {title: 'Shopping Mall', path: '/shop/dec-order-list'},//商城管理
  109. // ],
  110. // },
  111. //
  112. // },
  113. // {
  114. // path: '/shop/package-add',
  115. // component: _import('shop/package-add'),
  116. // name: 'shop_package-add',
  117. // meta: {
  118. // title: 'Add Kitting products',//报单套餐添加
  119. // breadcrumb: [
  120. // {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  121. // {title: 'Shopping Mall', path: '/shop/dec-order-list'},//商城管理
  122. // ],
  123. // },
  124. //
  125. // },
  126. {
  127. path: '/shop/index',
  128. component: _import('shop/index'),
  129. name: 'shop_index',
  130. meta: {
  131. title: 'Products list',//商品列表
  132. breadcrumb: [
  133. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  134. {title: 'Shopping Mall', path: '/shop/dec-order-list'},//商城管理
  135. ],
  136. },
  137. },
  138. {
  139. path: '/shop/goods-add',
  140. component: _import('shop/goods-add'),
  141. name: 'shop_goods-add',
  142. meta: {
  143. title: 'Products add',//商品添加
  144. breadcrumb: [
  145. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  146. {title: 'Shopping Mall', path: '/shop/dec-order-list'},//商城管理
  147. ],
  148. },
  149. },
  150. ],
  151. },
  152. {
  153. path: '/user',
  154. component: layout,
  155. redirect: '/user/index',
  156. children: [
  157. {
  158. path: '/user/index',
  159. component: _import('user/index'),
  160. name: 'user_index',
  161. meta: {
  162. title: 'Member list',//会员列表
  163. breadcrumb: [
  164. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  165. {title: 'Member management', path: '/user/index'},//会员管理
  166. ],
  167. },
  168. },
  169. {
  170. path: '/user/user-add-opt',
  171. component: _import('user/user-add-opt'),
  172. name: 'user_user-add-opt',
  173. meta: {
  174. title: 'Empty order operation',//空单操作
  175. breadcrumb: [
  176. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  177. {title: 'Member management', path: '/user/index'},//会员管理
  178. ],
  179. },
  180. },
  181. {
  182. path: '/user/empty-list',
  183. component: _import('user/empty-list'),
  184. name: 'user_empty_list',
  185. meta: {
  186. title: 'Empty list',//空单列表
  187. breadcrumb: [
  188. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  189. {title: 'Member management', path: '/user/index'},//会员管理
  190. ],
  191. },
  192. },
  193. {
  194. path: '/user/bind',
  195. component: _import('user/bind'),
  196. name: 'user_bind',
  197. meta: {
  198. title: '点位绑定',
  199. breadcrumb: [
  200. {title: 'Dashboard', path: '/dashboard/index'},
  201. {title: 'Member management', path: '/user/index'},
  202. ],
  203. },
  204. },
  205. {
  206. path: '/user/bind-add',
  207. component: _import('user/bind-edit'),
  208. name: 'user_bind-add',
  209. meta: {
  210. title: '添加点位绑定',
  211. highLight: '/user/bind',
  212. breadcrumb: [
  213. {title: 'Dashboard', path: '/dashboard/index'},
  214. {title: 'Member management', path: '/user/index'},
  215. {title: '点位绑定', path: '/user/bind'},
  216. ],
  217. },
  218. },
  219. {
  220. path: '/user/bind-edit/:id',
  221. component: _import('user/bind-edit'),
  222. name: 'user_bind-edit',
  223. meta: {
  224. title: '编辑点位绑定',
  225. highLight: '/user/bind',
  226. breadcrumb: [
  227. {title: 'Dashboard', path: '/dashboard/index'},
  228. {title: 'Member management', path: '/user/index'},
  229. {title: '点位绑定', path: '/user/bind'},
  230. ],
  231. },
  232. },
  233. {
  234. path: '/user/teamwork',
  235. component: _import('user/teamwork'),
  236. name: 'user_teamwork',
  237. meta: {
  238. title: '点位合作',
  239. breadcrumb: [
  240. {title: 'Dashboard', path: '/dashboard/index'},
  241. {title: 'Member management', path: '/user/index'},
  242. ],
  243. },
  244. },
  245. {
  246. path: '/user/teamwork-add',
  247. component: _import('user/teamwork-edit'),
  248. name: 'user_teamwork-add',
  249. meta: {
  250. title: '添加点位合作',
  251. highLight: '/user/teamwork',
  252. breadcrumb: [
  253. {title: 'Dashboard', path: '/dashboard/index'},
  254. {title: 'Member management', path: '/user/index'},
  255. {title: '点位合作', path: '/user/teamwork'},
  256. ],
  257. },
  258. },
  259. {
  260. path: '/user/teamwork-edit/:id',
  261. component: _import('user/teamwork-edit'),
  262. name: 'user_teamwork-edit',
  263. meta: {
  264. title: '编辑点位合作',
  265. highLight: '/user/teamwork',
  266. breadcrumb: [
  267. {title: 'Dashboard', path: '/dashboard/index'},
  268. {title: 'Member management', path: '/user/index'},
  269. {title: '点位合作', path: '/user/teamwork'},
  270. ],
  271. },
  272. },
  273. {
  274. path: '/user/system',
  275. component: _import('user/system'),
  276. name: 'user_system',
  277. meta: {
  278. title: '体系管理',
  279. breadcrumb: [
  280. {title: 'Dashboard', path: '/dashboard/index'},
  281. {title: 'Member management', path: '/user/index'},
  282. ],
  283. },
  284. },
  285. {
  286. path: '/user/system-add',
  287. component: _import('user/system-edit'),
  288. name: 'user_system-add',
  289. meta: {
  290. title: '添加体系',
  291. highLight: '/user/system',
  292. breadcrumb: [
  293. {title: 'Dashboard', path: '/dashboard/index'},
  294. {title: 'Member management', path: '/user/index'},
  295. {title: '体系管理', path: '/user/system'},
  296. ],
  297. },
  298. },
  299. {
  300. path: '/user/system-edit/:id',
  301. component: _import('user/system-edit'),
  302. name: 'user_system-edit',
  303. meta: {
  304. title: '编辑体系',
  305. highLight: '/user/system',
  306. breadcrumb: [
  307. {title: 'Dashboard', path: '/dashboard/index'},
  308. {title: 'Member management', path: '/user/index'},
  309. {title: '体系管理', path: '/user/system'},
  310. ],
  311. },
  312. },
  313. {
  314. path: '/user/group',
  315. component: _import('user/group'),
  316. name: 'user_group',
  317. meta: {
  318. title: '团队领导人列表',
  319. breadcrumb: [
  320. {title: 'Dashboard', path: '/dashboard/index'},
  321. {title: 'Member management', path: '/user/index'},
  322. ],
  323. },
  324. },
  325. {
  326. path: '/user/move',
  327. component: _import('user/move'),
  328. name: 'user_move',
  329. meta: {
  330. title: 'Mobile network management',//移网管理
  331. breadcrumb: [
  332. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  333. {title: 'Member management', path: '/user/index'},//会员管理
  334. ],
  335. },
  336. },
  337. {
  338. path: '/user/move-add',
  339. component: _import('user/move-add'),
  340. name: 'user_move-add',
  341. meta: {
  342. title: '申请移网',
  343. highLight: '/user/move',
  344. breadcrumb: [
  345. {title: 'Dashboard', path: '/dashboard/index'},
  346. {title: 'Member management', path: '/user/index'},
  347. {title: '移网管理', path: '/user/move'},
  348. ],
  349. },
  350. },
  351. {
  352. path: '/user/reg-info',
  353. component: _import('user/reg-info'),
  354. name: 'user_reg-info',
  355. meta: {
  356. title: '注册信息报表',
  357. breadcrumb: [
  358. {title: 'Dashboard', path: '/dashboard/index'},
  359. {title: 'Member management', path: '/user/index'},
  360. ],
  361. },
  362. },
  363. {
  364. path: '/user/reg-info-audit',
  365. component: _import('user/reg-info-audit'),
  366. name: 'user_reg-info-audit',
  367. meta: {
  368. title: '注册信息审核',
  369. breadcrumb: [
  370. {title: 'Dashboard', path: '/dashboard/index'},
  371. {title: 'Member management', path: '/user/index'},
  372. ],
  373. },
  374. },
  375. {
  376. path: '/user/reg-info-audit-add-opt/:id?',
  377. component: _import('user/reg-info-audit-add-opt'),
  378. name: 'user_reg-info-audit-add-opt',
  379. meta: {
  380. title: '注册信息添加操作',
  381. highLight: '/user/reg-info-audit',
  382. breadcrumb: [
  383. {title: 'Dashboard', path: '/dashboard/index'},
  384. {title: 'Member management', path: '/user/index'},
  385. {title: '注册信息审核', path: '/user/reg-info-audit'},
  386. ],
  387. },
  388. },
  389. {
  390. path: '/user/status-audit-list',
  391. component: _import('user/status-audit-list'),
  392. name: 'user_status-audit-list',
  393. meta: {
  394. title: '会员状态管理',
  395. breadcrumb: [
  396. {title: 'Dashboard', path: '/dashboard/index'},
  397. {title: 'Member management', path: '/user/index'},
  398. ],
  399. },
  400. },
  401. {
  402. path: '/user/status-audit-add',
  403. component: _import('user/status-audit-add'),
  404. name: 'user_status-audit-add',
  405. meta: {
  406. title: '申请修改会员状态',
  407. highLight: '/user/status-audit-list',
  408. breadcrumb: [
  409. {title: 'Dashboard', path: '/dashboard/index'},
  410. {title: 'Member management', path: '/user/index'},
  411. {title: '会员状态管理', path: '/user/status-audit-list'},
  412. ],
  413. },
  414. },
  415. {
  416. path: '/user/status-audit-add/:userName',
  417. component: _import('user/status-audit-add'),
  418. name: 'user_status-audit-add-username',
  419. meta: {
  420. title: '申请修改会员状态',
  421. highLight: '/user/status-audit-list',
  422. breadcrumb: [
  423. {title: 'Dashboard', path: '/dashboard/index'},
  424. {title: 'Member management', path: '/user/index'},
  425. {title: '会员状态管理', path: '/user/status-audit-list'},
  426. ],
  427. },
  428. },
  429. {
  430. path: '/user/dec-level-list',
  431. component: _import('user/dec-level-list'),
  432. name: 'user_dec-level-list',
  433. meta: {
  434. title: 'Member level adjustment list',//会员级别调整列表
  435. breadcrumb: [
  436. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  437. {title: 'Member management', path: '/user/index'},//会员管理
  438. ],
  439. },
  440. },
  441. {
  442. path: '/user/change-user-dec-level',
  443. component: _import('user/change-user-dec-level'),
  444. name: 'user_change-user-dec-level',
  445. meta: {
  446. title: 'Modify member level',//修改会员级别
  447. breadcrumb: [
  448. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  449. {title: 'Member management', path: '/user/index'},//会员管理
  450. ],
  451. },
  452. },
  453. {
  454. path: '/user/change-user-dec-role',
  455. component: _import('user/change-user-dec-role'),
  456. name: 'user_change-user-dec-role',
  457. meta: {
  458. title: 'Modify entry center level',//修改报单中心级别
  459. breadcrumb: [
  460. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  461. {title: 'Member management', path: '/user/index'},//会员管理
  462. ],
  463. },
  464. },
  465. {
  466. path: '/user/year-highest-emp-lv',
  467. component: _import('user/year-highest-emp-lv'),
  468. name: 'user_year-highest-emp-lv',
  469. meta: {
  470. title: '会员历史年度最高聘级表',
  471. breadcrumb: [
  472. {title: 'Dashboard', path: '/dashboard/index'},
  473. {title: 'Member management', path: '/user/index'},
  474. ],
  475. },
  476. },
  477. {
  478. path: '/user/change-show-emp-level',
  479. component: _import('user/change-show-emp-level'),
  480. name: 'user_change-show-emp-level',
  481. meta: {
  482. title: '修改会员前台显示聘级',
  483. breadcrumb: [
  484. {title: 'Dashboard', path: '/dashboard/index'},
  485. {title: 'Member management', path: '/user/index'},
  486. ],
  487. },
  488. },
  489. ]
  490. },
  491. {
  492. path: '/atlas',
  493. component: layout,
  494. redirect: '/atlas/relation-opt',
  495. children: [
  496. {
  497. path: '/atlas/relation-opt',
  498. component: _import('atlas/relation-opt'),
  499. name: 'atlas_relation-opt',
  500. meta: {
  501. title: 'Sponor network', // 开拓网络
  502. breadcrumb: [
  503. {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
  504. {title: 'Network Atlas', path: '/atlas/relation-opt'}, // 网络图谱
  505. ],
  506. },
  507. },
  508. {
  509. path: '/atlas/network-opt',
  510. component: _import('atlas/network-opt'),
  511. name: 'atlas_network-opt',
  512. meta: {
  513. title: 'Placement network', // 安置网络
  514. breadcrumb: [
  515. {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
  516. {title: 'Network Atlas', path: '/atlas/relation-opt'}, // 网络图谱
  517. ],
  518. },
  519. },
  520. {
  521. path: '/atlas/network-line-opt',
  522. component: _import('atlas/network-line-opt'),
  523. name: 'atlas_network-line-opt',
  524. meta: {
  525. title: '安置链路',
  526. breadcrumb: [
  527. {title: 'Dashboard', path: '/dashboard/index'},
  528. {title: 'Network Atlas', path: '/atlas/relation-opt'},
  529. ],
  530. },
  531. },
  532. {
  533. path: '/atlas/emp-user-line',
  534. component: _import('atlas/emp-user-line'),
  535. name: 'atlas_emp-user-line',
  536. meta: {
  537. title: '聘级网络',
  538. breadcrumb: [
  539. {title: 'Dashboard', path: '/dashboard/index'},
  540. {title: 'Network Atlas', path: '/atlas/relation-opt'},
  541. ],
  542. },
  543. },
  544. // {
  545. // path: '/atlas/emp-user-list',
  546. // component: _import('atlas/emp-user-list'),
  547. // name: 'atlas_emp-user-list',
  548. // meta: {
  549. // title: '聘级网络列表',
  550. // breadcrumb: [
  551. // {title: 'Dashboard', path: '/dashboard/index'},
  552. // {title: 'Network Atlas', path: '/atlas/relation-opt'},
  553. // ],
  554. // },
  555. // },
  556. ]
  557. },
  558. {
  559. path: '/reconsume',
  560. component: layout,
  561. redirect: '/reconsume/pool-list',
  562. children: [
  563. {
  564. path: '/reconsume/pool-list',
  565. component: _import('reconsume/pool-list'),
  566. name: 'reconsume_pool-list',
  567. meta: {
  568. title: '复销池余额列表',
  569. breadcrumb: [
  570. {title: 'Dashboard', path: '/dashboard/index'},
  571. {title: '复销管理', path: '/reconsume/pool-list'},
  572. ],
  573. },
  574. },
  575. {
  576. path: '/reconsume/deduct',
  577. component: _import('reconsume/deduct'),
  578. name: 'reconsume_deduct',
  579. meta: {
  580. title: '手动扣除月复销',
  581. highLight: '/reconsume/deduct',
  582. breadcrumb: [
  583. {title: 'Dashboard', path: '/dashboard/index'},
  584. {title: '复销管理', path: '/reconsume/pool-list'},
  585. ],
  586. },
  587. },
  588. {
  589. path: '/reconsume/change-audit-list',
  590. component: _import('reconsume/change-audit-list'),
  591. name: 'reconsume_change-audit-list',
  592. meta: {
  593. title: '复销余额调整审核',
  594. breadcrumb: [
  595. {title: 'Dashboard', path: '/dashboard/index'},
  596. {title: '复销管理', path: '/reconsume/pool-list'},
  597. ],
  598. },
  599. },
  600. {
  601. path: '/reconsume/change-audit-add/:userName?',
  602. component: _import('reconsume/change-audit-add'),
  603. name: 'reconsume_change-audit-add',
  604. meta: {
  605. title: '申请调整复销池余额',
  606. highLight: '/reconsume/change-audit-list',
  607. breadcrumb: [
  608. {title: 'Dashboard', path: '/dashboard/index'},
  609. {title: '复销管理', path: '/reconsume/pool-list'},
  610. {title: '复销余额调整审核', path: '/reconsume/change-audit-list'},
  611. ],
  612. },
  613. },
  614. {
  615. path: '/reconsume/deduct-audit-list',
  616. component: _import('reconsume/deduct-audit-list'),
  617. name: 'reconsume_deduct-audit-list',
  618. meta: {
  619. title: '扣除复销审核',
  620. breadcrumb: [
  621. {title: 'Dashboard', path: '/dashboard/index'},
  622. {title: '复销管理', path: '/reconsume/pool-list'},
  623. ],
  624. },
  625. },
  626. {
  627. path: '/reconsume/deduct-audit-add',
  628. component: _import('reconsume/deduct-audit-add'),
  629. name: 'reconsume_deduct-audit-add',
  630. meta: {
  631. title: '手动扣除月复销',
  632. highLight: '/reconsume/deduct-audit-list',
  633. breadcrumb: [
  634. {title: 'Dashboard', path: '/dashboard/index'},
  635. {title: '复销管理', path: '/reconsume/pool-list'},
  636. ],
  637. },
  638. },
  639. {
  640. path: '/reconsume/flow-list',
  641. component: _import('reconsume/flow-list'),
  642. name: 'reconsume_flow-list',
  643. meta: {
  644. title: '复销流水',
  645. breadcrumb: [
  646. {title: 'Dashboard', path: '/dashboard/index'},
  647. {title: '复销管理', path: '/reconsume/pool-list'},
  648. ],
  649. },
  650. },
  651. ]
  652. },
  653. {
  654. path: '/bonus',
  655. component: layout,
  656. redirect: '/bonus/period',
  657. children: [
  658. {
  659. path: '/bonus/period',
  660. component: _import('bonus/period'),
  661. name: 'bonus_period',
  662. meta: {
  663. title: 'Closure',
  664. breadcrumb: [
  665. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  666. {title: 'Bonus management', path: '/bonus/period'},//奖金管理
  667. ],
  668. },
  669. },
  670. {
  671. path: '/bonus/balance-list',
  672. component: _import('bonus/balance-list'),
  673. name: 'bonus_balance-list',
  674. meta: {
  675. title: 'Member bonus balance',//会员奖金余额
  676. breadcrumb: [
  677. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  678. {title: 'Bonus management', path: '/bonus/period'},//奖金管理
  679. ],
  680. },
  681. },
  682. {
  683. path: '/bonus/period-detail/:periodNum',
  684. component: _import('bonus/period-detail'),
  685. name: 'bonus_period-detail',
  686. meta: {
  687. title: '期奖金明细',
  688. highLight: '/bonus/period',
  689. breadcrumb: [
  690. {title: 'Dashboard', path: '/dashboard/index'},
  691. {title: '奖金管理', path: '/bonus/period'},
  692. {title: '封期管理', path: '/bonus/period'},
  693. ],
  694. },
  695. },
  696. {
  697. path: '/bonus/new-period-bonus',
  698. component: _import('bonus/new-period-bonus'),
  699. name: 'bonus_new-period-bonus',
  700. meta: {
  701. title: 'Latest bonus',//最新奖金
  702. breadcrumb: [
  703. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  704. {title: 'Bonus management', path: '/bonus/period'},//奖金管理
  705. ],
  706. },
  707. },
  708. {
  709. path: '/bonus/other-period-bonus',
  710. component: _import('bonus/other-period-bonus'),
  711. name: 'bonus_other-period-bonus',
  712. meta: {
  713. title: 'Member bonus', // 往期奖金
  714. breadcrumb: [
  715. {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
  716. {title: 'Bonus management', path: '/bonus/period'}, // 奖金管理
  717. ],
  718. },
  719. },
  720. {
  721. path: '/bonus/flow-bonus',
  722. component: _import('bonus/flow-bonus'),
  723. name: 'bonus_flow-bonus',
  724. meta: {
  725. title: 'Bonus flow', // 奖金流水
  726. breadcrumb: [
  727. {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
  728. {title: 'Bonus management', path: '/bonus/period'}, // 奖金管理
  729. ],
  730. },
  731. },
  732. // {
  733. // path: '/bonus/flow-rp',
  734. // component: _import('bonus/flow-rp'),
  735. // name: 'bonus_flow-rp',
  736. // meta: {
  737. // title: '复消积分流水',
  738. // breadcrumb: [
  739. // {title: 'Dashboard', path: '/dashboard/index'},
  740. // {title: '奖金管理', path: '/bonus/period'},
  741. // ],
  742. // },
  743. // },
  744. {
  745. path: '/bonus/flow-lx',
  746. component: _import('bonus/flow-lx'),
  747. name: 'bonus_flow-lx',
  748. meta: {
  749. title: '领袖分红奖流水',
  750. breadcrumb: [
  751. {title: 'Dashboard', path: '/dashboard/index'},
  752. {title: '奖金管理', path: '/bonus/period'},
  753. ],
  754. },
  755. },
  756. {
  757. path: '/bonus/cf-lx-audit-list',
  758. component: _import('bonus/cf-lx-audit-list'),
  759. name: 'bonus_cf-lx-audit-list',
  760. meta: {
  761. title: '年度奖金发放审核',
  762. breadcrumb: [
  763. {title: 'Dashboard', path: '/dashboard/index'},
  764. {title: '奖金管理', path: '/bonus/period'},
  765. ],
  766. },
  767. },
  768. {
  769. path: '/bonus/cf-lx-apply',
  770. component: _import('bonus/cf-lx-apply'),
  771. name: 'bonus_cf-lx-apply',
  772. meta: {
  773. title: '申请发放年度奖',
  774. highLight: '/bonus/cf-lx-audit-list',
  775. breadcrumb: [
  776. {title: 'Dashboard', path: '/dashboard/index'},
  777. {title: '奖金管理', path: '/bonus/period'},
  778. {title: '年度奖金发放审核', path: '/bonus/cf-lx-audit-list'},
  779. ],
  780. },
  781. },
  782. {
  783. path: '/bonus/perf',
  784. component: _import('bonus/perf'),
  785. name: 'bonus_perf',
  786. meta: {
  787. title: '业绩管理',
  788. breadcrumb: [
  789. {title: 'Dashboard', path: '/dashboard/index'},
  790. {title: '奖金管理', path: '/bonus/period'},
  791. ],
  792. },
  793. },
  794. {
  795. path: '/bonus/calc-qy',
  796. component: _import('bonus/calc-qy'),
  797. name: 'bonus_calc-qy',
  798. meta: {
  799. title: '区域津贴核算',
  800. breadcrumb: [
  801. {title: 'Dashboard', path: '/dashboard/index'},
  802. {title: '奖金管理', path: '/bonus/period'},
  803. ],
  804. },
  805. },
  806. {
  807. path: '/bonus/resend-qy-list',
  808. component: _import('bonus/resend-qy-list'),
  809. name: 'bonus_resend-qy-list',
  810. meta: {
  811. title: '区域津贴补发列表',
  812. breadcrumb: [
  813. {title: 'Dashboard', path: '/dashboard/index'},
  814. {title: '奖金管理', path: '/bonus/period'},
  815. ],
  816. },
  817. },
  818. {
  819. path: '/bonus/resend-qy-audit-list',
  820. component: _import('bonus/resend-qy-audit-list'),
  821. name: 'bonus_resend-qy-audit-list',
  822. meta: {
  823. title: '补发区域津贴审核列表',
  824. breadcrumb: [
  825. {title: 'Dashboard', path: '/dashboard/index'},
  826. {title: '奖金管理', path: '/bonus/period'},
  827. ],
  828. },
  829. },
  830. {
  831. path: '/bonus/trace-down-qy',
  832. component: _import('bonus/trace-down-qy'),
  833. name: 'bonus_trace-down-qy',
  834. meta: {
  835. title: '团队奖向下追溯',
  836. breadcrumb: [
  837. {title: 'Dashboard', path: '/dashboard/index'},
  838. {title: '奖金管理', path: '/bonus/period'},
  839. ],
  840. },
  841. },
  842. {
  843. path: '/bonus/trace-up-qy',
  844. component: _import('bonus/trace-up-qy'),
  845. name: 'bonus_trace-up-qy',
  846. meta: {
  847. title: '团队奖向上追溯',
  848. breadcrumb: [
  849. {title: 'Dashboard', path: '/dashboard/index'},
  850. {title: '奖金管理', path: '/bonus/period'},
  851. ],
  852. },
  853. },
  854. {
  855. path: '/bonus/trace-down-yc',
  856. component: _import('bonus/trace-down-yc'),
  857. name: 'bonus_trace-down-yc',
  858. meta: {
  859. title: '荣衔奖向下追溯',
  860. breadcrumb: [
  861. {title: 'Dashboard', path: '/dashboard/index'},
  862. {title: '奖金管理', path: '/bonus/period'},
  863. ],
  864. },
  865. },
  866. {
  867. path: '/bonus/trace-up-yc',
  868. component: _import('bonus/trace-up-yc'),
  869. name: 'bonus_trace-up-yc',
  870. meta: {
  871. title: '荣衔奖向上追溯',
  872. breadcrumb: [
  873. {title: 'Dashboard', path: '/dashboard/index'},
  874. {title: '奖金管理', path: '/bonus/period'},
  875. ],
  876. },
  877. },
  878. {
  879. path: '/bonus/trace-down-bd',
  880. component: _import('bonus/trace-down-bd'),
  881. name: 'bonus_trace-down-bd',
  882. meta: {
  883. title: '报单奖向下追溯',
  884. breadcrumb: [
  885. {title: 'Dashboard', path: '/dashboard/index'},
  886. {title: '奖金管理', path: '/bonus/period'},
  887. ],
  888. },
  889. },
  890. {
  891. path: '/bonus/trace-up-bd',
  892. component: _import('bonus/trace-up-bd'),
  893. name: 'bonus_trace-up-bd',
  894. meta: {
  895. title: '报单奖向上追溯',
  896. breadcrumb: [
  897. {title: 'Dashboard', path: '/dashboard/index'},
  898. {title: '奖金管理', path: '/bonus/period'},
  899. ],
  900. },
  901. },
  902. {
  903. path: '/bonus/trace-down-tg',
  904. component: _import('bonus/trace-down-tg'),
  905. name: 'bonus_trace-down-tg',
  906. meta: {
  907. title: '推广奖向下追溯',
  908. breadcrumb: [
  909. {title: 'Dashboard', path: '/dashboard/index'},
  910. {title: '奖金管理', path: '/bonus/period'},
  911. ],
  912. },
  913. },
  914. {
  915. path: '/bonus/trace-up-tg',
  916. component: _import('bonus/trace-up-tg'),
  917. name: 'bonus_trace-up-tg',
  918. meta: {
  919. title: '推广奖向上追溯',
  920. breadcrumb: [
  921. {title: 'Dashboard', path: '/dashboard/index'},
  922. {title: '奖金管理', path: '/bonus/period'},
  923. ],
  924. },
  925. },
  926. {
  927. path: '/bonus/trace-down-xf',
  928. component: _import('bonus/trace-down-xf'),
  929. name: 'bonus_trace-down-xf',
  930. meta: {
  931. title: '消费奖向下追溯',
  932. breadcrumb: [
  933. {title: 'Dashboard', path: '/dashboard/index'},
  934. {title: '奖金管理', path: '/bonus/period'},
  935. ],
  936. },
  937. },
  938. {
  939. path: '/bonus/trace-up-xf',
  940. component: _import('bonus/trace-up-xf'),
  941. name: 'bonus_trace-up-xf',
  942. meta: {
  943. title: '消费奖向上追溯',
  944. breadcrumb: [
  945. {title: 'Dashboard', path: '/dashboard/index'},
  946. {title: '奖金管理', path: '/bonus/period'},
  947. ],
  948. },
  949. },
  950. {
  951. path: '/bonus/trace-down-yj',
  952. component: _import('bonus/trace-down-yj'),
  953. name: 'bonus_trace-down-yj',
  954. meta: {
  955. title: '业绩奖向下追溯',
  956. breadcrumb: [
  957. {title: 'Dashboard', path: '/dashboard/index'},
  958. {title: '奖金管理', path: '/bonus/period'},
  959. ],
  960. },
  961. },
  962. {
  963. path: '/bonus/trace-up-yj',
  964. component: _import('bonus/trace-up-yj'),
  965. name: 'bonus_trace-up-yj',
  966. meta: {
  967. title: '业绩奖向上追溯',
  968. breadcrumb: [
  969. {title: 'Dashboard', path: '/dashboard/index'},
  970. {title: '奖金管理', path: '/bonus/period'},
  971. ],
  972. },
  973. },
  974. {
  975. path: '/bonus/trace-down-gx',
  976. component: _import('bonus/trace-down-gx'),
  977. name: 'bonus_trace-down-gx',
  978. meta: {
  979. title: '共享奖向下追溯',
  980. breadcrumb: [
  981. {title: 'Dashboard', path: '/dashboard/index'},
  982. {title: '奖金管理', path: '/bonus/period'},
  983. ],
  984. },
  985. },
  986. {
  987. path: '/bonus/trace-up-gx',
  988. component: _import('bonus/trace-up-gx'),
  989. name: 'bonus_trace-up-gx',
  990. meta: {
  991. title: '共享奖向上追溯',
  992. breadcrumb: [
  993. {title: 'Dashboard', path: '/dashboard/index'},
  994. {title: '奖金管理', path: '/bonus/period'},
  995. ],
  996. },
  997. },
  998. {
  999. path: '/bonus/trace-down-gl',
  1000. component: _import('bonus/trace-down-gl'),
  1001. name: 'bonus_trace-down-gl',
  1002. meta: {
  1003. title: '管理奖向下追溯',
  1004. breadcrumb: [
  1005. {title: 'Dashboard', path: '/dashboard/index'},
  1006. {title: '奖金管理', path: '/bonus/period'},
  1007. ],
  1008. },
  1009. },
  1010. {
  1011. path: '/bonus/trace-up-gl',
  1012. component: _import('bonus/trace-up-gl'),
  1013. name: 'bonus_trace-up-gl',
  1014. meta: {
  1015. title: '管理奖向上追溯',
  1016. breadcrumb: [
  1017. {title: 'Dashboard', path: '/dashboard/index'},
  1018. {title: '奖金管理', path: '/bonus/period'},
  1019. ],
  1020. },
  1021. },
  1022. {
  1023. path: '/bonus/trace-down-fx',
  1024. component: _import('bonus/trace-down-fx'),
  1025. name: 'bonus_trace-down-fx',
  1026. meta: {
  1027. title: '复销奖向下追溯',
  1028. breadcrumb: [
  1029. {title: 'Dashboard', path: '/dashboard/index'},
  1030. {title: '奖金管理', path: '/bonus/period'},
  1031. ],
  1032. },
  1033. },
  1034. {
  1035. path: '/bonus/trace-up-fx',
  1036. component: _import('bonus/trace-up-fx'),
  1037. name: 'bonus_trace-up-fx',
  1038. meta: {
  1039. title: '复销奖向上追溯',
  1040. breadcrumb: [
  1041. {title: 'Dashboard', path: '/dashboard/index'},
  1042. {title: '奖金管理', path: '/bonus/period'},
  1043. ],
  1044. },
  1045. },
  1046. {
  1047. path: '/bonus/trace-bt',
  1048. component: _import('bonus/trace-bt'),
  1049. name: 'bonus_trace-bt',
  1050. meta: {
  1051. title: '报单中心补贴追溯',
  1052. breadcrumb: [
  1053. {title: 'Dashboard', path: '/dashboard/index'},
  1054. {title: '奖金管理', path: '/bonus/period'},
  1055. ],
  1056. },
  1057. },
  1058. {
  1059. path: '/bonus/trace-fl',
  1060. component: _import('bonus/trace-fl'),
  1061. name: 'bonus_trace-fl',
  1062. meta: {
  1063. title: '报单中心货补追溯',
  1064. breadcrumb: [
  1065. {title: 'Dashboard', path: '/dashboard/index'},
  1066. {title: '奖金管理', path: '/bonus/period'},
  1067. ],
  1068. },
  1069. },
  1070. {
  1071. path: '/bonus/trace-fw',
  1072. component: _import('bonus/trace-fw'),
  1073. name: 'bonus_trace-fw',
  1074. meta: {
  1075. title: '区域业绩提成追溯',
  1076. breadcrumb: [
  1077. {title: 'Dashboard', path: '/dashboard/index'},
  1078. {title: '奖金管理', path: '/bonus/period'},
  1079. ],
  1080. },
  1081. },
  1082. {
  1083. path: '/bonus/perf-order',
  1084. component: _import('bonus/perf-order'),
  1085. name: 'bonus_perf-order',
  1086. meta: {
  1087. title: 'Performance sheet',//业绩单
  1088. breadcrumb: [
  1089. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  1090. {title: 'Bonus management', path: '/bonus/period'},//奖金管理
  1091. ],
  1092. },
  1093. },
  1094. {
  1095. path: '/bonus/perf-period-list',
  1096. component: _import('bonus/perf-period-list'),
  1097. name: 'bonus_perf-period-list',
  1098. meta: {
  1099. title: 'Period performance', // 期业绩
  1100. breadcrumb: [
  1101. {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
  1102. {title: 'Bonus management', path: '/bonus/period'}, // 奖金管理
  1103. ],
  1104. },
  1105. },
  1106. {
  1107. path: '/bonus/perf-month',
  1108. component: _import('bonus/perf-month'),
  1109. name: 'bonus_perf-month',
  1110. meta: {
  1111. title: 'Monthly performance', // 月业绩
  1112. breadcrumb: [
  1113. {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
  1114. {title: 'Bonus management', path: '/bonus/period'}, // 奖金管理
  1115. ],
  1116. },
  1117. },
  1118. {
  1119. path: '/bonus/perf-standard',
  1120. component: _import('bonus/perf-standard'),
  1121. name: 'bonus_perf-standard',
  1122. meta: {
  1123. title: '达标业绩',
  1124. breadcrumb: [
  1125. {title: 'Dashboard', path: '/dashboard/index'},
  1126. {title: '奖金管理', path: '/bonus/period'},
  1127. ],
  1128. },
  1129. },
  1130. {
  1131. path: '/bonus/score-month',
  1132. component: _import('bonus/score-month'),
  1133. name: 'bonus_score-month',
  1134. meta: {
  1135. title: 'score-month',//月积分
  1136. breadcrumb: [
  1137. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  1138. {title: 'Bonus management', path: '/bonus/period'},//奖金管理
  1139. ],
  1140. },
  1141. },
  1142. {
  1143. path: '/bonus/real-time-perf',
  1144. component: _import('bonus/real-time-perf'),
  1145. name: 'bonus_real-time-perf',
  1146. meta: {
  1147. title: '会员实时业绩',
  1148. breadcrumb: [
  1149. {title: 'Dashboard', path: '/dashboard/index'},
  1150. {title: '奖金管理', path: '/bonus/period'},
  1151. ],
  1152. },
  1153. },
  1154. {
  1155. path: '/bonus/yc-perf',
  1156. component: _import('bonus/yc-perf'),
  1157. name: 'bonus_yc-perf',
  1158. meta: {
  1159. title: '荣衔业绩',
  1160. breadcrumb: [
  1161. {title: 'Dashboard', path: '/dashboard/index'},
  1162. {title: '奖金管理', path: '/bonus/period'},
  1163. ],
  1164. },
  1165. },
  1166. {
  1167. path: '/bonus/user-perf',
  1168. component: _import('bonus/user-perf'),
  1169. name: 'leo-user-perf-table',
  1170. meta: {
  1171. title: 'Member performance', // 用户业绩
  1172. breadcrumb: [
  1173. {title: 'Dashboard', path: '/dashboard/index'}, // Dashboard
  1174. {title: 'Bonus management', path: '/bonus/period'}, // 奖金管理
  1175. ],
  1176. },
  1177. },
  1178. ]
  1179. },
  1180. {
  1181. path: '/report',
  1182. component: layout,
  1183. redirect: '/report/dec',
  1184. children: [
  1185. {
  1186. path: '/report/dec',
  1187. component: _import('report/dec'),
  1188. name: 'report_dec',
  1189. meta: {
  1190. title: '报单查询',
  1191. breadcrumb: [
  1192. {title: 'Dashboard', path: '/dashboard/index'},
  1193. {title: '报表管理', path: '/report/dec'},
  1194. ],
  1195. },
  1196. },
  1197. ]
  1198. },
  1199. {
  1200. path: '/finance',
  1201. component: layout,
  1202. redirect: '/finance/balance-audit-list',
  1203. children: [
  1204. {
  1205. path: '/finance/balance-audit-list',
  1206. component: _import('finance/balance-audit-list'),
  1207. name: 'finance_balance-audit-list',
  1208. meta: {
  1209. title: 'Member Ecoin adjustment list',//会员余额调整列表
  1210. breadcrumb: [
  1211. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  1212. {title: 'Financial management', path: '/finance/balance-audit-list'},//财务管理
  1213. ],
  1214. },
  1215. },
  1216. {
  1217. path: '/finance/change-balance-opt',
  1218. component: _import('finance/change-balance-opt'),
  1219. name: 'finance_change-balance-opt',
  1220. meta: {
  1221. title: '申请调整会员余额',
  1222. highLight: '/finance/balance-audit-list',
  1223. breadcrumb: [
  1224. {title: 'Dashboard', path: '/dashboard/index'},
  1225. {title: '财务管理', path: '/finance/balance-audit-list'},
  1226. {title: '会员余额调整列表', path: '/finance/balance-audit-list'},
  1227. ],
  1228. },
  1229. },
  1230. {
  1231. path: '/finance/dec-list',
  1232. component: _import('finance/dec-list'),
  1233. name: 'finance_dec-list',
  1234. meta: {
  1235. title: '报单订货单列表',
  1236. highLight: '/finance/dec-list',
  1237. breadcrumb: [
  1238. {title: 'Dashboard', path: '/dashboard/index'},
  1239. {title: '财务管理', path: '/finance/balance-audit-list'},
  1240. ],
  1241. },
  1242. },
  1243. {
  1244. path: '/finance/transfer-list',
  1245. component: _import('finance/transfer-list'),
  1246. name: 'finance_transfer-list',
  1247. meta: {
  1248. title: 'Transfer record list',//转账记录列表
  1249. breadcrumb: [
  1250. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  1251. {title: 'Financial management', path: '/finance/balance-audit-list'},//财务管理
  1252. ],
  1253. },
  1254. },
  1255. {
  1256. path: '/finance/withdraw',
  1257. component: _import('finance/withdraw'),
  1258. name: 'finance_withdraw',
  1259. meta: {
  1260. title: 'Withdrawal management',
  1261. breadcrumb: [
  1262. {title: 'Dashboard', path: '/dashboard/index'},
  1263. {title: 'Withdrawal management', path: '/finance/withdraw'},
  1264. ],
  1265. },
  1266. },
  1267. {
  1268. path: '/finance/withdraw-add',
  1269. component: _import('finance/withdraw-add'),
  1270. name: 'finance_withdraw-add',
  1271. meta: {
  1272. title: 'Withdrawal',
  1273. highLight: '/finance/withdraw',
  1274. breadcrumb: [
  1275. {title: 'Dashboard', path: '/dashboard/index'},
  1276. {title: 'Withdrawal management', path: '/finance/withdraw'},
  1277. {title: 'Withdrawal', path: '/finance/withdraw-add'},
  1278. ],
  1279. },
  1280. },
  1281. {
  1282. path: '/finance/invoice-audit',
  1283. component: _import('finance/invoice-audit'),
  1284. name: 'finance_invoice-audit',
  1285. meta: {
  1286. title: '发票管理',
  1287. breadcrumb: [
  1288. {title: 'Dashboard', path: '/dashboard/index'},
  1289. {title: '发票管理', path: '/finance/invoice-audit'},
  1290. ],
  1291. },
  1292. },
  1293. {
  1294. path: '/finance/perf-audit-list',
  1295. component: _import('finance/perf-audit-list'),
  1296. name: 'finance_perf-audit-list',
  1297. meta: {
  1298. title: '会员业绩调整列表',
  1299. breadcrumb: [
  1300. {title: 'Dashboard', path: '/dashboard/index'},
  1301. {title: '财务管理', path: '/finance/balance-audit-list'},
  1302. ],
  1303. },
  1304. },
  1305. {
  1306. path: '/finance/perf-apply',
  1307. component: _import('finance/perf-apply'),
  1308. name: 'finance_perf-apply',
  1309. meta: {
  1310. title: '调整会员业绩',
  1311. highLight: '/finance/perf-audit-list',
  1312. breadcrumb: [
  1313. {title: 'Dashboard', path: '/dashboard/index'},
  1314. {title: '财务管理', path: '/finance/balance-audit-list'},
  1315. {title: '调整会员业绩', path: '/finance/perf-audit-list'},
  1316. ],
  1317. },
  1318. },
  1319. {
  1320. path: '/finance/deal-type',
  1321. component: _import('finance/deal-type'),
  1322. name: 'finance_deal-type',
  1323. meta: {
  1324. title: '交易类型',
  1325. breadcrumb: [
  1326. {title: 'Dashboard', path: '/dashboard/index'},
  1327. {title: '交易类型', path: '/finance/deal-type'},
  1328. ],
  1329. },
  1330. },
  1331. {
  1332. path: '/finance/deal-type-add',
  1333. component: _import('finance/deal-type-add'),
  1334. name: 'finance_deal-type-add',
  1335. meta: {
  1336. title: '交易类型添加',
  1337. highLight: '/finance/deal-type',
  1338. breadcrumb: [
  1339. {title: 'Dashboard', path: '/dashboard/index'},
  1340. {title: '交易类型', path: '/finance/deal-type'},
  1341. {title: '交易类型添加', path: '/finance/deal-type-add'},
  1342. ],
  1343. },
  1344. },
  1345. {
  1346. path: '/finance/history-bonus',
  1347. component: _import('finance/history-bonus'),
  1348. name: 'finance_history-bonus',
  1349. meta: {
  1350. title: '历史奖金余额',
  1351. breadcrumb: [
  1352. {title: 'Dashboard', path: '/dashboard/index'},
  1353. {title: '财务管理', path: '/finance/balance-audit-list'},
  1354. ],
  1355. },
  1356. },
  1357. {
  1358. path: '/finance/recharge',
  1359. component: _import('finance/recharge'),
  1360. name: 'finance_recharge',
  1361. meta: {
  1362. title: 'Recharge management',
  1363. breadcrumb: [
  1364. {title: 'Dashboard', path: '/dashboard/index'},
  1365. {title: '财务管理', path: '/finance/balance-audit-list'},
  1366. ],
  1367. },
  1368. },
  1369. {
  1370. path: '/finance/recharge-status',
  1371. component: _import('finance/recharge-status'),
  1372. name: 'finance_recharge-status',
  1373. meta: {
  1374. title: '状态管理',
  1375. breadcrumb: [
  1376. {title: 'Dashboard', path: '/dashboard/index'},
  1377. {title: '财务管理', path: '/finance/balance-audit-list'},
  1378. ],
  1379. },
  1380. },
  1381. ]
  1382. },
  1383. {
  1384. path: '/article',
  1385. component: layout,
  1386. redirect: '/article/category',
  1387. children: [
  1388. {
  1389. path: '/article/category',
  1390. component: _import('article/category'),
  1391. name: 'article_category',
  1392. meta: {
  1393. title: '分类管理',
  1394. breadcrumb: [
  1395. {title: 'Dashboard', path: '/dashboard/index'},
  1396. {title: '分类管理', path: '/article/category'},
  1397. ],
  1398. },
  1399. },
  1400. {
  1401. path: '/article/category-add',
  1402. component: _import('article/category-add'),
  1403. name: 'article_category-add',
  1404. meta: {
  1405. title: '添加分类',
  1406. highLight: '/article/category-add',
  1407. breadcrumb: [
  1408. {title: 'Dashboard', path: '/dashboard/index'},
  1409. {title: '分类管理', path: '/article/category'},
  1410. {title: '添加分类', path: '/article/category-add'},
  1411. ],
  1412. },
  1413. },
  1414. {
  1415. path: '/article/index',
  1416. component: _import('article/index'),
  1417. name: 'article_index',
  1418. meta: {
  1419. title: '文章列表',
  1420. breadcrumb: [
  1421. {title: 'Dashboard', path: '/dashboard/index'},
  1422. {title: '文章列表', path: '/article/index'},
  1423. ],
  1424. },
  1425. },
  1426. {
  1427. path: '/article/add',
  1428. component: _import('article/edit'),
  1429. name: 'article_add',
  1430. meta: {
  1431. title: '添加文章',
  1432. highLight: '/article/index',
  1433. breadcrumb: [
  1434. {title: 'Dashboard', path: '/dashboard/index'},
  1435. {title: '文章列表', path: '/article/index'},
  1436. {title: '添加文章', path: '/article/add'},
  1437. ],
  1438. },
  1439. },
  1440. {
  1441. path: '/article/edit/:id',
  1442. component: _import('article/edit'),
  1443. name: 'article_edit',
  1444. meta: {
  1445. title: '编辑文章',
  1446. highLight: '/article/index',
  1447. breadcrumb: [
  1448. {title: 'Dashboard', path: '/dashboard/index'},
  1449. {title: '文章列表', path: '/article/index'},
  1450. {title: '编辑文章', path: '/article/edit'},
  1451. ],
  1452. },
  1453. },
  1454. ]
  1455. },
  1456. {
  1457. path: '/message',
  1458. component: layout,
  1459. redirect: '/message/list',
  1460. children: [
  1461. {
  1462. path: '/message/list',
  1463. component: _import('message/list'),
  1464. name: 'message_list',
  1465. meta: {
  1466. title: '站内信列表',
  1467. breadcrumb: [
  1468. {title: 'Dashboard', path: '/dashboard/index'},
  1469. {title: '站内信管理', path: '/message/list'},
  1470. ],
  1471. },
  1472. },
  1473. {
  1474. path: '/message/add',
  1475. component: _import('message/edit'),
  1476. name: 'message_add',
  1477. meta: {
  1478. title: '添加站内信',
  1479. highLight: '/message/list',
  1480. breadcrumb: [
  1481. {title: 'Dashboard', path: '/dashboard/index'},
  1482. {title: '站内信管理', path: '/message/list'},
  1483. {title: '站内信列表', path: '/message/list'},
  1484. ],
  1485. },
  1486. },
  1487. ]
  1488. },
  1489. {
  1490. path: '/file',
  1491. component: layout,
  1492. redirect: '/file/export',
  1493. children: [
  1494. {
  1495. path: '/file/export',
  1496. component: _import('file/export'),
  1497. name: 'file_export',
  1498. meta: {
  1499. title: 'Export file',//导出文件
  1500. breadcrumb: [
  1501. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  1502. {title: 'File management', path: '/bonus/period'},//文件管理
  1503. ],
  1504. },
  1505. },
  1506. ]
  1507. },
  1508. {
  1509. path: '/admin',
  1510. component: layout,
  1511. redirect: '/admin/index',
  1512. children: [
  1513. {
  1514. path: '/admin/change-password',
  1515. component: _import('admin/edit'),
  1516. name: 'admin_change-password',
  1517. meta: {
  1518. title: 'reset password',//重置密码
  1519. breadcrumb: [
  1520. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  1521. {title: 'Administrator', path: '/admin/index'},//管理员管理
  1522. ],
  1523. },
  1524. },
  1525. {
  1526. path: '/admin/index',
  1527. component: _import('admin/index'),
  1528. name: 'admin_index',
  1529. meta: {
  1530. title: '管理员列表',
  1531. breadcrumb: [
  1532. {title: 'Dashboard', path: '/dashboard/index'},
  1533. {title: '管理员管理', path: '/admin/index'},
  1534. ],
  1535. },
  1536. }, {
  1537. path: '/admin/add',
  1538. component: _import('admin/edit'),
  1539. name: 'admin_add',
  1540. meta: {
  1541. title: '添加管理员',
  1542. highLight: '/admin/index',
  1543. breadcrumb: [
  1544. {title: 'Dashboard', path: '/dashboard/index'},
  1545. {title: '管理员管理', path: '/admin/index'},
  1546. {title: '管理员列表', path: '/admin/index'},
  1547. ],
  1548. },
  1549. }, {
  1550. path: '/admin/edit/:id',
  1551. component: _import('admin/edit'),
  1552. name: 'admin_edit',
  1553. meta: {
  1554. title: '编辑管理员',
  1555. highLight: '/admin/index',
  1556. breadcrumb: [
  1557. {title: 'Dashboard', path: '/dashboard/index'},
  1558. {title: '管理员管理', path: '/admin/index'},
  1559. {title: '管理员列表', path: '/admin/index'},
  1560. ],
  1561. },
  1562. }, {
  1563. path: '/admin/role',
  1564. component: _import('admin/role'),
  1565. name: 'admin_role',
  1566. meta: {
  1567. title: '管理员角色列表',
  1568. breadcrumb: [
  1569. {title: 'Dashboard', path: '/dashboard/index'},
  1570. {title: '管理员管理', path: '/admin/index'},
  1571. ],
  1572. },
  1573. }, {
  1574. path: '/admin/role-add',
  1575. component: _import('admin/role-add'),
  1576. name: 'admin_role-add',
  1577. meta: {
  1578. title: '添加管理员角色',
  1579. highLight: '/admin/role',
  1580. breadcrumb: [
  1581. {title: 'Dashboard', path: '/dashboard/index'},
  1582. {title: '管理员管理', path: '/admin/index'},
  1583. {title: '管理员角色列表', path: '/admin/role'},
  1584. ],
  1585. },
  1586. },{
  1587. path: '/admin/role-edit/:id',
  1588. component: _import('admin/role-add'),
  1589. name: 'admin_role-edit',
  1590. meta: {
  1591. title: '编辑管理员角色',
  1592. highLight: '/admin/role',
  1593. breadcrumb: [
  1594. {title: 'Dashboard', path: '/dashboard/index'},
  1595. {title: '管理员管理', path: '/admin/index'},
  1596. {title: '管理员角色列表', path: '/admin/role'},
  1597. ],
  1598. },
  1599. }, {
  1600. path: '/admin/role-permission/:id',
  1601. component: _import('admin/role-permission'),
  1602. name: 'admin_role-permission',
  1603. meta: {
  1604. title: '管理员角色权限',
  1605. highLight: '/admin/role',
  1606. breadcrumb: [
  1607. {title: 'Dashboard', path: '/dashboard/index'},
  1608. {title: '管理员管理', path: '/admin/index'},
  1609. {title: '管理员角色列表', path: '/admin/role'},
  1610. ],
  1611. },
  1612. }, {
  1613. path: '/admin/role-column/:id',
  1614. component: _import('admin/role-column'),
  1615. name: 'admin_role-column',
  1616. meta: {
  1617. title: '管理员角色列表字段权限',
  1618. highLight: '/admin/role',
  1619. breadcrumb: [
  1620. {title: 'Dashboard', path: '/dashboard/index'},
  1621. {title: '管理员管理', path: '/admin/index'},
  1622. {title: '管理员角色列表', path: '/admin/role'},
  1623. ],
  1624. },
  1625. }, {
  1626. path: '/admin/test',
  1627. component: _import('admin/test'),
  1628. name: 'admin_test',
  1629. }]
  1630. },
  1631. {
  1632. path: '/ad',
  1633. component: layout,
  1634. redirect: '/ad/location',
  1635. children: [
  1636. {
  1637. path: '/ad/location',
  1638. component: _import('ad/location'),
  1639. name: 'ad_location',
  1640. meta: {
  1641. title: 'Ad',
  1642. breadcrumb: [
  1643. {title: 'Dashboard', path: '/dashboard/index'},
  1644. {title: 'Ad management', path: '/ad/location'},
  1645. ],
  1646. },
  1647. },
  1648. {
  1649. path: '/ad/list/:lid',
  1650. component: _import('ad/list'),
  1651. name: 'ad_list',
  1652. meta: {
  1653. title: '广告列表',
  1654. highLight: '/ad/location',
  1655. breadcrumb: [
  1656. {title: 'Dashboard', path: '/dashboard/index'},
  1657. {title: '广告管理', path: '/ad/location'},
  1658. {title: '广告位', path: '/ad/location'},
  1659. ],
  1660. },
  1661. },
  1662. {
  1663. path: '/ad/add',
  1664. component: _import('ad/edit'),
  1665. name: 'ad_add',
  1666. meta: {
  1667. title: '添加广告',
  1668. highLight: '/ad/location',
  1669. breadcrumb: [
  1670. {title: 'Dashboard', path: '/dashboard/index'},
  1671. {title: '广告管理', path: '/ad/location'},
  1672. {title: '广告位', path: '/ad/location'},
  1673. ],
  1674. },
  1675. },
  1676. {
  1677. path: '/ad/edit/:id',
  1678. component: _import('ad/edit'),
  1679. name: 'ad_edit',
  1680. meta: {
  1681. title: '编辑广告',
  1682. highLight: '/ad/location',
  1683. breadcrumb: [
  1684. {title: 'Dashboard', path: '/dashboard/index'},
  1685. {title: '广告管理', path: '/ad/location'},
  1686. {title: '广告位', path: '/ad/location'},
  1687. ],
  1688. },
  1689. },
  1690. ]
  1691. },
  1692. {
  1693. path: '/log',
  1694. component: layout,
  1695. redirect: '/log/admin-login',
  1696. children: [
  1697. {
  1698. path: '/log/admin-login',
  1699. component: _import('log/admin-login'),
  1700. name: 'log_admin-login',
  1701. meta: {
  1702. title: '管理员登录日志',
  1703. breadcrumb: [
  1704. {title: 'Dashboard', path: '/dashboard/index'},
  1705. {title: '日志管理', path: '/log/admin-login'},
  1706. ],
  1707. },
  1708. },
  1709. {
  1710. path: '/log/user-login',
  1711. component: _import('log/user-login'),
  1712. name: 'log_user-login',
  1713. meta: {
  1714. title: 'Member login log',//会员登录日志
  1715. breadcrumb: [
  1716. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  1717. {title: 'Log management', path: '/log/user-login'},//日志管理
  1718. ],
  1719. },
  1720. },
  1721. {
  1722. path: '/log/admin-handle',
  1723. component: _import('log/admin-handle'),
  1724. name: 'log_admin-handle',
  1725. meta: {
  1726. title: '管理员操作日志',
  1727. breadcrumb: [
  1728. {title: 'Dashboard', path: '/dashboard/index'},
  1729. {title: '日志管理', path: '/log/admin-login'},
  1730. ],
  1731. },
  1732. },
  1733. {
  1734. path: '/log/user-handle',
  1735. component: _import('log/user-handle'),
  1736. name: 'log_user-handle',
  1737. meta: {
  1738. title: 'Member operation log',//会员操作日志
  1739. breadcrumb: [
  1740. {title: 'Dashboard', path: '/dashboard/index'},//Dashboard
  1741. {title: 'Log management', path: '/log/admin-login'},//日志管理
  1742. ],
  1743. },
  1744. },
  1745. {
  1746. path: '/log/system',
  1747. component: _import('log/system'),
  1748. name: 'log_system',
  1749. meta: {
  1750. title: '系统日志',
  1751. breadcrumb: [
  1752. {title: 'Dashboard', path: '/dashboard/index'},
  1753. {title: '日志管理', path: '/log/admin-login'},
  1754. ],
  1755. },
  1756. },
  1757. ]
  1758. },
  1759. {
  1760. path: '/config',
  1761. component: layout,
  1762. redirect: '/config/base',
  1763. children: [
  1764. {
  1765. path: '/config/base',
  1766. component: _import('config/base'),
  1767. name: 'config_base',
  1768. meta: {
  1769. title: '站点设置',
  1770. breadcrumb: [
  1771. {title: 'Dashboard', path: '/dashboard/index'},
  1772. {title: '配置', path: '/config/base'},
  1773. ],
  1774. },
  1775. },
  1776. // {
  1777. // path: '/config/period',
  1778. // component: _import('config/period'),
  1779. // name: 'config_period',
  1780. // meta: {
  1781. // title: '期数配置',
  1782. // breadcrumb: [
  1783. // {title: 'Dashboard', path: '/dashboard/index'},
  1784. // {title: '配置', path: '/config/index'},
  1785. // ],
  1786. // },
  1787. // },
  1788. {
  1789. path: '/config/other',
  1790. component: _import('config/other'),
  1791. name: 'config_other',
  1792. meta: {
  1793. title: '其他配置',
  1794. breadcrumb: [
  1795. {title: 'Dashboard', path: '/dashboard/index'},
  1796. {title: '配置', path: '/config/index'},
  1797. ],
  1798. },
  1799. }, {
  1800. path: '/config/dec-level',
  1801. component: _import('config/dec-level'),
  1802. name: 'config_dec-level',
  1803. meta: {
  1804. title: '会员级别配置',
  1805. breadcrumb: [
  1806. {title: 'Dashboard', path: '/dashboard/index'},
  1807. {title: '配置', path: '/config/index'},
  1808. ],
  1809. },
  1810. }, {
  1811. path: '/config/dec-level-add',
  1812. component: _import('config/dec-level-edit'),
  1813. name: 'config_dec-level-add',
  1814. meta: {
  1815. title: '添加会员级别',
  1816. highLight: '/config/dec-level',
  1817. breadcrumb: [
  1818. {title: 'Dashboard', path: '/dashboard/index'},
  1819. {title: '配置', path: '/config/index'},
  1820. {title: '会员级别配置', path: '/config/dec-level'},
  1821. ],
  1822. },
  1823. }, {
  1824. path: '/config/dec-level-edit/:id',
  1825. component: _import('config/dec-level-edit'),
  1826. name: 'config_dec-level-edit',
  1827. meta: {
  1828. title: '编辑会员级别',
  1829. highLight: '/config/dec-level',
  1830. breadcrumb: [
  1831. {title: 'Dashboard', path: '/dashboard/index'},
  1832. {title: '配置', path: '/config/index'},
  1833. {title: '会员级别配置', path: '/config/dec-level'},
  1834. ],
  1835. },
  1836. }, {
  1837. path: '/config/dec-role',
  1838. component: _import('config/dec-role'),
  1839. name: 'config_dec-role',
  1840. meta: {
  1841. title: '报单中心级别配置',
  1842. breadcrumb: [
  1843. {title: 'Dashboard', path: '/dashboard/index'},
  1844. {title: '配置', path: '/config/index'},
  1845. ],
  1846. },
  1847. }, {
  1848. path: '/config/dec-role-edit/:id',
  1849. component: _import('config/dec-role-edit'),
  1850. name: 'config_dec-role-edit',
  1851. meta: {
  1852. title: '编辑报单中心级别',
  1853. highLight: '/config/dec-role',
  1854. breadcrumb: [
  1855. {title: 'Dashboard', path: '/dashboard/index'},
  1856. {title: '配置', path: '/config/index'},
  1857. {title: '报单中心级别配置', path: '/config/dec-role'},
  1858. ],
  1859. },
  1860. }, {
  1861. path: '/config/emp-level',
  1862. component: _import('config/emp-level'),
  1863. name: 'config_emp-level',
  1864. meta: {
  1865. title: '会员聘级配置',
  1866. breadcrumb: [
  1867. {title: 'Dashboard', path: '/dashboard/index'},
  1868. {title: '配置', path: '/config/index'},
  1869. ],
  1870. },
  1871. }, {
  1872. path: '/config/emp-level-add',
  1873. component: _import('config/emp-level-edit'),
  1874. name: 'config_emp-level-add',
  1875. meta: {
  1876. title: '添加聘级',
  1877. highLight: '/config/emp-level',
  1878. breadcrumb: [
  1879. {title: 'Dashboard', path: '/dashboard/index'},
  1880. {title: '配置', path: '/config/index'},
  1881. {title: '聘级管理', path: '/config/emp-level'},
  1882. ],
  1883. },
  1884. }, {
  1885. path: '/config/emp-level-edit/:id',
  1886. component: _import('config/emp-level-edit'),
  1887. name: 'config_emp-level-edit',
  1888. meta: {
  1889. title: '编辑聘级',
  1890. highLight: '/config/emp-level',
  1891. breadcrumb: [
  1892. {title: 'Dashboard', path: '/dashboard/index'},
  1893. {title: '配置', path: '/config/index'},
  1894. {title: '聘级管理', path: '/config/emp-level'},
  1895. ],
  1896. },
  1897. }, {
  1898. path: '/config/reg-type',
  1899. component: _import('config/reg-type'),
  1900. name: 'config_reg-type',
  1901. meta: {
  1902. title: '会员注册类型配置',
  1903. breadcrumb: [
  1904. {title: 'Dashboard', path: '/dashboard/index'},
  1905. {title: '配置', path: '/config/index'},
  1906. ],
  1907. },
  1908. }, {
  1909. path: '/config/bonus-opt',
  1910. component: _import('config/bonus-opt'),
  1911. name: 'config_bonus-opt',
  1912. meta: {
  1913. title: '奖金设置',
  1914. breadcrumb: [
  1915. {title: 'Dashboard', path: '/dashboard/index'},
  1916. {title: '配置', path: '/config/index'},
  1917. ],
  1918. },
  1919. }, {
  1920. path: '/config/clear-data',
  1921. component: _import('config/clear-data'),
  1922. name: 'config_clear-data',
  1923. meta: {
  1924. title: '清空数据',
  1925. breadcrumb: [
  1926. {title: 'Dashboard', path: '/dashboard/index'},
  1927. {title: '配置', path: '/config/index'},
  1928. ],
  1929. },
  1930. }, {
  1931. path: '/config/api-opt',
  1932. component: _import('config/api-opt'),
  1933. name: 'config_api-opt',
  1934. meta: {
  1935. title: '第三方接口',
  1936. breadcrumb: [
  1937. {title: 'Dashboard', path: '/dashboard/index'},
  1938. {title: '配置', path: '/config/index'},
  1939. ],
  1940. },
  1941. }, {
  1942. path: '/config/api-edit/:type/:id',
  1943. component: _import('config/api-edit'),
  1944. name: 'config_api-edit',
  1945. meta: {
  1946. title: '编辑第三方接口',
  1947. highLight: '/config/api-opt',
  1948. breadcrumb: [
  1949. {title: 'Dashboard', path: '/dashboard/index'},
  1950. {title: '配置', path: '/config/index'},
  1951. {title: '第三方接口', path: '/config/api-opt'},
  1952. ],
  1953. },
  1954. },
  1955. {
  1956. path: '/config/sms',
  1957. component: _import('config/sms'),
  1958. name: 'config_sms',
  1959. meta: {
  1960. title: '短信配置',
  1961. breadcrumb: [
  1962. {title: 'Dashboard', path: '/dashboard/index'},
  1963. {title: '配置', path: '/config/index'},
  1964. ],
  1965. },
  1966. },
  1967. {
  1968. path: '/config/transfer',
  1969. component: _import('config/transfer'),
  1970. name: 'config_transfer',
  1971. meta: {
  1972. title: '转账配置',
  1973. breadcrumb: [
  1974. {title: 'Dashboard', path: '/dashboard/index'},
  1975. {title: '配置', path: '/config/index'},
  1976. ],
  1977. },
  1978. },
  1979. {
  1980. path: '/config/score',
  1981. component: _import('config/score'),
  1982. name: 'config_score',
  1983. meta: {
  1984. title: '积分配置',
  1985. breadcrumb: [
  1986. {title: 'Dashboard', path: '/dashboard/index'},
  1987. {title: '配置', path: '/config/index'},
  1988. ],
  1989. },
  1990. },
  1991. {
  1992. path: '/config/exchange-rate',
  1993. component: _import('config/exchange-rate'),
  1994. name: 'config_exchange_rate',
  1995. meta: {
  1996. title: '汇率配置',
  1997. breadcrumb: [
  1998. {title: 'Dashboard', path: '/dashboard/index'},
  1999. {title: '配置', path: '/config/index'},
  2000. ],
  2001. },
  2002. },
  2003. ]
  2004. }
  2005. // {
  2006. // path: '/documentation',
  2007. // component: Layout,
  2008. // redirect: '/documentation/index',
  2009. // children: [{
  2010. // path: 'index',
  2011. // component: _import('documentation/index'),
  2012. // name: 'documentation',
  2013. // meta: { title: 'documentation', icon: 'documentation', noCache: true }
  2014. // }]
  2015. // }
  2016. ]
  2017. export default new Router({
  2018. routes: constantRouterMap
  2019. })