menu-list.js 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795
  1. // 定义菜单列表
  2. var menuList = [
  3. {
  4. id: 'auth',
  5. parent: true,
  6. name: '权限控制',
  7. icon: 'el-icon-unlock',
  8. childList: [{
  9. id: 'role-list',
  10. name: '角色列表',
  11. url: 'sa-view-sp/sp-role/role-list.html',
  12. },
  13. {
  14. id: 'admin-list',
  15. name: '管理员列表',
  16. url: 'sa-view-sp/sp-admin/admin-list.html',
  17. },
  18. {
  19. id: 'customer-auth-list',
  20. name: '客户权限列表',
  21. url: 'sa-view/tb-costomer/tb-menu-list.html',
  22. },
  23. {
  24. id: 'partner-auth-list',
  25. name: '合作伙伴列表',
  26. url: 'sa-view/tb-partner/tb-menu-list.html',
  27. },
  28. ]
  29. },
  30. {
  31. id: 'tb-costomer',
  32. name: '客户管理',
  33. parent: true,
  34. icon: 'el-icon-s-custom',
  35. childList: [{
  36. id: 'tb-costomer-list',
  37. name: '客户列表',
  38. url: 'sa-view/tb-costomer/tb-costomer-list.html'
  39. },
  40. {
  41. id: 'tb-costomer-add',
  42. name: '添加',
  43. isShow: false
  44. },
  45. {
  46. id: 'tb-costomer-judge',
  47. name: '审核',
  48. isShow: false
  49. },
  50. {
  51. id: 'tb-costomer-del',
  52. name: '删除',
  53. isShow: false
  54. },
  55. {
  56. id: 'tb-costomer-edit',
  57. name: '修改',
  58. isShow: false
  59. },
  60. {
  61. id: 'tb-costomer-account',
  62. name: '账户',
  63. isShow: false,
  64. childList: [{
  65. id: 'tb-costomer-account-charge',
  66. name: '充值',
  67. isShow: false,
  68. }]
  69. },
  70. {
  71. id: 'tb-costomer-user',
  72. name: '用户管理',
  73. isShow: false,
  74. childList: [{
  75. id: 'tb-costomer-user-add',
  76. name: '添加',
  77. isShow: false,
  78. },
  79. {
  80. id: 'tb-costomer-user-del',
  81. name: '删除',
  82. isShow: false,
  83. },
  84. {
  85. id: 'tb-costomer-user-edit',
  86. name: '编辑',
  87. isShow: false,
  88. },
  89. ]
  90. },
  91. ]
  92. },
  93. {
  94. id: 'tb-costomer-maintain',
  95. name: '信息维护',
  96. parent: true,
  97. icon: 'el-icon-s-custom',
  98. childList: [{
  99. id: 'tb-costomer-maintain-list',
  100. name: '企业信息',
  101. icon: 'el-icon-s-custom',
  102. url: 'sa-view/tb-costomer/tb-costomer-maintain.html',
  103. childList: [{
  104. id: 'tb-costomer-maintain-edit',
  105. name: '编辑信息',
  106. isShow: false
  107. },
  108. {
  109. id: 'tb-costomer-maintain-account',
  110. name: '账户管理',
  111. isShow: false
  112. },
  113. {
  114. id: 'tb-costomer-maintain-user',
  115. name: '用户管理',
  116. parent: true,
  117. isShow: false,
  118. childList: [{
  119. id: 'tb-costomer-maintain-user-add',
  120. name: '添加',
  121. isShow: false,
  122. },
  123. {
  124. id: 'tb-costomer-maintain-user-del',
  125. name: '删除',
  126. isShow: false,
  127. },
  128. {
  129. id: 'tb-costomer-maintain-user-edit',
  130. name: '编辑',
  131. isShow: false,
  132. },
  133. ]
  134. },
  135. ]
  136. }, ]
  137. },
  138. {
  139. id: 'tb-partner',
  140. name: '合作伙伴',
  141. parent: true,
  142. icon: 'el-icon-s-custom',
  143. childList: [{
  144. id: 'tb-partner-list',
  145. name: '信息管理',
  146. url: 'sa-view/tb-partner/tb-partner-list.html',
  147. childList: [{
  148. id: 'tb-partner-add',
  149. name: '添加伙伴',
  150. isShow: false,
  151. },
  152. {
  153. id: 'tb-partner-del',
  154. name: '删除伙伴',
  155. isShow: false,
  156. },
  157. {
  158. id: 'tb-partner-edit',
  159. name: '编辑伙伴',
  160. isShow: false,
  161. },
  162. {
  163. id: 'tb-partner-user',
  164. name: '伙伴用户',
  165. isShow: false,
  166. parent: true,
  167. childList: [{
  168. id: 'tb-partner-user-add',
  169. name: '添加用户',
  170. isShow: false,
  171. },
  172. {
  173. id: 'tb-partner-user-edit',
  174. name: '编辑用户',
  175. isShow: false,
  176. },
  177. {
  178. id: 'tb-partner-user-del',
  179. name: '删除用户',
  180. isShow: false,
  181. },
  182. ]
  183. },
  184. ],
  185. }, ]
  186. },
  187. {
  188. id: 'tb-car',
  189. name: '车辆管理',
  190. parent: true,
  191. icon: 'el-icon-s-platform',
  192. childList: [{
  193. id: 'tb-car-list',
  194. name: '车辆列表',
  195. icon: 'el-icon-s-platform',
  196. url: 'sa-view/tb-car/tb-car-list.html',
  197. childList: [{
  198. id: 'tb-car-add',
  199. name: '添加车辆',
  200. isShow: false
  201. },
  202. {
  203. id: 'tb-car-edit',
  204. name: '编辑车辆',
  205. isShow: false
  206. },
  207. {
  208. id: 'tb-car-del',
  209. name: '删除车辆',
  210. isShow: false
  211. },
  212. {
  213. id: 'tb-car-import',
  214. name: '批量导入',
  215. isShow: false
  216. },
  217. ]
  218. }]
  219. },
  220. {
  221. id: 'tb-business-item',
  222. name: '作业管理',
  223. icon: 'el-icon-edit-outline',
  224. parent: true,
  225. childList: [{
  226. id: 'tb-business-item-pick-list',
  227. name: '我要接单',
  228. url: 'sa-view/tb-partner/tb-business-pick-list.html',
  229. childList: [{
  230. id: 'tb-business-item-pick',
  231. name: '接单',
  232. isShow: false,
  233. }]
  234. },
  235. {
  236. id: 'tb-business-item-list',
  237. name: '作业订单',
  238. url: 'sa-view/tb-partner/tb-business-item-list.html',
  239. childList: [{
  240. id: 'tb-business-item-confirm',
  241. name: '接单确认',
  242. isShow: false,
  243. }, ]
  244. },
  245. ]
  246. },
  247. {
  248. id: 'tb-business',
  249. name: '业务管理',
  250. icon: 'el-icon-edit-outline',
  251. parent: true,
  252. childList: [{
  253. id: 'tb-car-disincle-list',
  254. name: '业务管理',
  255. url: 'sa-view/tb-business/tb-car-disincle-list.html',
  256. childList: [{
  257. id: 'tb-flex-business-add',
  258. name: '添加业务',
  259. isShow: false
  260. },
  261. {
  262. id: 'tb-flex-business-edit',
  263. name: '编辑业务',
  264. isShow: false
  265. },
  266. {
  267. id: 'tb-flex-business-del',
  268. name: '删除业务',
  269. isShow: false
  270. },
  271. {
  272. id: 'tb-flex-business-pay',
  273. name: '手工缴费',
  274. isShow: false
  275. },
  276. {
  277. id: 'tb-business-car-bind',
  278. name: '车辆绑定',
  279. isShow: false
  280. },
  281. {
  282. id: 'tb-flex-business-confirm',
  283. name: '账单确认',
  284. isShow: false
  285. },
  286. {
  287. id: 'tb-business-zx-print',
  288. name: '装卸打印',
  289. isShow: false
  290. },
  291. ]
  292. },
  293. {
  294. id: 'tb-supplement-list',
  295. name: '补录订单',
  296. url: 'sa-view/tb-business/tb-supplement-list.html',
  297. childList: [{
  298. id: 'tb-supplement-add',
  299. name: '添加',
  300. isShow: false
  301. },
  302. {
  303. id: 'tb-supplement-edit',
  304. name: '修改',
  305. isShow: false
  306. },
  307. {
  308. id: 'tb-supplement-del',
  309. name: '删除',
  310. isShow: false
  311. },
  312. {
  313. id: 'tb-supplement-push',
  314. name: '发起流程',
  315. isShow: false
  316. },
  317. ]
  318. }
  319. ]
  320. },
  321. {
  322. id: 'tb-item-type',
  323. name: '收费项管理',
  324. icon: 'el-icon-notebook-2',
  325. parent: true,
  326. childList: [{
  327. id: 'tb-goods-list',
  328. name: '业务项管理',
  329. url: 'sa-view/tb-goods/tb-goods-list.html',
  330. childList: [{
  331. id: 'tb-goods-add',
  332. name: '添加业务项',
  333. isShow: false
  334. },
  335. {
  336. id: 'tb-goods-edit',
  337. name: '编辑业务项',
  338. isShow: false
  339. },
  340. {
  341. id: 'tb-goods-del',
  342. name: '删除业务项',
  343. isShow: false
  344. },
  345. {
  346. id: 'tb-goods-item-type',
  347. name: '编辑收费项',
  348. isShow: false
  349. },
  350. ]
  351. }, {
  352. id: 'tb-item-type-list',
  353. name: '收费项管理',
  354. url: 'sa-view/tb-item-type/tb-item-type-list.html',
  355. childList: [{
  356. id: 'tb-item-type-add',
  357. name: '添加收费项',
  358. isShow: false
  359. },
  360. {
  361. id: 'tb-item-type-edit',
  362. name: '编辑收费项',
  363. isShow: false
  364. },
  365. {
  366. id: 'tb-item-type-relation',
  367. name: '收费明细',
  368. isShow: false
  369. },
  370. {
  371. id: 'tb-item-type-del',
  372. name: '删除收费项',
  373. isShow: false
  374. },
  375. ]
  376. },
  377. {
  378. id: 'tb-item-re-list',
  379. name: '明细管理',
  380. url: 'sa-view/tb-item-type/tb-item-list.html',
  381. childList: [{
  382. id: 'tb-item-manager-add',
  383. name: '添加明细',
  384. isShow: false
  385. },
  386. {
  387. id: 'tb-item-manager-del',
  388. name: '删除明细',
  389. isShow: false
  390. },
  391. {
  392. id: 'tb-item-manager-edit',
  393. name: '修改明细',
  394. isShow: false
  395. },
  396. ]
  397. },
  398. {
  399. id: 'tb-sort-group',
  400. name: '其他业务设置',
  401. url: 'sa-view/tb-sort-group/tb-sort-group-list.html',
  402. childList: [{
  403. id: 'tb-sort-group-add',
  404. name: '添加',
  405. isShow: false
  406. },
  407. {
  408. id: 'tb-sort-group-del',
  409. name: '删除',
  410. isShow: false
  411. },
  412. {
  413. id: 'tb-sort-group-edit',
  414. name: '修改',
  415. isShow: false
  416. },
  417. ]
  418. },
  419. ],
  420. },
  421. {
  422. id: 'tb-business-car',
  423. name: '放行记录',
  424. icon: 'el-icon-notebook-2',
  425. parent: true,
  426. childList: [{
  427. id: 'tb-business-car-list',
  428. name: '放行列表',
  429. url: 'sa-view/tb-business-car/tb-business-car-list.html',
  430. childList: [
  431. {
  432. id: 'tb-business-car-add',
  433. name: '添加记录',
  434. isShow: false
  435. },
  436. {
  437. id: 'tb-business-car-export',
  438. name: '导出记录',
  439. isShow: false
  440. },
  441. {
  442. id: 'tb-business-car-judge',
  443. name: '审核',
  444. isShow: false
  445. },
  446. {
  447. id: 'tb-business-car-print',
  448. name: '打印凭证',
  449. isShow: false
  450. },
  451. {
  452. id: 'tb-business-car-edit',
  453. name: '修改记录',
  454. isShow: false
  455. },
  456. {
  457. id: 'tb-business-car-del',
  458. name: '删除记录',
  459. isShow: false
  460. },
  461. ]
  462. }, ]
  463. }, {
  464. id: 'info-setting',
  465. name: '信息设置',
  466. icon: 'el-icon-monitor',
  467. parent: true,
  468. childList: [{
  469. id: 'tb-item',
  470. name: '收费管理',
  471. icon: 'el-icon-coin',
  472. parent: true,
  473. childList: [{
  474. id: 'tb-item-list',
  475. name: '收费标准',
  476. url: 'sa-view/tb-item/tb-item-list.html'
  477. },
  478. {
  479. id: 'tb-item-list-edit-type',
  480. name: '修改类型',
  481. isShow: false
  482. },
  483. ]
  484. }, ]
  485. }, {
  486. id: 'tb-notices',
  487. name: '消息管理',
  488. icon: 'el-icon-news',
  489. parent: true,
  490. childList: [{
  491. id: 'tb-notices-list',
  492. name: '消息列表',
  493. url: 'sa-view/tb-notices/tb-notices-list.html',
  494. childList: [{
  495. id: 'tb-notices-add',
  496. name: '添加消息',
  497. isShow: false
  498. },
  499. {
  500. id: 'tb-notices-del',
  501. name: '删除消息',
  502. isShow: false
  503. },
  504. {
  505. id: 'tb-notices-edit',
  506. name: '修改消息',
  507. isShow: false
  508. },
  509. ]
  510. },
  511. ]
  512. }, {
  513. id: 'tb-charge-record',
  514. name: '充值记录',
  515. icon: 'el-icon-folder-opened',
  516. parent: true,
  517. childList: [{
  518. id: 'tb-charge-record-list',
  519. name: '充值记录',
  520. url: 'sa-view/tb-charge-record/tb-charge-record-list.html'
  521. }, ]
  522. }, {
  523. id: 'tb-pay-record',
  524. name: '支付记录',
  525. icon: 'el-icon-folder-opened',
  526. parent: true,
  527. childList: [{
  528. id: 'tb-pay-record-list',
  529. name: '支付记录',
  530. url: 'sa-view/tb-pay-record/tb-pay-record-list.html'
  531. }, ]
  532. }, {
  533. id: 'tb-declare',
  534. name: '申报信息',
  535. icon: 'el-icon-folder-opened',
  536. parent: true,
  537. childList: [{
  538. id: 'tb-declare-list',
  539. name: '申报列表',
  540. url: 'sa-view/tb-declare/tb-declare-list.html',
  541. childList: [{
  542. id: 'tb-declare-print',
  543. name: '打印申报信息',
  544. isShow: false
  545. },
  546. {
  547. id: 'tb-declare-edit',
  548. name: '修改申报信息',
  549. isShow: false
  550. },
  551. {
  552. id: 'tb-declare-del',
  553. name: '删除申报信息',
  554. isShow: false
  555. },
  556. ]
  557. }, ]
  558. }, {
  559. id: 'tb-disinfect',
  560. name: '消毒信息',
  561. icon: 'el-icon-folder-opened',
  562. parent: true,
  563. childList: [{
  564. id: 'tb-disinfect-list',
  565. name: '申请列表',
  566. url: 'sa-view/tb-disinfect/tb-disinfect-list.html',
  567. childList: [{
  568. id: 'tb-disinfect-print',
  569. name: '打印信息',
  570. isShow: false
  571. },
  572. {
  573. id: 'tb-disinfect-edit',
  574. name: '修改信息',
  575. isShow: false
  576. },
  577. {
  578. id: 'tb-disinfect-del',
  579. name: '删除信息',
  580. isShow: false
  581. },
  582. ]
  583. }, ]
  584. }, {
  585. id: 'tb-discount',
  586. name: '折扣管理',
  587. icon: 'el-icon-folder-opened',
  588. parent: true,
  589. childList: [{
  590. id: 'tb-discount-list',
  591. name: '折扣管理',
  592. url: 'sa-view/tb-discount/tb-discount-list.html',
  593. childList: [{
  594. id: 'tb-discount-add',
  595. name: '添加折扣',
  596. isShow: false
  597. },
  598. {
  599. id: 'tb-discount-del',
  600. name: '删除',
  601. isShow: false
  602. },
  603. {
  604. id: 'tb-discount-edit',
  605. name: '编辑',
  606. isShow: false
  607. },
  608. {
  609. id: 'tb-discount-change',
  610. name: '启用/停用',
  611. isShow: false
  612. },
  613. ]
  614. }, ]
  615. }, {
  616. id: 'tb-fee-statistics',
  617. name: '收费统计',
  618. icon: 'el-icon-folder-opened',
  619. parent: true,
  620. childList: [{
  621. id: 'tb-fee-details-list',
  622. name: '收费明细',
  623. url: 'sa-view/tb-fee-statistics/tb-fee-details-list.html',
  624. childList: [{
  625. id: 'tb-kaidan-confirm',
  626. name: '开单确认',
  627. isShow: false
  628. },
  629. {
  630. id: 'tb-diaodu-confirm',
  631. name: '复核确认',
  632. isShow: false
  633. },
  634. {
  635. id: 'tb-jicha-confirm',
  636. name: '稽查确认',
  637. isShow: false
  638. },
  639. {
  640. id: 'tb-jicha-cancel',
  641. name: '取消确认',
  642. isShow: false
  643. },
  644. ]
  645. },
  646. {
  647. id: 'tb-fee-statistics-list',
  648. name: '日统计',
  649. url: 'sa-view/tb-fee-statistics/tb-fee-statistics-list.html'
  650. },
  651. {
  652. id: 'month-statistcs-list',
  653. name: '月统计',
  654. url: 'sa-view/tb-fee-statistics/month-statistcs-list.html'
  655. },
  656. {
  657. id: 'year-statistcs-list',
  658. name: '年统计',
  659. url: 'sa-view/tb-fee-statistics/year-statistcs-list.html'
  660. },
  661. ]
  662. },
  663. {
  664. id: 'tb-invoice-info',
  665. name: '开票管理',
  666. icon: 'el-icon-folder-opened',
  667. parent: true,
  668. childList: [{
  669. id: 'tb-entity-list',
  670. name: '开票主体',
  671. url: 'sa-view/tb-entity/tb-entity-list.html'
  672. },
  673. {
  674. id: 'tb-invoice-order-list',
  675. name: '开票订单',
  676. url: 'sa-view/tb-invoice-order/tb-invoice-order-list.html'
  677. },
  678. {
  679. id: 'tb-invoice-info-list',
  680. name: '开票信息',
  681. url: 'sa-view/tb-invoice-info/tb-invoice-info-list.html'
  682. },
  683. ]
  684. },
  685. {
  686. id: 'tb-account',
  687. name: '预存款管理',
  688. icon: 'el-icon-folder-opened',
  689. parent: true,
  690. childList: [{
  691. id: 'tb-account-list',
  692. name: '客户充值',
  693. url: 'sa-view/tb-account/tb-account-list.html',
  694. childList: [{
  695. id: 'tb-account-list-add',
  696. name: '充值',
  697. isShow: false,
  698. },
  699. {
  700. id: 'tb-account-list-update',
  701. name: '修改',
  702. isShow: false,
  703. }
  704. ]
  705. },
  706. {
  707. id: 'tb-charge-record-list',
  708. name: '充值记录',
  709. url: 'sa-view/tb-charge-record/tb-charge-record-list.html',
  710. childList: [{
  711. id: 'tb-charge-record-list-print',
  712. name: '打印单据',
  713. isShow: false,
  714. },
  715. {
  716. id: 'tb-charge-record-list-review',
  717. name: '复审',
  718. isShow: false,
  719. },
  720. {
  721. id: 'tb-charge-record-list-del',
  722. name: '删除',
  723. isShow: false,
  724. }
  725. ]
  726. }, {
  727. id: 'tb-deduction-bind-list',
  728. name: '扣费绑定',
  729. url: 'sa-view/tb-deduction-bind/tb-deduction-bind-list.html',
  730. childList: [{
  731. id: 'tb-deduction-bind-list-bind',
  732. name: '绑定车辆',
  733. isShow: false,
  734. },
  735. {
  736. id: 'tb-deduction-bind-list-unbind',
  737. name: '手动解绑',
  738. isShow: false,
  739. }
  740. ]
  741. }, {
  742. id: 'tb-deduction-record-list',
  743. name: '扣费记录',
  744. url: 'sa-view/tb-deduction-record/tb-deduction-record-list.html',
  745. childList: [{
  746. id: 'tb-deduction-record-list-review',
  747. name: '复审',
  748. isShow: false,
  749. }]
  750. }],
  751. }
  752. ]