menu-list.js 14 KB

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