menu-list.js 18 KB

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