router.config.js 76 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167
  1. // eslint-disable-next-line
  2. import {
  3. UserLayout,
  4. BasicLayout,
  5. RouteView,
  6. BlankLayout,
  7. PageView
  8. } from '@/layouts'
  9. export const asyncRouterMap = [
  10. {
  11. path: '/',
  12. name: 'index',
  13. component: BasicLayout,
  14. meta: { title: '首页' },
  15. redirect: '/home',
  16. children: [
  17. {
  18. path: '/home',
  19. name: 'home',
  20. redirect: '/home',
  21. component: PageView,
  22. meta: {
  23. title: '首页',
  24. icon: 'home'
  25. },
  26. hideChildrenInMenu: true,
  27. children: [
  28. {
  29. path: '/home',
  30. name: 'home',
  31. component: () => import(/* webpackChunkName: "home" */ '@/views/Home'),
  32. meta: {
  33. title: '首页',
  34. icon: 'home',
  35. hide: true
  36. }
  37. }
  38. ]
  39. },
  40. {
  41. path: '/changePwd',
  42. name: 'changePwd',
  43. component: () => import(/* webpackChunkName: "home" */ '@/views/user/ChangePwd'),
  44. meta: {
  45. title: '修改密码',
  46. icon: 'home'
  47. },
  48. hidden: true
  49. },
  50. // 新品列表
  51. {
  52. path: '/newProduct/list/:onlineFalg',
  53. name: 'newProductList',
  54. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/list'),
  55. meta: {
  56. title: '新品信息',
  57. icon: 'home'
  58. },
  59. hidden: true
  60. },
  61. // 产品详情
  62. {
  63. path: '/viewProduct/:sn',
  64. name: 'viewProduct',
  65. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/detail'),
  66. meta: {
  67. title: '产品详情',
  68. icon: 'home'
  69. },
  70. hidden: true
  71. },
  72. // 销售管理
  73. {
  74. path: '/salesManagement',
  75. redirect: '/salesManagement/salesQuery',
  76. component: PageView,
  77. meta: {
  78. title: '销售管理',
  79. icon: 'account-book',
  80. permission: 'M_salesManage'
  81. },
  82. children: [
  83. {
  84. path: '/salesManagement/salesQuery',
  85. redirect: '/salesManagement/salesQuery/list',
  86. name: 'salesQuery',
  87. component: BlankLayout,
  88. meta: {
  89. title: '销售单查询',
  90. icon: 'monitor',
  91. permission: 'M_salesQueryList'
  92. },
  93. hideChildrenInMenu: true,
  94. children: [
  95. {
  96. path: 'list',
  97. name: 'salesQueryList',
  98. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/list.vue'),
  99. meta: {
  100. title: '销售单列表',
  101. icon: 'monitor',
  102. hidden: true,
  103. permission: 'M_salesQueryList'
  104. }
  105. },
  106. {
  107. path: 'detail/:sn',
  108. name: 'salesDetail',
  109. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/detail.vue'),
  110. meta: {
  111. title: '销售单详情',
  112. icon: 'monitor',
  113. hidden: true,
  114. permission: 'B_salesDetail'
  115. }
  116. },
  117. {
  118. path: 'add/:id/:sn/:priceType',
  119. name: 'salesAdd',
  120. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  121. meta: {
  122. title: '新增销售单',
  123. icon: 'monitor',
  124. hidden: true,
  125. permission: 'B_salesNews'
  126. }
  127. },
  128. {
  129. path: 'edit/:id/:sn/:priceType',
  130. name: 'salesEdit',
  131. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  132. meta: {
  133. title: '编辑销售单',
  134. icon: 'monitor',
  135. hidden: true,
  136. permission: 'B_salesEdit'
  137. }
  138. }
  139. ]
  140. },
  141. {
  142. path: '/salesManagement/urgentItemsOffset',
  143. redirect: '/salesManagement/urgentItemsOffset/list',
  144. name: 'urgentItemsOffset',
  145. component: BlankLayout,
  146. meta: {
  147. title: '急件冲减',
  148. icon: 'rocket',
  149. permission: 'M_urgentItemsOffsetList'
  150. },
  151. hideChildrenInMenu: true,
  152. children: [
  153. {
  154. path: 'list',
  155. name: 'urgentItemsOffsetList',
  156. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/urgentItemsOffset/list.vue'),
  157. meta: {
  158. title: '急件冲减列表',
  159. icon: 'rocket',
  160. hidden: true,
  161. permission: 'M_urgentItemsOffsetList'
  162. }
  163. },
  164. {
  165. path: 'detail/:sn',
  166. name: 'urgentItemsOffsetDetail',
  167. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/urgentItemsOffset/detail.vue'),
  168. meta: {
  169. title: '急件冲减详情',
  170. icon: 'rocket',
  171. hidden: true,
  172. permission: 'M_urgentDetail'
  173. }
  174. }
  175. ]
  176. },
  177. {
  178. path: '/salesManagement/salesReturn',
  179. redirect: '/salesManagement/salesReturn/list',
  180. name: 'salesReturn',
  181. component: BlankLayout,
  182. meta: {
  183. title: '销售退货',
  184. icon: 'fund',
  185. permission: 'M_salesReturnList'
  186. },
  187. hideChildrenInMenu: true,
  188. children: [
  189. {
  190. path: 'list',
  191. name: 'salesReturnList',
  192. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/list.vue'),
  193. meta: {
  194. title: '退货单列表',
  195. icon: 'fund',
  196. hidden: true,
  197. permission: 'M_salesReturnList'
  198. }
  199. },
  200. {
  201. path: 'detail/:id/:sn',
  202. name: 'salesReturnDetail',
  203. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/detail.vue'),
  204. meta: {
  205. title: '退货单详情',
  206. icon: 'fund',
  207. hidden: true,
  208. permission: 'B_salesReturnDetail'
  209. }
  210. },
  211. {
  212. path: 'salesReturnGrabEdit/:id/:sn/:buyerSn',
  213. name: 'salesReturnGrabEdit',
  214. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnGrabEdit.vue'),
  215. meta: {
  216. title: '编辑退货单(抓单)',
  217. icon: 'fund',
  218. hidden: true,
  219. permission: 'B_salesReturnEdit'
  220. }
  221. },
  222. {
  223. path: 'salesReturnEdit/:id/:sn/:buyerSn',
  224. name: 'salesReturnEdit',
  225. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnEdit.vue'),
  226. meta: {
  227. title: '编辑退货单(不抓单)',
  228. icon: 'fund',
  229. hidden: true,
  230. permission: 'B_salesReturnEdit'
  231. }
  232. }
  233. ]
  234. },
  235. {
  236. path: '/salesManagement/giftRecord',
  237. redirect: '/salesManagement/giftRecord/list',
  238. name: 'giftRecord',
  239. component: BlankLayout,
  240. meta: {
  241. title: '赠品记录',
  242. icon: 'file-search',
  243. permission: 'M_giftRecordList'
  244. },
  245. hideChildrenInMenu: true,
  246. children: [
  247. {
  248. path: 'list',
  249. name: 'giftRecordList',
  250. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/giftRecord/list.vue'),
  251. meta: {
  252. title: '赠品记录列表',
  253. icon: 'file-search',
  254. hidden: true,
  255. permission: 'M_giftRecordList'
  256. }
  257. }
  258. ]
  259. },
  260. {
  261. path: '/salesManagement/salesman',
  262. redirect: '/salesManagement/salesman/list',
  263. name: 'salesman',
  264. component: BlankLayout,
  265. meta: {
  266. title: '业务员管理',
  267. icon: 'file-search',
  268. permission: 'M_salesman_list'
  269. },
  270. hideChildrenInMenu: true,
  271. children: [
  272. {
  273. path: 'list',
  274. name: 'salesmanList',
  275. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesman/list.vue'),
  276. meta: {
  277. title: '业务员列表',
  278. icon: 'file-search',
  279. hidden: true,
  280. permission: 'M_salesman_list'
  281. }
  282. }
  283. ]
  284. }
  285. ]
  286. },
  287. // 采购管理
  288. {
  289. path: '/purchasingManagement',
  290. redirect: '/purchasingManagement/purchaseOrder',
  291. component: PageView,
  292. meta: {
  293. title: '采购管理',
  294. icon: 'money-collect',
  295. permission: 'M_purchasingManagement'
  296. },
  297. children: [
  298. {
  299. path: '/purchasingManagement/purchaseOrder',
  300. redirect: '/purchasingManagement/purchaseOrder/list',
  301. name: 'purchaseOrder',
  302. component: BlankLayout,
  303. meta: {
  304. title: '采购单管理',
  305. icon: 'money-collect',
  306. permission: 'M_purchasingList'
  307. },
  308. hideChildrenInMenu: true,
  309. children: [
  310. {
  311. path: 'list',
  312. name: 'purchaseOrderList',
  313. component: () => import(/* webpackChunkName: "shop" */ '@/views/purchasingManagement/purchaseOrder/list.vue'),
  314. meta: {
  315. title: '采购单列表',
  316. icon: 'money-collect',
  317. hidden: true,
  318. permission: 'M_purchasingList'
  319. }
  320. },
  321. {
  322. path: 'add/:sn',
  323. name: 'purchaseOrderAdd',
  324. component: () => import(/* webpackChunkName: "shop" */ '@/views/purchasingManagement/purchaseOrder/edit.vue'),
  325. meta: {
  326. title: '新增采购单',
  327. icon: 'money-collect',
  328. hidden: true,
  329. permission: 'B_purchaseNew'
  330. }
  331. },
  332. {
  333. path: 'edit/:sn',
  334. name: 'purchaseOrderEdit',
  335. component: () => import(/* webpackChunkName: "shop" */ '@/views/purchasingManagement/purchaseOrder/edit.vue'),
  336. meta: {
  337. title: '编辑采购单',
  338. icon: 'money-collect',
  339. hidden: true,
  340. permission: 'B_purchaseEdit'
  341. }
  342. },
  343. {
  344. path: 'detail/:sn',
  345. name: 'purchaseOrderDetail',
  346. component: () => import(/* webpackChunkName: "shop" */ '@/views/purchasingManagement/purchaseOrder/detail.vue'),
  347. meta: {
  348. title: '采购单详情',
  349. icon: 'money-collect',
  350. hidden: true,
  351. permission: 'B_purchaseDetail'
  352. }
  353. },
  354. {
  355. path: 'warehousing/:sn',
  356. name: 'purchaseOrderWarehousing',
  357. component: () => import(/* webpackChunkName: "shop" */ '@/views/purchasingManagement/purchaseOrder/warehousing.vue'),
  358. meta: {
  359. title: '采购入库',
  360. icon: 'money-collect',
  361. hidden: true,
  362. permission: 'B_purchaseReceiving'
  363. }
  364. }
  365. ]
  366. },
  367. {
  368. path: '/purchasingManagement/purchaseReturn',
  369. redirect: '/purchasingManagement/purchaseReturn/list',
  370. name: 'purchaseReturn',
  371. component: BlankLayout,
  372. meta: {
  373. title: '采购退货',
  374. icon: 'money-collect',
  375. permission: 'M_purchaseReturnList'
  376. },
  377. hideChildrenInMenu: true,
  378. children: [
  379. {
  380. path: 'list',
  381. name: 'purchaseReturnList',
  382. component: () => import(/* webpackChunkName: "shop" */ '@/views/purchasingManagement/purchaseReturn/list.vue'),
  383. meta: {
  384. title: '采购退货列表',
  385. icon: 'money-collect',
  386. hidden: true,
  387. permission: 'M_purchaseReturnList'
  388. }
  389. },
  390. {
  391. path: 'add/:id/:sn/:name',
  392. name: 'purchaseReturnAdd',
  393. component: () => import(/* webpackChunkName: "shop" */ '@/views/purchasingManagement/purchaseReturn/edit.vue'),
  394. meta: {
  395. title: '新增采购退货单',
  396. icon: 'money-collect',
  397. hidden: true,
  398. permission: 'B_purchaseReturnNew'
  399. }
  400. },
  401. {
  402. path: 'edit/:id/:sn/:name',
  403. name: 'purchaseReturnEdit',
  404. component: () => import(/* webpackChunkName: "shop" */ '@/views/purchasingManagement/purchaseReturn/edit.vue'),
  405. meta: {
  406. title: '编辑采购退货单',
  407. icon: 'money-collect',
  408. hidden: true,
  409. permission: 'B_purchaseReturnEdit'
  410. }
  411. },
  412. {
  413. path: 'detail/:sn',
  414. name: 'purchaseReturnDetail',
  415. component: () => import(/* webpackChunkName: "shop" */ '@/views/purchasingManagement/purchaseReturn/detail.vue'),
  416. meta: {
  417. title: '采购退货详情',
  418. icon: 'money-collect',
  419. hidden: true,
  420. permission: 'B_purchaseReturnDetail'
  421. }
  422. }
  423. ]
  424. }
  425. ]
  426. },
  427. // 出库管理
  428. {
  429. path: '/outboundOrderManagement',
  430. redirect: '/outboundOrderManagement/outboundOrder',
  431. component: PageView,
  432. meta: {
  433. title: '出库管理',
  434. icon: 'logout',
  435. permission: 'M_outboundList'
  436. },
  437. children: [
  438. {
  439. path: '/outboundOrderManagement/outboundOrder',
  440. redirect: '/outboundOrderManagement/outboundOrder/list',
  441. name: 'outboundOrder',
  442. component: BlankLayout,
  443. meta: {
  444. title: '出库',
  445. icon: 'logout',
  446. permission: 'M_outboundList'
  447. },
  448. hideChildrenInMenu: true,
  449. children: [
  450. {
  451. path: 'list',
  452. name: 'outboundOrderList',
  453. component: () => import(/* webpackChunkName: "outboundOrderManagement" */ '@/views/outboundOrderManagement/outboundOrder/list.vue'),
  454. meta: {
  455. title: '出库列表',
  456. icon: 'logout',
  457. hidden: true,
  458. permission: 'M_outboundList'
  459. }
  460. }
  461. ]
  462. }
  463. ]
  464. },
  465. // 财务管理
  466. {
  467. path: '/financialManagement',
  468. redirect: '/financialManagement/warehousingAudit',
  469. component: PageView,
  470. meta: {
  471. title: '财务管理',
  472. icon: 'property-safety',
  473. permission: 'M_financial'
  474. },
  475. children: [
  476. {
  477. path: '/financialManagement/warehousingAudit',
  478. redirect: '/financialManagement/warehousingAudit/list',
  479. name: 'warehousingAudit',
  480. component: BlankLayout,
  481. meta: {
  482. title: '入库审核',
  483. icon: 'pull-request',
  484. permission: 'M_warehousingAuditList'
  485. },
  486. hideChildrenInMenu: true,
  487. children: [
  488. {
  489. path: 'list',
  490. name: 'warehousingAuditList',
  491. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/list.vue'),
  492. meta: {
  493. title: '入库审核列表',
  494. icon: 'pull-request',
  495. hidden: true,
  496. permission: 'M_warehousingAuditList'
  497. }
  498. },
  499. {
  500. path: 'detail/:sn',
  501. name: 'warehousingAuditDetail',
  502. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/detail.vue'),
  503. meta: {
  504. title: '入库审核详情',
  505. icon: 'pull-request',
  506. hidden: true,
  507. permission: 'M_warehousingAudit_detail'
  508. }
  509. }
  510. ]
  511. },
  512. {
  513. path: '/financialManagement/inventoryCheckAudit',
  514. redirect: '/financialManagement/inventoryCheckAudit/list',
  515. name: 'inventoryCheckAudit',
  516. component: BlankLayout,
  517. meta: {
  518. title: '盘点审核',
  519. icon: 'laptop',
  520. permission: 'M_inventoryCheckAuditList'
  521. },
  522. hideChildrenInMenu: true,
  523. children: [
  524. {
  525. path: 'list',
  526. name: 'inventoryCheckAuditList',
  527. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryCheckAudit/list.vue'),
  528. meta: {
  529. title: '盘点审核列表',
  530. icon: 'laptop',
  531. hidden: true,
  532. permission: 'M_inventoryCheckAuditList'
  533. }
  534. }
  535. ]
  536. },
  537. {
  538. path: '/financialManagement/financialPayment',
  539. redirect: '/financialManagement/financialPayment/list',
  540. name: 'financialPayment',
  541. component: BlankLayout,
  542. meta: {
  543. title: '财务付款',
  544. icon: 'pay-circle',
  545. permission: 'M_financialPaymentList'
  546. },
  547. hideChildrenInMenu: true,
  548. children: [
  549. {
  550. path: 'list',
  551. name: 'financialPaymentList',
  552. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialPayment/list.vue'),
  553. meta: {
  554. title: '财务付款列表',
  555. icon: 'pay-circle',
  556. hidden: true,
  557. permission: 'M_financialPaymentList'
  558. }
  559. }
  560. ]
  561. },
  562. {
  563. path: '/financialManagement/financialCollection',
  564. redirect: '/financialManagement/financialCollection/list',
  565. name: 'financialCollection',
  566. component: BlankLayout,
  567. meta: {
  568. title: '财务收款',
  569. icon: 'money-collect',
  570. permission: 'M_financialCollectionList'
  571. },
  572. hideChildrenInMenu: true,
  573. children: [
  574. {
  575. path: 'list',
  576. name: 'financialCollectionList',
  577. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
  578. meta: {
  579. title: '财务收款列表',
  580. icon: 'money-collect',
  581. hidden: true,
  582. permission: 'M_financialCollectionList'
  583. }
  584. }
  585. ]
  586. },
  587. {
  588. path: '/financialManagement/expenseManagement',
  589. redirect: '/financialManagement/expenseManagement/list',
  590. name: 'expenseManagement',
  591. component: BlankLayout,
  592. meta: {
  593. title: '费用管理',
  594. icon: 'pound',
  595. permission: 'M_expenseManagementList'
  596. },
  597. hideChildrenInMenu: true,
  598. children: [
  599. {
  600. path: 'list',
  601. name: 'expenseManagementList',
  602. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/list.vue'),
  603. meta: {
  604. title: '费用单列表',
  605. icon: 'pound',
  606. hidden: true,
  607. permission: 'M_expenseManagementList'
  608. }
  609. },
  610. {
  611. path: 'add',
  612. name: 'expenseManagementAdd',
  613. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/edit.vue'),
  614. meta: {
  615. title: '新增费用单',
  616. icon: 'pound',
  617. hidden: true,
  618. permission: 'B_expenseNew'
  619. }
  620. },
  621. {
  622. path: 'edit/:id',
  623. name: 'expenseManagementEdit',
  624. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/edit.vue'),
  625. meta: {
  626. title: '编辑费用单',
  627. icon: 'pound',
  628. hidden: true,
  629. permission: 'B_expenseEdit'
  630. }
  631. }
  632. ]
  633. },
  634. {
  635. path: '/financialManagement/companyReceivablePayable',
  636. redirect: '/financialManagement/companyReceivablePayable/list',
  637. name: 'companyReceivablePayable',
  638. component: BlankLayout,
  639. meta: {
  640. title: '单位应收应付管理',
  641. icon: 'transaction',
  642. permission: 'M_companyReceivablePayableList'
  643. },
  644. hideChildrenInMenu: true,
  645. children: [
  646. {
  647. path: 'list',
  648. name: 'companyReceivablePayableList',
  649. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/list.vue'),
  650. meta: {
  651. title: '单位应收应付列表',
  652. icon: 'transaction',
  653. hidden: true,
  654. permission: 'M_companyReceivablePayableList'
  655. }
  656. },
  657. {
  658. path: 'collectionPayment/:sn/:name',
  659. name: 'companyReceivablePayableCollectionPayment',
  660. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/collectionPayment.vue'),
  661. meta: {
  662. title: '单位应收应付',
  663. icon: 'transaction',
  664. hidden: true,
  665. permission: 'M_collectionPayment'
  666. }
  667. },
  668. {
  669. path: 'detail/:sn/:name',
  670. name: 'companyReceivablePayableDetail',
  671. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/detail.vue'),
  672. meta: {
  673. title: '单位应收应付详情',
  674. icon: 'transaction',
  675. hidden: true,
  676. permission: 'M_companyReceivablePayable_detail'
  677. }
  678. }
  679. ]
  680. },
  681. {
  682. path: '/financialManagement/companyCollectionPayment',
  683. redirect: '/financialManagement/companyCollectionPayment/list',
  684. name: 'companyCollectionPayment',
  685. component: BlankLayout,
  686. meta: {
  687. title: '单位收付款记录',
  688. icon: 'file-protect',
  689. permission: 'M_companyCollectionPaymentList'
  690. },
  691. hideChildrenInMenu: true,
  692. children: [
  693. {
  694. path: 'list',
  695. name: 'companyCollectionPaymentList',
  696. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/list.vue'),
  697. meta: {
  698. title: '单位收付款记录列表',
  699. icon: 'file-protect',
  700. hidden: true,
  701. permission: 'M_companyCollectionPaymentList'
  702. }
  703. },
  704. {
  705. path: 'detail/:id/:sn',
  706. name: 'companyCollectionPaymentDetail',
  707. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/detail.vue'),
  708. meta: {
  709. title: '单位收付款记录详情',
  710. icon: 'file-protect',
  711. hidden: true,
  712. permission: 'M_companyCollectionPayment_detail'
  713. }
  714. }
  715. ]
  716. },
  717. {
  718. path: '/financialManagement/withdrawalManagement',
  719. redirect: '/financialManagement/withdrawalManagement/list',
  720. name: 'withdrawalManagement',
  721. component: BlankLayout,
  722. meta: {
  723. title: '提现管理',
  724. icon: 'dollar',
  725. permission: 'M_withdrawalManagementList'
  726. },
  727. hideChildrenInMenu: true,
  728. children: [
  729. {
  730. path: 'list',
  731. name: 'withdrawalManagementList',
  732. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/withdrawalManagement/list.vue'),
  733. meta: {
  734. title: '提现管理列表',
  735. icon: 'dollar',
  736. hidden: true,
  737. permission: 'M_withdrawalManagementList'
  738. }
  739. }
  740. ]
  741. },
  742. {
  743. path: '/financialManagement/ledgerRecord',
  744. redirect: '/financialManagement/ledgerRecord/list',
  745. name: 'ledgerRecord',
  746. component: BlankLayout,
  747. meta: {
  748. title: '分账记录',
  749. icon: 'profile',
  750. permission: 'M_ledgerRecordList'
  751. },
  752. hideChildrenInMenu: true,
  753. children: [
  754. {
  755. path: 'list',
  756. name: 'ledgerRecordList',
  757. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/ledgerRecord/list.vue'),
  758. meta: {
  759. title: '分账记录列表',
  760. icon: 'profile',
  761. hidden: true,
  762. permission: 'M_ledgerRecordList'
  763. }
  764. }
  765. ]
  766. }
  767. ]
  768. },
  769. // 调拨管理
  770. {
  771. path: '/allocationManagement',
  772. redirect: '/allocationManagement/warehouseAllocation',
  773. component: PageView,
  774. meta: {
  775. title: '调拨管理',
  776. icon: 'cluster',
  777. permission: 'M_allocationManagement'
  778. },
  779. children: [
  780. {
  781. path: '/allocationManagement/warehouseAllocation',
  782. redirect: '/allocationManagement/warehouseAllocation/list',
  783. name: 'warehouseAllocation',
  784. component: BlankLayout,
  785. meta: {
  786. title: '仓库调拨',
  787. icon: 'gateway',
  788. permission: 'M_warehouseAllocationList'
  789. },
  790. hideChildrenInMenu: true,
  791. children: [
  792. {
  793. path: 'list',
  794. name: 'warehouseAllocationList',
  795. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/warehouseAllocation/list.vue'),
  796. meta: {
  797. title: '仓库调拨列表',
  798. icon: 'gateway',
  799. hidden: true,
  800. permission: 'M_warehouseAllocationList'
  801. }
  802. },
  803. {
  804. path: 'add',
  805. name: 'warehouseAllocationAdd',
  806. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/warehouseAllocation/edit.vue'),
  807. meta: {
  808. title: '新增仓库调拨',
  809. icon: 'gateway',
  810. hidden: true,
  811. permission: 'B_warehouseAllocationNews'
  812. }
  813. },
  814. {
  815. path: 'edit/:id/:sn',
  816. name: 'warehouseAllocationEdit',
  817. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/warehouseAllocation/edit.vue'),
  818. meta: {
  819. title: '编辑仓库调拨',
  820. icon: 'gateway',
  821. hidden: true,
  822. permission: 'B_warehouseAllocationEdit'
  823. }
  824. },
  825. {
  826. path: 'detail/:sn',
  827. name: 'warehouseAllocationDetail',
  828. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/warehouseAllocation/detail.vue'),
  829. meta: {
  830. title: '仓库调拨详情',
  831. icon: 'gateway',
  832. hidden: true,
  833. permission: 'B_warehouseAllocationDetail'
  834. }
  835. }
  836. ]
  837. },
  838. {
  839. path: '/allocationManagement/chainTransferIn',
  840. redirect: '/allocationManagement/chainTransferIn/list',
  841. name: 'chainTransferIn',
  842. component: BlankLayout,
  843. meta: {
  844. title: '连锁调入',
  845. icon: 'cluster',
  846. permission: 'M_chainTransferInList'
  847. },
  848. hideChildrenInMenu: true,
  849. children: [
  850. {
  851. path: 'list',
  852. name: 'chainTransferInList',
  853. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/chainTransferIn/list.vue'),
  854. meta: {
  855. title: '连锁调入列表',
  856. icon: 'cluster',
  857. hidden: true,
  858. permission: 'M_chainTransferInList'
  859. }
  860. },
  861. {
  862. path: 'edit/:id/:sn',
  863. name: 'chainTransferInEdit',
  864. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/chainTransferIn/edit.vue'),
  865. meta: {
  866. title: '编辑连锁调入',
  867. icon: 'cluster',
  868. hidden: true,
  869. permission: 'B_allocLinkagePutEdit'
  870. }
  871. },
  872. {
  873. path: 'detail/:sn',
  874. name: 'chainTransferInDetail',
  875. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/chainTransferIn/detail.vue'),
  876. meta: {
  877. title: '连锁调入详情',
  878. icon: 'cluster',
  879. hidden: true,
  880. permission: 'B_allocLinkagePutDetail'
  881. }
  882. }
  883. ]
  884. },
  885. {
  886. path: '/allocationManagement/chainTransferOut',
  887. redirect: '/allocationManagement/chainTransferOut/list',
  888. name: 'chainTransferOut',
  889. component: BlankLayout,
  890. meta: {
  891. title: '连锁调出',
  892. icon: 'pull-request',
  893. permission: 'M_chainTransferOutList'
  894. },
  895. hideChildrenInMenu: true,
  896. children: [
  897. {
  898. path: 'list',
  899. name: 'chainTransferOutList',
  900. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/chainTransferOut/list.vue'),
  901. meta: {
  902. title: '连锁调出列表',
  903. icon: 'pull-request',
  904. hidden: true,
  905. permission: 'M_chainTransferOutList'
  906. }
  907. },
  908. {
  909. path: 'add/:id/:sn',
  910. name: 'chainTransferOutAdd',
  911. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/chainTransferOut/edit.vue'),
  912. meta: {
  913. title: '新增连锁调出',
  914. icon: 'pull-request',
  915. hidden: true,
  916. permission: 'B_allocLinkageOutNew'
  917. }
  918. },
  919. {
  920. path: 'edit/:id/:sn',
  921. name: 'chainTransferOutEdit',
  922. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/chainTransferOut/edit.vue'),
  923. meta: {
  924. title: '编辑连锁调出',
  925. icon: 'pull-request',
  926. hidden: true,
  927. permission: 'B_allocLinkageOutEdit'
  928. }
  929. },
  930. {
  931. path: 'detail/:sn',
  932. name: 'chainTransferOutDetail',
  933. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/chainTransferOut/detail.vue'),
  934. meta: {
  935. title: '连锁调出详情',
  936. icon: 'pull-request',
  937. hidden: true,
  938. permission: 'B_allocLinkageOutDetail'
  939. }
  940. }
  941. ]
  942. },
  943. {
  944. path: '/allocationManagement/storeTransferOut',
  945. redirect: '/allocationManagement/storeTransferOut/list',
  946. name: 'storeTransferOut',
  947. component: BlankLayout,
  948. meta: {
  949. title: '店内调出',
  950. icon: 'interaction',
  951. permission: 'M_storeTransferOutList'
  952. },
  953. hideChildrenInMenu: true,
  954. children: [
  955. {
  956. path: 'list',
  957. name: 'storeTransferOutList',
  958. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/storeTransferOut/list.vue'),
  959. meta: {
  960. title: '店内调出列表',
  961. icon: 'interaction',
  962. hidden: true,
  963. permission: 'M_storeTransferOutList'
  964. }
  965. },
  966. {
  967. path: 'add/:id/:sn',
  968. name: 'storeTransferOutAdd',
  969. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/storeTransferOut/edit.vue'),
  970. meta: {
  971. title: '新增店内调出',
  972. icon: 'interaction',
  973. hidden: true,
  974. permission: 'B_storeTransferOutNews'
  975. }
  976. },
  977. {
  978. path: 'edit/:id/:sn',
  979. name: 'storeTransferOutEdit',
  980. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/storeTransferOut/edit.vue'),
  981. meta: {
  982. title: '编辑店内调出',
  983. icon: 'interaction',
  984. hidden: true,
  985. permission: 'B_storeCallOutEdit'
  986. }
  987. },
  988. {
  989. path: 'detail/:sn',
  990. name: 'storeTransferOutDetail',
  991. component: () => import(/* webpackChunkName: "shop" */ '@/views/allocationManagement/storeTransferOut/detail.vue'),
  992. meta: {
  993. title: '店内调出详情',
  994. icon: 'interaction',
  995. hidden: true,
  996. permission: 'B_storeCallOutDetail'
  997. }
  998. }
  999. ]
  1000. }
  1001. ]
  1002. },
  1003. // 库存管理
  1004. {
  1005. path: '/inventoryManagement',
  1006. redirect: '/inventoryManagement/inventoryQuery',
  1007. component: PageView,
  1008. meta: {
  1009. title: '库存管理',
  1010. icon: 'shop',
  1011. permission: 'M_inventory'
  1012. },
  1013. children: [
  1014. {
  1015. path: '/inventoryManagement/inventoryQuery',
  1016. redirect: '/inventoryManagement/inventoryQuery/list',
  1017. name: 'inventoryQuery',
  1018. component: BlankLayout,
  1019. meta: {
  1020. title: '库存查询',
  1021. icon: 'monitor',
  1022. permission: 'M_inventoryInventoryQueryList'
  1023. },
  1024. hideChildrenInMenu: true,
  1025. children: [
  1026. {
  1027. path: 'list',
  1028. name: 'inventoryQueryList',
  1029. component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
  1030. meta: {
  1031. title: '库存列表',
  1032. icon: 'monitor',
  1033. hidden: true,
  1034. permission: 'M_inventoryInventoryQueryList'
  1035. }
  1036. },
  1037. {
  1038. path: 'warehouseDetail/:sn',
  1039. name: 'inventoryQueryWarehouseDetail',
  1040. component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
  1041. meta: {
  1042. title: '出入库明细',
  1043. icon: 'monitor',
  1044. hidden: true,
  1045. permission: 'B_inventoryInventoryQueryStock'
  1046. }
  1047. }
  1048. ]
  1049. },
  1050. {
  1051. path: '/inventoryManagement/inventoryWarning',
  1052. name: 'inventoryWarningList',
  1053. component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
  1054. meta: {
  1055. title: '库存预警',
  1056. icon: 'alert',
  1057. permission: 'M_inventoryWarningList'
  1058. }
  1059. },
  1060. {
  1061. path: '/inventoryManagement/satelliteWarehouseInventory',
  1062. name: 'satelliteWarehouseInventoryList',
  1063. component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/satelliteWarehouseInventory/list.vue'),
  1064. meta: {
  1065. title: '卫星仓库存',
  1066. icon: 'flag',
  1067. permission: 'M_satelliteWarehouseInventoryList'
  1068. }
  1069. },
  1070. {
  1071. path: '/inventoryManagement/inventoryChecking',
  1072. redirect: '/inventoryManagement/inventoryChecking/list',
  1073. name: 'inventoryChecking',
  1074. component: BlankLayout,
  1075. meta: {
  1076. title: '库存盘点',
  1077. icon: 'reconciliation',
  1078. permission: 'M_inventoryCheckingList'
  1079. },
  1080. hideChildrenInMenu: true,
  1081. children: [
  1082. {
  1083. path: 'list',
  1084. name: 'inventoryCheckingList',
  1085. component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/inventoryChecking/list.vue'),
  1086. meta: {
  1087. title: '库存盘点列表',
  1088. icon: 'reconciliation',
  1089. hidden: true,
  1090. permission: 'M_inventoryCheckingList'
  1091. }
  1092. },
  1093. {
  1094. path: 'overall/:id/:sn',
  1095. name: 'inventoryCheckingOverall',
  1096. component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/inventoryChecking/overall.vue'),
  1097. meta: {
  1098. title: '编辑库存盘点【全盘】',
  1099. icon: 'reconciliation',
  1100. hidden: true,
  1101. permission: 'B_inventoryCheckingEdit'
  1102. }
  1103. },
  1104. {
  1105. path: 'selfDisk/:id/:sn',
  1106. name: 'inventoryCheckingSelfDisk',
  1107. component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/inventoryChecking/selfDisk.vue'),
  1108. meta: {
  1109. title: '编辑库存盘点【自选盘点】',
  1110. icon: 'reconciliation',
  1111. hidden: true,
  1112. permission: 'B_inventoryCheckingEdit'
  1113. }
  1114. },
  1115. {
  1116. path: 'makeInventory/:id/:sn',
  1117. name: 'inventoryCheckingMakeInventory',
  1118. component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/inventoryChecking/makeInventory.vue'),
  1119. meta: {
  1120. title: '盘点',
  1121. icon: 'reconciliation',
  1122. hidden: true,
  1123. permission: 'B_inventoryCheckingInventory'
  1124. }
  1125. }
  1126. ]
  1127. },
  1128. {
  1129. path: '/inventoryManagement/inventoryImport',
  1130. redirect: '/inventoryManagement/inventoryImport/list',
  1131. name: 'inventoryImport',
  1132. component: BlankLayout,
  1133. meta: {
  1134. title: '库存导入',
  1135. icon: 'frown',
  1136. permission: 'M_inventoryImport'
  1137. },
  1138. hideChildrenInMenu: true,
  1139. children: [
  1140. {
  1141. path: 'list',
  1142. name: 'inventoryImportList',
  1143. component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/inventoryImport/list.vue'),
  1144. meta: {
  1145. title: '库存导入列表',
  1146. icon: 'frown',
  1147. hidden: true,
  1148. permission: 'M_inventoryImport'
  1149. }
  1150. }
  1151. ]
  1152. },
  1153. {
  1154. path: '/inventoryManagement/warehouse',
  1155. redirect: '/inventoryManagement/warehouse/list',
  1156. name: 'warehouse',
  1157. component: BlankLayout,
  1158. meta: {
  1159. title: '仓库管理',
  1160. icon: 'deployment-unit',
  1161. permission: 'M_inventoryWarehouseList'
  1162. },
  1163. hideChildrenInMenu: true,
  1164. children: [
  1165. {
  1166. path: 'list',
  1167. name: 'warehouseList',
  1168. component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/warehouse/list.vue'),
  1169. meta: {
  1170. title: '仓库列表',
  1171. icon: 'deployment-unit',
  1172. hidden: true,
  1173. permission: 'M_inventoryWarehouseList'
  1174. }
  1175. },
  1176. {
  1177. path: '/inventoryManagement/storingLocation/:sn',
  1178. name: 'storingLocationList',
  1179. component: () => import(/* webpackChunkName: "shop" */ '@/views/inventoryManagement/warehouse/storingLocation/list.vue'),
  1180. meta: {
  1181. title: '仓位列表',
  1182. icon: 'deployment-unit',
  1183. hidden: true,
  1184. permission: 'M_inventoryWarehouseStoringLocationList'
  1185. }
  1186. }
  1187. ]
  1188. }
  1189. ]
  1190. },
  1191. // 散件管理
  1192. {
  1193. path: '/bulkManagement',
  1194. redirect: '/bulkManagement/purchaseOrder',
  1195. component: PageView,
  1196. meta: {
  1197. title: '散件管理',
  1198. icon: 'gold',
  1199. permission: 'M_bulkManagement'
  1200. },
  1201. children: [
  1202. {
  1203. path: '/bulkManagement/bulkWarehousingOrder',
  1204. redirect: '/bulkManagement/bulkWarehousingOrder/list',
  1205. name: 'bulkWarehousingOrder',
  1206. component: BlankLayout,
  1207. meta: {
  1208. title: '散件入库',
  1209. icon: 'gold',
  1210. permission: 'M_bulkWarehousingOrderList'
  1211. },
  1212. hideChildrenInMenu: true,
  1213. children: [
  1214. {
  1215. path: 'list',
  1216. name: 'bulkWarehousingOrderList',
  1217. component: () => import(/* webpackChunkName: "shop" */ '@/views/bulkManagement/bulkWarehousingOrder/list.vue'),
  1218. meta: {
  1219. title: '散件入库单列表',
  1220. icon: 'gold',
  1221. hidden: true,
  1222. permission: 'M_bulkWarehousingOrderList'
  1223. }
  1224. },
  1225. {
  1226. path: 'add/:id/:sn',
  1227. name: 'bulkWarehousingOrderAdd',
  1228. component: () => import(/* webpackChunkName: "shop" */ '@/views/bulkManagement/bulkWarehousingOrder/edit.vue'),
  1229. meta: {
  1230. title: '新增散件入库单',
  1231. icon: 'gold',
  1232. hidden: true,
  1233. permission: 'B_bulkWarehousingOrder_add'
  1234. }
  1235. },
  1236. {
  1237. path: 'edit/:id/:sn',
  1238. name: 'bulkWarehousingOrderEdit',
  1239. component: () => import(/* webpackChunkName: "shop" */ '@/views/bulkManagement/bulkWarehousingOrder/edit.vue'),
  1240. meta: {
  1241. title: '编辑散件入库单',
  1242. icon: 'gold',
  1243. hidden: true,
  1244. permission: 'B_bulkWarehousingOrder_edit'
  1245. }
  1246. },
  1247. {
  1248. path: 'detail/:id/:sn',
  1249. name: 'bulkWarehousingOrderDetail',
  1250. component: () => import(/* webpackChunkName: "shop" */ '@/views/bulkManagement/bulkWarehousingOrder/detail.vue'),
  1251. meta: {
  1252. title: '散件入库单详情',
  1253. icon: 'gold',
  1254. hidden: true,
  1255. permission: 'B_bulkWarehousingOrder_detail'
  1256. }
  1257. }
  1258. ]
  1259. },
  1260. {
  1261. path: '/bulkManagement/bulkReturnGoods',
  1262. redirect: '/bulkManagement/bulkReturnGoods/list',
  1263. name: 'bulkReturnGoods',
  1264. component: BlankLayout,
  1265. meta: {
  1266. title: '散件退货',
  1267. icon: 'frown',
  1268. permission: 'M_bulkReturnGoodsList'
  1269. },
  1270. hideChildrenInMenu: true,
  1271. children: [
  1272. {
  1273. path: 'list',
  1274. name: 'bulkReturnGoodsList',
  1275. component: () => import(/* webpackChunkName: "shop" */ '@/views/bulkManagement/bulkReturnGoods/list.vue'),
  1276. meta: {
  1277. title: '散件退货列表',
  1278. icon: 'frown',
  1279. hidden: true,
  1280. permission: 'M_bulkReturnGoodsList'
  1281. }
  1282. },
  1283. {
  1284. path: 'edit/:id/:sn',
  1285. name: 'bulkReturnGoodsEdit',
  1286. component: () => import(/* webpackChunkName: "shop" */ '@/views/bulkManagement/bulkReturnGoods/edit.vue'),
  1287. meta: {
  1288. title: '编辑散件退货单(不抓单)',
  1289. icon: 'frown',
  1290. hidden: true,
  1291. permission: 'B_bulkReturnGoodsEdit'
  1292. }
  1293. },
  1294. {
  1295. path: 'grabEdit/:id/:sn/:supplierSn',
  1296. name: 'bulkReturnGoodsGrabEdit',
  1297. component: () => import(/* webpackChunkName: "shop" */ '@/views/bulkManagement/bulkReturnGoods/grabEdit.vue'),
  1298. meta: {
  1299. title: '编辑散件退货单(抓单)',
  1300. icon: 'frown',
  1301. hidden: true,
  1302. permission: 'B_bulkReturnGoodsEdit'
  1303. }
  1304. }
  1305. ]
  1306. },
  1307. {
  1308. path: '/bulkManagement/bulkImport',
  1309. redirect: '/bulkManagement/bulkImport/list',
  1310. name: 'bulkImport',
  1311. component: BlankLayout,
  1312. meta: {
  1313. title: '散件导入',
  1314. icon: 'frown',
  1315. permission: 'M_bulkImport'
  1316. },
  1317. hideChildrenInMenu: true,
  1318. children: [
  1319. {
  1320. path: 'list',
  1321. name: 'bulkImportList',
  1322. component: () => import(/* webpackChunkName: "shop" */ '@/views/bulkManagement/bulkImport/list.vue'),
  1323. meta: {
  1324. title: '散件导入列表',
  1325. icon: 'frown',
  1326. hidden: true,
  1327. permission: 'M_bulkImport'
  1328. }
  1329. }
  1330. ]
  1331. }
  1332. ]
  1333. },
  1334. // 报表
  1335. {
  1336. path: '/reportData',
  1337. redirect: '/reportData/chainStockReport',
  1338. component: PageView,
  1339. meta: {
  1340. title: '报表',
  1341. icon: 'project',
  1342. permission: 'M_reportData'
  1343. },
  1344. children: [
  1345. {
  1346. path: '/reportData/chainStockReport',
  1347. redirect: '/reportData/chainStockReport/list',
  1348. name: 'chainStockReport',
  1349. component: BlankLayout,
  1350. meta: {
  1351. title: '连锁库存总表',
  1352. icon: 'profile',
  1353. permission: 'M_chainStockReportList'
  1354. },
  1355. hideChildrenInMenu: true,
  1356. children: [
  1357. {
  1358. path: 'list',
  1359. name: 'chainStockReportList',
  1360. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/chainStockReport/list.vue'),
  1361. meta: {
  1362. title: '连锁库存总表列表',
  1363. icon: 'profile',
  1364. hidden: true,
  1365. permission: 'M_chainStockReportList'
  1366. }
  1367. }
  1368. ]
  1369. },
  1370. {
  1371. path: '/reportData/chainSalesReport',
  1372. redirect: '/reportData/chainSalesReport/list',
  1373. name: 'chainSalesReport',
  1374. component: BlankLayout,
  1375. meta: {
  1376. title: '连锁销售报表',
  1377. icon: 'profile',
  1378. permission: 'M_chainSalesReportList'
  1379. },
  1380. hideChildrenInMenu: true,
  1381. children: [
  1382. {
  1383. path: 'list',
  1384. name: 'chainSalesReportList',
  1385. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/chainSalesReport/list.vue'),
  1386. meta: {
  1387. title: '连锁销售报表列表',
  1388. icon: 'profile',
  1389. hidden: true,
  1390. permission: 'M_chainSalesReportList'
  1391. }
  1392. }
  1393. ]
  1394. },
  1395. {
  1396. path: '/reportData/chainSalesDetailReport',
  1397. redirect: '/reportData/chainSalesDetailReport/list',
  1398. name: 'chainSalesDetailReport',
  1399. component: BlankLayout,
  1400. meta: {
  1401. title: '连锁销售明细报表',
  1402. icon: 'profile',
  1403. permission: 'M_chainSalesDetailReportList'
  1404. },
  1405. hideChildrenInMenu: true,
  1406. children: [
  1407. {
  1408. path: 'list',
  1409. name: 'chainSalesDetailReportList',
  1410. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/chainSalesDetailReport/list.vue'),
  1411. meta: {
  1412. title: '连锁销售明细报表列表',
  1413. icon: 'profile',
  1414. hidden: true,
  1415. permission: 'M_chainSalesDetailReportList'
  1416. }
  1417. }
  1418. ]
  1419. },
  1420. {
  1421. path: '/reportData/chainReceivedSendStorageReport',
  1422. redirect: '/reportData/chainReceivedSendStorageReport/list',
  1423. name: 'chainReceivedSendStorageReport',
  1424. component: BlankLayout,
  1425. meta: {
  1426. title: '连锁收发存报表',
  1427. icon: 'profile',
  1428. permission: 'M_chainReceivedSendStorageReportList'
  1429. },
  1430. hideChildrenInMenu: true,
  1431. children: [
  1432. {
  1433. path: 'list',
  1434. name: 'chainReceivedSendStorageReportList',
  1435. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/chainReceivedSendStorageReport/list.vue'),
  1436. meta: {
  1437. title: '连锁收发存报表列表',
  1438. icon: 'profile',
  1439. hidden: true,
  1440. permission: 'M_chainReceivedSendStorageReportList'
  1441. }
  1442. }
  1443. ]
  1444. },
  1445. {
  1446. path: '/reportData/customerReport',
  1447. redirect: '/reportData/customerReport/list',
  1448. name: 'customerReport',
  1449. component: BlankLayout,
  1450. meta: {
  1451. title: '大客户报表',
  1452. icon: 'profile',
  1453. permission: 'M_customerReportList'
  1454. },
  1455. hideChildrenInMenu: true,
  1456. children: [
  1457. {
  1458. path: 'list',
  1459. name: 'customerReportList',
  1460. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/customerReport/list.vue'),
  1461. meta: {
  1462. title: '大客户报表列表',
  1463. icon: 'profile',
  1464. hidden: true,
  1465. permission: 'M_customerReportList'
  1466. }
  1467. }
  1468. ]
  1469. },
  1470. {
  1471. path: '/reportData/chainCustomerReport',
  1472. redirect: '/reportData/chainCustomerReport/list',
  1473. name: 'chainCustomerReport',
  1474. component: BlankLayout,
  1475. meta: {
  1476. title: '连锁大客户报表',
  1477. icon: 'profile',
  1478. permission: 'M_chainCustomerReportList'
  1479. },
  1480. hideChildrenInMenu: true,
  1481. children: [
  1482. {
  1483. path: 'list',
  1484. name: 'chainCustomerReportList',
  1485. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/chainCustomerReport/list.vue'),
  1486. meta: {
  1487. title: '连锁大客户报表列表',
  1488. icon: 'profile',
  1489. hidden: true,
  1490. permission: 'M_chainCustomerReportList'
  1491. }
  1492. }
  1493. ]
  1494. },
  1495. {
  1496. path: '/reportData/stockIncomeReport',
  1497. redirect: '/reportData/stockIncomeReport/list',
  1498. name: 'stockIncomeReport',
  1499. component: BlankLayout,
  1500. meta: {
  1501. title: '库存总入报表',
  1502. icon: 'profile',
  1503. permission: 'M_stockIncomeReportList'
  1504. },
  1505. hideChildrenInMenu: true,
  1506. children: [
  1507. {
  1508. path: 'list',
  1509. name: 'stockIncomeReportList',
  1510. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockIncomeReport/list.vue'),
  1511. meta: {
  1512. title: '库存总入报表列表',
  1513. icon: 'profile',
  1514. hidden: true,
  1515. permission: 'M_stockIncomeReportList'
  1516. }
  1517. }
  1518. ]
  1519. },
  1520. {
  1521. path: '/reportData/stockExpenditureReport',
  1522. redirect: '/reportData/stockExpenditureReport/list',
  1523. name: 'stockExpenditureReport',
  1524. component: BlankLayout,
  1525. meta: {
  1526. title: '库存总出报表',
  1527. icon: 'profile',
  1528. permission: 'M_stockExpenditureReportList'
  1529. },
  1530. hideChildrenInMenu: true,
  1531. children: [
  1532. {
  1533. path: 'list',
  1534. name: 'stockExpenditureReportList',
  1535. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockExpenditureReport/list.vue'),
  1536. meta: {
  1537. title: '库存总出报表列表',
  1538. icon: 'profile',
  1539. hidden: true,
  1540. permission: 'M_stockExpenditureReportList'
  1541. }
  1542. }
  1543. ]
  1544. },
  1545. {
  1546. path: '/reportData/receivedSendStorageReport',
  1547. redirect: '/reportData/receivedSendStorageReport/list',
  1548. name: 'receivedSendStorageReport',
  1549. component: BlankLayout,
  1550. meta: {
  1551. title: '收发存报表',
  1552. icon: 'profile',
  1553. permission: 'M_receivedSendStorageReportList'
  1554. },
  1555. hideChildrenInMenu: true,
  1556. children: [
  1557. {
  1558. path: 'list',
  1559. name: 'receivedSendStorageReportList',
  1560. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/receivedSendStorageReport/list.vue'),
  1561. meta: {
  1562. title: '收发存报表列表',
  1563. icon: 'profile',
  1564. hidden: true,
  1565. permission: 'M_receivedSendStorageReportList'
  1566. }
  1567. }
  1568. ]
  1569. }
  1570. ]
  1571. },
  1572. // 客户管理
  1573. {
  1574. path: '/customerManagement',
  1575. redirect: '/customerManagement/customerInfo',
  1576. component: PageView,
  1577. meta: {
  1578. title: '客户管理',
  1579. icon: 'idcard',
  1580. permission: 'M_customerInfoList'
  1581. },
  1582. children: [
  1583. {
  1584. path: '/customerManagement/customerInfo',
  1585. redirect: '/customerManagement/customerInfo/list',
  1586. name: 'customerInfo',
  1587. component: BlankLayout,
  1588. meta: {
  1589. title: '客户管理',
  1590. icon: 'idcard',
  1591. permission: 'M_customerInfoList'
  1592. },
  1593. hideChildrenInMenu: true,
  1594. children: [
  1595. {
  1596. path: 'list',
  1597. name: 'customerInfoList',
  1598. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/list.vue'),
  1599. meta: {
  1600. title: '客户列表',
  1601. icon: 'idcard',
  1602. hidden: true,
  1603. permission: 'M_customerInfoList'
  1604. }
  1605. },
  1606. {
  1607. path: 'add',
  1608. name: 'customerInfoAdd',
  1609. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/edit.vue'),
  1610. meta: {
  1611. title: '新增客户',
  1612. icon: 'idcard',
  1613. hidden: true,
  1614. permission: 'B_customer_customerInfo_add'
  1615. }
  1616. },
  1617. {
  1618. path: 'edit/:id',
  1619. name: 'customerInfoEdit',
  1620. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/edit.vue'),
  1621. meta: {
  1622. title: '编辑客户',
  1623. icon: 'idcard',
  1624. hidden: true,
  1625. permission: 'B_customer_customerInfo_edit'
  1626. }
  1627. }
  1628. ]
  1629. }
  1630. ]
  1631. },
  1632. // 产品管理
  1633. {
  1634. path: '/productManagement',
  1635. redirect: '/productManagement/productInfo',
  1636. component: PageView,
  1637. meta: {
  1638. title: '产品管理',
  1639. icon: 'shopping',
  1640. permission: 'M_product'
  1641. },
  1642. children: [
  1643. {
  1644. path: '/productManagement/productInfo',
  1645. redirect: '/productManagement/productInfo/list',
  1646. name: 'productInfo',
  1647. component: BlankLayout,
  1648. meta: {
  1649. title: '产品信息管理(自建)',
  1650. icon: 'file-text',
  1651. permission: 'M_dealerProductList'
  1652. },
  1653. hideChildrenInMenu: true,
  1654. children: [
  1655. {
  1656. path: 'list',
  1657. name: 'productInfoList',
  1658. component: () => import(/* webpackChunkName: "shop" */ '@/views/productManagement/productInfo/list.vue'),
  1659. meta: {
  1660. title: '产品信息列表(自建)',
  1661. icon: 'file-text',
  1662. hidden: true,
  1663. permission: 'M_dealerProductList'
  1664. }
  1665. },
  1666. {
  1667. path: 'add',
  1668. name: 'productInfoAdd',
  1669. component: () => import(/* webpackChunkName: "shop" */ '@/views/productManagement/productInfo/edit.vue'),
  1670. meta: {
  1671. title: '新增产品',
  1672. icon: 'file-text',
  1673. hidden: true,
  1674. permission: 'B_product_dealerProduct_add'
  1675. }
  1676. },
  1677. {
  1678. path: 'edit/:id',
  1679. name: 'productInfoEdit',
  1680. component: () => import(/* webpackChunkName: "shop" */ '@/views/productManagement/productInfo/edit.vue'),
  1681. meta: {
  1682. title: '编辑产品',
  1683. icon: 'file-text',
  1684. hidden: true,
  1685. permission: 'B_product_dealerProduct_edit'
  1686. }
  1687. }
  1688. ]
  1689. },
  1690. {
  1691. path: '/productManagement/productInfoJg',
  1692. redirect: '/productManagement/productInfoJg/list',
  1693. name: 'productInfoJg',
  1694. component: BlankLayout,
  1695. meta: {
  1696. title: '产品信息管理(箭冠)',
  1697. icon: 'file-text',
  1698. permission: 'M_productInfoList'
  1699. },
  1700. hideChildrenInMenu: true,
  1701. children: [
  1702. {
  1703. path: 'list',
  1704. name: 'productInfoJgList',
  1705. component: () => import(/* webpackChunkName: "shop" */ '@/views/productManagement/productInfoJg/list.vue'),
  1706. meta: {
  1707. title: '产品信息列表(箭冠)',
  1708. icon: 'file-text',
  1709. hidden: true,
  1710. permission: 'M_productInfoList'
  1711. }
  1712. }
  1713. ]
  1714. },
  1715. {
  1716. path: '/productManagement/productBrand',
  1717. redirect: '/productManagement/productBrand/list',
  1718. name: 'productBrand',
  1719. component: BlankLayout,
  1720. meta: {
  1721. title: '产品品牌管理',
  1722. icon: 'sketch',
  1723. permission: 'M_dealerProductBrandList'
  1724. },
  1725. hideChildrenInMenu: true,
  1726. children: [
  1727. {
  1728. path: 'list',
  1729. name: 'productBrandList',
  1730. component: () => import(/* webpackChunkName: "shop" */ '@/views/productManagement/productBrand/list.vue'),
  1731. meta: {
  1732. title: '产品品牌列表',
  1733. icon: 'sketch',
  1734. hidden: true,
  1735. permission: 'M_dealerProductBrandList'
  1736. }
  1737. }
  1738. ]
  1739. },
  1740. {
  1741. path: '/productManagement/productCategory',
  1742. redirect: '/productManagement/productCategory/list',
  1743. name: 'productCategory',
  1744. component: BlankLayout,
  1745. meta: {
  1746. title: '产品分类管理',
  1747. icon: 'sliders',
  1748. permission: 'M_dealerProductTypeList'
  1749. },
  1750. hideChildrenInMenu: true,
  1751. children: [
  1752. {
  1753. path: 'list',
  1754. name: 'productCategoryList',
  1755. component: () => import(/* webpackChunkName: "shop" */ '@/views/productManagement/productCategory/list.vue'),
  1756. meta: {
  1757. title: '产品分类列表',
  1758. icon: 'sliders',
  1759. hidden: true,
  1760. permission: 'M_dealerProductTypeList'
  1761. }
  1762. }
  1763. ]
  1764. },
  1765. {
  1766. path: '/productManagement/priceChangeRecord',
  1767. redirect: '/productManagement/priceChangeRecord/list',
  1768. name: 'priceChangeRecord',
  1769. component: BlankLayout,
  1770. meta: {
  1771. title: '价格变更记录',
  1772. icon: 'sketch',
  1773. permission: 'M_priceChangeRecordList'
  1774. },
  1775. hideChildrenInMenu: true,
  1776. children: [
  1777. {
  1778. path: 'list',
  1779. name: 'priceChangeRecordList',
  1780. component: () => import(/* webpackChunkName: "shop" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  1781. meta: {
  1782. title: '价格变更记录列表',
  1783. icon: 'sketch',
  1784. hidden: true,
  1785. permission: 'M_priceChangeRecordList'
  1786. }
  1787. }
  1788. ]
  1789. }
  1790. ]
  1791. },
  1792. // 供应商管理
  1793. {
  1794. path: '/supplierManagement',
  1795. redirect: '/supplierManagement/supplierInfo',
  1796. component: PageView,
  1797. meta: {
  1798. title: '供应商管理',
  1799. icon: 'team',
  1800. permission: 'M_supplierInfoList'
  1801. },
  1802. children: [
  1803. {
  1804. path: '/supplierManagement/supplierInfo',
  1805. redirect: '/supplierManagement/supplierInfo/list',
  1806. name: 'supplierInfo',
  1807. component: BlankLayout,
  1808. meta: {
  1809. title: '供应商管理',
  1810. icon: 'team',
  1811. permission: 'M_supplierInfoList'
  1812. },
  1813. hideChildrenInMenu: true,
  1814. children: [
  1815. {
  1816. path: 'list',
  1817. name: 'supplierInfoList',
  1818. component: () => import(/* webpackChunkName: "shop" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  1819. meta: {
  1820. title: '供应商列表',
  1821. icon: 'team',
  1822. hidden: true,
  1823. permission: 'M_supplierInfoList'
  1824. }
  1825. }
  1826. ]
  1827. }
  1828. ]
  1829. },
  1830. // 中心店/配送店管理
  1831. {
  1832. path: '/storeManagement',
  1833. redirect: '/storeManagement/bind',
  1834. component: PageView,
  1835. meta: {
  1836. title: '中心店/配送店管理',
  1837. icon: 'bank',
  1838. permission: 'M_storeManagement'
  1839. },
  1840. children: [
  1841. {
  1842. path: '/storeManagement/bind',
  1843. redirect: '/storeManagement/bind/list',
  1844. name: 'storeManagementBind',
  1845. component: BlankLayout,
  1846. meta: {
  1847. title: '中心店/配送店绑定',
  1848. icon: 'link',
  1849. permission: 'M_storeManagementBindList'
  1850. },
  1851. hideChildrenInMenu: true,
  1852. children: [
  1853. {
  1854. path: 'list',
  1855. name: 'storeManagementBindList',
  1856. component: () => import(/* webpackChunkName: "shop" */ '@/views/storeManagement/bind/list.vue'),
  1857. meta: {
  1858. title: '中心店/配送店绑定列表',
  1859. icon: 'link',
  1860. hidden: true,
  1861. permission: 'M_storeManagementBindList'
  1862. }
  1863. }
  1864. ]
  1865. },
  1866. {
  1867. path: '/storeManagement/userAuthorization',
  1868. redirect: '/storeManagement/userAuthorization/list',
  1869. name: 'storeManagementUserAuth',
  1870. component: BlankLayout,
  1871. meta: {
  1872. title: '中心店用户授权',
  1873. icon: 'link',
  1874. permission: 'M_storeManagementUserAuthList'
  1875. },
  1876. hideChildrenInMenu: true,
  1877. children: [
  1878. {
  1879. path: 'list',
  1880. name: 'storeManagementUserAuthList',
  1881. component: () => import(/* webpackChunkName: "shop" */ '@/views/storeManagement/userAuthorization/list.vue'),
  1882. meta: {
  1883. title: '中心店用户授权列表',
  1884. icon: 'link',
  1885. hidden: true,
  1886. permission: 'M_storeManagementUserAuthList'
  1887. }
  1888. }
  1889. ]
  1890. }
  1891. ]
  1892. },
  1893. // 基础设置
  1894. {
  1895. path: '/basicData',
  1896. redirect: '/basicData/storeTransferOutTypeManagement',
  1897. component: PageView,
  1898. meta: {
  1899. title: '基础设置',
  1900. icon: 'pushpin',
  1901. permission: 'M_basicData'
  1902. },
  1903. children: [
  1904. {
  1905. path: '/basicData/storeTransferOutTypeManagement',
  1906. redirect: '/basicData/storeTransferOutTypeManagement/list',
  1907. name: 'storeTransferOutTypeManagement',
  1908. component: BlankLayout,
  1909. meta: {
  1910. title: '店内调出类型管理',
  1911. icon: 'interaction',
  1912. permission: 'M_storeTransferOutTypeList'
  1913. },
  1914. hideChildrenInMenu: true,
  1915. children: [
  1916. {
  1917. path: 'list',
  1918. name: 'storeTransferOutTypeManagementList',
  1919. component: () => import(/* webpackChunkName: "shop" */ '@/views/basicData/storeTransferOutTypeManagement/list.vue'),
  1920. meta: {
  1921. title: '店内调出类型管理列表',
  1922. icon: 'interaction',
  1923. hidden: true,
  1924. permission: 'M_storeTransferOutTypeList'
  1925. }
  1926. }
  1927. ]
  1928. },
  1929. {
  1930. path: '/basicData/bulkPartsTypeManagement',
  1931. redirect: '/basicData/bulkPartsTypeManagement/list',
  1932. name: 'bulkPartsTypeManagement',
  1933. component: BlankLayout,
  1934. meta: {
  1935. title: '散件入库类型管理',
  1936. icon: 'gold',
  1937. permission: 'M_bulkPartsTypeList'
  1938. },
  1939. hideChildrenInMenu: true,
  1940. children: [
  1941. {
  1942. path: 'list',
  1943. name: 'bulkPartsTypeManagementList',
  1944. component: () => import(/* webpackChunkName: "shop" */ '@/views/basicData/bulkPartsTypeManagement/list.vue'),
  1945. meta: {
  1946. title: '散件入库类型列表',
  1947. icon: 'gold',
  1948. hidden: true,
  1949. permission: 'M_bulkPartsTypeList'
  1950. }
  1951. }
  1952. ]
  1953. },
  1954. {
  1955. path: '/basicData/expenseType',
  1956. redirect: '/basicData/expenseType/list',
  1957. name: 'expenseType',
  1958. component: BlankLayout,
  1959. meta: {
  1960. title: '费用类型管理',
  1961. icon: 'pay-circle',
  1962. permission: 'M_expenseTypeList'
  1963. },
  1964. hideChildrenInMenu: true,
  1965. children: [
  1966. {
  1967. path: 'list',
  1968. name: 'expenseTypeList',
  1969. component: () => import(/* webpackChunkName: "shop" */ '@/views/basicData/expenseType/list.vue'),
  1970. meta: {
  1971. title: '费用类型列表',
  1972. icon: 'pay-circle',
  1973. hidden: true,
  1974. permission: 'M_expenseTypeList'
  1975. }
  1976. }
  1977. ]
  1978. },
  1979. // {
  1980. // path: '/basicData/processSettings',
  1981. // redirect: '/basicData/processSettings/setup',
  1982. // name: 'processSettings',
  1983. // component: BlankLayout,
  1984. // meta: {
  1985. // title: '业务自动化设置',
  1986. // icon: 'sliders'
  1987. // // permission: 'M_goodsManage_list'
  1988. // },
  1989. // hideChildrenInMenu: true,
  1990. // children: [
  1991. // {
  1992. // path: 'setup',
  1993. // name: 'processSettingsSetup',
  1994. // component: () => import(/* webpackChunkName: "shop" */ '@/views/basicData/processSettings/setup.vue'),
  1995. // meta: {
  1996. // title: '业务自动化设置',
  1997. // icon: 'sliders',
  1998. // hidden: true
  1999. // // permission: 'M_goodsManage_list'
  2000. // }
  2001. // }
  2002. // ]
  2003. // },
  2004. {
  2005. path: '/basicData/customerTypeManagement',
  2006. redirect: '/basicData/customerTypeManagement/list',
  2007. name: 'customerTypeManagement',
  2008. component: BlankLayout,
  2009. meta: {
  2010. title: '客户类型管理',
  2011. icon: 'idcard',
  2012. permission: 'M_customerTypeList'
  2013. },
  2014. hideChildrenInMenu: true,
  2015. children: [
  2016. {
  2017. path: 'list',
  2018. name: 'customerTypeManagementList',
  2019. component: () => import(/* webpackChunkName: "shop" */ '@/views/basicData/customerTypeManagement/list.vue'),
  2020. meta: {
  2021. title: '客户类型列表',
  2022. icon: 'idcard',
  2023. hidden: true,
  2024. permission: 'M_customerTypeList'
  2025. }
  2026. }
  2027. ]
  2028. }
  2029. ]
  2030. },
  2031. // auth
  2032. {
  2033. path: '/auth',
  2034. redirect: '/auth/userList',
  2035. component: PageView,
  2036. meta: {
  2037. title: '权限管理',
  2038. icon: 'lock',
  2039. permission: 'M_powerMD_0'
  2040. },
  2041. children: [
  2042. {
  2043. path: '/auth/userList',
  2044. name: 'powerUserList',
  2045. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  2046. meta: {
  2047. title: '用户管理',
  2048. icon: 'user',
  2049. permission: 'M_powerMD_user_list'
  2050. }
  2051. },
  2052. {
  2053. path: '/auth/roleList',
  2054. name: 'powerRoleList',
  2055. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  2056. meta: {
  2057. title: '角色管理',
  2058. icon: 'solution',
  2059. permission: 'M_powerMD_role_list'
  2060. }
  2061. }
  2062. ]
  2063. },
  2064. // 系统设置
  2065. // {
  2066. // path: '/setting',
  2067. // redirect: '/setting/userList',
  2068. // component: PageView,
  2069. // meta: {
  2070. // title: '系统设置',
  2071. // icon: 'setting'
  2072. // // permission: 'M_setting_0'
  2073. // },
  2074. // children: [
  2075. // {
  2076. // path: '/setting/dataDictionary',
  2077. // name: 'powerDD',
  2078. // component: () => import(/* webpackChunkName: "setting" */
  2079. // '@/views/power/dataDictionary/dataDictionary.vue'),
  2080. // meta: {
  2081. // title: '数据字典管理',
  2082. // icon: 'database'
  2083. // // permission: 'M_sys_dataDictionary'
  2084. // }
  2085. // },
  2086. // // {
  2087. // // path: '/setting/register',
  2088. // // name: 'powerRegister',
  2089. // // component: () => import(/* webpackChunkName: "setting" */ '@/views/power/register/register.vue'),
  2090. // // meta: {
  2091. // // title: '参数管理',
  2092. // // icon: 'key',
  2093. // // permission: 'M_sys_register'
  2094. // // }
  2095. // // },
  2096. // {
  2097. // path: '/setting/OperateJournal',
  2098. // name: 'powerOperateJournal',
  2099. // component: () => import(/* webpackChunkName: "setting" */
  2100. // '@/views/power/OperateJournal/OperateJournal.vue'),
  2101. // meta: {
  2102. // title: '操作日志',
  2103. // icon: 'read'
  2104. // // permission: 'M_operateJournal'
  2105. // }
  2106. // }
  2107. // ]
  2108. // }
  2109. // 公告
  2110. {
  2111. path: '/notice',
  2112. name: 'notice',
  2113. component: () => import(/* webpackChunkName: "home" */ '@/views/notice/list'),
  2114. meta: {
  2115. title: '公告',
  2116. icon: 'bell'
  2117. },
  2118. hidden: true
  2119. }
  2120. ]
  2121. },
  2122. {
  2123. path: '*',
  2124. redirect: '/404',
  2125. hidden: true
  2126. }
  2127. ]
  2128. /**
  2129. * 基础路由
  2130. * @type { *[] }
  2131. */
  2132. export const constantRouterMap = [
  2133. {
  2134. path: '/user',
  2135. component: UserLayout,
  2136. redirect: '/user/login',
  2137. hidden: true,
  2138. children: [
  2139. {
  2140. path: 'login',
  2141. name: 'login',
  2142. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  2143. },
  2144. {
  2145. path: 'register',
  2146. name: 'register',
  2147. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  2148. },
  2149. {
  2150. path: 'register-result',
  2151. name: 'registerResult',
  2152. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  2153. },
  2154. {
  2155. path: 'recover',
  2156. name: 'recover',
  2157. component: undefined
  2158. }
  2159. ]
  2160. },
  2161. {
  2162. path: '/404',
  2163. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  2164. }
  2165. ]