home.js 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. const navButtons = [{
  2. name: '我的维修任务',
  3. img: '/static/images/home/my_order.png',
  4. url: '/pages/check-order/mycheckorderlist',
  5. badge: false,
  6. value: 0,
  7. },
  8. {
  9. name: '维修任务管理',
  10. img: '/static/images/home/order_manage.png',
  11. url: '/pages/check-order/checkorderlist',
  12. badge: false,
  13. value: 0,
  14. },
  15. {
  16. name: '历史维修任务',
  17. img: '/static/images/home/history_order.png',
  18. url: '/pages/check-order/completedcheckorderlist',
  19. badge: false,
  20. value: 0,
  21. },
  22. {
  23. name: '待巡检设备',
  24. img: '/static/images/home/inspection.png',
  25. url: '/pages/equipment-inspection/inspectionlist',
  26. badge: false,
  27. value: 0,
  28. },
  29. {
  30. name: '已巡检设备',
  31. img: '/static/images/home/my_inspection.png',
  32. url: '/pages/equipment-inspection/inspectionreportlist',
  33. badge: false,
  34. value: 0,
  35. },
  36. {
  37. name: '巡检遗留问题',
  38. img: '/static/images/home/inspection_remain.png',
  39. url: '/pages/equipment-inspection/inspectionremainingproblemslist',
  40. badge: false,
  41. value: 0,
  42. },
  43. {
  44. name: '实时数据',
  45. img: '/static/images/home/real_data.png',
  46. url: '/pages/realdata/rtudata',
  47. badge: false,
  48. value: 0,
  49. },
  50. {
  51. name: '维修任务统计',
  52. img: '/static/images/home/order_statistics.png',
  53. url: '/pages/report-forms/orgcheckorderreportcount',
  54. badge: false,
  55. value: 0,
  56. },
  57. {
  58. name: '设备巡检统计',
  59. img: '/static/images/home/inspection_statistics.png',
  60. url: '/pages/report-forms/orginspectionreportcount',
  61. badge: false,
  62. value: 0,
  63. },
  64. {
  65. name: '维修任务统计',
  66. img: '/static/images/home/order_statistics.png',
  67. url: '/pages/report-forms/checkorderreportcount',
  68. badge: false,
  69. value: 0,
  70. },
  71. {
  72. name: '设备巡检统计',
  73. img: '/static/images/home/inspection_statistics.png',
  74. url: '/pages/report-forms/inspectionreportcount',
  75. badge: false,
  76. value: 0,
  77. },
  78. {
  79. name: '人员通讯录',
  80. img: '/static/images/home/contact.png',
  81. url: '/pages/report-forms/contact',
  82. badge: false,
  83. value: 0,
  84. },
  85. {
  86. name: '行政区',
  87. img: '/static/images/home/contact.png',
  88. url: '/pages/home/region',
  89. badge: false,
  90. value: 0,
  91. },
  92. {
  93. name: '危险区',
  94. img: '/static/images/home/contact.png',
  95. url: '/pages/home/dangerarea',
  96. badge: false,
  97. value: 0,
  98. },
  99. {
  100. name: '转移路线',
  101. img: '/static/images/home/contact.png',
  102. url: '/pages/home/leaveline',
  103. badge: false,
  104. value: 0,
  105. },
  106. ]
  107. //获取系统管理员导航按钮
  108. const sysAdminNavButton = [false,true,true,true,true,true,true,true,true,false,false,true,true,true,true];
  109. //获取盟市管理员导航按钮
  110. const orgAdminNavButton = [false,true,true,true,true,true,true,true,true,false,false,true,true,true,true];
  111. //获取运维公司管理员导航按钮
  112. const companyAdminNavButton = [true,true,true,true,true,true,true,false,false,true,true,true,true,true,true];
  113. //获取运维公司技术员导航按钮
  114. const companyServicePersonNavButton = [true,false,true,true,true,true,true,false,false,true,true,true,true,true,true];
  115. export default {
  116. navButtons,
  117. sysAdminNavButton,
  118. orgAdminNavButton,
  119. companyAdminNavButton,
  120. companyServicePersonNavButton
  121. }