menu-list.js 12 KB

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