menu-list.js 13 KB

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