router.config.js 121 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349
  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: 'homePage',
  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. redirect: '/home',
  32. component: BlankLayout,
  33. meta: {
  34. title: '首页',
  35. icon: 'home',
  36. hidden: true
  37. },
  38. hideChildrenInMenu: true,
  39. children: [
  40. {
  41. path: '/home',
  42. name: 'homeIndex',
  43. component: () => import(/* webpackChunkName: "home" */ '@/views/Home'),
  44. meta: {
  45. title: '首页',
  46. icon: 'home',
  47. hidden: true
  48. }
  49. },
  50. {
  51. path: '/changePwd',
  52. name: 'changePwd',
  53. component: () => import(/* webpackChunkName: "home" */ '@/views/user/ChangePwd'),
  54. meta: {
  55. title: '修改密码',
  56. icon: 'home'
  57. },
  58. hidden: true
  59. },
  60. // 消息
  61. {
  62. path: '/notice',
  63. name: 'notice',
  64. component: () => import(/* webpackChunkName: "home" */ '@/views/notice/list'),
  65. meta: {
  66. title: '消息',
  67. icon: 'bell',
  68. hidden: true
  69. }
  70. }
  71. ]
  72. }
  73. ]
  74. },
  75. // 销售管理
  76. {
  77. path: '/salesManagement',
  78. redirect: '/salesManagement/salesQuery',
  79. component: PageView,
  80. meta: {
  81. title: '销售管理',
  82. icon: 'account-book',
  83. permission: 'M_salesManage'
  84. },
  85. children: [
  86. {
  87. path: '/salesManagement/salesQuery',
  88. redirect: '/salesManagement/salesQuery/list',
  89. name: 'salesQuery',
  90. component: BlankLayout,
  91. meta: {
  92. title: '销售单',
  93. icon: 'monitor',
  94. permission: 'M_salesQueryList'
  95. },
  96. hideChildrenInMenu: true,
  97. children: [
  98. {
  99. path: 'list',
  100. name: 'salesQueryList',
  101. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/list.vue'),
  102. meta: {
  103. title: '销售单列表',
  104. icon: 'monitor',
  105. hidden: true,
  106. permission: 'M_salesQueryList'
  107. }
  108. },
  109. {
  110. path: 'detail/:sn',
  111. name: 'salesDetail',
  112. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/detail.vue'),
  113. meta: {
  114. title: '销售单详情',
  115. icon: 'monitor',
  116. hidden: true,
  117. permission: 'B_salesDetail'
  118. }
  119. },
  120. {
  121. path: 'add/:id/:sn/:priceType',
  122. name: 'salesAdd',
  123. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  124. meta: {
  125. title: '新增销售单',
  126. icon: 'monitor',
  127. hidden: true,
  128. permission: 'B_salesNews'
  129. }
  130. },
  131. {
  132. path: 'edit/:id/:sn/:priceType',
  133. name: 'salesEdit',
  134. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  135. meta: {
  136. title: '编辑销售单',
  137. icon: 'monitor',
  138. hidden: true,
  139. permission: 'B_salesEdit'
  140. }
  141. }
  142. ]
  143. },
  144. {
  145. path: '/salesManagement/urgentItemsOffset',
  146. redirect: '/salesManagement/urgentItemsOffset/list',
  147. name: 'urgentItemsOffset',
  148. component: BlankLayout,
  149. meta: {
  150. title: '急件冲减',
  151. icon: 'rocket',
  152. permission: 'M_urgentItemsOffsetList'
  153. },
  154. hideChildrenInMenu: true,
  155. children: [
  156. {
  157. path: 'list',
  158. name: 'urgentItemsOffsetList',
  159. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/urgentItemsOffset/list.vue'),
  160. meta: {
  161. title: '急件冲减列表',
  162. icon: 'rocket',
  163. hidden: true,
  164. permission: 'M_urgentItemsOffsetList'
  165. }
  166. },
  167. {
  168. path: 'detail/:sn',
  169. name: 'urgentItemsOffsetDetail',
  170. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/urgentItemsOffset/detail.vue'),
  171. meta: {
  172. title: '急件冲减详情',
  173. icon: 'rocket',
  174. hidden: true,
  175. replaceTab: true,
  176. permission: 'M_urgentDetail'
  177. }
  178. }
  179. ]
  180. },
  181. {
  182. path: '/salesManagement/salesReturn',
  183. redirect: '/salesManagement/salesReturn/list',
  184. name: 'salesReturn',
  185. component: BlankLayout,
  186. meta: {
  187. title: '销售退货',
  188. icon: 'fund',
  189. permission: 'M_salesReturnList'
  190. },
  191. hideChildrenInMenu: true,
  192. children: [
  193. {
  194. path: 'list',
  195. name: 'salesReturnList',
  196. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/list.vue'),
  197. meta: {
  198. title: '退货单列表',
  199. icon: 'fund',
  200. hidden: true,
  201. permission: 'M_salesReturnList'
  202. }
  203. },
  204. {
  205. path: 'detail/:id/:sn',
  206. name: 'salesReturnDetail',
  207. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/detail.vue'),
  208. meta: {
  209. title: '退货单详情',
  210. icon: 'fund',
  211. hidden: true,
  212. permission: 'B_salesReturnDetail'
  213. }
  214. },
  215. {
  216. path: 'salesReturnGrabEdit/:id/:sn/:buyerSn',
  217. name: 'salesReturnGrabEdit',
  218. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnGrabEdit.vue'),
  219. meta: {
  220. title: '编辑退货单(抓单)',
  221. icon: 'fund',
  222. hidden: true,
  223. permission: 'B_salesReturnEdit'
  224. }
  225. },
  226. {
  227. path: 'salesReturnEdit/:id/:sn/:buyerSn',
  228. name: 'salesReturnEdit',
  229. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnEdit.vue'),
  230. meta: {
  231. title: '编辑退货单(不抓单)',
  232. icon: 'fund',
  233. hidden: true,
  234. permission: 'B_salesReturnEdit'
  235. }
  236. }
  237. ]
  238. },
  239. {
  240. path: '/salesManagement/productPricing',
  241. redirect: '/salesManagement/productPricing/list',
  242. name: 'productPricing',
  243. component: BlankLayout,
  244. meta: {
  245. title: '产品报价',
  246. icon: 'file-search',
  247. permission: 'M_productPricingList'
  248. },
  249. hideChildrenInMenu: true,
  250. children: [
  251. {
  252. path: 'list',
  253. name: 'productPricingList',
  254. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/productPricing/list.vue'),
  255. meta: {
  256. title: '产品报价列表',
  257. icon: 'file-search',
  258. hidden: true,
  259. permission: 'M_productPricingList'
  260. }
  261. }
  262. ]
  263. },
  264. {
  265. path: '/salesManagement/giftRecord',
  266. redirect: '/salesManagement/giftRecord/list',
  267. name: 'giftRecord',
  268. component: BlankLayout,
  269. meta: {
  270. title: '赠品记录',
  271. icon: 'file-search',
  272. permission: 'M_giftRecordList'
  273. },
  274. hideChildrenInMenu: true,
  275. children: [
  276. {
  277. path: 'list',
  278. name: 'giftRecordList',
  279. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/giftRecord/list.vue'),
  280. meta: {
  281. title: '赠品记录列表',
  282. icon: 'file-search',
  283. hidden: true,
  284. permission: 'M_giftRecordList'
  285. }
  286. }
  287. ]
  288. },
  289. {
  290. path: '/salesManagement/salesman',
  291. redirect: '/salesManagement/salesman/list',
  292. name: 'salesman',
  293. component: BlankLayout,
  294. meta: {
  295. title: '业务员管理',
  296. icon: 'file-search',
  297. permission: 'M_salesman_list'
  298. },
  299. hideChildrenInMenu: true,
  300. children: [
  301. {
  302. path: 'list',
  303. name: 'salesmanList',
  304. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesman/list.vue'),
  305. meta: {
  306. title: '业务员列表',
  307. icon: 'file-search',
  308. hidden: true,
  309. permission: 'M_salesman_list'
  310. }
  311. }
  312. ]
  313. }
  314. ]
  315. },
  316. // 数字货架
  317. {
  318. path: '/numsGoodsShelves',
  319. redirect: '/numsGoodsShelves/shelfSet',
  320. component: PageView,
  321. meta: {
  322. title: '数字货架',
  323. icon: 'hdd',
  324. permission: 'M_numsGoodsShelves'
  325. },
  326. children: [
  327. {
  328. path: '/numsGoodsShelves/approveStore',
  329. redirect: '/numsGoodsShelves/approveStore/list',
  330. name: 'approveStore',
  331. component: BlankLayout,
  332. meta: {
  333. title: '汽修厂认证审核',
  334. icon: 'monitor',
  335. permission: 'M_approveStore'
  336. },
  337. hideChildrenInMenu: true,
  338. children: [
  339. {
  340. path: 'list',
  341. name: 'approveStoreList',
  342. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/approveStore/list.vue'),
  343. meta: {
  344. title: '汽修厂认证审核',
  345. icon: 'monitor',
  346. hidden: true,
  347. permission: 'M_approveStore'
  348. }
  349. },
  350. {
  351. path: 'authPass/:sn',
  352. name: 'approveStoreAuthPass',
  353. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/approveStore/authPass.vue'),
  354. meta: {
  355. title: '审核通过',
  356. icon: 'monitor',
  357. hidden: true,
  358. replaceTab: true
  359. }
  360. }
  361. ]
  362. },
  363. {
  364. path: '/numsGoodsShelves/shelfSet',
  365. redirect: '/numsGoodsShelves/shelfSet/list',
  366. name: 'shelfSet',
  367. component: BlankLayout,
  368. meta: {
  369. title: '货架设置',
  370. icon: 'monitor',
  371. permission: 'M_shelfSet'
  372. },
  373. hideChildrenInMenu: true,
  374. children: [
  375. {
  376. path: 'list',
  377. name: 'shelfSetList',
  378. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfSet/list.vue'),
  379. meta: {
  380. title: '货架设置列表',
  381. icon: 'monitor',
  382. hidden: true
  383. // permission: 'M_salesQueryList'
  384. }
  385. },
  386. {
  387. path: 'set/:sn',
  388. name: 'shelfSetting',
  389. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfSet/set.vue'),
  390. meta: {
  391. title: '货架设置',
  392. icon: 'monitor',
  393. hidden: true,
  394. replaceTab: true
  395. }
  396. }
  397. ]
  398. },
  399. {
  400. path: '/numsGoodsShelves/shelfMonitoring',
  401. redirect: '/numsGoodsShelves/shelfMonitoring/list',
  402. name: 'shelfMonitoring',
  403. component: BlankLayout,
  404. meta: {
  405. title: '货架监控',
  406. icon: 'monitor',
  407. permission: 'M_shelfMonitoring'
  408. },
  409. hideChildrenInMenu: true,
  410. children: [
  411. {
  412. path: 'list',
  413. name: 'shelfMonitoringList',
  414. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfMonitoring/list.vue'),
  415. meta: {
  416. title: '货架监控列表',
  417. icon: 'monitor',
  418. hidden: true
  419. // permission: 'M_salesQueryList'
  420. }
  421. },
  422. {
  423. path: 'warehouseDetail/:shelfPlaceSn/:productSn',
  424. name: 'shelfMonitoringWarehouseDetail',
  425. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfMonitoring/warehouseDetail.vue'),
  426. meta: {
  427. title: '货架监控出入库明细',
  428. icon: 'monitor',
  429. hidden: true,
  430. replaceTab: true
  431. // permission: 'M_salesQueryList'
  432. }
  433. }
  434. ]
  435. },
  436. {
  437. path: '/numsGoodsShelves/shelfOrder',
  438. redirect: '/numsGoodsShelves/shelfOrder/list',
  439. name: 'shelfOrder',
  440. component: BlankLayout,
  441. meta: {
  442. title: '货架订单',
  443. icon: 'monitor',
  444. permission: 'M_shelfOrder'
  445. },
  446. hideChildrenInMenu: true,
  447. children: [
  448. {
  449. path: 'list',
  450. name: 'shelfOrderList',
  451. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfOrder/list.vue'),
  452. meta: {
  453. title: '货架订单列表',
  454. icon: 'monitor',
  455. hidden: true
  456. // permission: 'M_shelfOrderList'
  457. }
  458. },
  459. {
  460. path: 'shelfOrderDetail/:sn',
  461. name: 'shelfOrderDetail',
  462. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/shelfOrder/detail.vue'),
  463. meta: {
  464. title: '货架订单详情',
  465. icon: 'monitor',
  466. hidden: true
  467. // permission: 'M_shelfOrderDetail'
  468. }
  469. }
  470. ]
  471. },
  472. {
  473. path: '/numsGoodsShelves/replenishmentManagement',
  474. redirect: '/numsGoodsShelves/replenishmentManagement/list',
  475. name: 'replenishmentManagement',
  476. component: BlankLayout,
  477. meta: {
  478. title: '补货管理',
  479. icon: 'monitor',
  480. permission: 'M_replenishmentManagement'
  481. },
  482. hideChildrenInMenu: true,
  483. children: [
  484. {
  485. path: 'list',
  486. name: 'replenishmentManagementList',
  487. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/replenishmentManagement/list.vue'),
  488. meta: {
  489. title: '补货管理列表',
  490. icon: 'monitor',
  491. hidden: true
  492. // permission: 'M_salesQueryList'
  493. }
  494. }
  495. ]
  496. },
  497. {
  498. path: '/numsGoodsShelves/recallManagement',
  499. redirect: '/numsGoodsShelves/recallManagement/list',
  500. name: 'recallManagement',
  501. component: BlankLayout,
  502. meta: {
  503. title: '调回管理',
  504. icon: 'monitor',
  505. permission: 'M_recallManagement'
  506. },
  507. hideChildrenInMenu: true,
  508. children: [
  509. {
  510. path: 'list',
  511. name: 'recallManagementList',
  512. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/recallManagement/list.vue'),
  513. meta: {
  514. title: '调回管理列表',
  515. icon: 'monitor',
  516. hidden: true
  517. // permission: 'M_salesQueryList'
  518. }
  519. }
  520. ]
  521. },
  522. {
  523. path: '/numsGoodsShelves/settlementManagement',
  524. redirect: '/numsGoodsShelves/settlementManagement/list',
  525. name: 'settlementManagement',
  526. component: BlankLayout,
  527. meta: {
  528. title: '结算管理',
  529. icon: 'monitor',
  530. permission: 'M_settlementManagement'
  531. },
  532. hideChildrenInMenu: true,
  533. children: [
  534. {
  535. path: 'list',
  536. name: 'settlementManagementList',
  537. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/settlementManagement/list.vue'),
  538. meta: {
  539. title: '结算管理列表',
  540. icon: 'monitor',
  541. hidden: true
  542. // permission: 'M_salesQueryList'
  543. }
  544. },
  545. {
  546. path: 'unDetail/:shelfSn/:settleType/:shelfName',
  547. name: 'unSettlementDetail',
  548. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/numsGoodsShelves/settlementManagement/unSettlementDetail.vue'),
  549. meta: {
  550. title: '待结算明细',
  551. icon: 'monitor',
  552. hidden: true,
  553. replaceTab: true
  554. // permission: 'M_salesQueryList'
  555. }
  556. },
  557. {
  558. path: 'detail/:shelfSn/:shelfName',
  559. name: 'settlementDetail',
  560. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/numsGoodsShelves/settlementManagement/settlementDetail.vue'),
  561. meta: {
  562. title: '结算历史',
  563. icon: 'monitor',
  564. hidden: true,
  565. replaceTab: true
  566. // permission: 'M_salesQueryList'
  567. }
  568. }
  569. ]
  570. },
  571. {
  572. path: '/numsGoodsShelves/withdrawalManagement',
  573. redirect: '/numsGoodsShelves/withdrawalManagement/list',
  574. name: 'ngsWithdrawalManagement',
  575. component: BlankLayout,
  576. meta: {
  577. title: '提现管理',
  578. icon: 'monitor',
  579. permission: 'M_NGS_withdrawalManagement'
  580. },
  581. hideChildrenInMenu: true,
  582. children: [
  583. {
  584. path: 'list',
  585. name: 'ngsWithdrawalManagementList',
  586. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/withdrawalManagement/list.vue'),
  587. meta: {
  588. title: '提现管理列表',
  589. icon: 'monitor',
  590. hidden: true
  591. // permission: 'M_ngsWithdrawalManagementList'
  592. }
  593. }
  594. ]
  595. },
  596. {
  597. path: '/numsGoodsShelves/recallStockManagement',
  598. redirect: '/numsGoodsShelves/recallStockManagement/list',
  599. name: 'recallStockManagement',
  600. component: BlankLayout,
  601. meta: {
  602. title: '调回入库',
  603. icon: 'monitor',
  604. permission: 'M_recallStockManagement'
  605. },
  606. hideChildrenInMenu: true,
  607. children: [
  608. {
  609. path: 'list',
  610. name: 'recallStockManagementList',
  611. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/recallStockManagement/list.vue'),
  612. meta: {
  613. title: '调回入库列表',
  614. icon: 'monitor',
  615. hidden: true
  616. // permission: 'M_salesQueryList'
  617. }
  618. },
  619. {
  620. path: 'editStock/:stockPutSn',
  621. name: 'editStock',
  622. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/numsGoodsShelves/recallStockManagement/editStock.vue'),
  623. meta: {
  624. title: '编辑入库',
  625. icon: 'monitor',
  626. hidden: true,
  627. replaceTab: true
  628. // permission: 'M_salesQueryList'
  629. }
  630. }
  631. ]
  632. },
  633. {
  634. path: '/numsGoodsShelves/customerAnalysis',
  635. redirect: '/numsGoodsShelves/customerAnalysis/list',
  636. name: 'customerAnalysis',
  637. component: BlankLayout,
  638. meta: {
  639. title: '客户分析',
  640. icon: 'monitor',
  641. permission: 'M_customerAnalysis'
  642. },
  643. hideChildrenInMenu: true,
  644. children: [
  645. {
  646. path: 'list',
  647. name: 'customerAnalysisList',
  648. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/customerAnalysis/list.vue'),
  649. meta: {
  650. title: '客户分析列表',
  651. icon: 'monitor',
  652. hidden: true
  653. }
  654. }
  655. ]
  656. },
  657. {
  658. path: '/numsGoodsShelves/vinAnalysis',
  659. redirect: '/numsGoodsShelves/vinAnalysis/index',
  660. name: 'vinAnalysis',
  661. component: BlankLayout,
  662. meta: {
  663. title: 'VIN分析',
  664. icon: 'monitor',
  665. permission: 'M_vinAnalysis'
  666. },
  667. hideChildrenInMenu: true,
  668. children: [
  669. {
  670. path: 'index',
  671. name: 'vinAnalysisIndex',
  672. component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/vinAnalysis/index.vue'),
  673. meta: {
  674. title: 'VIN分析列表',
  675. icon: 'monitor',
  676. hidden: true
  677. }
  678. }
  679. ]
  680. }
  681. // {
  682. // path: '/numsGoodsShelves/accountManagement',
  683. // redirect: '/numsGoodsShelves/accountManagement/list',
  684. // name: 'accountManagement',
  685. // component: BlankLayout,
  686. // meta: {
  687. // title: '账户明细',
  688. // icon: 'monitor'
  689. // // permission: 'M_salesQueryList'
  690. // },
  691. // hideChildrenInMenu: true,
  692. // children: [
  693. // {
  694. // path: 'list',
  695. // name: 'accountManagementList',
  696. // component: () => import(/* webpackChunkName: "numsGoodsShelves" */ '@/views/numsGoodsShelves/accountManagement/list.vue'),
  697. // meta: {
  698. // title: '账户明细列表',
  699. // icon: 'monitor',
  700. // hidden: true
  701. // // permission: 'M_salesQueryList'
  702. // }
  703. // }
  704. // ]
  705. // }
  706. ]
  707. },
  708. // 采购管理
  709. {
  710. path: '/purchasingManagement',
  711. redirect: '/purchasingManagement/purchaseOrder',
  712. component: PageView,
  713. meta: {
  714. title: '采购管理',
  715. icon: 'file-done',
  716. permission: 'M_purchasingManagement'
  717. },
  718. children: [
  719. {
  720. path: '/purchasingManagement/purchaseOrder',
  721. redirect: '/purchasingManagement/purchaseOrder/list',
  722. name: 'purchaseOrder',
  723. component: BlankLayout,
  724. meta: {
  725. title: '采购单管理',
  726. icon: 'file-done',
  727. permission: 'M_purchasingList'
  728. },
  729. hideChildrenInMenu: true,
  730. children: [
  731. {
  732. path: 'list',
  733. name: 'purchaseOrderList',
  734. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/list.vue'),
  735. meta: {
  736. title: '采购单列表',
  737. icon: 'file-done',
  738. hidden: true,
  739. permission: 'M_purchasingList'
  740. }
  741. },
  742. {
  743. path: 'add/:sn/:dealerSn',
  744. name: 'purchaseOrderAdd',
  745. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/edit.vue'),
  746. meta: {
  747. title: '新增采购单',
  748. icon: 'file-done',
  749. hidden: true,
  750. permission: 'B_purchaseNew'
  751. }
  752. },
  753. {
  754. path: 'edit/:sn/:dealerSn',
  755. name: 'purchaseOrderEdit',
  756. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/edit.vue'),
  757. meta: {
  758. title: '编辑采购单',
  759. icon: 'file-done',
  760. hidden: true,
  761. permission: 'B_purchaseEdit'
  762. }
  763. },
  764. {
  765. path: 'detail/:sn',
  766. name: 'purchaseOrderDetail',
  767. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/detail.vue'),
  768. meta: {
  769. title: '采购单详情',
  770. icon: 'file-done',
  771. hidden: true,
  772. replaceTab: true,
  773. permission: 'B_purchaseDetail'
  774. }
  775. },
  776. {
  777. path: 'warehousing/:sn',
  778. name: 'purchaseOrderWarehousing',
  779. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseOrder/warehousing.vue'),
  780. meta: {
  781. title: '采购入库',
  782. icon: 'file-done',
  783. hidden: true,
  784. replaceTab: true,
  785. permission: 'B_purchaseReceiving'
  786. }
  787. }
  788. ]
  789. },
  790. {
  791. path: '/purchasingManagement/signWarehousing',
  792. redirect: '/purchasingManagement/signWarehousing/list',
  793. name: 'signWarehousing',
  794. component: BlankLayout,
  795. meta: {
  796. title: '签收入库',
  797. icon: 'money-collect'
  798. // permission: 'M_signWarehousingList'
  799. },
  800. hideChildrenInMenu: true,
  801. children: [
  802. {
  803. path: 'list',
  804. name: 'signWarehousingList',
  805. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/signWarehousing/list.vue'),
  806. meta: {
  807. title: '签收入库列表',
  808. icon: 'money-collect',
  809. hidden: true
  810. // permission: 'M_signWarehousingList'
  811. }
  812. },
  813. {
  814. path: 'edit/:sn',
  815. name: 'signWarehousingEdit',
  816. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/signWarehousing/edit.vue'),
  817. meta: {
  818. title: '签收入库',
  819. icon: 'money-collect',
  820. replaceTab: true,
  821. hidden: true
  822. // permission: 'B_signWarehousingDetail'
  823. }
  824. },
  825. {
  826. path: 'stockOrderDetail/:sn',
  827. name: 'signWarehousingStockOrderDetail',
  828. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/signWarehousing/stockOrderDetail.vue'),
  829. meta: {
  830. title: '备货单详情',
  831. icon: 'money-collect',
  832. replaceTab: true,
  833. hidden: true
  834. // permission: 'B_signWarehousingStockOrderDetail'
  835. }
  836. }
  837. ]
  838. },
  839. {
  840. path: '/purchasingManagement/purchaseReturnApplyForm',
  841. redirect: '/purchasingManagement/purchaseReturnApplyForm/list',
  842. name: 'purchaseReturnApplyForm',
  843. component: BlankLayout,
  844. meta: {
  845. title: '采购退货申请单',
  846. icon: 'money-collect'
  847. // permission: 'M_purchaseReturnApplyFormList'
  848. },
  849. hideChildrenInMenu: true,
  850. children: [
  851. {
  852. path: 'list',
  853. name: 'purchaseReturnApplyFormList',
  854. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnApplyForm/list.vue'),
  855. meta: {
  856. title: '采购退货申请单列表',
  857. icon: 'money-collect',
  858. hidden: true
  859. // permission: 'M_purchaseReturnApplyFormList'
  860. }
  861. },
  862. {
  863. path: 'edit/:sn',
  864. name: 'purchaseReturnApplyFormEdit',
  865. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnApplyForm/edit.vue'),
  866. meta: {
  867. title: '编辑采购退货申请单',
  868. icon: 'money-collect',
  869. hidden: true
  870. }
  871. },
  872. {
  873. path: 'detail/:sn',
  874. name: 'purchaseReturnApplyFormDetail',
  875. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnApplyForm/detail.vue'),
  876. meta: {
  877. title: '采购退货申请单详情',
  878. icon: 'money-collect',
  879. hidden: true
  880. }
  881. }
  882. ]
  883. },
  884. // 采购退货-不同步
  885. {
  886. path: '/purchasingManagement/purchaseReturnOutSync',
  887. redirect: '/purchasingManagement/purchaseReturnOutSync/list',
  888. name: 'purchaseReturnOutSync',
  889. component: BlankLayout,
  890. meta: {
  891. title: '采购退货单',
  892. icon: 'money-collect',
  893. permission: 'M_purchaseReturn_outSnycList'
  894. },
  895. hideChildrenInMenu: true,
  896. children: [
  897. {
  898. path: 'list',
  899. name: 'purchaseReturnOutSyncList',
  900. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/list.vue'),
  901. meta: {
  902. title: '采购退货单列表',
  903. icon: 'money-collect',
  904. hidden: true,
  905. permission: 'M_purchaseReturn_outSnycList'
  906. }
  907. },
  908. {
  909. path: 'edit/:sn',
  910. name: 'purchaseReturnOutSyncEdit',
  911. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/edit.vue'),
  912. meta: {
  913. title: '采购退货单(不抓单)',
  914. icon: 'money-collect',
  915. hidden: true,
  916. replaceTab: true,
  917. permission: 'B_purchaseReturn_outSnycAdd'
  918. }
  919. },
  920. {
  921. path: 'grapEdit/:sn/:returnTargetType/:purchaseTargetSn',
  922. name: 'purchaseReturnOutSyncGrapEdit',
  923. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/grapEdit.vue'),
  924. meta: {
  925. title: '采购退货单(抓单)',
  926. icon: 'money-collect',
  927. hidden: true,
  928. replaceTab: true,
  929. permission: 'B_purchaseReturn_outSnycEdit'
  930. }
  931. },
  932. {
  933. path: 'detail/:sn/:grabFlag',
  934. name: 'purchaseReturnOutSyncDetail',
  935. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/purchaseReturnOutSync/detail.vue'),
  936. meta: {
  937. title: '采购退货详情',
  938. icon: 'money-collect',
  939. hidden: true,
  940. replaceTab: true,
  941. permission: 'B_purchaseReturn_outSnycDetail'
  942. }
  943. }
  944. ]
  945. }
  946. ]
  947. },
  948. // 出库管理
  949. {
  950. path: '/outboundOrderManagement',
  951. redirect: '/outboundOrderManagement/outboundOrder',
  952. component: PageView,
  953. meta: {
  954. title: '出库管理',
  955. icon: 'export',
  956. permission: 'M_outboundList'
  957. },
  958. children: [
  959. {
  960. path: '/outboundOrderManagement/outboundOrder',
  961. redirect: '/outboundOrderManagement/outboundOrder/list',
  962. name: 'outboundOrder',
  963. component: BlankLayout,
  964. meta: {
  965. title: '出库',
  966. icon: 'export',
  967. permission: 'M_outboundList'
  968. },
  969. hideChildrenInMenu: true,
  970. children: [
  971. {
  972. path: 'list',
  973. name: 'outboundOrderList',
  974. component: () => import(/* webpackChunkName: "outboundOrderManagement" */ '@/views/outboundOrderManagement/outboundOrder/list.vue'),
  975. meta: {
  976. title: '出库列表',
  977. icon: 'export',
  978. hidden: true,
  979. permission: 'M_outboundList'
  980. }
  981. }
  982. ]
  983. }
  984. ]
  985. },
  986. // 财务管理
  987. {
  988. path: '/financialManagement',
  989. redirect: '/financialManagement/warehousingAudit',
  990. component: PageView,
  991. meta: {
  992. title: '财务管理',
  993. icon: 'property-safety',
  994. permission: 'M_financial'
  995. },
  996. children: [
  997. {
  998. path: '/financialManagement/warehousingAudit',
  999. redirect: '/financialManagement/warehousingAudit/list',
  1000. name: 'warehousingAudit',
  1001. component: BlankLayout,
  1002. meta: {
  1003. title: '入库审核',
  1004. icon: 'pull-request',
  1005. permission: 'M_warehousingAuditList'
  1006. },
  1007. hideChildrenInMenu: true,
  1008. children: [
  1009. {
  1010. path: 'list',
  1011. name: 'warehousingAuditList',
  1012. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/list.vue'),
  1013. meta: {
  1014. title: '入库审核列表',
  1015. icon: 'pull-request',
  1016. hidden: true,
  1017. permission: 'M_warehousingAuditList'
  1018. }
  1019. },
  1020. {
  1021. path: 'detail/:sn',
  1022. name: 'warehousingAuditDetail',
  1023. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingAudit/detail.vue'),
  1024. meta: {
  1025. title: '入库审核详情',
  1026. icon: 'pull-request',
  1027. hidden: true,
  1028. permission: 'M_warehousingAudit_detail'
  1029. }
  1030. }
  1031. ]
  1032. },
  1033. {
  1034. path: '/financialManagement/inventoryCheckAudit',
  1035. redirect: '/financialManagement/inventoryCheckAudit/list',
  1036. name: 'inventoryCheckAudit',
  1037. component: BlankLayout,
  1038. meta: {
  1039. title: '盘点审核',
  1040. icon: 'laptop',
  1041. permission: 'M_inventoryCheckAuditList'
  1042. },
  1043. hideChildrenInMenu: true,
  1044. children: [
  1045. {
  1046. path: 'list',
  1047. name: 'inventoryCheckAuditList',
  1048. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryCheckAudit/list.vue'),
  1049. meta: {
  1050. title: '盘点审核列表',
  1051. icon: 'laptop',
  1052. hidden: true,
  1053. permission: 'M_inventoryCheckAuditList'
  1054. }
  1055. }
  1056. ]
  1057. },
  1058. {
  1059. path: '/financialManagement/financialPayment',
  1060. redirect: '/financialManagement/financialPayment/list',
  1061. name: 'financialPayment',
  1062. component: BlankLayout,
  1063. meta: {
  1064. title: '财务付款',
  1065. icon: 'pay-circle',
  1066. permission: 'M_financialPaymentList'
  1067. },
  1068. hideChildrenInMenu: true,
  1069. children: [
  1070. {
  1071. path: 'list',
  1072. name: 'financialPaymentList',
  1073. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialPayment/list.vue'),
  1074. meta: {
  1075. title: '财务付款列表',
  1076. icon: 'pay-circle',
  1077. hidden: true,
  1078. permission: 'M_financialPaymentList'
  1079. }
  1080. }
  1081. ]
  1082. },
  1083. {
  1084. path: '/financialManagement/financialCollection',
  1085. redirect: '/financialManagement/financialCollection/list',
  1086. name: 'financialCollection',
  1087. component: BlankLayout,
  1088. meta: {
  1089. title: '财务收款',
  1090. icon: 'money-collect',
  1091. permission: 'M_financialCollectionList'
  1092. },
  1093. hideChildrenInMenu: true,
  1094. children: [
  1095. {
  1096. path: 'list',
  1097. name: 'financialCollectionList',
  1098. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
  1099. meta: {
  1100. title: '财务收款列表',
  1101. icon: 'money-collect',
  1102. hidden: true,
  1103. permission: 'M_financialCollectionList'
  1104. }
  1105. }
  1106. ]
  1107. },
  1108. {
  1109. path: '/financialManagement/expenseManagement',
  1110. redirect: '/financialManagement/expenseManagement/list',
  1111. name: 'expenseManagement',
  1112. component: BlankLayout,
  1113. meta: {
  1114. title: '费用管理',
  1115. icon: 'pound',
  1116. permission: 'M_expenseManagementList'
  1117. },
  1118. hideChildrenInMenu: true,
  1119. children: [
  1120. {
  1121. path: 'list',
  1122. name: 'expenseManagementList',
  1123. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/list.vue'),
  1124. meta: {
  1125. title: '费用单列表',
  1126. icon: 'pound',
  1127. hidden: true,
  1128. permission: 'M_expenseManagementList'
  1129. }
  1130. },
  1131. {
  1132. path: 'add',
  1133. name: 'expenseManagementAdd',
  1134. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/edit.vue'),
  1135. meta: {
  1136. title: '新增费用单',
  1137. icon: 'pound',
  1138. hidden: true,
  1139. permission: 'B_expenseNew'
  1140. }
  1141. },
  1142. {
  1143. path: 'edit/:id',
  1144. name: 'expenseManagementEdit',
  1145. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/expenseManagement/edit.vue'),
  1146. meta: {
  1147. title: '编辑费用单',
  1148. icon: 'pound',
  1149. hidden: true,
  1150. permission: 'B_expenseEdit'
  1151. }
  1152. }
  1153. ]
  1154. },
  1155. {
  1156. path: '/financialManagement/companyReceivablePayable',
  1157. redirect: '/financialManagement/companyReceivablePayable/list',
  1158. name: 'companyReceivablePayable',
  1159. component: BlankLayout,
  1160. meta: {
  1161. title: '单位应收应付管理',
  1162. icon: 'transaction',
  1163. permission: 'M_companyReceivablePayableList'
  1164. },
  1165. hideChildrenInMenu: true,
  1166. children: [
  1167. {
  1168. path: 'list',
  1169. name: 'companyReceivablePayableList',
  1170. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/list.vue'),
  1171. meta: {
  1172. title: '单位应收应付列表',
  1173. icon: 'transaction',
  1174. hidden: true,
  1175. permission: 'M_companyReceivablePayableList'
  1176. }
  1177. },
  1178. {
  1179. path: 'collectionPayment/:sn/:name/:type',
  1180. name: 'companyReceivablePayableCollectionPayment',
  1181. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/collectionPayment.vue'),
  1182. meta: {
  1183. title: '编辑单位应收应付',
  1184. icon: 'transaction',
  1185. hidden: true,
  1186. permission: 'M_collectionPayment'
  1187. }
  1188. },
  1189. {
  1190. path: 'detail/:sn/:name/:type',
  1191. name: 'companyReceivablePayableDetail',
  1192. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyReceivablePayable/detail.vue'),
  1193. meta: {
  1194. title: '单位应收应付详情',
  1195. icon: 'transaction',
  1196. hidden: true,
  1197. permission: 'M_companyReceivablePayable_detail'
  1198. }
  1199. }
  1200. ]
  1201. },
  1202. {
  1203. path: '/financialManagement/companyCollectionPayment',
  1204. redirect: '/financialManagement/companyCollectionPayment/list',
  1205. name: 'companyCollectionPayment',
  1206. component: BlankLayout,
  1207. meta: {
  1208. title: '单位收付款记录',
  1209. icon: 'file-protect',
  1210. permission: 'M_companyCollectionPaymentList'
  1211. },
  1212. hideChildrenInMenu: true,
  1213. children: [
  1214. {
  1215. path: 'list',
  1216. name: 'companyCollectionPaymentList',
  1217. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/list.vue'),
  1218. meta: {
  1219. title: '单位收付款记录列表',
  1220. icon: 'file-protect',
  1221. hidden: true,
  1222. permission: 'M_companyCollectionPaymentList'
  1223. }
  1224. },
  1225. {
  1226. path: 'detail/:id/:sn',
  1227. name: 'companyCollectionPaymentDetail',
  1228. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/companyCollectionPayment/detail.vue'),
  1229. meta: {
  1230. title: '单位收付款记录详情',
  1231. icon: 'file-protect',
  1232. hidden: true,
  1233. permission: 'M_companyCollectionPayment_detail'
  1234. }
  1235. }
  1236. ]
  1237. },
  1238. {
  1239. path: '/financialManagement/withdrawalManagement',
  1240. redirect: '/financialManagement/withdrawalManagement/list',
  1241. name: 'withdrawalManagement',
  1242. component: BlankLayout,
  1243. meta: {
  1244. title: '提现管理',
  1245. icon: 'dollar',
  1246. permission: 'M_withdrawalManagementList'
  1247. },
  1248. hideChildrenInMenu: true,
  1249. children: [
  1250. {
  1251. path: 'list',
  1252. name: 'withdrawalManagementList',
  1253. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/withdrawalManagement/list.vue'),
  1254. meta: {
  1255. title: '提现管理列表',
  1256. icon: 'dollar',
  1257. hidden: true,
  1258. permission: 'M_withdrawalManagementList'
  1259. }
  1260. }
  1261. ]
  1262. },
  1263. {
  1264. path: '/financialManagement/ledgerRecord',
  1265. redirect: '/financialManagement/ledgerRecord/list',
  1266. name: 'ledgerRecord',
  1267. component: BlankLayout,
  1268. meta: {
  1269. title: '分账记录',
  1270. icon: 'profile',
  1271. permission: 'M_ledgerRecordList'
  1272. },
  1273. hideChildrenInMenu: true,
  1274. children: [
  1275. {
  1276. path: 'list',
  1277. name: 'ledgerRecordList',
  1278. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/ledgerRecord/list.vue'),
  1279. meta: {
  1280. title: '分账记录列表',
  1281. icon: 'profile',
  1282. hidden: true,
  1283. permission: 'M_ledgerRecordList'
  1284. }
  1285. }
  1286. ]
  1287. },
  1288. {
  1289. path: '/financialManagement/fundAccountManagement',
  1290. redirect: '/financialManagement/fundAccountManagement/list',
  1291. name: 'fundAccountManagement',
  1292. component: BlankLayout,
  1293. meta: {
  1294. title: '资金账户管理',
  1295. icon: 'file-protect',
  1296. permission: 'M_fundAccountList'
  1297. },
  1298. hideChildrenInMenu: true,
  1299. children: [
  1300. {
  1301. path: 'list',
  1302. name: 'fundAccountList',
  1303. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/fundAccountManagement/list.vue'),
  1304. meta: {
  1305. title: '资金账户列表',
  1306. icon: 'file-protect',
  1307. hidden: true,
  1308. permission: 'M_fundAccountList'
  1309. }
  1310. },
  1311. {
  1312. path: 'detail/:sn',
  1313. name: 'fundAccountDetail',
  1314. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/fundAccountManagement/detail.vue'),
  1315. meta: {
  1316. title: '资金明细',
  1317. icon: 'file-protect',
  1318. hidden: true,
  1319. replaceTab: true,
  1320. permission: 'M_fundAccount_detail'
  1321. }
  1322. }
  1323. ]
  1324. }
  1325. ]
  1326. },
  1327. // 调拨管理
  1328. {
  1329. path: '/allocationManagement',
  1330. redirect: '/allocationManagement/warehouseAllocation',
  1331. component: PageView,
  1332. meta: {
  1333. title: '调拨管理',
  1334. icon: 'cluster',
  1335. permission: 'M_allocationManagement'
  1336. },
  1337. children: [
  1338. {
  1339. path: '/allocationManagement/warehouseAllocation',
  1340. redirect: '/allocationManagement/warehouseAllocation/list',
  1341. name: 'warehouseAllocation',
  1342. component: BlankLayout,
  1343. meta: {
  1344. title: '仓库调拨',
  1345. icon: 'gateway',
  1346. permission: 'M_warehouseAllocationList'
  1347. },
  1348. hideChildrenInMenu: true,
  1349. children: [
  1350. {
  1351. path: 'list',
  1352. name: 'warehouseAllocationList',
  1353. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/list.vue'),
  1354. meta: {
  1355. title: '仓库调拨列表',
  1356. icon: 'gateway',
  1357. hidden: true,
  1358. permission: 'M_warehouseAllocationList'
  1359. }
  1360. },
  1361. {
  1362. path: 'add',
  1363. name: 'warehouseAllocationAdd',
  1364. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/edit.vue'),
  1365. meta: {
  1366. title: '新增仓库调拨',
  1367. icon: 'gateway',
  1368. hidden: true,
  1369. permission: 'B_warehouseAllocationNews'
  1370. }
  1371. },
  1372. {
  1373. path: 'edit/:id/:sn',
  1374. name: 'warehouseAllocationEdit',
  1375. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/edit.vue'),
  1376. meta: {
  1377. title: '编辑仓库调拨',
  1378. icon: 'gateway',
  1379. hidden: true,
  1380. permission: 'B_warehouseAllocationEdit'
  1381. }
  1382. },
  1383. {
  1384. path: 'detail/:sn',
  1385. name: 'warehouseAllocationDetail',
  1386. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/warehouseAllocation/detail.vue'),
  1387. meta: {
  1388. title: '仓库调拨详情',
  1389. icon: 'gateway',
  1390. hidden: true,
  1391. permission: 'B_warehouseAllocationDetail'
  1392. }
  1393. }
  1394. ]
  1395. },
  1396. {
  1397. path: '/allocationManagement/chainTransferIn',
  1398. redirect: '/allocationManagement/chainTransferIn/list',
  1399. name: 'chainTransferIn',
  1400. component: BlankLayout,
  1401. meta: {
  1402. title: '连锁调入',
  1403. icon: 'cluster',
  1404. permission: 'M_chainTransferInList'
  1405. },
  1406. hideChildrenInMenu: true,
  1407. children: [
  1408. {
  1409. path: 'list',
  1410. name: 'chainTransferInList',
  1411. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferIn/list.vue'),
  1412. meta: {
  1413. title: '连锁调入列表',
  1414. icon: 'cluster',
  1415. hidden: true,
  1416. permission: 'M_chainTransferInList'
  1417. }
  1418. },
  1419. {
  1420. path: 'edit/:id/:sn',
  1421. name: 'chainTransferInEdit',
  1422. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferIn/edit.vue'),
  1423. meta: {
  1424. title: '编辑连锁调入',
  1425. icon: 'cluster',
  1426. hidden: true,
  1427. permission: 'B_allocLinkagePutEdit'
  1428. }
  1429. },
  1430. {
  1431. path: 'detail/:sn',
  1432. name: 'chainTransferInDetail',
  1433. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferIn/detail.vue'),
  1434. meta: {
  1435. title: '连锁调入详情',
  1436. icon: 'cluster',
  1437. hidden: true,
  1438. permission: 'B_allocLinkagePutDetail'
  1439. }
  1440. }
  1441. ]
  1442. },
  1443. {
  1444. path: '/allocationManagement/chainTransferOut',
  1445. redirect: '/allocationManagement/chainTransferOut/list',
  1446. name: 'chainTransferOut',
  1447. component: BlankLayout,
  1448. meta: {
  1449. title: '连锁调出',
  1450. icon: 'pull-request',
  1451. permission: 'M_chainTransferOutList'
  1452. },
  1453. hideChildrenInMenu: true,
  1454. children: [
  1455. {
  1456. path: 'list',
  1457. name: 'chainTransferOutList',
  1458. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/list.vue'),
  1459. meta: {
  1460. title: '连锁调出列表',
  1461. icon: 'pull-request',
  1462. hidden: true,
  1463. permission: 'M_chainTransferOutList'
  1464. }
  1465. },
  1466. {
  1467. path: 'add/:id/:sn',
  1468. name: 'chainTransferOutAdd',
  1469. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/edit.vue'),
  1470. meta: {
  1471. title: '新增连锁调出',
  1472. icon: 'pull-request',
  1473. hidden: true,
  1474. permission: 'B_allocLinkageOutNew'
  1475. }
  1476. },
  1477. {
  1478. path: 'edit/:id/:sn',
  1479. name: 'chainTransferOutEdit',
  1480. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/edit.vue'),
  1481. meta: {
  1482. title: '编辑连锁调出',
  1483. icon: 'pull-request',
  1484. hidden: true,
  1485. permission: 'B_allocLinkageOutEdit'
  1486. }
  1487. },
  1488. {
  1489. path: 'detail/:sn',
  1490. name: 'chainTransferOutDetail',
  1491. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/chainTransferOut/detail.vue'),
  1492. meta: {
  1493. title: '连锁调出详情',
  1494. icon: 'pull-request',
  1495. hidden: true,
  1496. permission: 'B_allocLinkageOutDetail'
  1497. }
  1498. }
  1499. ]
  1500. },
  1501. {
  1502. path: '/allocationManagement/storeTransferOut',
  1503. redirect: '/allocationManagement/storeTransferOut/list',
  1504. name: 'storeTransferOut',
  1505. component: BlankLayout,
  1506. meta: {
  1507. title: '店内调出',
  1508. icon: 'interaction',
  1509. permission: 'M_storeTransferOutList'
  1510. },
  1511. hideChildrenInMenu: true,
  1512. children: [
  1513. {
  1514. path: 'list',
  1515. name: 'storeTransferOutList',
  1516. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/list.vue'),
  1517. meta: {
  1518. title: '店内调出列表',
  1519. icon: 'interaction',
  1520. hidden: true,
  1521. permission: 'M_storeTransferOutList'
  1522. }
  1523. },
  1524. {
  1525. path: 'add/:id/:sn',
  1526. name: 'storeTransferOutAdd',
  1527. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/edit.vue'),
  1528. meta: {
  1529. title: '新增店内调出',
  1530. icon: 'interaction',
  1531. hidden: true,
  1532. permission: 'B_storeTransferOutNews'
  1533. }
  1534. },
  1535. {
  1536. path: 'edit/:id/:sn',
  1537. name: 'storeTransferOutEdit',
  1538. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/edit.vue'),
  1539. meta: {
  1540. title: '编辑店内调出',
  1541. icon: 'interaction',
  1542. hidden: true,
  1543. permission: 'B_storeCallOutEdit'
  1544. }
  1545. },
  1546. {
  1547. path: 'detail/:sn',
  1548. name: 'storeTransferOutDetail',
  1549. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/storeTransferOut/detail.vue'),
  1550. meta: {
  1551. title: '店内调出详情',
  1552. icon: 'interaction',
  1553. hidden: true,
  1554. permission: 'B_storeCallOutDetail'
  1555. }
  1556. }
  1557. ]
  1558. }
  1559. ]
  1560. },
  1561. // 库存管理
  1562. {
  1563. path: '/inventoryManagement',
  1564. redirect: '/inventoryManagement/inventoryQuery',
  1565. component: PageView,
  1566. meta: {
  1567. title: '库存管理',
  1568. icon: 'shop',
  1569. permission: 'M_inventory'
  1570. },
  1571. children: [
  1572. {
  1573. path: '/inventoryManagement/inventoryQuery',
  1574. redirect: '/inventoryManagement/inventoryQuery/list',
  1575. name: 'inventoryQuery',
  1576. component: BlankLayout,
  1577. meta: {
  1578. title: '库存查询',
  1579. icon: 'monitor',
  1580. permission: 'M_inventoryInventoryQueryList'
  1581. },
  1582. hideChildrenInMenu: true,
  1583. children: [
  1584. {
  1585. path: 'list',
  1586. name: 'inventoryQueryList',
  1587. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
  1588. meta: {
  1589. title: '库存列表',
  1590. icon: 'monitor',
  1591. hidden: true,
  1592. permission: 'M_inventoryInventoryQueryList'
  1593. }
  1594. },
  1595. {
  1596. path: 'warehouseDetail/:sn',
  1597. name: 'inventoryQueryWarehouseDetail',
  1598. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
  1599. meta: {
  1600. title: '出入库明细',
  1601. icon: 'monitor',
  1602. hidden: true,
  1603. replaceTab: true,
  1604. permission: 'B_inventoryInventoryQueryStock'
  1605. }
  1606. }
  1607. ]
  1608. },
  1609. {
  1610. path: '/inventoryManagement/inventoryWarning',
  1611. name: 'inventoryWarning',
  1612. redirect: '/inventoryManagement/inventoryWarning/list',
  1613. component: BlankLayout,
  1614. meta: {
  1615. title: '库存预警',
  1616. icon: 'alert',
  1617. permission: 'M_inventoryWarningList'
  1618. },
  1619. hideChildrenInMenu: true,
  1620. children: [
  1621. {
  1622. path: 'list',
  1623. name: 'inventoryWarningList',
  1624. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
  1625. meta: {
  1626. title: '库存预警',
  1627. icon: 'alert',
  1628. permission: 'M_inventoryWarningList'
  1629. }
  1630. }
  1631. ]
  1632. },
  1633. {
  1634. path: '/inventoryManagement/satelliteWarehouseInventory',
  1635. name: 'satelliteWarehouseInventory',
  1636. redirect: '/inventoryManagement/satelliteWarehouseInventory/list',
  1637. component: BlankLayout,
  1638. meta: {
  1639. title: '卫星仓库存',
  1640. icon: 'flag',
  1641. permission: 'M_satelliteWarehouseInventoryList'
  1642. },
  1643. hideChildrenInMenu: true,
  1644. children: [
  1645. {
  1646. path: 'list',
  1647. name: 'satelliteWarehouseInventoryList',
  1648. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/satelliteWarehouseInventory/list.vue'),
  1649. meta: {
  1650. title: '卫星仓库存',
  1651. icon: 'flag',
  1652. permission: 'M_satelliteWarehouseInventoryList'
  1653. }
  1654. }
  1655. ]
  1656. },
  1657. {
  1658. path: '/inventoryManagement/inventoryChecking',
  1659. redirect: '/inventoryManagement/inventoryChecking/list',
  1660. name: 'inventoryChecking',
  1661. component: BlankLayout,
  1662. meta: {
  1663. title: '库存盘点',
  1664. icon: 'reconciliation',
  1665. permission: 'M_inventoryCheckingList'
  1666. },
  1667. hideChildrenInMenu: true,
  1668. children: [
  1669. {
  1670. path: 'list',
  1671. name: 'inventoryCheckingList',
  1672. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/list.vue'),
  1673. meta: {
  1674. title: '库存盘点列表',
  1675. icon: 'reconciliation',
  1676. hidden: true,
  1677. permission: 'M_inventoryCheckingList'
  1678. }
  1679. },
  1680. {
  1681. path: 'overall/:id/:sn',
  1682. name: 'inventoryCheckingOverall',
  1683. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/overall.vue'),
  1684. meta: {
  1685. title: '编辑库存盘点【全盘】',
  1686. icon: 'reconciliation',
  1687. hidden: true,
  1688. permission: 'B_inventoryCheckingEdit'
  1689. }
  1690. },
  1691. {
  1692. path: 'selfDisk/:id/:sn',
  1693. name: 'inventoryCheckingSelfDisk',
  1694. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/selfDisk.vue'),
  1695. meta: {
  1696. title: '编辑库存盘点【自选盘点】',
  1697. icon: 'reconciliation',
  1698. hidden: true,
  1699. permission: 'B_inventoryCheckingEdit'
  1700. }
  1701. },
  1702. {
  1703. path: 'makeInventory/:id/:sn',
  1704. name: 'inventoryCheckingMakeInventory',
  1705. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryChecking/makeInventory.vue'),
  1706. meta: {
  1707. title: '盘点',
  1708. icon: 'reconciliation',
  1709. hidden: true,
  1710. replaceTab: true,
  1711. permission: 'B_inventoryCheckingInventory'
  1712. }
  1713. }
  1714. ]
  1715. },
  1716. {
  1717. path: '/inventoryManagement/inventoryImport',
  1718. redirect: '/inventoryManagement/inventoryImport/list',
  1719. name: 'inventoryImport',
  1720. component: BlankLayout,
  1721. meta: {
  1722. title: '库存导入',
  1723. icon: 'frown',
  1724. permission: 'M_inventoryImport'
  1725. },
  1726. hideChildrenInMenu: true,
  1727. children: [
  1728. {
  1729. path: 'list',
  1730. name: 'inventoryImportList',
  1731. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryImport/list.vue'),
  1732. meta: {
  1733. title: '库存导入列表',
  1734. icon: 'frown',
  1735. hidden: true,
  1736. permission: 'M_inventoryImport'
  1737. }
  1738. }
  1739. ]
  1740. },
  1741. {
  1742. path: '/inventoryManagement/warehouse',
  1743. redirect: '/inventoryManagement/warehouse/list',
  1744. name: 'warehouse',
  1745. component: BlankLayout,
  1746. meta: {
  1747. title: '仓库管理',
  1748. icon: 'deployment-unit',
  1749. permission: 'M_inventoryWarehouseList'
  1750. },
  1751. hideChildrenInMenu: true,
  1752. children: [
  1753. {
  1754. path: 'list',
  1755. name: 'warehouseList',
  1756. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/warehouse/list.vue'),
  1757. meta: {
  1758. title: '仓库列表',
  1759. icon: 'deployment-unit',
  1760. hidden: true,
  1761. permission: 'M_inventoryWarehouseList'
  1762. }
  1763. },
  1764. {
  1765. path: '/inventoryManagement/storingLocation/:sn',
  1766. name: 'storingLocationList',
  1767. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/warehouse/storingLocation/list.vue'),
  1768. meta: {
  1769. title: '仓位列表',
  1770. icon: 'deployment-unit',
  1771. hidden: true,
  1772. replaceTab: true,
  1773. permission: 'M_inventoryWarehouseStoringLocationList'
  1774. }
  1775. }
  1776. ]
  1777. }
  1778. ]
  1779. },
  1780. // 散件管理
  1781. {
  1782. path: '/bulkManagement',
  1783. redirect: '/bulkManagement/purchaseOrder',
  1784. component: PageView,
  1785. meta: {
  1786. title: '散件管理',
  1787. icon: 'gold',
  1788. permission: 'M_bulkManagement'
  1789. },
  1790. children: [
  1791. {
  1792. path: '/bulkManagement/bulkWarehousingOrder',
  1793. redirect: '/bulkManagement/bulkWarehousingOrder/list',
  1794. name: 'bulkWarehousingOrder',
  1795. component: BlankLayout,
  1796. meta: {
  1797. title: '散件入库',
  1798. icon: 'gold',
  1799. permission: 'M_bulkWarehousingOrderList'
  1800. },
  1801. hideChildrenInMenu: true,
  1802. children: [
  1803. {
  1804. path: 'list',
  1805. name: 'bulkWarehousingOrderList',
  1806. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/list.vue'),
  1807. meta: {
  1808. title: '散件入库单列表',
  1809. icon: 'gold',
  1810. hidden: true,
  1811. permission: 'M_bulkWarehousingOrderList'
  1812. }
  1813. },
  1814. {
  1815. path: 'add/:id/:sn/:supplierSn',
  1816. name: 'bulkWarehousingOrderAdd',
  1817. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/edit.vue'),
  1818. meta: {
  1819. title: '新增散件入库单',
  1820. icon: 'gold',
  1821. hidden: true,
  1822. permission: 'B_bulkWarehousingOrder_add'
  1823. }
  1824. },
  1825. {
  1826. path: 'edit/:id/:sn/:supplierSn',
  1827. name: 'bulkWarehousingOrderEdit',
  1828. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/edit.vue'),
  1829. meta: {
  1830. title: '编辑散件入库单',
  1831. icon: 'gold',
  1832. hidden: true,
  1833. permission: 'B_bulkWarehousingOrder_edit'
  1834. }
  1835. },
  1836. {
  1837. path: 'detail/:id/:sn',
  1838. name: 'bulkWarehousingOrderDetail',
  1839. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkWarehousingOrder/detail.vue'),
  1840. meta: {
  1841. title: '散件入库单详情',
  1842. icon: 'gold',
  1843. hidden: true,
  1844. permission: 'B_bulkWarehousingOrder_detail'
  1845. }
  1846. }
  1847. ]
  1848. },
  1849. {
  1850. path: '/bulkManagement/bulkReturnGoods',
  1851. redirect: '/bulkManagement/bulkReturnGoods/list',
  1852. name: 'bulkReturnGoods',
  1853. component: BlankLayout,
  1854. meta: {
  1855. title: '散件退货',
  1856. icon: 'frown',
  1857. permission: 'M_bulkReturnGoodsList'
  1858. },
  1859. hideChildrenInMenu: true,
  1860. children: [
  1861. {
  1862. path: 'list',
  1863. name: 'bulkReturnGoodsList',
  1864. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkReturnGoods/list.vue'),
  1865. meta: {
  1866. title: '散件退货列表',
  1867. icon: 'frown',
  1868. hidden: true,
  1869. permission: 'M_bulkReturnGoodsList'
  1870. }
  1871. },
  1872. {
  1873. path: 'edit/:id/:sn/:supplierSn',
  1874. name: 'bulkReturnGoodsEdit',
  1875. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkReturnGoods/edit.vue'),
  1876. meta: {
  1877. title: '编辑散件退货单(不抓单)',
  1878. icon: 'frown',
  1879. hidden: true,
  1880. permission: 'B_bulkReturnGoodsEdit'
  1881. }
  1882. },
  1883. {
  1884. path: 'grabEdit/:id/:sn/:supplierSn',
  1885. name: 'bulkReturnGoodsGrabEdit',
  1886. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkReturnGoods/grabEdit.vue'),
  1887. meta: {
  1888. title: '编辑散件退货单(抓单)',
  1889. icon: 'frown',
  1890. hidden: true,
  1891. permission: 'B_bulkReturnGoodsEdit'
  1892. }
  1893. }
  1894. ]
  1895. },
  1896. {
  1897. path: '/bulkManagement/bulkImport',
  1898. redirect: '/bulkManagement/bulkImport/list',
  1899. name: 'bulkImport',
  1900. component: BlankLayout,
  1901. meta: {
  1902. title: '散件导入',
  1903. icon: 'frown',
  1904. permission: 'M_bulkImport'
  1905. },
  1906. hideChildrenInMenu: true,
  1907. children: [
  1908. {
  1909. path: 'list',
  1910. name: 'bulkImportList',
  1911. component: () => import(/* webpackChunkName: "bulkManagement" */ '@/views/bulkManagement/bulkImport/list.vue'),
  1912. meta: {
  1913. title: '散件导入列表',
  1914. icon: 'frown',
  1915. hidden: true,
  1916. permission: 'M_bulkImport'
  1917. }
  1918. }
  1919. ]
  1920. }
  1921. ]
  1922. },
  1923. // 报表
  1924. {
  1925. path: '/reportData',
  1926. redirect: '/reportData/chainStockReport',
  1927. component: PageView,
  1928. meta: {
  1929. title: '报表',
  1930. icon: 'project',
  1931. permission: 'M_reportData'
  1932. },
  1933. children: [
  1934. {
  1935. path: '/reportData/salesReport',
  1936. redirect: '/reportData/salesReport/index',
  1937. name: 'salesReport',
  1938. component: BlankLayout,
  1939. meta: {
  1940. title: '销售报表',
  1941. icon: 'profile',
  1942. permission: 'M_salesReportList,M_salesDetailReportList'
  1943. },
  1944. hideChildrenInMenu: true,
  1945. children: [
  1946. {
  1947. path: 'index',
  1948. name: 'salesReportIndex',
  1949. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReport/index.vue'),
  1950. meta: {
  1951. title: '销售报表',
  1952. icon: 'profile',
  1953. hidden: true,
  1954. permission: 'M_salesReportList,M_salesDetailReportList'
  1955. }
  1956. },
  1957. {
  1958. path: 'list',
  1959. name: 'salesReportList',
  1960. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReport/list.vue'),
  1961. meta: {
  1962. title: '销售报表列表',
  1963. icon: 'profile',
  1964. hidden: true,
  1965. permission: 'M_salesReportList'
  1966. }
  1967. },
  1968. {
  1969. path: 'list',
  1970. name: 'salesDetailReportList',
  1971. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetailReport/list.vue'),
  1972. meta: {
  1973. title: '销售明细报表列表',
  1974. icon: 'profile',
  1975. hidden: true,
  1976. permission: 'M_salesDetailReportList'
  1977. }
  1978. }
  1979. ]
  1980. },
  1981. {
  1982. path: '/reportData/customerReport',
  1983. redirect: '/reportData/customerReport/list',
  1984. name: 'customerReport',
  1985. component: BlankLayout,
  1986. meta: {
  1987. title: '大客户报表',
  1988. icon: 'profile',
  1989. permission: 'M_customerReportList'
  1990. },
  1991. hideChildrenInMenu: true,
  1992. children: [
  1993. {
  1994. path: 'list',
  1995. name: 'customerReportList',
  1996. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/customerReport/list.vue'),
  1997. meta: {
  1998. title: '大客户报表列表',
  1999. icon: 'profile',
  2000. hidden: true,
  2001. permission: 'M_customerReportList'
  2002. }
  2003. }
  2004. ]
  2005. },
  2006. {
  2007. path: '/reportData/customerSalesDetailsReport',
  2008. redirect: '/reportData/customerSalesDetailsReport/list',
  2009. name: 'customerSalesDetailsReport',
  2010. component: BlankLayout,
  2011. meta: {
  2012. title: '客户销售明细报表',
  2013. icon: 'profile',
  2014. permission: 'M_customerSalesDetailsReport_list'
  2015. },
  2016. hideChildrenInMenu: true,
  2017. children: [
  2018. {
  2019. path: 'list',
  2020. name: 'customerSalesDetailsReportList',
  2021. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/customerSalesDetailsReport/list.vue'),
  2022. meta: {
  2023. title: '客户销售明细列表',
  2024. icon: 'profile',
  2025. hidden: true,
  2026. permission: 'M_customerSalesDetailsReport_list'
  2027. }
  2028. }
  2029. ]
  2030. },
  2031. {
  2032. path: '/reportData/salesReturnReport',
  2033. redirect: '/reportData/salesReturnReport/index',
  2034. name: 'salesReturnReport',
  2035. component: BlankLayout,
  2036. meta: {
  2037. title: '销售退货报表',
  2038. icon: 'profile',
  2039. permission: 'M_salesReturnReportList'
  2040. },
  2041. hideChildrenInMenu: true,
  2042. children: [
  2043. {
  2044. path: 'index',
  2045. name: 'salesReturnReportIndex',
  2046. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/index.vue'),
  2047. meta: {
  2048. title: '销售退货报表',
  2049. icon: 'profile',
  2050. hidden: true,
  2051. permission: 'M_salesReturnReportList'
  2052. }
  2053. }
  2054. ]
  2055. },
  2056. {
  2057. path: '/reportData/urgentItemsOffsetReport',
  2058. redirect: '/reportData/urgentItemsOffsetReport/index',
  2059. name: 'urgentItemsOffsetReport',
  2060. component: BlankLayout,
  2061. meta: {
  2062. title: '急件冲减报表',
  2063. icon: 'profile',
  2064. permission: 'M_urgentItemsOffsetReportList'
  2065. },
  2066. hideChildrenInMenu: true,
  2067. children: [
  2068. {
  2069. path: 'index',
  2070. name: 'urgentItemsOffsetReportIndex',
  2071. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/urgentItemsOffsetReport/index.vue'),
  2072. meta: {
  2073. title: '急件冲减报表列表',
  2074. icon: 'profile',
  2075. hidden: true
  2076. }
  2077. }
  2078. ]
  2079. },
  2080. {
  2081. path: '/reportData/stockIncomeReport',
  2082. redirect: '/reportData/stockIncomeReport/list',
  2083. name: 'stockIncomeReport',
  2084. component: BlankLayout,
  2085. meta: {
  2086. title: '库存总入报表',
  2087. icon: 'profile',
  2088. permission: 'M_stockIncomeReportList'
  2089. },
  2090. hideChildrenInMenu: true,
  2091. children: [
  2092. {
  2093. path: 'list',
  2094. name: 'stockIncomeReportList',
  2095. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockIncomeReport/list.vue'),
  2096. meta: {
  2097. title: '库存总入报表列表',
  2098. icon: 'profile',
  2099. hidden: true,
  2100. permission: 'M_stockIncomeReportList'
  2101. }
  2102. }
  2103. ]
  2104. },
  2105. {
  2106. path: '/reportData/stockExpenditureReport',
  2107. redirect: '/reportData/stockExpenditureReport/list',
  2108. name: 'stockExpenditureReport',
  2109. component: BlankLayout,
  2110. meta: {
  2111. title: '库存总出报表',
  2112. icon: 'profile',
  2113. permission: 'M_stockExpenditureReportList'
  2114. },
  2115. hideChildrenInMenu: true,
  2116. children: [
  2117. {
  2118. path: 'list',
  2119. name: 'stockExpenditureReportList',
  2120. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockExpenditureReport/list.vue'),
  2121. meta: {
  2122. title: '库存总出报表列表',
  2123. icon: 'profile',
  2124. hidden: true,
  2125. permission: 'M_stockExpenditureReportList'
  2126. }
  2127. }
  2128. ]
  2129. },
  2130. {
  2131. path: '/reportData/stockImportReport',
  2132. redirect: '/reportData/stockImportReport/index',
  2133. name: 'stockImportReport',
  2134. component: BlankLayout,
  2135. meta: {
  2136. title: '库存/散件导入报表',
  2137. icon: 'profile',
  2138. permission: 'M_stockImportReportList'
  2139. },
  2140. hideChildrenInMenu: true,
  2141. children: [
  2142. {
  2143. path: 'index',
  2144. name: 'stockImportReportIndex',
  2145. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/stockImportReport/index.vue'),
  2146. meta: {
  2147. title: '库存/散件导入报表',
  2148. icon: 'profile',
  2149. hidden: true,
  2150. permission: 'M_stockImportReportList'
  2151. }
  2152. }
  2153. ]
  2154. },
  2155. {
  2156. path: '/reportData/receivedSendStorageReport',
  2157. redirect: '/reportData/receivedSendStorageReport/list',
  2158. name: 'receivedSendStorageReport',
  2159. component: BlankLayout,
  2160. meta: {
  2161. title: '收发存报表',
  2162. icon: 'profile',
  2163. permission: 'M_receivedSendStorageReportList'
  2164. },
  2165. hideChildrenInMenu: true,
  2166. children: [
  2167. {
  2168. path: 'list',
  2169. name: 'receivedSendStorageReportList',
  2170. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/receivedSendStorageReport/list.vue'),
  2171. meta: {
  2172. title: '收发存报表列表',
  2173. icon: 'profile',
  2174. hidden: true,
  2175. permission: 'M_receivedSendStorageReportList'
  2176. }
  2177. }
  2178. ]
  2179. },
  2180. {
  2181. path: '/reportData/storeReceivedSendStorageReport',
  2182. redirect: '/reportData/storeReceivedSendStorageReport/list',
  2183. name: 'storeReceivedSendStorageReport',
  2184. component: BlankLayout,
  2185. meta: {
  2186. title: '门店收发存汇总报表',
  2187. icon: 'profile',
  2188. permission: 'M_storeReceivedSendStorageReport_list'
  2189. },
  2190. hideChildrenInMenu: true,
  2191. children: [
  2192. {
  2193. path: 'list',
  2194. name: 'storeReceivedSendStorageReportList',
  2195. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/storeReceivedSendStorageReport/list.vue'),
  2196. meta: {
  2197. title: '门店收发存汇总列表',
  2198. icon: 'profile',
  2199. hidden: true,
  2200. permission: 'M_storeReceivedSendStorageReport_list'
  2201. }
  2202. }
  2203. ]
  2204. },
  2205. {
  2206. path: '/reportData/inventoryReport',
  2207. redirect: '/reportData/inventoryReport/list',
  2208. name: 'inventoryReport',
  2209. component: BlankLayout,
  2210. meta: {
  2211. title: '盘点报表',
  2212. icon: 'profile',
  2213. permission: 'M_inventoryReportList'
  2214. },
  2215. hideChildrenInMenu: true,
  2216. children: [
  2217. {
  2218. path: 'list',
  2219. name: 'inventoryReportList',
  2220. component: () => import(/* webpackChunkName: "reportData1" */ '@/views/reportData/inventoryReport/list.vue'),
  2221. meta: {
  2222. title: '盘点报表列表',
  2223. icon: 'profile',
  2224. hidden: true,
  2225. permission: 'M_inventoryReportList'
  2226. }
  2227. }
  2228. ]
  2229. },
  2230. {
  2231. path: '/reportData/purchaseReceiptReport',
  2232. redirect: '/reportData/purchaseReceiptReport/list',
  2233. name: 'purchaseReceiptReport',
  2234. component: BlankLayout,
  2235. meta: {
  2236. title: '采购入库报表',
  2237. icon: 'profile',
  2238. permission: 'M_purchaseReceiptReportList'
  2239. },
  2240. hideChildrenInMenu: true,
  2241. children: [
  2242. {
  2243. path: 'list',
  2244. name: 'purchaseReceiptReportList',
  2245. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/purchaseReceiptReport/list.vue'),
  2246. meta: {
  2247. title: '采购入库报表列表',
  2248. icon: 'profile',
  2249. hidden: true,
  2250. permission: 'M_purchaseReceiptReportList'
  2251. }
  2252. }
  2253. ]
  2254. },
  2255. {
  2256. path: '/reportData/purchaseReturnReport',
  2257. redirect: '/reportData/purchaseReturnReport/list',
  2258. name: 'purchaseReturnReport',
  2259. component: BlankLayout,
  2260. meta: {
  2261. title: '采购退货报表',
  2262. icon: 'profile',
  2263. permission: 'M_purchaseReturnReportList'
  2264. },
  2265. hideChildrenInMenu: true,
  2266. children: [
  2267. {
  2268. path: 'list',
  2269. name: 'purchaseReturnReportList',
  2270. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/purchaseReturnReport/list.vue'),
  2271. meta: {
  2272. title: '采购退货报表列表',
  2273. icon: 'profile',
  2274. hidden: true,
  2275. permission: 'M_purchaseReturnReportList'
  2276. }
  2277. }
  2278. ]
  2279. },
  2280. {
  2281. path: '/reportData/bulkWarehousingReport',
  2282. redirect: '/reportData/bulkWarehousingReport/index',
  2283. name: 'bulkWarehousingReport',
  2284. component: BlankLayout,
  2285. meta: {
  2286. title: '散件入库报表',
  2287. icon: 'profile',
  2288. permission: 'M_bulkWarehousingReportList'
  2289. },
  2290. hideChildrenInMenu: true,
  2291. children: [
  2292. {
  2293. path: 'index',
  2294. name: 'bulkWarehousingReportIndex',
  2295. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkWarehousingReport/index.vue'),
  2296. meta: {
  2297. title: '散件入库报表',
  2298. icon: 'profile',
  2299. hidden: true,
  2300. permission: 'M_bulkWarehousingReportList'
  2301. }
  2302. }
  2303. ]
  2304. },
  2305. {
  2306. path: '/reportData/bulkReturnReport',
  2307. redirect: '/reportData/bulkReturnReport/index',
  2308. name: 'bulkReturnReport',
  2309. component: BlankLayout,
  2310. meta: {
  2311. title: '散件退货报表',
  2312. icon: 'profile',
  2313. permission: 'M_bulkReturnReportList'
  2314. },
  2315. hideChildrenInMenu: true,
  2316. children: [
  2317. {
  2318. path: 'index',
  2319. name: 'bulkReturnReportIndex',
  2320. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/bulkReturnReport/index.vue'),
  2321. meta: {
  2322. title: '散件退货报表',
  2323. icon: 'profile',
  2324. hidden: true,
  2325. permission: 'M_bulkReturnReportList'
  2326. }
  2327. }
  2328. ]
  2329. },
  2330. {
  2331. path: '/reportData/storeTransferOutReport',
  2332. redirect: '/reportData/storeTransferOutReport/index',
  2333. name: 'storeTransferOutReport',
  2334. component: BlankLayout,
  2335. meta: {
  2336. title: '店内调出报表',
  2337. icon: 'profile',
  2338. permission: 'M_storeTransferOutReportList'
  2339. },
  2340. hideChildrenInMenu: true,
  2341. children: [
  2342. {
  2343. path: 'index',
  2344. name: 'storeTransferOutReportIndex',
  2345. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/storeTransferOutReport/index.vue'),
  2346. meta: {
  2347. title: '店内调出报表',
  2348. icon: 'profile',
  2349. hidden: true,
  2350. permission: 'M_storeTransferOutReportList'
  2351. }
  2352. }
  2353. ]
  2354. }
  2355. ]
  2356. },
  2357. // 连锁报表
  2358. {
  2359. path: '/chainReportData',
  2360. redirect: '/chainReportData/chainStockReport',
  2361. component: PageView,
  2362. meta: {
  2363. title: '连锁报表',
  2364. icon: 'fund',
  2365. permission: 'M_chainReportData'
  2366. },
  2367. children: [
  2368. {
  2369. path: '/chainReportData/chainSalesReport',
  2370. redirect: '/chainReportData/chainSalesReport/index',
  2371. name: 'chainSalesReport',
  2372. component: BlankLayout,
  2373. meta: {
  2374. title: '连锁销售报表',
  2375. icon: 'profile',
  2376. permission: 'M_chainSalesReportList,M_chainSalesDetailReportList'
  2377. },
  2378. hideChildrenInMenu: true,
  2379. children: [
  2380. {
  2381. path: 'index',
  2382. name: 'chainSalesReportIndex',
  2383. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesReport/index.vue'),
  2384. meta: {
  2385. title: '连锁销售报表',
  2386. icon: 'profile',
  2387. hidden: true,
  2388. permission: 'M_chainSalesReportList,M_chainSalesDetailReportList'
  2389. }
  2390. },
  2391. {
  2392. path: 'list',
  2393. name: 'chainSalesReportList',
  2394. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesReport/list.vue'),
  2395. meta: {
  2396. title: '连锁销售报表列表',
  2397. icon: 'profile',
  2398. hidden: true,
  2399. permission: 'M_chainSalesReportList'
  2400. }
  2401. },
  2402. {
  2403. path: 'detailList',
  2404. name: 'chainSalesDetailReportList',
  2405. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesDetailReport/list.vue'),
  2406. meta: {
  2407. title: '连锁销售明细报表列表',
  2408. icon: 'profile',
  2409. hidden: true,
  2410. permission: 'M_chainSalesDetailReportList'
  2411. }
  2412. }
  2413. ]
  2414. },
  2415. {
  2416. path: '/chainReportData/chainSalesDetailsCountReport',
  2417. redirect: '/chainReportData/chainSalesDetailsCountReport/list',
  2418. name: 'chainSalesDetailsCountReport',
  2419. component: BlankLayout,
  2420. meta: {
  2421. title: '连锁销售明细合计报表',
  2422. icon: 'profile',
  2423. permission: 'M_chainSalesDetailsCountReport_list'
  2424. },
  2425. hideChildrenInMenu: true,
  2426. children: [
  2427. {
  2428. path: 'list',
  2429. name: 'chainSalesDetailsCountReportList',
  2430. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesDetailsCountReport/list.vue'),
  2431. meta: {
  2432. title: '连锁销售明细合计列表',
  2433. icon: 'profile',
  2434. hidden: true,
  2435. permission: 'M_chainSalesDetailsCountReport_list'
  2436. }
  2437. }
  2438. ]
  2439. },
  2440. {
  2441. path: '/chainReportData/chainSalesReturnDetailReport',
  2442. redirect: '/chainReportData/chainSalesReturnDetailReport/list',
  2443. name: 'chainSalesReturnDetailReport',
  2444. component: BlankLayout,
  2445. meta: {
  2446. title: '连锁销售退货合计报表',
  2447. icon: 'profile',
  2448. permission: 'M_chainSalesReturnDetailReport_list'
  2449. },
  2450. hideChildrenInMenu: true,
  2451. children: [
  2452. {
  2453. path: 'list',
  2454. name: 'chainSalesReturnDetailReportList',
  2455. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainSalesReturnDetailReport/list.vue'),
  2456. meta: {
  2457. title: '连锁销售退货合计列表',
  2458. icon: 'profile',
  2459. hidden: true,
  2460. permission: 'M_chainSalesReturnDetailReport_list'
  2461. }
  2462. }
  2463. ]
  2464. },
  2465. {
  2466. path: '/chainReportData/chainCustomerReport',
  2467. redirect: '/chainReportData/chainCustomerReport/list',
  2468. name: 'chainCustomerReport',
  2469. component: BlankLayout,
  2470. meta: {
  2471. title: '连锁大客户报表',
  2472. icon: 'profile',
  2473. permission: 'M_chainCustomerReportList'
  2474. },
  2475. hideChildrenInMenu: true,
  2476. children: [
  2477. {
  2478. path: 'list',
  2479. name: 'chainCustomerReportList',
  2480. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainCustomerReport/list.vue'),
  2481. meta: {
  2482. title: '连锁大客户报表列表',
  2483. icon: 'profile',
  2484. hidden: true,
  2485. permission: 'M_chainCustomerReportList'
  2486. }
  2487. }
  2488. ]
  2489. },
  2490. {
  2491. path: '/chainReportData/chainStockIncomeReport',
  2492. redirect: '/chainReportData/chainStockIncomeReport/list',
  2493. name: 'chainStockIncomeReport',
  2494. component: BlankLayout,
  2495. meta: {
  2496. title: '连锁库存总入报表',
  2497. icon: 'profile',
  2498. permission: 'M_chainStockIncomeReportList'
  2499. },
  2500. hideChildrenInMenu: true,
  2501. children: [
  2502. {
  2503. path: 'list',
  2504. name: 'chainStockIncomeReportList',
  2505. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainStockIncomeReport/list.vue'),
  2506. meta: {
  2507. title: '连锁库存总入报表列表',
  2508. icon: 'profile',
  2509. hidden: true,
  2510. permission: 'M_chainStockIncomeReportList'
  2511. }
  2512. }
  2513. ]
  2514. },
  2515. {
  2516. path: '/chainReportData/chainStockExpenditureReport',
  2517. redirect: '/chainReportData/chainStockExpenditureReport/list',
  2518. name: 'chainStockExpenditureReport',
  2519. component: BlankLayout,
  2520. meta: {
  2521. title: '连锁库存总出报表',
  2522. icon: 'profile',
  2523. permission: 'M_chainStockExpenditureReportList'
  2524. },
  2525. hideChildrenInMenu: true,
  2526. children: [
  2527. {
  2528. path: 'list',
  2529. name: 'chainStockExpenditureReportList',
  2530. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainStockExpenditureReport/list.vue'),
  2531. meta: {
  2532. title: '连锁库存总出报表列表',
  2533. icon: 'profile',
  2534. hidden: true,
  2535. permission: 'M_chainStockExpenditureReportList'
  2536. }
  2537. }
  2538. ]
  2539. },
  2540. {
  2541. path: '/chainReportData/chainStockReport',
  2542. redirect: '/chainReportData/chainStockReport/list',
  2543. name: 'chainStockReport',
  2544. component: BlankLayout,
  2545. meta: {
  2546. title: '连锁库存总表',
  2547. icon: 'profile',
  2548. permission: 'M_chainStockReportList'
  2549. },
  2550. hideChildrenInMenu: true,
  2551. children: [
  2552. {
  2553. path: 'list',
  2554. name: 'chainStockReportList',
  2555. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainStockReport/list.vue'),
  2556. meta: {
  2557. title: '连锁库存总表列表',
  2558. icon: 'profile',
  2559. hidden: true,
  2560. permission: 'M_chainStockReportList'
  2561. }
  2562. }
  2563. ]
  2564. },
  2565. {
  2566. path: '/chainReportData/chainPurchaseReceiptReport',
  2567. redirect: '/chainReportData/chainPurchaseReceiptReport/list',
  2568. name: 'chainPurchaseReceiptReport',
  2569. component: BlankLayout,
  2570. meta: {
  2571. title: '连锁采购入库报表',
  2572. icon: 'profile',
  2573. permission: 'M_chainPurchaseReceiptReportList'
  2574. },
  2575. hideChildrenInMenu: true,
  2576. children: [
  2577. {
  2578. path: 'list',
  2579. name: 'chainPurchaseReceiptReportList',
  2580. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainPurchaseReceiptReport/list.vue'),
  2581. meta: {
  2582. title: '连锁采购入库报表列表',
  2583. icon: 'profile',
  2584. hidden: true,
  2585. permission: 'M_chainPurchaseReceiptReportList'
  2586. }
  2587. }
  2588. ]
  2589. },
  2590. {
  2591. path: '/chainReportData/chainReceivedSendStorageReport',
  2592. redirect: '/chainReportData/chainReceivedSendStorageReport/list',
  2593. name: 'chainReceivedSendStorageReport',
  2594. component: BlankLayout,
  2595. meta: {
  2596. title: '连锁收发存报表',
  2597. icon: 'profile',
  2598. permission: 'M_chainReceivedSendStorageReportList'
  2599. },
  2600. hideChildrenInMenu: true,
  2601. children: [
  2602. {
  2603. path: 'list',
  2604. name: 'chainReceivedSendStorageReportList',
  2605. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainReceivedSendStorageReport/list.vue'),
  2606. meta: {
  2607. title: '连锁收发存报表列表',
  2608. icon: 'profile',
  2609. hidden: true,
  2610. permission: 'M_chainReceivedSendStorageReportList'
  2611. }
  2612. }
  2613. ]
  2614. },
  2615. {
  2616. path: '/chainReportData/chainTransferReport',
  2617. redirect: '/chainReportData/chainTransferReport/index',
  2618. name: 'chainTransferReport',
  2619. component: BlankLayout,
  2620. meta: {
  2621. title: '连锁调入报表',
  2622. icon: 'profile',
  2623. permission: 'M_chainTransferReportList'
  2624. },
  2625. hideChildrenInMenu: true,
  2626. children: [
  2627. {
  2628. path: 'index',
  2629. name: 'chainTransferReportIndex',
  2630. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainTransferReport/index.vue'),
  2631. meta: {
  2632. title: '连锁调入报表列表',
  2633. icon: 'profile',
  2634. hidden: true
  2635. }
  2636. }
  2637. ]
  2638. },
  2639. {
  2640. path: '/chainReportData/chainCallReport',
  2641. redirect: '/chainReportData/chainCallReport/index',
  2642. name: 'chainCallReport',
  2643. component: BlankLayout,
  2644. meta: {
  2645. title: '连锁调出报表',
  2646. icon: 'profile',
  2647. permission: 'M_chainCallReportList'
  2648. },
  2649. hideChildrenInMenu: true,
  2650. children: [
  2651. {
  2652. path: 'index',
  2653. name: 'chainCallReportIndex',
  2654. component: () => import(/* webpackChunkName: "chainReportData" */ '@/views/chainReportData/chainCallReport/index.vue'),
  2655. meta: {
  2656. title: '连锁调出报表列表',
  2657. icon: 'profile',
  2658. hidden: true
  2659. }
  2660. }
  2661. ]
  2662. }
  2663. ]
  2664. },
  2665. // 客户管理
  2666. {
  2667. path: '/customerManagement',
  2668. redirect: '/customerManagement/customerInfo',
  2669. component: PageView,
  2670. meta: {
  2671. title: '客户管理',
  2672. icon: 'idcard',
  2673. permission: 'M_customerInfoList'
  2674. },
  2675. children: [
  2676. {
  2677. path: '/customerManagement/customerInfo',
  2678. redirect: '/customerManagement/customerInfo/list',
  2679. name: 'customerInfo',
  2680. component: BlankLayout,
  2681. meta: {
  2682. title: '客户管理',
  2683. icon: 'idcard',
  2684. permission: 'M_customerInfoList'
  2685. },
  2686. hideChildrenInMenu: true,
  2687. children: [
  2688. {
  2689. path: 'list',
  2690. name: 'customerInfoList',
  2691. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/list.vue'),
  2692. meta: {
  2693. title: '客户列表',
  2694. icon: 'idcard',
  2695. hidden: true,
  2696. permission: 'M_customerInfoList'
  2697. }
  2698. },
  2699. {
  2700. path: 'add',
  2701. name: 'customerInfoAdd',
  2702. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/edit.vue'),
  2703. meta: {
  2704. title: '新增客户',
  2705. icon: 'idcard',
  2706. hidden: true,
  2707. permission: 'B_customer_customerInfo_add'
  2708. }
  2709. },
  2710. {
  2711. path: 'edit/:id',
  2712. name: 'customerInfoEdit',
  2713. component: () => import(/* webpackChunkName: "customerManagement" */ '@/views/customerManagement/customerInfo/edit.vue'),
  2714. meta: {
  2715. title: '编辑客户',
  2716. icon: 'idcard',
  2717. hidden: true,
  2718. permission: 'B_customer_customerInfo_edit'
  2719. }
  2720. }
  2721. ]
  2722. }
  2723. ]
  2724. },
  2725. // 产品管理
  2726. {
  2727. path: '/productManagement',
  2728. redirect: '/productManagement/productInfo',
  2729. component: PageView,
  2730. meta: {
  2731. title: '产品管理',
  2732. icon: 'shopping',
  2733. permission: 'M_product'
  2734. },
  2735. children: [
  2736. {
  2737. path: '/productManagement/productInfo',
  2738. redirect: '/productManagement/productInfo/list',
  2739. name: 'productInfo',
  2740. component: BlankLayout,
  2741. meta: {
  2742. title: '产品信息管理(自建)',
  2743. icon: 'file-text',
  2744. permission: 'M_dealerProductList'
  2745. },
  2746. hideChildrenInMenu: true,
  2747. children: [
  2748. {
  2749. path: 'list',
  2750. name: 'productInfoList',
  2751. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
  2752. meta: {
  2753. title: '产品信息列表(自建)',
  2754. icon: 'file-text',
  2755. hidden: true,
  2756. permission: 'M_dealerProductList'
  2757. }
  2758. },
  2759. {
  2760. path: 'add',
  2761. name: 'productInfoAdd',
  2762. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2763. meta: {
  2764. title: '新增产品',
  2765. icon: 'file-text',
  2766. hidden: true,
  2767. permission: 'B_product_dealerProduct_add'
  2768. }
  2769. },
  2770. {
  2771. path: 'edit/:id',
  2772. name: 'productInfoEdit',
  2773. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  2774. meta: {
  2775. title: '编辑产品',
  2776. icon: 'file-text',
  2777. hidden: true,
  2778. permission: 'B_product_dealerProduct_edit'
  2779. }
  2780. }
  2781. ]
  2782. },
  2783. {
  2784. path: '/productManagement/productInfoJg',
  2785. redirect: '/productManagement/productInfoJg/list',
  2786. name: 'productInfoJg',
  2787. component: BlankLayout,
  2788. meta: {
  2789. title: '产品信息管理(箭冠)',
  2790. icon: 'file-text',
  2791. permission: 'M_productInfoList'
  2792. },
  2793. hideChildrenInMenu: true,
  2794. children: [
  2795. {
  2796. path: 'list',
  2797. name: 'productInfoJgList',
  2798. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfoJg/list.vue'),
  2799. meta: {
  2800. title: '产品信息列表(箭冠)',
  2801. icon: 'file-text',
  2802. hidden: true,
  2803. permission: 'M_productInfoList'
  2804. }
  2805. }
  2806. ]
  2807. },
  2808. {
  2809. path: '/productManagement/productOnlineInfo',
  2810. redirect: '/productManagement/productOnlineInfo/list',
  2811. name: 'productOnlineInfo',
  2812. component: BlankLayout,
  2813. meta: {
  2814. title: '产品上线信息',
  2815. icon: 'file-text',
  2816. permission: 'M_productOnlineInfoList'
  2817. },
  2818. hideChildrenInMenu: true,
  2819. children: [
  2820. {
  2821. path: 'list',
  2822. name: 'productOnlineInfoList',
  2823. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOnlineInfo/list.vue'),
  2824. meta: {
  2825. title: '产品上线信息列表',
  2826. icon: 'file-text',
  2827. hidden: true,
  2828. permission: 'M_productOnlineInfoList'
  2829. }
  2830. }
  2831. ]
  2832. },
  2833. {
  2834. path: '/productManagement/newProductList',
  2835. redirect: '/newProduct/list/:onlineFalg',
  2836. name: 'newProduct',
  2837. component: BlankLayout,
  2838. meta: {
  2839. title: '产品信息',
  2840. icon: 'sketch',
  2841. permission: 'M_newProductList'
  2842. },
  2843. hideChildrenInMenu: true,
  2844. children: [
  2845. // 新品列表-下线产品
  2846. {
  2847. path: '/newProduct/list/:onlineFalg',
  2848. name: 'newProductList',
  2849. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/list'),
  2850. meta: {
  2851. title: '新品信息',
  2852. icon: 'file-text',
  2853. hidden: true
  2854. }
  2855. },
  2856. // 产品详情
  2857. {
  2858. path: '/viewProduct/:sn',
  2859. name: 'viewProduct',
  2860. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/newProduct/detail'),
  2861. meta: {
  2862. title: '产品详情',
  2863. icon: 'file-text',
  2864. replaceTab: true,
  2865. hidden: true
  2866. }
  2867. }
  2868. ]
  2869. },
  2870. {
  2871. path: '/productManagement/productBrand',
  2872. redirect: '/productManagement/productBrand/list',
  2873. name: 'productBrand',
  2874. component: BlankLayout,
  2875. meta: {
  2876. title: '产品品牌管理',
  2877. icon: 'sketch',
  2878. permission: 'M_dealerProductBrandList'
  2879. },
  2880. hideChildrenInMenu: true,
  2881. children: [
  2882. {
  2883. path: 'list',
  2884. name: 'productBrandList',
  2885. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
  2886. meta: {
  2887. title: '产品品牌列表',
  2888. icon: 'sketch',
  2889. hidden: true,
  2890. permission: 'M_dealerProductBrandList'
  2891. }
  2892. }
  2893. ]
  2894. },
  2895. {
  2896. path: '/productManagement/productCategory',
  2897. redirect: '/productManagement/productCategory/list',
  2898. name: 'productCategory',
  2899. component: BlankLayout,
  2900. meta: {
  2901. title: '产品分类管理',
  2902. icon: 'sliders',
  2903. permission: 'M_dealerProductTypeList'
  2904. },
  2905. hideChildrenInMenu: true,
  2906. children: [
  2907. {
  2908. path: 'list',
  2909. name: 'productCategoryList',
  2910. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
  2911. meta: {
  2912. title: '产品分类列表',
  2913. icon: 'sliders',
  2914. hidden: true,
  2915. permission: 'M_dealerProductTypeList'
  2916. }
  2917. }
  2918. ]
  2919. },
  2920. {
  2921. path: '/productManagement/priceChangeRecord',
  2922. redirect: '/productManagement/priceChangeRecord/list',
  2923. name: 'priceChangeRecord',
  2924. component: BlankLayout,
  2925. meta: {
  2926. title: '价格变更记录',
  2927. icon: 'sketch',
  2928. permission: 'M_priceChangeRecordList'
  2929. },
  2930. hideChildrenInMenu: true,
  2931. children: [
  2932. {
  2933. path: 'list',
  2934. name: 'priceChangeRecordList',
  2935. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  2936. meta: {
  2937. title: '价格变更记录列表',
  2938. icon: 'sketch',
  2939. hidden: true,
  2940. permission: 'M_priceChangeRecordList'
  2941. }
  2942. }
  2943. ]
  2944. }
  2945. ]
  2946. },
  2947. // 供应商管理
  2948. {
  2949. path: '/supplierManagement',
  2950. redirect: '/supplierManagement/supplierInfo',
  2951. component: PageView,
  2952. meta: {
  2953. title: '供应商管理',
  2954. icon: 'contacts',
  2955. permission: 'M_supplierInfoList'
  2956. },
  2957. children: [
  2958. {
  2959. path: '/supplierManagement/supplierInfo',
  2960. redirect: '/supplierManagement/supplierInfo/list',
  2961. name: 'supplierInfo',
  2962. component: BlankLayout,
  2963. meta: {
  2964. title: '供应商管理',
  2965. icon: 'contacts',
  2966. permission: 'M_supplierInfoList'
  2967. },
  2968. hideChildrenInMenu: true,
  2969. children: [
  2970. {
  2971. path: 'list',
  2972. name: 'supplierInfoList',
  2973. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  2974. meta: {
  2975. title: '供应商列表',
  2976. icon: 'contacts',
  2977. hidden: true,
  2978. permission: 'M_supplierInfoList'
  2979. }
  2980. }
  2981. ]
  2982. }
  2983. ]
  2984. },
  2985. // 中心店/配送店管理
  2986. {
  2987. path: '/storeManagement',
  2988. redirect: '/storeManagement/bind',
  2989. component: PageView,
  2990. meta: {
  2991. title: '中心店/配送店管理',
  2992. icon: 'bank',
  2993. permission: 'M_storeManagement'
  2994. },
  2995. children: [
  2996. {
  2997. path: '/storeManagement/bind',
  2998. redirect: '/storeManagement/bind/list',
  2999. name: 'storeManagementBind',
  3000. component: BlankLayout,
  3001. meta: {
  3002. title: '中心店/配送店绑定',
  3003. icon: 'link',
  3004. permission: 'M_storeManagementBindList'
  3005. },
  3006. hideChildrenInMenu: true,
  3007. children: [
  3008. {
  3009. path: 'list',
  3010. name: 'storeManagementBindList',
  3011. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/storeManagement/bind/list.vue'),
  3012. meta: {
  3013. title: '中心店/配送店绑定列表',
  3014. icon: 'link',
  3015. hidden: true,
  3016. permission: 'M_storeManagementBindList'
  3017. }
  3018. }
  3019. ]
  3020. },
  3021. {
  3022. path: '/storeManagement/userAuthorization',
  3023. redirect: '/storeManagement/userAuthorization/list',
  3024. name: 'storeManagementUserAuth',
  3025. component: BlankLayout,
  3026. meta: {
  3027. title: '中心店用户授权',
  3028. icon: 'link',
  3029. permission: 'M_storeManagementUserAuthList'
  3030. },
  3031. hideChildrenInMenu: true,
  3032. children: [
  3033. {
  3034. path: 'list',
  3035. name: 'storeManagementUserAuthList',
  3036. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/storeManagement/userAuthorization/list.vue'),
  3037. meta: {
  3038. title: '中心店用户授权列表',
  3039. icon: 'link',
  3040. hidden: true,
  3041. permission: 'M_storeManagementUserAuthList'
  3042. }
  3043. }
  3044. ]
  3045. }
  3046. ]
  3047. },
  3048. // 基础设置
  3049. {
  3050. path: '/basicData',
  3051. redirect: '/basicData/storeTransferOutTypeManagement',
  3052. component: PageView,
  3053. meta: {
  3054. title: '基础设置',
  3055. icon: 'setting',
  3056. permission: 'M_basicData'
  3057. },
  3058. children: [
  3059. {
  3060. path: '/basicData/storeTransferOutTypeManagement',
  3061. redirect: '/basicData/storeTransferOutTypeManagement/list',
  3062. name: 'storeTransferOutTypeManagement',
  3063. component: BlankLayout,
  3064. meta: {
  3065. title: '店内调出类型管理',
  3066. icon: 'interaction',
  3067. permission: 'M_storeTransferOutTypeList'
  3068. },
  3069. hideChildrenInMenu: true,
  3070. children: [
  3071. {
  3072. path: 'list',
  3073. name: 'storeTransferOutTypeManagementList',
  3074. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/storeTransferOutTypeManagement/list.vue'),
  3075. meta: {
  3076. title: '店内调出类型管理列表',
  3077. icon: 'interaction',
  3078. hidden: true,
  3079. permission: 'M_storeTransferOutTypeList'
  3080. }
  3081. }
  3082. ]
  3083. },
  3084. {
  3085. path: '/basicData/bulkPartsTypeManagement',
  3086. redirect: '/basicData/bulkPartsTypeManagement/list',
  3087. name: 'bulkPartsTypeManagement',
  3088. component: BlankLayout,
  3089. meta: {
  3090. title: '散件入库类型管理',
  3091. icon: 'gold',
  3092. permission: 'M_bulkPartsTypeList'
  3093. },
  3094. hideChildrenInMenu: true,
  3095. children: [
  3096. {
  3097. path: 'list',
  3098. name: 'bulkPartsTypeManagementList',
  3099. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/bulkPartsTypeManagement/list.vue'),
  3100. meta: {
  3101. title: '散件入库类型列表',
  3102. icon: 'gold',
  3103. hidden: true,
  3104. permission: 'M_bulkPartsTypeList'
  3105. }
  3106. }
  3107. ]
  3108. },
  3109. {
  3110. path: '/basicData/expenseType',
  3111. redirect: '/basicData/expenseType/list',
  3112. name: 'expenseType',
  3113. component: BlankLayout,
  3114. meta: {
  3115. title: '费用类型管理',
  3116. icon: 'pay-circle',
  3117. permission: 'M_expenseTypeList'
  3118. },
  3119. hideChildrenInMenu: true,
  3120. children: [
  3121. {
  3122. path: 'list',
  3123. name: 'expenseTypeList',
  3124. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/expenseType/list.vue'),
  3125. meta: {
  3126. title: '费用类型列表',
  3127. icon: 'pay-circle',
  3128. hidden: true,
  3129. permission: 'M_expenseTypeList'
  3130. }
  3131. }
  3132. ]
  3133. },
  3134. // {
  3135. // path: '/basicData/processSettings',
  3136. // redirect: '/basicData/processSettings/setup',
  3137. // name: 'processSettings',
  3138. // component: BlankLayout,
  3139. // meta: {
  3140. // title: '业务自动化设置',
  3141. // icon: 'sliders'
  3142. // // permission: 'M_goodsManage_list'
  3143. // },
  3144. // hideChildrenInMenu: true,
  3145. // children: [
  3146. // {
  3147. // path: 'setup',
  3148. // name: 'processSettingsSetup',
  3149. // component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/processSettings/setup.vue'),
  3150. // meta: {
  3151. // title: '业务自动化设置',
  3152. // icon: 'sliders',
  3153. // hidden: true
  3154. // // permission: 'M_goodsManage_list'
  3155. // }
  3156. // }
  3157. // ]
  3158. // },
  3159. {
  3160. path: '/basicData/customerTypeManagement',
  3161. redirect: '/basicData/customerTypeManagement/list',
  3162. name: 'customerTypeManagement',
  3163. component: BlankLayout,
  3164. meta: {
  3165. title: '客户类型管理',
  3166. icon: 'idcard',
  3167. permission: 'M_customerTypeList'
  3168. },
  3169. hideChildrenInMenu: true,
  3170. children: [
  3171. {
  3172. path: 'list',
  3173. name: 'customerTypeManagementList',
  3174. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/customerTypeManagement/list.vue'),
  3175. meta: {
  3176. title: '客户类型列表',
  3177. icon: 'idcard',
  3178. hidden: true,
  3179. permission: 'M_customerTypeList'
  3180. }
  3181. }
  3182. ]
  3183. },
  3184. {
  3185. path: '/basicData/notificationManage',
  3186. redirect: '/basicData/notificationManage/list',
  3187. name: 'notificationManage',
  3188. component: BlankLayout,
  3189. meta: {
  3190. title: '消息提醒管理',
  3191. icon: 'sound',
  3192. permission: 'M_notificationManageList'
  3193. },
  3194. hideChildrenInMenu: true,
  3195. children: [
  3196. {
  3197. path: 'list',
  3198. name: 'notificationManageList',
  3199. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/notificationManage/list.vue'),
  3200. meta: {
  3201. title: '消息提醒管理',
  3202. icon: 'sound',
  3203. hidden: true,
  3204. permission: 'M_notificationManageList'
  3205. }
  3206. }
  3207. ]
  3208. }
  3209. // {
  3210. // path: '/basicData/systemSettings',
  3211. // redirect: '/basicData/systemSettings/index',
  3212. // name: 'systemSettings',
  3213. // component: BlankLayout,
  3214. // meta: {
  3215. // title: '系统参数',
  3216. // icon: 'sound',
  3217. // permission: 'M_systemSettingsList'
  3218. // },
  3219. // hideChildrenInMenu: true,
  3220. // children: [
  3221. // {
  3222. // path: 'index',
  3223. // name: 'systemSettingsList',
  3224. // component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/systemSettings/index.vue'),
  3225. // meta: {
  3226. // title: '系统参数',
  3227. // icon: 'sound',
  3228. // hidden: true,
  3229. // permission: 'M_systemSettingsList'
  3230. // }
  3231. // }
  3232. // ]
  3233. // }
  3234. ]
  3235. },
  3236. // auth
  3237. {
  3238. path: '/auth',
  3239. redirect: '/auth/userList',
  3240. component: PageView,
  3241. meta: {
  3242. title: '权限管理',
  3243. icon: 'key',
  3244. permission: 'M_powerMD_0'
  3245. },
  3246. children: [
  3247. {
  3248. path: '/auth/userList',
  3249. name: 'powerUser',
  3250. redirect: '/auth/userList/list',
  3251. component: BlankLayout,
  3252. meta: {
  3253. title: '用户管理',
  3254. icon: 'user',
  3255. permission: 'M_powerMD_user_list'
  3256. },
  3257. hideChildrenInMenu: true,
  3258. children: [
  3259. {
  3260. path: 'list',
  3261. name: 'powerUserList',
  3262. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  3263. meta: {
  3264. title: '用户管理',
  3265. icon: 'user',
  3266. permission: 'M_powerMD_user_list'
  3267. }
  3268. }
  3269. ]
  3270. },
  3271. {
  3272. path: '/auth/roleList',
  3273. name: 'powerRole',
  3274. redirect: '/auth/roleList/list',
  3275. component: BlankLayout,
  3276. meta: {
  3277. title: '角色管理',
  3278. icon: 'solution',
  3279. permission: 'M_powerMD_role_list'
  3280. },
  3281. hideChildrenInMenu: true,
  3282. children: [
  3283. {
  3284. path: 'list',
  3285. name: 'powerRoleList',
  3286. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  3287. meta: {
  3288. title: '角色管理',
  3289. icon: 'solution',
  3290. permission: 'M_powerMD_role_list'
  3291. }
  3292. }
  3293. ]
  3294. }
  3295. ]
  3296. }
  3297. ]
  3298. },
  3299. {
  3300. path: '*',
  3301. redirect: '/404',
  3302. hidden: true
  3303. }
  3304. ]
  3305. /**
  3306. * 基础路由
  3307. * @type { *[] }
  3308. */
  3309. export const constantRouterMap = [
  3310. {
  3311. path: '/user',
  3312. component: UserLayout,
  3313. redirect: '/user/login',
  3314. hidden: true,
  3315. children: [
  3316. {
  3317. path: 'login',
  3318. name: 'login',
  3319. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  3320. },
  3321. {
  3322. path: 'register',
  3323. name: 'register',
  3324. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  3325. },
  3326. {
  3327. path: 'register-result',
  3328. name: 'registerResult',
  3329. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  3330. },
  3331. {
  3332. path: 'recover',
  3333. name: 'recover',
  3334. component: undefined
  3335. }
  3336. ]
  3337. },
  3338. {
  3339. path: '/updateBrowser',
  3340. name: 'updateBrowser',
  3341. component: () => import(/* webpackChunkName: "user" */ '@/views/exception/updateBrowser')
  3342. },
  3343. {
  3344. path: '/404',
  3345. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  3346. }
  3347. ]