menu-list.js 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788
  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-judge',
  288. name: '业务审核',
  289. isShow: false
  290. },
  291. {
  292. id: 'tb-business-zx-print',
  293. name: '装卸打印',
  294. isShow: false
  295. },
  296. ]
  297. },
  298. {
  299. id: 'tb-supplement-list',
  300. name: '补录订单',
  301. url: 'sa-view/tb-business/tb-supplement-list.html',
  302. childList: [{
  303. id: 'tb-supplement-add',
  304. name: '添加',
  305. isShow: false
  306. },
  307. {
  308. id: 'tb-supplement-edit',
  309. name: '修改',
  310. isShow: false
  311. },
  312. {
  313. id: 'tb-supplement-del',
  314. name: '删除',
  315. isShow: false
  316. },
  317. {
  318. id: 'tb-supplement-push',
  319. name: '发起流程',
  320. isShow: false
  321. },
  322. ]
  323. }
  324. ]
  325. },
  326. {
  327. id: 'tb-item-type',
  328. name: '收费项管理',
  329. icon: 'el-icon-notebook-2',
  330. parent: true,
  331. childList: [{
  332. id: 'tb-goods-list',
  333. name: '业务项管理',
  334. url: 'sa-view/tb-goods/tb-goods-list.html',
  335. childList: [{
  336. id: 'tb-goods-add',
  337. name: '添加业务项',
  338. isShow: false
  339. },
  340. {
  341. id: 'tb-goods-edit',
  342. name: '编辑业务项',
  343. isShow: false
  344. },
  345. {
  346. id: 'tb-goods-del',
  347. name: '删除业务项',
  348. isShow: false
  349. },
  350. {
  351. id: 'tb-goods-item-type',
  352. name: '编辑收费项',
  353. isShow: false
  354. },
  355. ]
  356. }, {
  357. id: 'tb-item-type-list',
  358. name: '收费项管理',
  359. url: 'sa-view/tb-item-type/tb-item-type-list.html',
  360. childList: [{
  361. id: 'tb-item-type-add',
  362. name: '添加收费项',
  363. isShow: false
  364. },
  365. {
  366. id: 'tb-item-type-edit',
  367. name: '编辑收费项',
  368. isShow: false
  369. },
  370. {
  371. id: 'tb-item-type-relation',
  372. name: '收费明细',
  373. isShow: false
  374. },
  375. {
  376. id: 'tb-item-type-del',
  377. name: '删除收费项',
  378. isShow: false
  379. },
  380. ]
  381. },
  382. {
  383. id: 'tb-item-re-list',
  384. name: '明细管理',
  385. url: 'sa-view/tb-item-type/tb-item-list.html',
  386. childList: [{
  387. id: 'tb-item-manager-add',
  388. name: '添加明细',
  389. isShow: false
  390. },
  391. {
  392. id: 'tb-item-manager-del',
  393. name: '删除明细',
  394. isShow: false
  395. },
  396. {
  397. id: 'tb-item-manager-edit',
  398. name: '修改明细',
  399. isShow: false
  400. },
  401. ]
  402. },
  403. {
  404. id: 'tb-sort-group',
  405. name: '其他业务设置',
  406. url: 'sa-view/tb-sort-group/tb-sort-group-list.html',
  407. childList: [{
  408. id: 'tb-sort-group-add',
  409. name: '添加',
  410. isShow: false
  411. },
  412. {
  413. id: 'tb-sort-group-del',
  414. name: '删除',
  415. isShow: false
  416. },
  417. {
  418. id: 'tb-sort-group-edit',
  419. name: '修改',
  420. isShow: false
  421. },
  422. ]
  423. },
  424. ],
  425. },
  426. {
  427. id: 'tb-business-car',
  428. name: '放行记录',
  429. icon: 'el-icon-notebook-2',
  430. parent: true,
  431. childList: [{
  432. id: 'tb-business-car-list',
  433. name: '放行列表',
  434. url: 'sa-view/tb-business-car/tb-business-car-list.html',
  435. childList: [{
  436. id: 'tb-business-car-add',
  437. name: '添加记录',
  438. isShow: false
  439. },
  440. {
  441. id: 'tb-business-car-export',
  442. name: '导出记录',
  443. isShow: false
  444. },
  445. {
  446. id: 'tb-business-car-edit',
  447. name: '修改记录',
  448. isShow: false
  449. },
  450. {
  451. id: 'tb-business-car-del',
  452. name: '删除记录',
  453. isShow: false
  454. },
  455. ]
  456. }, ]
  457. }, {
  458. id: 'info-setting',
  459. name: '信息设置',
  460. icon: 'el-icon-monitor',
  461. parent: true,
  462. childList: [{
  463. id: 'tb-item',
  464. name: '收费管理',
  465. icon: 'el-icon-coin',
  466. parent: true,
  467. childList: [{
  468. id: 'tb-item-list',
  469. name: '收费标准',
  470. url: 'sa-view/tb-item/tb-item-list.html'
  471. },
  472. {
  473. id: 'tb-item-list-edit-type',
  474. name: '修改类型',
  475. isShow: false
  476. },
  477. ]
  478. }, ]
  479. }, {
  480. id: 'tb-notices',
  481. name: '消息管理',
  482. icon: 'el-icon-news',
  483. parent: true,
  484. childList: [{
  485. id: 'tb-notices-list',
  486. name: '消息列表',
  487. url: 'sa-view/tb-notices/tb-notices-list.html',
  488. childList: [{
  489. id: 'tb-notices-add',
  490. name: '添加消息',
  491. isShow: false
  492. },
  493. {
  494. id: 'tb-notices-del',
  495. name: '删除消息',
  496. isShow: false
  497. },
  498. {
  499. id: 'tb-notices-edit',
  500. name: '修改消息',
  501. isShow: false
  502. },
  503. ]
  504. },
  505. ]
  506. }, {
  507. id: 'tb-charge-record',
  508. name: '充值记录',
  509. icon: 'el-icon-folder-opened',
  510. parent: true,
  511. childList: [{
  512. id: 'tb-charge-record-list',
  513. name: '充值记录',
  514. url: 'sa-view/tb-charge-record/tb-charge-record-list.html'
  515. }, ]
  516. }, {
  517. id: 'tb-pay-record',
  518. name: '支付记录',
  519. icon: 'el-icon-folder-opened',
  520. parent: true,
  521. childList: [{
  522. id: 'tb-pay-record-list',
  523. name: '支付记录',
  524. url: 'sa-view/tb-pay-record/tb-pay-record-list.html'
  525. }, ]
  526. }, {
  527. id: 'tb-declare',
  528. name: '申报信息',
  529. icon: 'el-icon-folder-opened',
  530. parent: true,
  531. childList: [{
  532. id: 'tb-declare-list',
  533. name: '申报列表',
  534. url: 'sa-view/tb-declare/tb-declare-list.html',
  535. childList: [{
  536. id: 'tb-declare-print',
  537. name: '打印申报信息',
  538. isShow: false
  539. },
  540. {
  541. id: 'tb-declare-edit',
  542. name: '修改申报信息',
  543. isShow: false
  544. },
  545. {
  546. id: 'tb-declare-del',
  547. name: '删除申报信息',
  548. isShow: false
  549. },
  550. ]
  551. }, ]
  552. }, {
  553. id: 'tb-disinfect',
  554. name: '消毒信息',
  555. icon: 'el-icon-folder-opened',
  556. parent: true,
  557. childList: [{
  558. id: 'tb-disinfect-list',
  559. name: '申请列表',
  560. url: 'sa-view/tb-disinfect/tb-disinfect-list.html',
  561. childList: [{
  562. id: 'tb-disinfect-print',
  563. name: '打印信息',
  564. isShow: false
  565. },
  566. {
  567. id: 'tb-disinfect-edit',
  568. name: '修改信息',
  569. isShow: false
  570. },
  571. {
  572. id: 'tb-disinfect-del',
  573. name: '删除信息',
  574. isShow: false
  575. },
  576. ]
  577. }, ]
  578. }, {
  579. id: 'tb-discount',
  580. name: '折扣管理',
  581. icon: 'el-icon-folder-opened',
  582. parent: true,
  583. childList: [{
  584. id: 'tb-discount-list',
  585. name: '折扣管理',
  586. url: 'sa-view/tb-discount/tb-discount-list.html',
  587. childList: [{
  588. id: 'tb-discount-add',
  589. name: '添加折扣',
  590. isShow: false
  591. },
  592. {
  593. id: 'tb-discount-del',
  594. name: '删除',
  595. isShow: false
  596. },
  597. {
  598. id: 'tb-discount-edit',
  599. name: '编辑',
  600. isShow: false
  601. },
  602. {
  603. id: 'tb-discount-change',
  604. name: '启用/停用',
  605. isShow: false
  606. },
  607. ]
  608. }, ]
  609. }, {
  610. id: 'tb-fee-statistics',
  611. name: '收费统计',
  612. icon: 'el-icon-folder-opened',
  613. parent: true,
  614. childList: [{
  615. id: 'tb-fee-details-list',
  616. name: '收费明细',
  617. url: 'sa-view/tb-fee-statistics/tb-fee-details-list.html',
  618. childList: [{
  619. id: 'tb-kaidan-confirm',
  620. name: '开单确认',
  621. isShow: false
  622. },
  623. {
  624. id: 'tb-diaodu-confirm',
  625. name: '复核确认',
  626. isShow: false
  627. },
  628. {
  629. id: 'tb-jicha-confirm',
  630. name: '稽查确认',
  631. isShow: false
  632. },
  633. {
  634. id: 'tb-jicha-cancel',
  635. name: '取消确认',
  636. isShow: false
  637. },
  638. ]
  639. },
  640. {
  641. id: 'tb-fee-statistics-list',
  642. name: '日统计',
  643. url: 'sa-view/tb-fee-statistics/tb-fee-statistics-list.html'
  644. },
  645. {
  646. id: 'month-statistcs-list',
  647. name: '月统计',
  648. url: 'sa-view/tb-fee-statistics/month-statistcs-list.html'
  649. },
  650. {
  651. id: 'year-statistcs-list',
  652. name: '年统计',
  653. url: 'sa-view/tb-fee-statistics/year-statistcs-list.html'
  654. },
  655. ]
  656. },
  657. {
  658. id: 'tb-invoice-info',
  659. name: '开票管理',
  660. icon: 'el-icon-folder-opened',
  661. parent: true,
  662. childList: [{
  663. id: 'tb-entity-list',
  664. name: '开票主体',
  665. url: 'sa-view/tb-entity/tb-entity-list.html'
  666. },
  667. {
  668. id: 'tb-invoice-order-list',
  669. name: '开票订单',
  670. url: 'sa-view/tb-invoice-order/tb-invoice-order-list.html'
  671. },
  672. {
  673. id: 'tb-invoice-info-list',
  674. name: '开票信息',
  675. url: 'sa-view/tb-invoice-info/tb-invoice-info-list.html'
  676. },
  677. ]
  678. },
  679. {
  680. id: 'tb-account',
  681. name: '预存款管理',
  682. icon: 'el-icon-folder-opened',
  683. parent: true,
  684. childList: [{
  685. id: 'tb-account-list',
  686. name: '客户充值',
  687. url: 'sa-view/tb-account/tb-account-list.html',
  688. childList: [{
  689. id: 'tb-account-list-add',
  690. name: '充值',
  691. isShow: false,
  692. },
  693. {
  694. id: 'tb-account-list-update',
  695. name: '修改',
  696. isShow: false,
  697. }
  698. ]
  699. },
  700. {
  701. id: 'tb-charge-record-list',
  702. name: '充值记录',
  703. url: 'sa-view/tb-charge-record/tb-charge-record-list.html',
  704. childList: [{
  705. id: 'tb-charge-record-list-print',
  706. name: '打印单据',
  707. isShow: false,
  708. },
  709. {
  710. id: 'tb-charge-record-list-review',
  711. name: '复审',
  712. isShow: false,
  713. },
  714. {
  715. id: 'tb-charge-record-list-del',
  716. name: '删除',
  717. isShow: false,
  718. }
  719. ]
  720. }, {
  721. id: 'tb-deduction-bind-list',
  722. name: '扣费绑定',
  723. url: 'sa-view/tb-deduction-bind/tb-deduction-bind-list.html',
  724. childList: [{
  725. id: 'tb-deduction-bind-list-bind',
  726. name: '绑定车辆',
  727. isShow: false,
  728. },
  729. {
  730. id: 'tb-deduction-bind-list-unbind',
  731. name: '手动解绑',
  732. isShow: false,
  733. }
  734. ]
  735. }, {
  736. id: 'tb-deduction-record-list',
  737. name: '扣费记录',
  738. url: 'sa-view/tb-deduction-record/tb-deduction-record-list.html',
  739. childList: [{
  740. id: 'tb-deduction-record-list-review',
  741. name: '复审',
  742. isShow: false,
  743. }]
  744. }],
  745. }
  746. ]