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