index.js 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682
  1. import Layout from '@/page/index/'
  2. export default [{
  3. path: '/wel',
  4. component: Layout,
  5. redirect: '/wel/index',
  6. children: [{
  7. path: 'index',
  8. name: '首页',
  9. meta: {
  10. i18n: 'dashboard'
  11. },
  12. component: () =>
  13. import( /* webpackChunkName: "views" */ '@/views/wel/index')
  14. }, {
  15. path: 'dashboard',
  16. name: '控制台',
  17. meta: {
  18. i18n: 'dashboard',
  19. menu: false,
  20. },
  21. component: () =>
  22. import( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
  23. }]
  24. }, {
  25. path: '/test',
  26. component: Layout,
  27. redirect: '/test/index',
  28. children: [{
  29. path: 'index',
  30. name: '测试页',
  31. meta: {
  32. i18n: 'test'
  33. },
  34. component: () =>
  35. import( /* webpackChunkName: "views" */ '@/views/util/test')
  36. }]
  37. }, {
  38. path: '/dict-horizontal',
  39. component: Layout,
  40. redirect: '/dict-horizontal/index',
  41. children: [{
  42. path: 'index',
  43. name: '字典管理',
  44. meta: {
  45. i18n: 'dict'
  46. },
  47. component: () =>
  48. import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal')
  49. }]
  50. }, {
  51. path: '/dict-vertical',
  52. component: Layout,
  53. redirect: '/dict-vertical/index',
  54. children: [{
  55. path: 'index',
  56. name: '字典管理',
  57. meta: {
  58. i18n: 'dict'
  59. },
  60. component: () =>
  61. import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical')
  62. }]
  63. }, {
  64. path: '/info',
  65. component: Layout,
  66. redirect: '/info/index',
  67. children: [{
  68. path: 'index',
  69. name: '个人信息',
  70. meta: {
  71. i18n: 'info'
  72. },
  73. component: () => import( /* webpackChunkName: "views" */ '@/views/system/userinfo')
  74. }]
  75. },{
  76. path: '/detailsPageEdit',
  77. component: Layout,
  78. hidden: true,
  79. children: [
  80. {
  81. path: '/detailsPageEdit',
  82. meta: {
  83. i18n: 'detailsPageEdit'
  84. },
  85. component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerInformation/detailsPageEdit')
  86. }
  87. ]
  88. },
  89. {
  90. path: '/basicData/customerManagement/companyMaterial/detailsPageEdit',
  91. component: Layout,
  92. hidden: true,
  93. children: [
  94. {
  95. path: '/basicData/customerManagement/companyMaterial/detailsPageEdit',
  96. meta: {
  97. i18n: 'detailsPageEdit'
  98. },
  99. component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerManagement/companyMaterial/detailsPageEdit')
  100. }
  101. ]
  102. },
  103. {
  104. path: '/basicData/customerManagement/supplierMaterial/detailsPageEdit',
  105. component: Layout,
  106. hidden: true,
  107. children: [
  108. {
  109. path: '/basicData/customerManagement/supplierMaterial/detailsPageEdit',
  110. meta: {
  111. i18n: 'detailsPageEdit'
  112. },
  113. component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerManagement/supplierMaterial/detailsPageEdit')
  114. }
  115. ]
  116. },
  117. //商品false
  118. {
  119. path: '/commodityType_detailsPageEdit',
  120. component: Layout,
  121. hidden: true,
  122. children: [
  123. {
  124. path: '/commodityType_detailsPageEdit',
  125. meta: {
  126. i18n: 'commodityType_detailsPageEdit'
  127. },
  128. component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/commodityType/detailsPageEdit')
  129. }
  130. ]
  131. },
  132. //商城管理
  133. //商品列表详情页
  134. {
  135. path: '/productList_detailsPageEdit',
  136. component: Layout,
  137. hidden: true,
  138. children: [
  139. {
  140. path: '/productList_detailsPageEdit',
  141. meta: {
  142. i18n: 'productList_detailsPageEdit'
  143. },
  144. component: () => import( /* webpackChunkName: "views" */ '@/views/mallManagement/commodity/productList/detailsPageEdit')
  145. }
  146. ]
  147. },
  148. //产品
  149. {
  150. path: '/productInfo_detailsPageEdit',
  151. component: Layout,
  152. hidden: true,
  153. children: [
  154. {
  155. path: '/productInfo_detailsPageEdit',
  156. name:'产品详情',
  157. meta: {
  158. i18n: 'productInfo_detailsPageEdit'
  159. },
  160. component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/productInformation/detailsPageEdit')
  161. }
  162. ]
  163. },
  164. //销售详情页
  165. {
  166. path: '/businessManagement/salesOrder/index',
  167. component: Layout,
  168. hidden: true,
  169. children: [
  170. {
  171. path: '/businessManagement/salesOrder/index',
  172. name: '销售订单(N)',
  173. meta: {
  174. i18n: 'businessManagement/salesOrder/index',
  175. keepAlive: true,
  176. },
  177. component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/salesOrder/index')
  178. }
  179. ]
  180. },
  181. //发货通知详情页
  182. {
  183. path: '/businessManagement/deliveryNotice/index',
  184. component: Layout,
  185. hidden: true,
  186. children: [
  187. {
  188. path: '/businessManagement/deliveryNotice/index',
  189. name: '发货单(N)',
  190. meta: {
  191. i18n: 'businessManagement/deliveryNotice/index',
  192. keepAlive: true,
  193. },
  194. component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/deliveryNotice/index')
  195. }
  196. ]
  197. },
  198. //价格管理详情页
  199. {
  200. path: '/priceManagement_detailsPageEdit',
  201. component: Layout,
  202. hidden: true,
  203. children: [
  204. {
  205. path: '/priceManagement_detailsPageEdit',
  206. meta: {
  207. i18n: 'priceManagement_detailsPageEdit'
  208. },
  209. component: () => import( /* webpackChunkName: "views" */ '@/views/maintenance/priceManagement/detailsPageEdit')
  210. }
  211. ]
  212. },
  213. //销售政策详情页
  214. {
  215. path: '/maintenance/salesPolicy/index',
  216. component: Layout,
  217. hidden: true,
  218. children: [
  219. {
  220. path: '/maintenance/salesPolicy/index',
  221. name: '销售政策',
  222. meta: {
  223. i18n: 'maintenance/salesPolicy/index',
  224. keepAlive: true,
  225. },
  226. component: () => import( /* webpackChunkName: "views" */ '@/views/maintenance/salesPolicy/index')
  227. }
  228. ]
  229. },
  230. //秒杀详情页
  231. {
  232. path: '/panicBuyingInformation_detailsPageEdit',
  233. component: Layout,
  234. hidden: true,
  235. children: [
  236. {
  237. path: '/panicBuyingInformation_detailsPageEdit',
  238. meta: {
  239. i18n: 'panicBuyingInformation_detailsPageEdit'
  240. },
  241. component: () => import( /* webpackChunkName: "views" */ '@/views/maintenance/panicBuyingInformation/detailsPageEdit')
  242. }
  243. ]
  244. },
  245. //上架商品详情页
  246. {
  247. path: '/goodsOnTheShelves_detailsPageEdit',
  248. component: Layout,
  249. hidden: true,
  250. children: [
  251. {
  252. path: '/goodsOnTheShelves_detailsPageEdit',
  253. meta: {
  254. i18n: 'goodsOnTheShelves_detailsPageEdit'
  255. },
  256. component: () => import( /* webpackChunkName: "views" */ '@/views/maintenance/goodsOnTheShelves/detailsPageEdit')
  257. }
  258. ]
  259. },
  260. //收货单详情页
  261. {
  262. path: '/businessManagement/receipt/index',
  263. component: Layout,
  264. hidden: true,
  265. children: [
  266. {
  267. path: '/businessManagement/receipt/index',
  268. name: '收货单(N)',
  269. meta: {
  270. keepAlive: true,
  271. },
  272. component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/receipt/index')
  273. }
  274. ]
  275. },
  276. //采购订单详情页
  277. {
  278. path: '/businessManagement/purchaseOrder/index',
  279. component: Layout,
  280. hidden: true,
  281. children: [
  282. {
  283. path: '/businessManagement/purchaseOrder/index',
  284. name: '采购订单(N)',
  285. meta: {
  286. i18n: 'businessManagement/purchaseOrder/index',
  287. keepAlive: true,
  288. },
  289. component: () => import( /* webpackChunkName: "views" */ '@/views/businessManagement/purchaseOrder/index')
  290. }
  291. ]
  292. },
  293. // 采购合同详情页
  294. {
  295. path: '/purchase/contract/index',
  296. component: Layout,
  297. hidden: true,
  298. children: [
  299. {
  300. path: '/purchase/contract/index',
  301. name:'采购订单(I)',
  302. meta: {
  303. i18n: '/purchase/contract/index',
  304. keepAlive: true
  305. },
  306. component: () => import( /* webpackChunkName: "views" */ '@/views/purchase/contract/index')
  307. }
  308. ]
  309. },
  310. // 销售合同详情页
  311. {
  312. path: '/salesManagement/salesContract/index',
  313. component: Layout,
  314. hidden: true,
  315. children: [
  316. {
  317. path: '/salesManagement/salesContract/index',
  318. name:'销售订单(I)',
  319. meta: {
  320. i18n: '/salesManagement/salesContract/index',
  321. keepAlive: true
  322. },
  323. component: () => import( /* webpackChunkName: "views" */ '@/views/salesManagement/salesContract/index')
  324. }
  325. ]
  326. },
  327. // 进口 收货单详情页
  328. {
  329. path: '/importTrade/receipt/index',
  330. component: Layout,
  331. hidden: true,
  332. children: [
  333. {
  334. path: '/importTrade/receipt/index',
  335. name:'收货单(I)',
  336. meta: {
  337. i18n: '/importTrade/receipt/index',
  338. keepAlive: true
  339. },
  340. component: () => import( /* webpackChunkName: "views" */ '@/views/importTrade/receipt/index')
  341. }
  342. ]
  343. },
  344. // 进口 发货单详情页
  345. {
  346. path: '/importTrade/invoice/index',
  347. component: Layout,
  348. hidden: true,
  349. children: [
  350. {
  351. path: '/importTrade/invoice/index',
  352. name:'发货单(I)',
  353. meta: {
  354. i18n: 'importTrade/invoice/index',
  355. keepAlive: true
  356. },
  357. component: () => import( /* webpackChunkName: "views" */ '@/views/importTrade/invoice/index')
  358. }
  359. ]
  360. },
  361. // 出口 客户询价
  362. {
  363. path: '/exportTrade/customerInquiry/index',
  364. component: Layout,
  365. hidden: true,
  366. children: [
  367. {
  368. path: '/exportTrade/customerInquiry/index',
  369. name:'报价(E)',
  370. meta: {
  371. keepAlive: true,
  372. },
  373. component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/customerInquiry/index')
  374. }
  375. ]
  376. },
  377. // 出口 采购询价
  378. {
  379. path: '/exportTrade/purchaseInquiry/index',
  380. component: Layout,
  381. hidden: true,
  382. children: [
  383. {
  384. path: '/exportTrade/purchaseInquiry/index',
  385. name:'询价(E)',
  386. meta: {
  387. keepAlive: true,
  388. },
  389. component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/purchaseInquiry/index')
  390. }
  391. ]
  392. },
  393. // 出口 船务询价
  394. {
  395. path: '/exportTrade/shippingInquiry/index',
  396. component: Layout,
  397. hidden: true,
  398. children: [
  399. {
  400. path: '/exportTrade/shippingInquiry/index',
  401. name:'船务(E)',
  402. meta: {
  403. keepAlive: true,
  404. },
  405. component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/shippingInquiry/index')
  406. }
  407. ]
  408. },
  409. // 出口 销售订单
  410. {
  411. path: '/exportTrade/salesContract/index',
  412. component: Layout,
  413. hidden: true,
  414. children: [
  415. {
  416. path: '/exportTrade/salesContract/index',
  417. name:'销售(E)',
  418. meta: {
  419. keepAlive: true,
  420. },
  421. component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/salesContract/index')
  422. }
  423. ]
  424. },
  425. // 出口 采购订单
  426. {
  427. path: '/exportTrade/purchaseContract/index',
  428. component: Layout,
  429. hidden: true,
  430. children: [
  431. {
  432. path: '/exportTrade/purchaseContract/index',
  433. name:'采购(E)',
  434. meta: {
  435. keepAlive: true,
  436. },
  437. component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/purchaseContract/index')
  438. }
  439. ]
  440. },
  441. // 进口 发货单详情页
  442. {
  443. path: '/importInvoice_detailsPage',
  444. component: Layout,
  445. hidden: true,
  446. children: [
  447. {
  448. path: '/importInvoice_detailsPage',
  449. name: '发货单',
  450. meta: {
  451. i18n: 'importInvoice_detailsPage',
  452. keepAlive:true,
  453. },
  454. component: () => import( /* webpackChunkName: "views" */ '@/views/importTrade/invoice/detailsPageEdit')
  455. }
  456. ]
  457. },
  458. // 出口 收货单
  459. {
  460. path: '/exportTrade/receipt/index',
  461. component: Layout,
  462. hidden: true,
  463. children: [
  464. {
  465. path: '/exportTrade/receipt/index',
  466. name:"收货(E)",
  467. meta: {
  468. keepAlive:true,
  469. },
  470. component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/receipt/index')
  471. }
  472. ]
  473. },
  474. // 出口 发货单详情页
  475. {
  476. path: '/exportTrade/invoice/index',
  477. component: Layout,
  478. hidden: true,
  479. children: [
  480. {
  481. path: '/exportTrade/invoice/index',
  482. name:"发货(E)",
  483. meta: {
  484. keepAlive:true,
  485. },
  486. component: () => import( /* webpackChunkName: "views" */ '@/views/exportTrade/invoice/index')
  487. }
  488. ]
  489. },
  490. // 主营项目
  491. {
  492. path: '/workManagement/main-items/list',
  493. component: Layout,
  494. hidden: true,
  495. children: [
  496. {
  497. path: '/workManagement/main-items/list',
  498. name:"主营项目",
  499. meta: {
  500. keepAlive:true,
  501. },
  502. component: () => import( /* webpackChunkName: "views" */ '@/views/workManagement/main-items/list')
  503. }
  504. ]
  505. },
  506. // 统计列表
  507. {
  508. path: '/statistical_List',
  509. component: Layout,
  510. hidden: true,
  511. children: [
  512. {
  513. path: '/statistical_List',
  514. meta: {
  515. i18n: 'statistical_List'
  516. },
  517. component: () => import( /* webpackChunkName: "views" */ '@/views/workManagement/receipt/statisticalList')
  518. }
  519. ]
  520. },
  521. // 结算详情页
  522. {
  523. path: '/workManagement/receipt/settleAccounts',
  524. component: Layout,
  525. hidden: true,
  526. children: [
  527. {
  528. path: '/workManagement/receipt/settleAccounts',
  529. name:"结算",
  530. meta: {
  531. keepAlive:true,
  532. },
  533. component: () => import( /* webpackChunkName: "views" */ '@/views/workManagement/receipt/settleAccounts')
  534. }
  535. ]
  536. },
  537. // 付款申请
  538. {
  539. path: '/financialManagement/paymentRequest/paymentRequest',
  540. component: Layout,
  541. hidden: true,
  542. children: [
  543. {
  544. path: '/financialManagement/paymentRequest/paymentRequest',
  545. name:"付款申请",
  546. meta: {
  547. i18n: '/financialManagement/paymentRequest/paymentRequest',
  548. keepAlive: true,
  549. },
  550. component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/paymentRequest/paymentRequest')
  551. }
  552. ]
  553. },
  554. // 付款结算
  555. {
  556. path: '/financialManagement/paymentSettle/paymentSettle',
  557. component: Layout,
  558. hidden: true,
  559. children: [
  560. {
  561. path: '/financialManagement/paymentSettle/paymentSettle',
  562. name:"付款结算",
  563. meta: {
  564. i18n: '/financialManagement/paymentSettle/paymentSettle',
  565. keepAlive: true,
  566. },
  567. component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/paymentSettle/paymentSettle')
  568. }
  569. ]
  570. },
  571. //收款结算
  572. {
  573. path: '/financialManagement/receiptSettle/receiptSettle',
  574. component: Layout,
  575. hidden: true,
  576. children: [
  577. {
  578. path: '/financialManagement/receiptSettle/receiptSettle',
  579. name:"收款结算",
  580. meta: {
  581. i18n: '/financialManagement/receiptSettle/receiptSettle',
  582. keepAlive: true,
  583. },
  584. component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/receiptSettle/receiptSettle')
  585. }
  586. ]
  587. },
  588. // 账单明细
  589. {
  590. path: '/bill_details',
  591. component: Layout,
  592. hidden: true,
  593. children: [
  594. {
  595. path: '/financialManagement/billDetails/billDetails',
  596. name:"账单明细",
  597. meta: {
  598. i18n: '/financialManagement/billDetails/billDetails',
  599. keepAlive: true,
  600. },
  601. component: () => import( /* webpackChunkName: "views" */ '@/views/financialManagement/billDetails/billDetails')
  602. }
  603. ]
  604. },
  605. // 订单详情
  606. {
  607. path: '/orderManagement/orderDetail/index',
  608. component: Layout,
  609. hidden: true,
  610. children: [
  611. {
  612. path: '/orderManagement/orderDetail/index',
  613. name:"订单详情",
  614. meta: {
  615. i18n: '/orderManagement/orderDetail/index',
  616. keepAlive: true,
  617. },
  618. component: () => import( /* webpackChunkName: "views" */ '@/views/orderManagement/orderDetail/index')
  619. }
  620. ]
  621. },
  622. {
  623. path: '/work/process/leave',
  624. component: Layout,
  625. redirect: '/work/process/leave/form',
  626. children: [{
  627. path: 'form/:processDefinitionId',
  628. name: '请假流程',
  629. meta: {
  630. i18n: 'work'
  631. },
  632. component: () =>
  633. import( /* webpackChunkName: "views" */ '@/views/work/process/leave/form')
  634. }, {
  635. path: 'handle/:taskId/:processInstanceId/:businessId',
  636. name: '处理请假流程',
  637. meta: {
  638. i18n: 'work'
  639. },
  640. component: () =>
  641. import( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle')
  642. }, {
  643. path: 'detail/:processInstanceId/:businessId',
  644. name: '请假流程详情',
  645. meta: {
  646. i18n: 'work'
  647. },
  648. component: () =>
  649. import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
  650. }]
  651. },{
  652. path: '/work/process/test',
  653. component: Layout,
  654. redirect: '/work/process/test/form',
  655. children: [{
  656. path: 'form/:processDefinitionId',
  657. name: '请假流程',
  658. meta: {
  659. i18n: 'work'
  660. },
  661. component: () =>
  662. import( /* webpackChunkName: "views" */ '@/views/work/process/test/form')
  663. }, {
  664. path: 'handle/:taskId/:processInstanceId/:businessId',
  665. name: '处理请假流程',
  666. meta: {
  667. i18n: 'work'
  668. },
  669. component: () =>
  670. import( /* webpackChunkName: "views" */ '@/views/work/process/test/handle')
  671. }, {
  672. path: 'detail/:processInstanceId/:businessId',
  673. name: '请假流程详情',
  674. meta: {
  675. i18n: 'work'
  676. },
  677. component: () =>
  678. import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
  679. }]
  680. }
  681. ]