router.config.js 143 KB

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