router.config.js 97 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736
  1. // eslint-disable-next-line
  2. import {
  3. UserLayout,
  4. BasicLayout,
  5. RouteView,
  6. BlankLayout,
  7. PageView
  8. } from '@/layouts'
  9. export const asyncRouterMap = [
  10. {
  11. path: '/',
  12. name: 'index',
  13. component: BasicLayout,
  14. meta: {
  15. title: '首页'
  16. },
  17. redirect: '/home',
  18. children: [
  19. {
  20. path: '/home',
  21. name: 'home',
  22. redirect: '/home',
  23. component: PageView,
  24. meta: {
  25. title: '首页',
  26. icon: 'home'
  27. },
  28. hideChildrenInMenu: true,
  29. children: [
  30. {
  31. path: '/home',
  32. name: 'home',
  33. redirect: '/home',
  34. component: BlankLayout,
  35. meta: {
  36. title: '首页',
  37. icon: 'home',
  38. hidden: true
  39. },
  40. hideChildrenInMenu: true,
  41. children: [
  42. {
  43. path: '/home',
  44. name: 'home',
  45. component: () => import(/* webpackChunkName: "home" */ '@/views/Home'),
  46. meta: {
  47. title: '首页',
  48. icon: 'home',
  49. hidden: true
  50. }
  51. },
  52. {
  53. path: '/changePwd',
  54. name: 'changePwd',
  55. component: () => import(/* webpackChunkName: "home" */ '@/views/user/ChangePwd'),
  56. meta: {
  57. title: '修改密码',
  58. icon: 'home'
  59. },
  60. hidden: true
  61. },
  62. {
  63. path: '/notice',
  64. name: 'notice',
  65. component: () => import(/* webpackChunkName: "home" */ '@/views/setting/notice/list'),
  66. meta: {
  67. title: '公告',
  68. icon: 'bell'
  69. },
  70. hidden: true
  71. },
  72. {
  73. path: '/dowloadFile',
  74. name: 'dowloadFile',
  75. component: () => import(/* webpackChunkName: "home" */ '@/views/dowloadFile/list'),
  76. meta: {
  77. title: '下载中心',
  78. icon: 'bell'
  79. },
  80. hidden: true
  81. },
  82. // 新品列表
  83. {
  84. path: '/newProduct/list/:onlineFalg',
  85. name: 'newProductList',
  86. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/list'),
  87. meta: {
  88. title: '新品信息',
  89. icon: 'home'
  90. },
  91. hidden: true
  92. },
  93. // 产品详情
  94. {
  95. path: '/viewProduct/:sn',
  96. name: 'viewProduct',
  97. component: () => import(/* webpackChunkName: "home" */ '@/views/productManagement/newProduct/detail'),
  98. meta: {
  99. title: '产品详情',
  100. icon: 'home'
  101. },
  102. hidden: true
  103. },
  104. ]
  105. }
  106. ]
  107. },
  108. // 销售管理
  109. {
  110. path: '/salesManagement',
  111. redirect: '/salesManagement/salesQuery',
  112. component: PageView,
  113. meta: {
  114. title: '销售管理',
  115. icon: 'account-book',
  116. permission: 'M_salesManagement'
  117. },
  118. children: [
  119. {
  120. path: '/salesManagement/salesQuery',
  121. redirect: '/salesManagement/salesQuery/list',
  122. name: 'salesQuery',
  123. component: BlankLayout,
  124. meta: {
  125. title: '销售单查询',
  126. icon: 'monitor',
  127. permission: 'M_salesQueryList'
  128. },
  129. hideChildrenInMenu: true,
  130. children: [
  131. {
  132. path: 'list',
  133. name: 'salesQueryList',
  134. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/list.vue'),
  135. meta: {
  136. title: '销售单列表',
  137. icon: 'monitor',
  138. hidden: true,
  139. permission: 'M_salesQueryList'
  140. }
  141. },
  142. {
  143. path: 'detail/:sn',
  144. name: 'salesDetail',
  145. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/detail.vue'),
  146. meta: {
  147. title: '销售单详情',
  148. icon: 'monitor',
  149. hidden: true,
  150. replaceTab: true,
  151. // permission: 'M_salesDetail'
  152. }
  153. },
  154. {
  155. path: 'add/:sn',
  156. name: 'salesAdd',
  157. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  158. meta: {
  159. title: '新增销售单',
  160. icon: 'monitor',
  161. hidden: true
  162. // permission: 'M_salesNew'
  163. }
  164. },
  165. {
  166. path: 'edit/:sn',
  167. name: 'salesEdit',
  168. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesQuery/edit.vue'),
  169. meta: {
  170. title: '编辑销售单',
  171. icon: 'monitor',
  172. hidden: true
  173. // permission: 'M_salesNew'
  174. }
  175. },
  176. {
  177. path: 'waitDispatch/:salesBillSn/:dispatchBillSn',
  178. name: 'waitDispatch',
  179. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/waitDispatch/edit.vue'),
  180. meta: {
  181. title: '下推销售单',
  182. icon: 'monitor',
  183. replaceTab: true,
  184. hidden: true
  185. // permission: 'M_salesNew'
  186. }
  187. }
  188. ]
  189. },
  190. {
  191. path: '/salesManagement/examineVerify',
  192. redirect: '/salesManagement/examineVerify/list',
  193. name: 'examineVerify',
  194. component: BlankLayout,
  195. meta: {
  196. title: '备货审核',
  197. icon: 'audit',
  198. permission: 'M_examineVerifyList'
  199. },
  200. hideChildrenInMenu: true,
  201. children: [
  202. {
  203. path: 'list',
  204. name: 'examineVerifyList',
  205. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/examineVerify/list.vue'),
  206. meta: {
  207. title: '备货审核列表',
  208. icon: 'audit',
  209. hidden: true,
  210. permission: 'M_examineVerifyList'
  211. }
  212. }
  213. ]
  214. },
  215. {
  216. path: '/salesManagement/outboundOrder',
  217. redirect: '/salesManagement/outboundOrder/list',
  218. name: 'outboundOrder',
  219. component: BlankLayout,
  220. meta: {
  221. title: '出库',
  222. icon: 'export',
  223. permission: 'M_outboundOrderList'
  224. },
  225. hideChildrenInMenu: true,
  226. children: [
  227. {
  228. path: 'list',
  229. name: 'outboundOrderList',
  230. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/outboundOrder/list.vue'),
  231. meta: {
  232. title: '出库列表',
  233. icon: 'export',
  234. hidden: true,
  235. permission: 'M_outboundOrderList'
  236. }
  237. }
  238. ]
  239. },
  240. {
  241. path: '/salesManagement/pushOrderManagement',
  242. redirect: '/salesManagement/pushOrderManagement/list',
  243. name: 'pushOrderManagement',
  244. component: BlankLayout,
  245. meta: {
  246. title: '下推订单列表',
  247. icon: 'vertical-align-bottom',
  248. permission: 'M_pushOrderManagementList'
  249. },
  250. hideChildrenInMenu: true,
  251. children: [
  252. {
  253. path: 'list',
  254. name: 'pushOrderManagementList',
  255. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/list.vue'),
  256. meta: {
  257. title: '下推订单列表',
  258. icon: 'vertical-align-bottom',
  259. hidden: true,
  260. permission: 'M_pushOrderManagementList'
  261. }
  262. },
  263. {
  264. path: 'detail/:sn/:type',
  265. name: 'pushOrderDetail',
  266. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/pushOrderManagement/detail.vue'),
  267. meta: {
  268. title: '下推订单详情',
  269. icon: 'vertical-align-bottom',
  270. hidden: true
  271. // permission: 'M_outboundList'
  272. }
  273. }
  274. ]
  275. },
  276. {
  277. path: '/salesManagement/salesReturn',
  278. redirect: '/salesManagement/salesReturn/list',
  279. name: 'salesReturn',
  280. component: BlankLayout,
  281. meta: {
  282. title: '销售退货列表',
  283. icon: 'fund',
  284. permission: 'M_salesReturnList'
  285. },
  286. hideChildrenInMenu: true,
  287. children: [
  288. {
  289. path: 'list',
  290. name: 'salesReturnList',
  291. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/list.vue'),
  292. meta: {
  293. title: '销售退货列表',
  294. icon: 'fund',
  295. hidden: true,
  296. permission: 'M_salesReturnList'
  297. }
  298. },
  299. {
  300. path: 'detail/:sn',
  301. name: 'salesReturnDetail',
  302. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/detail.vue'),
  303. meta: {
  304. title: '销售退货详情',
  305. icon: 'fund',
  306. hidden: true
  307. // permission: 'M_salesReturn'
  308. }
  309. },
  310. {
  311. path: 'salesReturnGrabEdit/:sn/:buyerSn',
  312. name: 'salesReturnGrabEdit',
  313. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnGrabEdit.vue'),
  314. meta: {
  315. title: '编辑销售退货(抓单)',
  316. icon: 'fund',
  317. hidden: true
  318. // permission: 'M_salesReturnGrabEdit'
  319. }
  320. },
  321. {
  322. path: 'salesReturnEdit/:sn/:buyerSn',
  323. name: 'salesReturnEdit',
  324. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnEdit.vue'),
  325. meta: {
  326. title: '编辑销售退货(不抓单)',
  327. icon: 'fund',
  328. hidden: true
  329. // permission: 'M_salesReturnEdit'
  330. }
  331. },
  332. {
  333. path: 'check/:sn',
  334. name: 'salesReturnCheck',
  335. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/salesReturn/salesReturnCheck.vue'),
  336. meta: {
  337. title: '销售退货品检',
  338. icon: 'fund',
  339. replaceTab: true,
  340. hidden: true
  341. // permission: 'M_salesReturnCheck'
  342. }
  343. }
  344. ]
  345. },
  346. {
  347. path: '/salesManagement/backorder',
  348. redirect: '/salesManagement/backorder/list',
  349. name: 'backorder',
  350. component: BlankLayout,
  351. meta: {
  352. title: '销售缺货列表',
  353. icon: 'exception',
  354. permission: 'M_backorderList'
  355. },
  356. hideChildrenInMenu: true,
  357. children: [
  358. {
  359. path: 'list',
  360. name: 'backorderList',
  361. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/backorder/list.vue'),
  362. meta: {
  363. title: '销售缺货列表',
  364. icon: 'exception',
  365. hidden: true,
  366. permission: 'M_backorderList'
  367. }
  368. }
  369. ]
  370. },
  371. {
  372. path: '/salesManagement/shortageStatisticsC',
  373. redirect: '/salesManagement/shortageStatisticsC/list',
  374. name: 'shortageStatisticsC',
  375. component: BlankLayout,
  376. meta: {
  377. title: '缺货统计(按客户)',
  378. icon: 'file-done',
  379. permission: 'M_shortageStatisticsCList'
  380. },
  381. hideChildrenInMenu: true,
  382. children: [
  383. {
  384. path: 'list',
  385. name: 'shortageStatisticsCList',
  386. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsC/list.vue'),
  387. meta: {
  388. title: '缺货统计列表',
  389. icon: 'file-done',
  390. hidden: true,
  391. permission: 'M_shortageStatisticsCList'
  392. }
  393. }
  394. ]
  395. },
  396. {
  397. path: '/salesManagement/shortageStatisticsP',
  398. redirect: '/salesManagement/shortageStatisticsP/list',
  399. name: 'shortageStatisticsP',
  400. component: BlankLayout,
  401. meta: {
  402. title: '缺货统计(按产品)',
  403. icon: 'file-protect',
  404. permission: 'M_shortageStatisticsPList'
  405. },
  406. hideChildrenInMenu: true,
  407. children: [
  408. {
  409. path: 'list',
  410. name: 'shortageStatisticsPList',
  411. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/shortageStatisticsP/list.vue'),
  412. meta: {
  413. title: '缺货统计列表',
  414. icon: 'file-protect',
  415. hidden: true,
  416. permission: 'M_shortageStatisticsPList'
  417. }
  418. }
  419. ]
  420. },
  421. {
  422. path: '/salesManagement/priceInquiry',
  423. redirect: '/salesManagement/priceInquiry/list',
  424. name: 'priceInquiry',
  425. component: BlankLayout,
  426. meta: {
  427. title: '价格查询',
  428. icon: 'file-protect',
  429. permission: 'M_priceInquiryList'
  430. },
  431. hideChildrenInMenu: true,
  432. children: [
  433. {
  434. path: 'list',
  435. name: 'priceInquiryList',
  436. component: () => import(/* webpackChunkName: "salesManagement" */ '@/views/salesManagement/priceInquiry/list.vue'),
  437. meta: {
  438. title: '价格查询列表',
  439. icon: 'file-protect',
  440. hidden: true,
  441. permission: 'M_priceInquiryList'
  442. }
  443. }
  444. ]
  445. }
  446. ]
  447. },
  448. // 采购管理
  449. {
  450. path: '/purchasingManagement',
  451. redirect: '/purchasingManagement/purchaseOrder',
  452. component: PageView,
  453. meta: {
  454. title: '采购管理',
  455. icon: 'money-collect',
  456. permission: 'M_purchasingManagement'
  457. },
  458. children: [
  459. {
  460. path: '/purchasingManagement/bulkWarehousingOrder',
  461. redirect: '/purchasingManagement/bulkWarehousingOrder/list',
  462. name: 'bulkWarehousingOrder',
  463. component: BlankLayout,
  464. meta: {
  465. title: '散件入库',
  466. icon: 'gold',
  467. permission: 'M_bulkWarehousingOrderList'
  468. },
  469. hideChildrenInMenu: true,
  470. children: [
  471. {
  472. path: 'list',
  473. name: 'bulkWarehousingOrderList',
  474. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/list.vue'),
  475. meta: {
  476. title: '散件入库单列表',
  477. icon: 'gold',
  478. hidden: true,
  479. permission: 'M_bulkWarehousingOrderList'
  480. }
  481. },
  482. {
  483. path: 'add/:id/:sn',
  484. name: 'bulkWarehousingOrderAdd',
  485. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  486. meta: {
  487. title: '新增散件入库单',
  488. icon: 'gold',
  489. hidden: true
  490. }
  491. },
  492. {
  493. path: 'edit/:id/:sn',
  494. name: 'bulkWarehousingOrderEdit',
  495. component: () => import(/* webpackChunkName: "purchasingManagement" */ '@/views/purchasingManagement/bulkWarehousingOrder/edit.vue'),
  496. meta: {
  497. title: '编辑散件入库单',
  498. icon: 'gold',
  499. hidden: true
  500. }
  501. }
  502. ]
  503. }
  504. ]
  505. },
  506. // 财务管理
  507. {
  508. path: '/financialManagement',
  509. redirect: '/financialManagement/returnConfirmation',
  510. component: PageView,
  511. meta: {
  512. title: '财务管理',
  513. icon: 'property-safety',
  514. permission: 'M_financialManagement'
  515. },
  516. children: [
  517. {
  518. path: '/financialManagement/warehousingConfirmation',
  519. redirect: '/financialManagement/warehousingConfirmation/list',
  520. name: 'warehousingConfirmation',
  521. component: BlankLayout,
  522. meta: {
  523. title: '入库确认',
  524. icon: 'vertical-align-bottom',
  525. permission: 'M_warehousingConfirmationList'
  526. },
  527. hideChildrenInMenu: true,
  528. children: [
  529. {
  530. path: 'list',
  531. name: 'warehousingConfirmationList',
  532. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/warehousingConfirmation/list.vue'),
  533. meta: {
  534. title: '入库确认列表',
  535. icon: 'vertical-align-bottom',
  536. hidden: true,
  537. permission: 'M_warehousingConfirmationList'
  538. }
  539. }
  540. ]
  541. },
  542. {
  543. path: '/financialManagement/returnConfirmation',
  544. redirect: '/financialManagement/returnConfirmation/list',
  545. name: 'returnConfirmation',
  546. component: BlankLayout,
  547. meta: {
  548. title: '销售退货确认',
  549. icon: 'vertical-align-top',
  550. permission: 'M_returnConfirmationList'
  551. },
  552. hideChildrenInMenu: true,
  553. children: [
  554. {
  555. path: 'list',
  556. name: 'returnConfirmationList',
  557. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/returnConfirmation/list.vue'),
  558. meta: {
  559. title: '销售退货确认列表',
  560. icon: 'vertical-align-top',
  561. hidden: true,
  562. permission: 'M_returnConfirmationList'
  563. }
  564. }
  565. ]
  566. },
  567. {
  568. path: '/financialManagement/allocateReturnConfirmation',
  569. redirect: '/financialManagement/allocateReturnConfirmation/list',
  570. name: 'allocateReturnConfirmation',
  571. component: BlankLayout,
  572. meta: {
  573. title: '调拨退货确认',
  574. icon: 'vertical-align-top',
  575. permission: 'M_allocateReturnConfirmationList'
  576. },
  577. hideChildrenInMenu: true,
  578. children: [
  579. {
  580. path: 'list',
  581. name: 'allocateReturnConfirmationList',
  582. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/allocateReturnConfirmation/list.vue'),
  583. meta: {
  584. title: '调拨退货确认列表',
  585. icon: 'vertical-align-top',
  586. hidden: true,
  587. permission: 'M_allocateReturnConfirmationList'
  588. }
  589. }
  590. ]
  591. },
  592. {
  593. path: '/financialManagement/inventoryConfirmation',
  594. redirect: '/financialManagement/inventoryConfirmation/list',
  595. name: 'inventoryConfirmation',
  596. component: BlankLayout,
  597. meta: {
  598. title: '盘点确认',
  599. icon: 'monitor',
  600. permission: 'M_inventoryConfirmationList'
  601. },
  602. hideChildrenInMenu: true,
  603. children: [
  604. {
  605. path: 'list',
  606. name: 'inventoryConfirmationList',
  607. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryConfirmation/list.vue'),
  608. meta: {
  609. title: '盘点确认列表',
  610. icon: 'monitor',
  611. hidden: true,
  612. permission: 'M_inventoryConfirmationList'
  613. }
  614. },
  615. {
  616. path: 'detail/:sn',
  617. name: 'inventoryConfirmationDetail',
  618. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/inventoryConfirmation/detail.vue'),
  619. meta: {
  620. title: '盘点确认详情',
  621. icon: 'monitor',
  622. hidden: true,
  623. permission: 'B_inventoryConfirmationDetail'
  624. }
  625. }
  626. ]
  627. },
  628. {
  629. path: '/financialManagement/financialCollection',
  630. redirect: '/financialManagement/financialCollection/list',
  631. name: 'financialCollection',
  632. component: BlankLayout,
  633. meta: {
  634. title: '财务收款',
  635. icon: 'pay-circle',
  636. permission: 'M_financialCollectionList'
  637. },
  638. hideChildrenInMenu: true,
  639. children: [
  640. {
  641. path: 'list',
  642. name: 'financialCollectionList',
  643. component: () => import(/* webpackChunkName: "financialManagement" */ '@/views/financialManagement/financialCollection/list.vue'),
  644. meta: {
  645. title: '财务收款列表',
  646. icon: 'pay-circle',
  647. hidden: true,
  648. permission: 'M_financialCollectionList'
  649. }
  650. }
  651. ]
  652. }
  653. ]
  654. },
  655. // 费用报销
  656. {
  657. path: '/expenseManagement',
  658. redirect: '/expenseManagement/expenseReimbursement',
  659. component: PageView,
  660. meta: {
  661. title: '费用报销',
  662. icon: 'account-book',
  663. permission: 'M_expenseManagement'
  664. },
  665. children: [
  666. {
  667. path: '/expenseManagement/expenseReimbursement',
  668. redirect: '/expenseManagement/expenseReimbursement/list',
  669. name: 'expenseReimbursement',
  670. component: BlankLayout,
  671. meta: {
  672. title: '费用报销单',
  673. icon: 'monitor',
  674. permission: 'M_expenseReimbursementList'
  675. },
  676. hideChildrenInMenu: true,
  677. children: [
  678. {
  679. path: 'list',
  680. name: 'expenseReimbursementList',
  681. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/list.vue'),
  682. meta: {
  683. title: '费用报销单列表',
  684. icon: 'monitor',
  685. hidden: true,
  686. permission: 'M_expenseReimbursementList'
  687. }
  688. },
  689. {
  690. path: 'detail/:sn',
  691. name: 'expenseReimbursementListDetail',
  692. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/detail.vue'),
  693. meta: {
  694. title: '费用报销单详情',
  695. icon: 'monitor',
  696. hidden: true
  697. }
  698. },
  699. {
  700. path: 'add',
  701. name: 'expenseReimbursementAdd',
  702. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
  703. meta: {
  704. title: '新增费用报销单',
  705. icon: 'monitor',
  706. hidden: true
  707. }
  708. },
  709. {
  710. path: 'edit/:sn',
  711. name: 'expenseReimbursementEdit',
  712. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursement/add.vue'),
  713. meta: {
  714. title: '编辑费用报销单',
  715. icon: 'monitor',
  716. hidden: true
  717. }
  718. }
  719. ]
  720. },
  721. {
  722. path: '/expenseManagement/expenseReimbursementDetail',
  723. redirect: '/expenseManagement/expenseReimbursementDetail/list',
  724. name: 'expenseReimbursementDetail',
  725. component: BlankLayout,
  726. meta: {
  727. title: '费用报销明细统计',
  728. icon: 'audit',
  729. permission: 'M_expenseReimbursementDetailList'
  730. },
  731. hideChildrenInMenu: true,
  732. children: [
  733. {
  734. path: 'list',
  735. name: 'expenseReimbursementDetailList',
  736. component: () => import(/* webpackChunkName: "expenseManagement" */ '@/views/expenseManagement/expenseReimbursementDetail/list.vue'),
  737. meta: {
  738. title: '费用报销明细统计列表',
  739. icon: 'audit',
  740. hidden: true,
  741. permission: 'M_expenseReimbursementDetailList'
  742. }
  743. }
  744. ]
  745. }
  746. ]
  747. },
  748. // 库存管理
  749. {
  750. path: '/inventoryManagement',
  751. redirect: '/inventoryManagement/inventoryQuery',
  752. component: PageView,
  753. meta: {
  754. title: '库存管理',
  755. icon: 'shop',
  756. permission: 'M_inventoryManagement'
  757. },
  758. children: [
  759. {
  760. path: '/inventoryManagement/inventoryQuery',
  761. redirect: '/inventoryManagement/inventoryQuery/list',
  762. name: 'inventoryQuery',
  763. component: BlankLayout,
  764. meta: {
  765. title: '库存查询',
  766. icon: 'monitor',
  767. permission: 'M_inventoryQueryList'
  768. },
  769. hideChildrenInMenu: true,
  770. children: [
  771. {
  772. path: 'list',
  773. name: 'inventoryQueryList',
  774. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/list.vue'),
  775. meta: {
  776. title: '库存列表',
  777. icon: 'monitor',
  778. hidden: true,
  779. permission: 'M_inventoryQueryList'
  780. }
  781. },
  782. {
  783. path: 'warehouseDetail/:sn',
  784. name: 'inventoryQueryWarehouseDetail',
  785. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryQuery/warehouseDetail.vue'),
  786. meta: {
  787. title: '出入库明细',
  788. icon: 'monitor',
  789. replaceTab: true,
  790. hidden: true
  791. // permission: 'B_goodsManage_edit'
  792. }
  793. }
  794. ]
  795. },
  796. {
  797. path: '/inventoryManagement/inventoryCheck',
  798. redirect: '/inventoryManagement/inventoryCheck/list/0',
  799. name: 'inventoryCheck',
  800. component: BlankLayout,
  801. meta: {
  802. title: '库存盘点',
  803. icon: 'monitor',
  804. permission: 'M_inventoryCheckList'
  805. },
  806. hideChildrenInMenu: true,
  807. children: [
  808. {
  809. path: 'list/:type',
  810. name: 'inventoryCheckList',
  811. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/list.vue'),
  812. meta: {
  813. title: '库存盘点列表',
  814. icon: 'monitor',
  815. hidden: true,
  816. permission: 'M_inventoryCheckList'
  817. }
  818. },
  819. {
  820. path: 'detail/:sn',
  821. name: 'inventoryCheckDetail',
  822. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryCheck/detail.vue'),
  823. meta: {
  824. title: '库存盘点详情',
  825. icon: 'monitor',
  826. hidden: true,
  827. replaceTab: true,
  828. permission: 'B_inventoryCheckDetail'
  829. }
  830. }
  831. ]
  832. },
  833. {
  834. path: '/inventoryManagement/makeInventory',
  835. redirect: '/inventoryManagement/makeInventory/list',
  836. name: 'makeInventory',
  837. component: BlankLayout,
  838. meta: {
  839. title: '盘点人盘点',
  840. icon: 'monitor',
  841. permission: 'M_inventoryMakeInventoryList'
  842. },
  843. hideChildrenInMenu: true,
  844. children: [
  845. {
  846. path: 'list',
  847. name: 'makeInventoryList',
  848. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/list.vue'),
  849. meta: {
  850. title: '盘点人盘点列表',
  851. icon: 'monitor',
  852. hidden: true,
  853. permission: 'M_inventoryMakeInventoryList'
  854. }
  855. },
  856. {
  857. path: 'check/:sn',
  858. name: 'makeInventoryCheck',
  859. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/makeInventory/check.vue'),
  860. meta: {
  861. title: '盘点人盘点',
  862. icon: 'monitor',
  863. hidden: true,
  864. replaceTab: true,
  865. permission: 'B_inventoryMakeInventoryCheck'
  866. }
  867. }
  868. ]
  869. },
  870. {
  871. path: '/inventoryManagement/supervisionDisk',
  872. redirect: '/inventoryManagement/supervisionDisk/list',
  873. name: 'supervisionDisk',
  874. component: BlankLayout,
  875. meta: {
  876. title: '监盘人盘点',
  877. icon: 'monitor',
  878. permission: 'M_supervisionDiskList'
  879. },
  880. hideChildrenInMenu: true,
  881. children: [
  882. {
  883. path: 'list',
  884. name: 'supervisionDiskList',
  885. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/list.vue'),
  886. meta: {
  887. title: '监盘人盘点列表',
  888. icon: 'monitor',
  889. hidden: true,
  890. permission: 'M_supervisionDiskList'
  891. }
  892. },
  893. {
  894. path: 'check/:sn',
  895. name: 'supervisionDiskCheck',
  896. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/supervisionDisk/check.vue'),
  897. meta: {
  898. title: '监盘人监盘',
  899. icon: 'monitor',
  900. replaceTab: true,
  901. hidden: true,
  902. permission: 'B_supervisionDiskCheck'
  903. }
  904. }
  905. ]
  906. },
  907. {
  908. path: '/inventoryManagement/inventoryWarning',
  909. redirect: '/inventoryManagement/inventoryWarning/list',
  910. name: 'inventoryWarning',
  911. component: BlankLayout,
  912. meta: {
  913. title: '库存预警',
  914. icon: 'monitor',
  915. permission: 'M_inventoryWarningList'
  916. },
  917. hideChildrenInMenu: true,
  918. children: [
  919. {
  920. path: 'list',
  921. name: 'inventoryWarningList',
  922. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/inventoryWarning/list.vue'),
  923. meta: {
  924. title: '库存预警列表',
  925. icon: 'alert',
  926. permission: 'M_inventoryWarningList'
  927. }
  928. },
  929. ]
  930. },
  931. {
  932. path: '/inventoryManagement/intelligentReplenishment',
  933. redirect: '/inventoryManagement/intelligentReplenishment/list',
  934. name: 'intelligentReplenishment',
  935. component: BlankLayout,
  936. meta: {
  937. title: '智能补货',
  938. icon: 'monitor',
  939. permission: 'M_intelligentReplenishmentList'
  940. },
  941. hideChildrenInMenu: true,
  942. children: [
  943. {
  944. path: 'list',
  945. name: 'intelligentReplenishmentList',
  946. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/list.vue'),
  947. meta: {
  948. title: '智能补货列表',
  949. icon: 'monitor',
  950. hidden: true,
  951. permission: 'M_intelligentReplenishmentList'
  952. }
  953. },
  954. {
  955. path: 'add/:sn',
  956. name: 'intelligentReplenishmentAdd',
  957. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  958. meta: {
  959. title: '新增智能补货',
  960. icon: 'monitor',
  961. hidden: true
  962. }
  963. },
  964. {
  965. path: 'edit/:sn',
  966. name: 'intelligentReplenishmentEdit',
  967. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/edit.vue'),
  968. meta: {
  969. title: '编辑智能补货',
  970. icon: 'monitor',
  971. hidden: true
  972. }
  973. },
  974. {
  975. path: 'set',
  976. name: 'intelligentReplenishmentSet',
  977. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/set.vue'),
  978. meta: {
  979. title: '基础信息设置',
  980. icon: 'monitor',
  981. hidden: true
  982. }
  983. },
  984. {
  985. path: 'import',
  986. name: 'intelligentReplenishmentImport',
  987. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/import.vue'),
  988. meta: {
  989. title: '确认导入',
  990. icon: 'monitor',
  991. hidden: true
  992. }
  993. },
  994. {
  995. path: 'explainXsbz',
  996. name: 'intelligentReplenishmentExplainXsbz',
  997. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/explainXsbz.vue'),
  998. meta: {
  999. title: '销售保障法-说明',
  1000. icon: 'monitor',
  1001. hidden: true
  1002. }
  1003. },
  1004. {
  1005. path: 'explainQspj',
  1006. name: 'intelligentReplenishmentExplainQspj',
  1007. component: () => import(/* webpackChunkName: "inventoryManagement" */ '@/views/inventoryManagement/intelligentReplenishment/explainQspj.vue'),
  1008. meta: {
  1009. title: '趋势平均法-说明',
  1010. icon: 'monitor',
  1011. hidden: true
  1012. }
  1013. }
  1014. ]
  1015. }
  1016. ]
  1017. },
  1018. // 调拨管理
  1019. {
  1020. path: '/allocationManagement',
  1021. redirect: '/allocationManagement/transferOut',
  1022. component: PageView,
  1023. meta: {
  1024. title: '调拨管理',
  1025. icon: 'cluster',
  1026. permission: 'M_allocationManagement'
  1027. },
  1028. children: [
  1029. {
  1030. path: '/allocationManagement/transferOut',
  1031. redirect: '/allocationManagement/transferOut/list',
  1032. name: 'transferOut',
  1033. component: BlankLayout,
  1034. meta: {
  1035. title: '调拨列表',
  1036. icon: 'pull-request',
  1037. permission: 'M_transferOutList'
  1038. },
  1039. hideChildrenInMenu: true,
  1040. children: [
  1041. {
  1042. path: 'list',
  1043. name: 'transferOutList',
  1044. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/list.vue'),
  1045. meta: {
  1046. title: '调拨列表',
  1047. icon: 'pull-request',
  1048. hidden: true,
  1049. permission: 'M_transferOutList'
  1050. }
  1051. },
  1052. {
  1053. path: 'add/:sn/:dealerLevel',
  1054. name: 'transferOutAdd',
  1055. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1056. meta: {
  1057. title: '新增调拨单',
  1058. icon: 'pull-request',
  1059. hidden: true
  1060. // permission: 'B_goodsManage_edit'
  1061. }
  1062. },
  1063. {
  1064. path: 'edit/:sn/:dealerLevel',
  1065. name: 'transferOutEdit',
  1066. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/edit.vue'),
  1067. meta: {
  1068. title: '编辑调拨单',
  1069. icon: 'pull-request',
  1070. hidden: true
  1071. // permission: 'B_goodsManage_edit'
  1072. }
  1073. },
  1074. {
  1075. path: 'detail/:sn',
  1076. name: 'transferOutDetail',
  1077. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferOut/detail.vue'),
  1078. meta: {
  1079. title: '调拨单详情',
  1080. icon: 'pull-request',
  1081. hidden: true
  1082. // permission: 'B_goodsManage_edit'
  1083. }
  1084. }
  1085. ]
  1086. },
  1087. {
  1088. path: '/allocationManagement/transferReturn',
  1089. redirect: '/allocationManagement/transferReturn/list',
  1090. name: 'transferReturn',
  1091. component: BlankLayout,
  1092. meta: {
  1093. title: '调拨退货列表',
  1094. icon: 'pull-request',
  1095. permission: 'M_transferReturnList'
  1096. },
  1097. hideChildrenInMenu: true,
  1098. children: [
  1099. {
  1100. path: 'list',
  1101. name: 'transferReturnList',
  1102. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/list.vue'),
  1103. meta: {
  1104. title: '调拨退货列表',
  1105. icon: 'pull-request',
  1106. hidden: true,
  1107. permission: 'M_transferReturnList'
  1108. }
  1109. },
  1110. {
  1111. path: 'editGrap/:sn/:targetType',
  1112. name: 'transferReturnGrpEdit',
  1113. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/editGrp.vue'),
  1114. meta: {
  1115. title: '编辑调拨退货单(抓单)',
  1116. icon: 'pull-request',
  1117. hidden: true
  1118. }
  1119. },
  1120. {
  1121. path: 'edit/:sn/:targetType/:dealerLevel',
  1122. name: 'transferReturnEdit',
  1123. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/edit.vue'),
  1124. meta: {
  1125. title: '编辑调拨退货单(不抓单)',
  1126. icon: 'pull-request',
  1127. hidden: true
  1128. }
  1129. },
  1130. {
  1131. path: 'detail/:sn',
  1132. name: 'transferReturnDetail',
  1133. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/detail.vue'),
  1134. meta: {
  1135. title: '调拨退货单详情',
  1136. icon: 'pull-request',
  1137. replaceTab: true,
  1138. hidden: true
  1139. }
  1140. },
  1141. {
  1142. path: 'check/:sn/:grabFlag',
  1143. name: 'transferReturnCheck',
  1144. component: () => import(/* webpackChunkName: "allocationManagement" */ '@/views/allocationManagement/transferReturn/check.vue'),
  1145. meta: {
  1146. title: '调拨退货品检',
  1147. icon: 'fund',
  1148. replaceTab: true,
  1149. hidden: true
  1150. }
  1151. }
  1152. ]
  1153. }
  1154. ]
  1155. },
  1156. // 报表
  1157. {
  1158. path: '/reportData',
  1159. redirect: '/reportData/salesOrderTotal',
  1160. component: PageView,
  1161. meta: {
  1162. title: '报表',
  1163. icon: 'project',
  1164. permission: 'M_reportData'
  1165. },
  1166. children: [
  1167. {
  1168. path: '/reportData/salesOrderTotal',
  1169. redirect: '/reportData/salesOrderTotal/list',
  1170. name: 'salesOrderTotal',
  1171. component: BlankLayout,
  1172. meta: {
  1173. title: '销售(开单统计)',
  1174. icon: 'profile',
  1175. permission: 'M_salesOrderTotalList'
  1176. },
  1177. hideChildrenInMenu: true,
  1178. children: [
  1179. {
  1180. path: 'list',
  1181. name: 'salesOrderTotalList',
  1182. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesOrderTotal/list.vue'),
  1183. meta: {
  1184. title: '销售(开单统计)列表',
  1185. icon: 'profile',
  1186. hidden: true,
  1187. permission: 'M_salesOrderTotalList'
  1188. }
  1189. }
  1190. ]
  1191. },
  1192. {
  1193. path: '/reportData/salesDetails',
  1194. redirect: '/reportData/salesDetails/list',
  1195. name: 'salesDetails',
  1196. component: BlankLayout,
  1197. meta: {
  1198. title: '销售明细(开单统计)',
  1199. icon: 'profile',
  1200. permission: 'M_salesDetailsList'
  1201. },
  1202. hideChildrenInMenu: true,
  1203. children: [
  1204. {
  1205. path: 'list',
  1206. name: 'salesDetailsList',
  1207. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesDetails/list.vue'),
  1208. meta: {
  1209. title: '销售明细列表',
  1210. icon: 'profile',
  1211. hidden: true,
  1212. permission: 'M_salesDetailsList'
  1213. }
  1214. }
  1215. ]
  1216. },
  1217. {
  1218. path: '/reportData/actualSalesReport',
  1219. redirect: '/reportData/actualSalesReport/list',
  1220. name: 'actualSalesReport',
  1221. component: BlankLayout,
  1222. meta: {
  1223. title: '实售销售报表',
  1224. icon: 'profile',
  1225. permission: 'M_actualSalesReportList'
  1226. },
  1227. hideChildrenInMenu: true,
  1228. children: [
  1229. {
  1230. path: 'list',
  1231. name: 'actualSalesReportList',
  1232. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/actualSalesReport/list.vue'),
  1233. meta: {
  1234. title: '实售销售列表',
  1235. icon: 'profile',
  1236. hidden: true,
  1237. permission: 'M_actualSalesReportList'
  1238. }
  1239. }
  1240. ]
  1241. },
  1242. {
  1243. path: '/reportData/salesAmountReport',
  1244. redirect: '/reportData/salesAmountReport/list',
  1245. name: 'salesAmountReport',
  1246. component: BlankLayout,
  1247. meta: {
  1248. title: '开单销售报表',
  1249. icon: 'profile',
  1250. permission: 'M_salesAmountReportList'
  1251. },
  1252. hideChildrenInMenu: true,
  1253. children: [{
  1254. path: 'list',
  1255. name: 'salesAmountReportList',
  1256. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesAmountReport/list.vue'),
  1257. meta: {
  1258. title: '开单销售报表列表',
  1259. icon: 'profile',
  1260. hidden: true,
  1261. permission: 'M_salesAmountReportList'
  1262. }
  1263. }]
  1264. },
  1265. {
  1266. path: '/reportData/salesSlipReport',
  1267. redirect: '/reportData/salesSlipReport/list',
  1268. name: 'salesSlipReport',
  1269. component: BlankLayout,
  1270. meta: {
  1271. title: '开单销售单报表',
  1272. icon: 'profile',
  1273. permission: 'M_salesSlipReportList'
  1274. },
  1275. hideChildrenInMenu: true,
  1276. children: [{
  1277. path: 'list',
  1278. name: 'salesSlipReportList',
  1279. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesSlipReport/list.vue'),
  1280. meta: {
  1281. title: '开单销售单报表列表',
  1282. icon: 'profile',
  1283. hidden: true,
  1284. permission: 'M_salesSlipReportList'
  1285. }
  1286. }]
  1287. },
  1288. {
  1289. path: '/reportData/allocationOrderTotal',
  1290. redirect: '/reportData/allocationOrderTotal/list',
  1291. name: 'allocationOrderTotal',
  1292. component: BlankLayout,
  1293. meta: {
  1294. title: '调拨开单统计',
  1295. icon: 'profile',
  1296. permission: 'M_allocationOrderTotalList'
  1297. },
  1298. hideChildrenInMenu: true,
  1299. children: [
  1300. {
  1301. path: 'list',
  1302. name: 'allocationOrderTotalList',
  1303. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationOrderTotal/list.vue'),
  1304. meta: {
  1305. title: '调拨开单列表',
  1306. icon: 'profile',
  1307. hidden: true,
  1308. permission: 'M_allocationOrderTotalList'
  1309. }
  1310. }
  1311. ]
  1312. },
  1313. {
  1314. path: '/reportData/allocationDetails',
  1315. redirect: '/reportData/allocationDetails/list',
  1316. name: 'allocationDetails',
  1317. component: BlankLayout,
  1318. meta: {
  1319. title: '调拨明细',
  1320. icon: 'profile',
  1321. permission: 'M_allocationDetailsList'
  1322. },
  1323. hideChildrenInMenu: true,
  1324. children: [
  1325. {
  1326. path: 'list',
  1327. name: 'allocationDetailsList',
  1328. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationDetails/list.vue'),
  1329. meta: {
  1330. title: '调拨明细列表',
  1331. icon: 'profile',
  1332. hidden: true,
  1333. permission: 'M_allocationDetailsList'
  1334. }
  1335. }
  1336. ]
  1337. },
  1338. {
  1339. path: '/reportData/salesReturnsReport',
  1340. redirect: '/reportData/salesReturnsReport/list',
  1341. name: 'salesReturnsReport',
  1342. component: BlankLayout,
  1343. meta: {
  1344. title: '销售退货单报表',
  1345. icon: 'profile',
  1346. permission: 'M_salesReturnsReportList'
  1347. },
  1348. hideChildrenInMenu: true,
  1349. children: [
  1350. {
  1351. path: 'list',
  1352. name: 'salesReturnsReportList',
  1353. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnsReport/list.vue'),
  1354. meta: {
  1355. title: '销售退货单报表列表',
  1356. icon: 'profile',
  1357. hidden: true,
  1358. permission: 'M_salesReturnsReportList'
  1359. }
  1360. }
  1361. ]
  1362. },
  1363. {
  1364. path: '/reportData/salesReturnDetailReport',
  1365. redirect: '/reportData/salesReturnDetailReport/list',
  1366. name: 'salesReturnDetailReport',
  1367. component: BlankLayout,
  1368. meta: {
  1369. title: '销售退货明细报表',
  1370. icon: 'profile',
  1371. permission: 'M_salesReturnDetailReportList'
  1372. },
  1373. hideChildrenInMenu: true,
  1374. children: [{
  1375. path: 'list',
  1376. name: 'salesReturnDetailReportList',
  1377. component: () => import(/* webpackChunkName: "reportData" */
  1378. '@/views/reportData/salesReturnDetailReport/list.vue'),
  1379. meta: {
  1380. title: '销售退货明细报表列表',
  1381. icon: 'profile',
  1382. hidden: true,
  1383. permission: 'M_salesReturnDetailReportList'
  1384. }
  1385. }]
  1386. },
  1387. {
  1388. path: '/reportData/transferReturnReport',
  1389. redirect: '/reportData/transferReturnReport/list',
  1390. name: 'transferReturnReport',
  1391. component: BlankLayout,
  1392. meta: {
  1393. title: '调拨退货单报表',
  1394. icon: 'profile',
  1395. permission: 'M_transferReturnReportList'
  1396. },
  1397. hideChildrenInMenu: true,
  1398. children: [
  1399. {
  1400. path: 'list',
  1401. name: 'transferReturnReportList',
  1402. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnReport/list.vue'),
  1403. meta: {
  1404. title: '调拨退货单报表列表',
  1405. icon: 'profile',
  1406. hidden: true,
  1407. permission: 'M_transferReturnReportList'
  1408. }
  1409. }
  1410. ]
  1411. },
  1412. {
  1413. path: '/reportData/transferReturnDetailReport',
  1414. redirect: '/reportData/transferReturnDetailReport/list',
  1415. name: 'transferReturnDetailReport',
  1416. component: BlankLayout,
  1417. meta: {
  1418. title: '调拨退货单明细报表',
  1419. icon: 'profile',
  1420. permission: 'M_transferReturnDetailReportList'
  1421. },
  1422. hideChildrenInMenu: true,
  1423. children: [{
  1424. path: 'list',
  1425. name: 'transferReturnDetailReportList',
  1426. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/transferReturnDetailReport/list.vue'),
  1427. meta: {
  1428. title: '调拨退货单明细报表列表',
  1429. icon: 'profile',
  1430. hidden: true,
  1431. permission: 'M_transferReturnDetailReportList'
  1432. }
  1433. }]
  1434. },
  1435. {
  1436. path: '/reportData/salesReturnReport',
  1437. redirect: '/reportData/salesReturnReport/list',
  1438. name: 'salesReturnReport',
  1439. component: BlankLayout,
  1440. meta: {
  1441. title: '实售退货报表',
  1442. icon: 'profile',
  1443. permission: 'M_salesReturnReportList'
  1444. },
  1445. hideChildrenInMenu: true,
  1446. children: [
  1447. {
  1448. path: 'list',
  1449. name: 'salesReturnReportList',
  1450. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesReturnReport/list.vue'),
  1451. meta: {
  1452. title: '实售退货列表',
  1453. icon: 'profile',
  1454. hidden: true,
  1455. permission: 'M_salesReturnReportList'
  1456. }
  1457. }
  1458. ]
  1459. },
  1460. {
  1461. path: '/reportData/billingReturnReport',
  1462. redirect: '/reportData/billingReturnReport/list',
  1463. name: 'billingReturnReport',
  1464. component: BlankLayout,
  1465. meta: {
  1466. title: '开单退货报表',
  1467. icon: 'profile',
  1468. permission: 'M_billingReturnReportList'
  1469. },
  1470. hideChildrenInMenu: true,
  1471. children: [
  1472. {
  1473. path: 'list',
  1474. name: 'billingReturnReportList',
  1475. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/billingReturnReport/list.vue'),
  1476. meta: {
  1477. title: '开单退货列表',
  1478. icon: 'profile',
  1479. hidden: true,
  1480. permission: 'M_billingReturnReportList'
  1481. }
  1482. }
  1483. ]
  1484. },
  1485. {
  1486. path: '/reportData/returnSlipReport',
  1487. redirect: '/reportData/returnSlipReport/list',
  1488. name: 'returnSlipReport',
  1489. component: BlankLayout,
  1490. meta: {
  1491. title: '开单退货单报表',
  1492. icon: 'profile',
  1493. permission: 'M_returnSlipReportList'
  1494. },
  1495. hideChildrenInMenu: true,
  1496. children: [{
  1497. path: 'list',
  1498. name: 'returnSlipReportList',
  1499. component: () => import(/* webpackChunkName: "reportData" */
  1500. '@/views/reportData/returnSlipReport/list.vue'),
  1501. meta: {
  1502. title: '开单退货单报表列表',
  1503. icon: 'profile',
  1504. hidden: true,
  1505. permission: 'M_returnSlipReportList'
  1506. }
  1507. }]
  1508. },
  1509. {
  1510. path: '/reportData/hPriceDifferenceDetailReport',
  1511. redirect: '/reportData/hPriceDifferenceDetailReport/list',
  1512. name: 'hPriceDifferenceDetailReport',
  1513. component: BlankLayout,
  1514. meta: {
  1515. title: '总部差价明细报表',
  1516. icon: 'profile',
  1517. permission: 'M_hPriceDifferenceDetailReportList'
  1518. },
  1519. hideChildrenInMenu: true,
  1520. children: [
  1521. {
  1522. path: 'list',
  1523. name: 'hPriceDifferenceDetailReportList',
  1524. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/hPriceDifferenceDetailReport/list.vue'),
  1525. meta: {
  1526. title: '总部差价明细列表',
  1527. icon: 'profile',
  1528. hidden: true,
  1529. permission: 'M_hPriceDifferenceDetailReportList'
  1530. }
  1531. }
  1532. ]
  1533. },
  1534. {
  1535. path: '/reportData/priceDifferenceDetailReport',
  1536. redirect: '/reportData/priceDifferenceDetailReport/list',
  1537. name: 'priceDifferenceDetailReport',
  1538. component: BlankLayout,
  1539. meta: {
  1540. title: '差价明细报表',
  1541. icon: 'profile',
  1542. permission: 'M_priceDifferenceDetailReportList'
  1543. },
  1544. hideChildrenInMenu: true,
  1545. children: [
  1546. {
  1547. path: 'list',
  1548. name: 'priceDifferenceDetailReportList',
  1549. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/priceDifferenceDetailReport/list.vue'),
  1550. meta: {
  1551. title: '差价明细列表',
  1552. icon: 'profile',
  1553. hidden: true,
  1554. permission: 'M_priceDifferenceDetailReportList'
  1555. }
  1556. }
  1557. ]
  1558. },
  1559. {
  1560. path: '/reportData/regionTypeSalesReport',
  1561. redirect: '/reportData/regionTypeSalesReport/list',
  1562. name: 'regionTypeSalesReport',
  1563. component: BlankLayout,
  1564. meta: {
  1565. title: '各省品类实售明细',
  1566. icon: 'profile',
  1567. permission: 'M_regionTypeSalesReportList'
  1568. },
  1569. hideChildrenInMenu: true,
  1570. children: [
  1571. {
  1572. path: 'list',
  1573. name: 'regionTypeSalesReportList',
  1574. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/regionTypeSalesReport/list.vue'),
  1575. meta: {
  1576. title: '各省品类实售明细',
  1577. icon: 'profile',
  1578. hidden: true,
  1579. permission: 'M_regionTypeSalesReportList'
  1580. }
  1581. }
  1582. ]
  1583. },
  1584. {
  1585. path: '/reportData/warehousingOrder',
  1586. redirect: '/reportData/warehousingOrder/list',
  1587. name: 'warehousingOrder',
  1588. component: BlankLayout,
  1589. meta: {
  1590. title: '入库单报表',
  1591. icon: 'profile',
  1592. permission: 'M_warehousingOrderList'
  1593. },
  1594. hideChildrenInMenu: true,
  1595. children: [
  1596. {
  1597. path: 'list',
  1598. name: 'warehousingOrderList',
  1599. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrder/list.vue'),
  1600. meta: {
  1601. title: '入库单报表列表',
  1602. icon: 'profile',
  1603. hidden: true,
  1604. permission: 'M_warehousingOrderList'
  1605. }
  1606. }
  1607. ]
  1608. },
  1609. {
  1610. path: '/reportData/warehousingOrderDetail',
  1611. redirect: '/reportData/warehousingOrderDetail/list',
  1612. name: 'warehousingOrderDetail',
  1613. component: BlankLayout,
  1614. meta: {
  1615. title: '入库单明细报表',
  1616. icon: 'profile',
  1617. permission: 'M_warehousingOrderDetailList'
  1618. },
  1619. hideChildrenInMenu: true,
  1620. children: [
  1621. {
  1622. path: 'list',
  1623. name: 'warehousingOrderDetailList',
  1624. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/warehousingOrderDetail/list.vue'),
  1625. meta: {
  1626. title: '入库单明细报表列表',
  1627. icon: 'profile',
  1628. hidden: true,
  1629. permission: 'M_warehousingOrderDetailList'
  1630. }
  1631. }
  1632. ]
  1633. },
  1634. {
  1635. path: '/reportData/salesPresentation',
  1636. redirect: '/reportData/salesPresentation/list',
  1637. name: 'salesPresentation',
  1638. component: BlankLayout,
  1639. meta: {
  1640. title: '销售交单报表',
  1641. icon: 'profile',
  1642. permission: 'M_salesPresentationList'
  1643. },
  1644. hideChildrenInMenu: true,
  1645. children: [
  1646. {
  1647. path: 'list',
  1648. name: 'salesPresentationList',
  1649. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/salesPresentation/list.vue'),
  1650. meta: {
  1651. title: '销售交单报表列表',
  1652. icon: 'profile',
  1653. hidden: true,
  1654. permission: 'M_salesPresentationList'
  1655. }
  1656. }
  1657. ]
  1658. },
  1659. {
  1660. path: '/reportData/allocationPresentation',
  1661. redirect: '/reportData/allocationPresentation/list',
  1662. name: 'allocationPresentation',
  1663. component: BlankLayout,
  1664. meta: {
  1665. title: '调拨交单报表',
  1666. icon: 'profile',
  1667. permission: 'M_allocationPresentationList'
  1668. },
  1669. hideChildrenInMenu: true,
  1670. children: [
  1671. {
  1672. path: 'list',
  1673. name: 'allocationPresentationList',
  1674. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allocationPresentation/list.vue'),
  1675. meta: {
  1676. title: '调拨交单报表列表',
  1677. icon: 'profile',
  1678. hidden: true,
  1679. permission: 'M_allocationPresentationList'
  1680. }
  1681. }
  1682. ]
  1683. },
  1684. {
  1685. path: '/reportData/returnGoodsPresentation',
  1686. redirect: '/reportData/returnGoodsPresentation/list',
  1687. name: 'returnGoodsPresentation',
  1688. component: BlankLayout,
  1689. meta: {
  1690. title: '退货交单报表',
  1691. icon: 'profile',
  1692. permission: 'M_returnGoodsPresentationList'
  1693. },
  1694. hideChildrenInMenu: true,
  1695. children: [
  1696. {
  1697. path: 'list',
  1698. name: 'returnGoodsPresentationList',
  1699. component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/returnGoodsPresentation/list.vue'),
  1700. meta: {
  1701. title: '退货交单报表列表',
  1702. icon: 'profile',
  1703. hidden: true,
  1704. permission: 'M_returnGoodsPresentationList'
  1705. }
  1706. }
  1707. ]
  1708. }
  1709. // {
  1710. // path: '/reportData/allCountryCostReport',
  1711. // redirect: '/reportData/allCountryCostReport/list',
  1712. // name: 'allCountryCostReport',
  1713. // component: BlankLayout,
  1714. // meta: {
  1715. // title: '全国费用统计报表',
  1716. // icon: 'profile'
  1717. // // permission: 'M_nationalCustomerCostStatisticsList'
  1718. // },
  1719. // hideChildrenInMenu: true,
  1720. // children: [
  1721. // {
  1722. // path: 'list',
  1723. // name: 'allCountryCostReportList',
  1724. // component: () => import(/* webpackChunkName: "reportData" */ '@/views/reportData/allCountryCostReport/list.vue'),
  1725. // meta: {
  1726. // title: '全国费用统计报表',
  1727. // icon: 'profile',
  1728. // hidden: true
  1729. // // permission: 'M_nationalCustomerCostStatisticsList'
  1730. // }
  1731. // }
  1732. // ]
  1733. // }
  1734. ]
  1735. },
  1736. // 数据导出
  1737. {
  1738. path: '/dataExport',
  1739. redirect: '/dataExport/exportCheck',
  1740. component: PageView,
  1741. meta: {
  1742. title: '数据导出',
  1743. icon: 'money-collect',
  1744. permission: 'M_dataExport'
  1745. },
  1746. children: [
  1747. {
  1748. path: '/dataExport/exportSales',
  1749. redirect: '/dataExport/exportSales/list',
  1750. name: 'exportSales',
  1751. component: BlankLayout,
  1752. meta: {
  1753. title: '导出销售',
  1754. icon: 'gold',
  1755. permission: 'M_exportSales'
  1756. },
  1757. hideChildrenInMenu: true,
  1758. children: [
  1759. {
  1760. path: 'list',
  1761. name: 'exportSalesList',
  1762. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportSales/list.vue'),
  1763. meta: {
  1764. title: '导出销售',
  1765. icon: 'gold',
  1766. hidden: true,
  1767. permission: 'M_exportSales'
  1768. }
  1769. }
  1770. ]
  1771. },
  1772. {
  1773. path: '/dataExport/exportCheck',
  1774. redirect: '/dataExport/exportCheck/list',
  1775. name: 'exportCheck',
  1776. component: BlankLayout,
  1777. meta: {
  1778. title: '导出盘点',
  1779. icon: 'gold',
  1780. permission: 'M_exportCheck'
  1781. },
  1782. hideChildrenInMenu: true,
  1783. children: [
  1784. {
  1785. path: 'list',
  1786. name: 'exportCheckList',
  1787. component: () => import(/* webpackChunkName: "dataExport" */ '@/views/dataExport/exportCheck/list.vue'),
  1788. meta: {
  1789. title: '导出盘点',
  1790. icon: 'gold',
  1791. hidden: true,
  1792. permission: 'M_exportCheck'
  1793. }
  1794. }
  1795. ]
  1796. }
  1797. ]
  1798. },
  1799. // 产品管理
  1800. {
  1801. path: '/productManagement',
  1802. redirect: '/productManagement/productInfo',
  1803. component: PageView,
  1804. meta: {
  1805. title: '产品管理',
  1806. icon: 'shopping',
  1807. permission: 'M_productManagement'
  1808. },
  1809. children: [
  1810. {
  1811. path: '/productManagement/productInfo',
  1812. redirect: '/productManagement/productInfo/list',
  1813. name: 'productInfo',
  1814. component: BlankLayout,
  1815. meta: {
  1816. title: '产品列表',
  1817. icon: 'gold',
  1818. permission: 'M_productInfoList'
  1819. },
  1820. hideChildrenInMenu: true,
  1821. children: [
  1822. {
  1823. path: 'list',
  1824. name: 'productInfoList',
  1825. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/list.vue'),
  1826. meta: {
  1827. title: '产品列表',
  1828. icon: 'gold',
  1829. hidden: true,
  1830. permission: 'M_productInfoList'
  1831. }
  1832. },
  1833. {
  1834. path: 'add',
  1835. name: 'productInfoAdd',
  1836. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  1837. meta: {
  1838. title: '新增产品',
  1839. icon: 'gold',
  1840. hidden: true
  1841. // permission: 'B_goodsManage_edit'
  1842. }
  1843. },
  1844. {
  1845. path: 'edit/:id/:sn',
  1846. name: 'productInfoEdit',
  1847. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productInfo/edit.vue'),
  1848. meta: {
  1849. title: '编辑产品',
  1850. icon: 'gold',
  1851. hidden: true
  1852. // permission: 'B_goodsManage_edit'
  1853. }
  1854. }
  1855. ]
  1856. },
  1857. {
  1858. path: '/productManagement/productPricing',
  1859. redirect: '/productManagement/productPricing/list',
  1860. name: 'productPricing',
  1861. component: BlankLayout,
  1862. meta: {
  1863. title: '产品定价',
  1864. icon: 'transaction',
  1865. permission: 'M_productPricingList'
  1866. },
  1867. hideChildrenInMenu: true,
  1868. children: [
  1869. {
  1870. path: 'list',
  1871. name: 'productPricingList',
  1872. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productPricing/list.vue'),
  1873. meta: {
  1874. title: '产品定价列表',
  1875. icon: 'transaction',
  1876. hidden: true,
  1877. permission: 'M_productPricingList'
  1878. }
  1879. }
  1880. ]
  1881. },
  1882. {
  1883. path: '/productManagement/productLaunchAudit',
  1884. redirect: '/productManagement/productLaunchAudit/list',
  1885. name: 'productLaunchAudit',
  1886. component: BlankLayout,
  1887. meta: {
  1888. title: '产品上线审核',
  1889. icon: 'rise',
  1890. permission: 'M_productLaunchAuditList'
  1891. },
  1892. hideChildrenInMenu: true,
  1893. children: [
  1894. {
  1895. path: 'list',
  1896. name: 'productLaunchAuditList',
  1897. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLaunchAudit/list.vue'),
  1898. meta: {
  1899. title: '产品上线审核列表',
  1900. icon: 'rise',
  1901. hidden: true,
  1902. permission: 'M_productLaunchAuditList'
  1903. }
  1904. }
  1905. ]
  1906. },
  1907. {
  1908. path: '/productManagement/productOfflineAudit',
  1909. redirect: '/productManagement/productOfflineAudit/list',
  1910. name: 'productOfflineAudit',
  1911. component: BlankLayout,
  1912. meta: {
  1913. title: '产品下线审核',
  1914. icon: 'fall',
  1915. permission: 'M_productOfflineAuditList'
  1916. },
  1917. hideChildrenInMenu: true,
  1918. children: [
  1919. {
  1920. path: 'list',
  1921. name: 'productOfflineAuditList',
  1922. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productOfflineAudit/list.vue'),
  1923. meta: {
  1924. title: '产品下线审核列表',
  1925. icon: 'fall',
  1926. hidden: true,
  1927. permission: 'M_productOfflineAuditList'
  1928. }
  1929. }
  1930. ]
  1931. },
  1932. {
  1933. path: '/productManagement/priceChangeRecord',
  1934. redirect: '/productManagement/priceChangeRecord/list',
  1935. name: 'priceChangeRecord',
  1936. component: BlankLayout,
  1937. meta: {
  1938. title: '价格变更记录',
  1939. icon: 'profile',
  1940. permission: 'M_priceChangeRecordList'
  1941. },
  1942. hideChildrenInMenu: true,
  1943. children: [
  1944. {
  1945. path: 'list',
  1946. name: 'priceChangeRecordList',
  1947. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/priceChangeRecord/list.vue'),
  1948. meta: {
  1949. title: '价格变更记录列表',
  1950. icon: 'profile',
  1951. hidden: true,
  1952. permission: 'M_priceChangeRecordList'
  1953. }
  1954. }
  1955. ]
  1956. },
  1957. {
  1958. path: '/productManagement/productUniversal',
  1959. redirect: '/productManagement/productUniversal/list',
  1960. name: 'productUniversal',
  1961. component: BlankLayout,
  1962. meta: {
  1963. title: '通用产品管理',
  1964. icon: 'deployment-unit',
  1965. permission: 'M_productUniversalList'
  1966. },
  1967. hideChildrenInMenu: true,
  1968. children: [
  1969. {
  1970. path: 'list',
  1971. name: 'productUniversalList',
  1972. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productUniversal/list.vue'),
  1973. meta: {
  1974. title: '通用产品列表',
  1975. icon: 'deployment-unit',
  1976. hidden: true,
  1977. permission: 'M_productUniversalList'
  1978. }
  1979. }
  1980. ]
  1981. },
  1982. {
  1983. path: '/productManagement/productLevel',
  1984. redirect: '/productManagement/productLevel/list',
  1985. name: 'productLevel',
  1986. component: BlankLayout,
  1987. meta: {
  1988. title: '产品级别管理',
  1989. icon: 'fund',
  1990. permission: 'M_productLevelList'
  1991. },
  1992. hideChildrenInMenu: true,
  1993. children: [
  1994. {
  1995. path: 'list',
  1996. name: 'productLevelList',
  1997. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productLevel/list.vue'),
  1998. meta: {
  1999. title: '产品级别列表',
  2000. icon: 'fund',
  2001. hidden: true,
  2002. permission: 'M_productLevelList'
  2003. }
  2004. }
  2005. ]
  2006. },
  2007. {
  2008. path: '/productManagement/productBrand',
  2009. redirect: '/productManagement/productBrand/list',
  2010. name: 'productBrand',
  2011. component: BlankLayout,
  2012. meta: {
  2013. title: '产品品牌管理',
  2014. icon: 'file-ppt',
  2015. permission: 'M_productBrandList'
  2016. },
  2017. hideChildrenInMenu: true,
  2018. children: [
  2019. {
  2020. path: 'list',
  2021. name: 'productBrandList',
  2022. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productBrand/list.vue'),
  2023. meta: {
  2024. title: '产品品牌列表',
  2025. icon: 'file-ppt',
  2026. hidden: true,
  2027. permission: 'M_productBrandList'
  2028. }
  2029. }
  2030. ]
  2031. },
  2032. {
  2033. path: '/productManagement/productCategory',
  2034. redirect: '/productManagement/productCategory/list',
  2035. name: 'productCategory',
  2036. component: BlankLayout,
  2037. meta: {
  2038. title: '产品分类管理',
  2039. icon: 'radar-chart',
  2040. permission: 'M_productCategoryList'
  2041. },
  2042. hideChildrenInMenu: true,
  2043. children: [
  2044. {
  2045. path: 'list',
  2046. name: 'productCategoryList',
  2047. component: () => import(/* webpackChunkName: "productManagement" */ '@/views/productManagement/productCategory/list.vue'),
  2048. meta: {
  2049. title: '产品分类列表',
  2050. icon: 'radar-chart',
  2051. hidden: true,
  2052. permission: 'M_productCategoryList'
  2053. }
  2054. }
  2055. ]
  2056. }
  2057. ]
  2058. },
  2059. // 经销商管理
  2060. {
  2061. path: '/dealerManagement',
  2062. redirect: '/dealerManagement/marketingDivisionSet',
  2063. component: PageView,
  2064. meta: {
  2065. title: '经销商管理',
  2066. icon: 'idcard',
  2067. permission: 'M_dealerManagement'
  2068. },
  2069. children: [
  2070. {
  2071. path: '/dealerManagement/merchantInfoManagement',
  2072. redirect: '/dealerManagement/merchantInfoManagement/list',
  2073. name: 'merchantInfoManagement',
  2074. component: BlankLayout,
  2075. meta: {
  2076. title: '经销商资料管理',
  2077. icon: 'file-text',
  2078. permission: 'M_merchantInfoManagementList'
  2079. },
  2080. hideChildrenInMenu: true,
  2081. children: [
  2082. {
  2083. path: 'list',
  2084. name: 'merchantInfoManagementList',
  2085. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/list.vue'),
  2086. meta: {
  2087. title: '经销商资料列表',
  2088. icon: 'file-text',
  2089. hidden: true,
  2090. permission: 'M_merchantInfoManagementList'
  2091. }
  2092. },
  2093. {
  2094. path: 'add',
  2095. name: 'merchantInfoManagementAdd',
  2096. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  2097. meta: {
  2098. title: '新增经销商',
  2099. icon: 'file-text',
  2100. hidden: true
  2101. // permission: 'B_goodsManage_edit'
  2102. }
  2103. },
  2104. {
  2105. path: 'edit/:id',
  2106. name: 'merchantInfoManagementEdit',
  2107. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/edit.vue'),
  2108. meta: {
  2109. title: '编辑经销商',
  2110. icon: 'file-text',
  2111. hidden: true
  2112. // permission: 'B_goodsManage_edit'
  2113. }
  2114. },
  2115. {
  2116. path: 'permissionSetting/:sn',
  2117. name: 'merchantInfoManagementSet',
  2118. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/merchantInfoManagement/permissionSetting.vue'),
  2119. meta: {
  2120. title: '经销权设置',
  2121. icon: 'file-text',
  2122. replaceTab: true,
  2123. hidden: true
  2124. // permission: 'B_goodsManage_edit'
  2125. }
  2126. }
  2127. ]
  2128. },
  2129. {
  2130. path: '/dealerManagement/dealerAccountManagement',
  2131. redirect: '/dealerManagement/dealerAccountManagement/list',
  2132. name: 'dealerAccountManagement',
  2133. component: BlankLayout,
  2134. meta: {
  2135. title: '经销商账号管理',
  2136. icon: 'team',
  2137. permission: 'M_dealerAccountManagementList'
  2138. },
  2139. hideChildrenInMenu: true,
  2140. children: [
  2141. {
  2142. path: 'list',
  2143. name: 'dealerAccountManagementList',
  2144. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerAccountManagement/list.vue'),
  2145. meta: {
  2146. title: '经销商账号列表',
  2147. icon: 'team',
  2148. hidden: true,
  2149. permission: 'M_dealerAccountManagementList'
  2150. }
  2151. }
  2152. ]
  2153. },
  2154. {
  2155. path: '/dealerManagement/dealerRelationshipBinding',
  2156. redirect: '/dealerManagement/dealerRelationshipBinding/list',
  2157. name: 'dealerRelationshipBinding',
  2158. component: BlankLayout,
  2159. meta: {
  2160. title: '经销商关系绑定',
  2161. icon: 'share-alt',
  2162. permission: 'M_dealerRelationshipBindingList'
  2163. },
  2164. hideChildrenInMenu: true,
  2165. children: [
  2166. {
  2167. path: 'list',
  2168. name: 'dealerRelationshipBindingList',
  2169. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/dealerRelationshipBinding/list.vue'),
  2170. meta: {
  2171. title: '经销商关系绑定列表',
  2172. icon: 'share-alt',
  2173. hidden: true,
  2174. permission: 'M_dealerRelationshipBindingList'
  2175. }
  2176. }
  2177. ]
  2178. },
  2179. {
  2180. path: '/dealerManagement/rebateSettings',
  2181. redirect: '/dealerManagement/rebateSettings/list',
  2182. name: 'rebateSettings',
  2183. component: BlankLayout,
  2184. meta: {
  2185. title: '差价归属设置',
  2186. icon: 'stock',
  2187. permission: 'M_rebateSettingsList'
  2188. },
  2189. hideChildrenInMenu: true,
  2190. children: [
  2191. {
  2192. path: 'list',
  2193. name: 'rebateSettingsList',
  2194. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/rebateSettings/list.vue'),
  2195. meta: {
  2196. title: '差价归属设置列表',
  2197. icon: 'stock',
  2198. hidden: true,
  2199. permission: 'M_rebateSettingsList'
  2200. }
  2201. }
  2202. ]
  2203. },
  2204. {
  2205. path: '/dealerManagement/marketingDivisionSet',
  2206. redirect: '/dealerManagement/marketingDivisionSet/list',
  2207. name: 'marketingDivisionSet',
  2208. component: BlankLayout,
  2209. meta: {
  2210. title: '营销分区设置',
  2211. icon: 'setting',
  2212. permission: 'M_marketingDivisionSetList'
  2213. },
  2214. hideChildrenInMenu: true,
  2215. children: [
  2216. {
  2217. path: 'list',
  2218. name: 'marketingDivisionSetList',
  2219. component: () => import(/* webpackChunkName: "dealerManagement" */ '@/views/dealerManagement/marketingDivisionSet/list.vue'),
  2220. meta: {
  2221. title: '营销分区列表',
  2222. icon: 'setting',
  2223. hidden: true,
  2224. permission: 'M_marketingDivisionSetList'
  2225. }
  2226. }
  2227. ]
  2228. }
  2229. ]
  2230. },
  2231. // 供应商管理
  2232. {
  2233. path: '/supplierManagement',
  2234. redirect: '/supplierManagement/supplierInfo',
  2235. component: PageView,
  2236. meta: {
  2237. title: '供应商管理',
  2238. icon: 'team',
  2239. permission: 'M_supplierManagement'
  2240. },
  2241. children: [
  2242. {
  2243. path: '/supplierManagement/supplierInfo',
  2244. redirect: '/supplierManagement/supplierInfo/list',
  2245. name: 'supplierInfo',
  2246. component: BlankLayout,
  2247. meta: {
  2248. title: '供应商列表',
  2249. icon: 'team',
  2250. permission: 'M_supplierInfoList'
  2251. },
  2252. hideChildrenInMenu: true,
  2253. children: [
  2254. {
  2255. path: 'list',
  2256. name: 'supplierInfoList',
  2257. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/list.vue'),
  2258. meta: {
  2259. title: '供应商列表',
  2260. icon: 'team',
  2261. hidden: true,
  2262. permission: 'M_supplierInfoList'
  2263. }
  2264. },
  2265. {
  2266. path: 'add',
  2267. name: 'supplierInfoAdd',
  2268. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  2269. meta: {
  2270. title: '新增供应商',
  2271. icon: 'team',
  2272. hidden: true
  2273. // permission: 'B_goodsManage_edit'
  2274. }
  2275. },
  2276. {
  2277. path: 'edit/:id',
  2278. name: 'supplierInfoEdit',
  2279. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/supplierInfo/edit.vue'),
  2280. meta: {
  2281. title: '编辑供应商',
  2282. icon: 'team',
  2283. hidden: true
  2284. // permission: 'B_goodsManage_edit'
  2285. }
  2286. },
  2287. {
  2288. path: 'associatedProduct/:sn/:name',
  2289. name: 'associatedProduct',
  2290. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProduct/add.vue'),
  2291. meta: {
  2292. title: '关联产品',
  2293. icon: 'team',
  2294. replaceTab: true,
  2295. hidden: true
  2296. // permission: 'B_goodsManage_edit'
  2297. }
  2298. }
  2299. ]
  2300. },
  2301. {
  2302. path: '/supplierManagement/associatedProductDetails',
  2303. redirect: '/supplierManagement/associatedProductDetails/list',
  2304. name: 'associatedProductDetails',
  2305. component: BlankLayout,
  2306. meta: {
  2307. title: '关联产品明细表',
  2308. icon: 'build',
  2309. permission: 'M_associatedProductDetailsList'
  2310. },
  2311. hideChildrenInMenu: true,
  2312. children: [
  2313. {
  2314. path: 'list',
  2315. name: 'associatedProductDetailsList',
  2316. component: () => import(/* webpackChunkName: "supplierManagement" */ '@/views/supplierManagement/associatedProductDetails/list.vue'),
  2317. meta: {
  2318. title: '关联产品明细列表',
  2319. icon: 'build',
  2320. hidden: true,
  2321. permission: 'M_associatedProductDetailsList'
  2322. }
  2323. }
  2324. ]
  2325. }
  2326. ]
  2327. },
  2328. // 促销管理
  2329. {
  2330. path: '/promotionRulesManagement',
  2331. redirect: '/promotionRulesManagement/promotionRules',
  2332. component: PageView,
  2333. meta: {
  2334. title: '促销管理',
  2335. icon: 'rocket',
  2336. permission: 'M_promotionRulesManagement'
  2337. },
  2338. children: [
  2339. {
  2340. path: '/promotionRulesManagement/promotionRules',
  2341. redirect: '/promotionRulesManagement/promotionRules/list',
  2342. name: 'promotionRules',
  2343. component: BlankLayout,
  2344. meta: {
  2345. title: '促销规则管理',
  2346. icon: 'thunderbolt',
  2347. permission: 'M_promotionRulesList'
  2348. },
  2349. hideChildrenInMenu: true,
  2350. children: [
  2351. {
  2352. path: 'list',
  2353. name: 'promotionRulesManagementList',
  2354. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/list.vue'),
  2355. meta: {
  2356. title: '促销规则列表',
  2357. icon: 'thunderbolt',
  2358. hidden: true,
  2359. permission: 'M_promotionRulesList'
  2360. }
  2361. },
  2362. {
  2363. path: 'detail/:id/:sn',
  2364. name: 'promotionRulesManagementDetail',
  2365. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/detail.vue'),
  2366. meta: {
  2367. title: '促销规则详情',
  2368. icon: 'thunderbolt',
  2369. hidden: true
  2370. // permission: 'B_goodsManage_edit'
  2371. }
  2372. },
  2373. {
  2374. path: 'rule/:id/:sn',
  2375. name: 'promotionRulesManagementRule',
  2376. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/promotionRules/rule.vue'),
  2377. meta: {
  2378. title: '促销规则设置',
  2379. icon: 'thunderbolt',
  2380. replaceTab: true,
  2381. hidden: true
  2382. // permission: 'B_goodsManage_edit'
  2383. }
  2384. }
  2385. ]
  2386. },
  2387. {
  2388. path: '/promotionRulesManagement/orderStatistics',
  2389. redirect: '/promotionRulesManagement/orderStatistics/list',
  2390. name: 'orderStatistics',
  2391. component: BlankLayout,
  2392. meta: {
  2393. title: '促销订单统计',
  2394. icon: 'contacts',
  2395. permission: 'M_orderStatisticsList'
  2396. },
  2397. hideChildrenInMenu: true,
  2398. children: [
  2399. {
  2400. path: 'list',
  2401. name: 'orderStatisticsList',
  2402. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/orderStatistics/list.vue'),
  2403. meta: {
  2404. title: '订单统计列表',
  2405. icon: 'contacts',
  2406. hidden: true,
  2407. permission: 'M_orderStatisticsList'
  2408. }
  2409. }
  2410. ]
  2411. },
  2412. {
  2413. path: '/promotionRulesManagement/productStatistics',
  2414. redirect: '/promotionRulesManagement/productStatistics/list',
  2415. name: 'productStatistics',
  2416. component: BlankLayout,
  2417. meta: {
  2418. title: '促销产品统计',
  2419. icon: 'file-ppt',
  2420. permission: 'M_productStatisticsList'
  2421. },
  2422. hideChildrenInMenu: true,
  2423. children: [
  2424. {
  2425. path: 'list',
  2426. name: 'productStatisticsList',
  2427. component: () => import(/* webpackChunkName: "promotionRulesManagement" */ '@/views/promotionRulesManagement/productStatistics/list.vue'),
  2428. meta: {
  2429. title: '产品统计列表',
  2430. icon: 'file-ppt',
  2431. hidden: true,
  2432. permission: 'M_productStatisticsList'
  2433. }
  2434. }
  2435. ]
  2436. }
  2437. ]
  2438. },
  2439. // 基础设置
  2440. {
  2441. path: '/basicData',
  2442. redirect: '/basicData/warehouse',
  2443. component: PageView,
  2444. meta: {
  2445. title: '基础设置',
  2446. icon: 'pushpin',
  2447. permission: 'M_basicData'
  2448. },
  2449. children: [
  2450. {
  2451. path: '/basicData/warehouse',
  2452. redirect: '/basicData/warehouse/list',
  2453. name: 'warehouse',
  2454. component: BlankLayout,
  2455. meta: {
  2456. title: '仓库管理',
  2457. icon: 'deployment-unit',
  2458. permission: 'M_warehouseList'
  2459. },
  2460. hideChildrenInMenu: true,
  2461. children: [
  2462. {
  2463. path: 'list',
  2464. name: 'warehouseList',
  2465. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/list.vue'),
  2466. meta: {
  2467. title: '仓库列表',
  2468. icon: 'deployment-unit',
  2469. hidden: true,
  2470. permission: 'M_warehouseList'
  2471. }
  2472. },
  2473. {
  2474. path: '/basicData/storingLocation/:sn',
  2475. name: 'storingLocationList',
  2476. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/warehouse/storingLocation/list.vue'),
  2477. meta: {
  2478. title: '仓位列表',
  2479. icon: 'deployment-unit',
  2480. replaceTab: true,
  2481. hidden: true
  2482. // permission: 'B_goodsManage_edit'
  2483. }
  2484. }
  2485. ]
  2486. },
  2487. {
  2488. path: '/basicData/transferTypeManagement',
  2489. redirect: '/basicData/transferTypeManagement/list',
  2490. name: 'transferTypeManagement',
  2491. component: BlankLayout,
  2492. meta: {
  2493. title: '调拨类型管理',
  2494. icon: 'interaction',
  2495. permission: 'M_transferTypeManagementList'
  2496. },
  2497. hideChildrenInMenu: true,
  2498. children: [
  2499. {
  2500. path: 'list',
  2501. name: 'transferTypeManagementList',
  2502. component: () => import(/* webpackChunkName: "basicData" */ '@/views/basicData/transferTypeManagement/list.vue'),
  2503. meta: {
  2504. title: '调拨类型列表',
  2505. icon: 'interaction',
  2506. hidden: true,
  2507. permission: 'M_transferTypeManagementList'
  2508. }
  2509. }
  2510. ]
  2511. }
  2512. ]
  2513. },
  2514. // 权限管理
  2515. {
  2516. path: '/auth',
  2517. redirect: '/auth/user',
  2518. component: PageView,
  2519. meta: {
  2520. title: '权限管理',
  2521. icon: 'lock',
  2522. permission: 'M_auth_0'
  2523. },
  2524. children: [
  2525. {
  2526. path: '/auth/user',
  2527. redirect: '/auth/user/list',
  2528. name: 'powerUser',
  2529. component: BlankLayout,
  2530. meta: {
  2531. title: '用户管理',
  2532. icon: 'user',
  2533. permission: 'M_userList'
  2534. },
  2535. hideChildrenInMenu: true,
  2536. children: [
  2537. {
  2538. path: 'list',
  2539. name: 'powerUserList',
  2540. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/user/userList.vue'),
  2541. meta: {
  2542. title: '用户管理',
  2543. icon: 'user',
  2544. hidden: true,
  2545. permission: 'M_userList'
  2546. }
  2547. },
  2548. ]
  2549. },
  2550. {
  2551. path: '/auth/role',
  2552. redirect: '/auth/role/list',
  2553. name: 'powerRole',
  2554. component: BlankLayout,
  2555. meta: {
  2556. title: '角色管理',
  2557. icon: 'solution',
  2558. permission: 'M_roleList'
  2559. },
  2560. hideChildrenInMenu: true,
  2561. children: [
  2562. {
  2563. path: 'list',
  2564. name: 'powerRoleList',
  2565. component: () => import(/* webpackChunkName: "auth" */ '@/views/power/role/roleList.vue'),
  2566. meta: {
  2567. title: '角色管理',
  2568. icon: 'solution',
  2569. hidden: true,
  2570. permission: 'M_roleList'
  2571. }
  2572. },
  2573. ]
  2574. },
  2575. {
  2576. path: '/auth/adminMenus',
  2577. redirect: '/auth/adminMenus/list',
  2578. name: 'adminMenus',
  2579. component: BlankLayout,
  2580. meta: {
  2581. title: '菜单管理',
  2582. icon: 'appstore',
  2583. permission: 'M_menuList'
  2584. },
  2585. hideChildrenInMenu: true,
  2586. children: [
  2587. {
  2588. path: 'list',
  2589. name: 'adminMenusList',
  2590. component: () => import(/* webpackChunkName: "auth" */ '@/views/bnSetting/menu/adminMenus.vue'),
  2591. meta: {
  2592. title: '菜单管理',
  2593. icon: 'appstore',
  2594. hidden: true,
  2595. permission: 'M_menuList'
  2596. }
  2597. }
  2598. ]
  2599. }
  2600. ]
  2601. },
  2602. // 系统设置
  2603. {
  2604. path: '/setting',
  2605. redirect: '/setting/dataDictionary',
  2606. component: PageView,
  2607. meta: {
  2608. title: '系统设置',
  2609. icon: 'setting',
  2610. permission: 'M_systemSet'
  2611. },
  2612. children: [
  2613. {
  2614. path: '/setting/dataDictionary',
  2615. redirect: '/setting/dataDictionary/list',
  2616. name: 'dataDictionary',
  2617. component: BlankLayout,
  2618. meta: {
  2619. title: '数据字典管理',
  2620. icon: 'database',
  2621. permission: 'M_dataD_lookup'
  2622. },
  2623. hideChildrenInMenu: true,
  2624. children: [
  2625. {
  2626. path: 'list',
  2627. name: 'powerDD',
  2628. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/dataDictionary/dataDictionary.vue'),
  2629. meta: {
  2630. title: '数据字典管理',
  2631. icon: 'database',
  2632. hidden: true,
  2633. permission: 'M_dataD_lookup'
  2634. }
  2635. }
  2636. ]
  2637. },
  2638. {
  2639. path: '/setting/OperateJournal',
  2640. redirect: '/setting/OperateJournal/list',
  2641. name: 'OperateJournal',
  2642. component: BlankLayout,
  2643. meta: {
  2644. title: '操作日志',
  2645. icon: 'read',
  2646. permission: 'M_OperateJournalList'
  2647. },
  2648. hideChildrenInMenu: true,
  2649. children: [
  2650. {
  2651. path: 'list',
  2652. name: 'powerOperateJournal',
  2653. component: () => import(/* webpackChunkName: "setting" */ '@/views/power/OperateJournal/OperateJournal.vue'),
  2654. meta: {
  2655. title: '操作日志',
  2656. icon: 'read',
  2657. permission: 'M_OperateJournalList'
  2658. }
  2659. },
  2660. ]
  2661. },
  2662. {
  2663. path: '/setting/noticeManagement',
  2664. redirect: '/setting/noticeManagement/list',
  2665. name: 'noticeManagement',
  2666. component: BlankLayout,
  2667. meta: {
  2668. title: '公告管理',
  2669. icon: 'sketch',
  2670. permission: 'M_noticeManagementList'
  2671. },
  2672. hideChildrenInMenu: true,
  2673. children: [
  2674. {
  2675. path: 'list',
  2676. name: 'noticeManagementList',
  2677. component: () => import(/* webpackChunkName: "setting" */ '@/views/setting/noticeManagement/list.vue'),
  2678. meta: {
  2679. title: '公告列表',
  2680. icon: 'sketch',
  2681. hidden: true,
  2682. permission: 'M_noticeManagementList'
  2683. }
  2684. }
  2685. ]
  2686. }
  2687. ]
  2688. },
  2689. ]
  2690. },
  2691. {
  2692. path: '*',
  2693. redirect: '/404',
  2694. hidden: true
  2695. }
  2696. ]
  2697. /**
  2698. * 基础路由
  2699. * @type { *[] }
  2700. */
  2701. export const constantRouterMap = [
  2702. {
  2703. path: '/user',
  2704. component: UserLayout,
  2705. redirect: '/user/login',
  2706. hidden: true,
  2707. children: [
  2708. {
  2709. path: 'login',
  2710. name: 'login',
  2711. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
  2712. },
  2713. {
  2714. path: 'register',
  2715. name: 'register',
  2716. component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
  2717. },
  2718. {
  2719. path: 'register-result',
  2720. name: 'registerResult',
  2721. component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
  2722. },
  2723. {
  2724. path: 'recover',
  2725. name: 'recover',
  2726. component: undefined
  2727. }
  2728. ]
  2729. },
  2730. {
  2731. path: '/404',
  2732. component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  2733. }
  2734. ]