menu-list.js 13 KB

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