router.config.js 144 KB

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