constData.plugins.js 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. // 首页九宫格
  2. let homeRouter = [
  3. {
  4. imgUrl: "/static/icons/index/APP-xunjian.svg",
  5. badge: 0,
  6. name: "巡检",
  7. redirectUrl: "/pages/business/zhaf/xunJian/xunJian",
  8. },
  9. // {
  10. // imgUrl: "/static/images/square/square-xf.png",
  11. // badge: 0,
  12. // name: "未开发",
  13. // redirectUrl: "",
  14. // },
  15. ];
  16. // 首页报警数据
  17. let staticData = {
  18. msg: "\u64cd\u4f5c\u6210\u529f",
  19. flag: true,
  20. companyCode: "1,2,3,4,5,6,7,8,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39",
  21. data: [
  22. {
  23. statisticalPeriod: "2021-03-16~2021-04-16",
  24. smartElectricityCount: "178",
  25. videoMonitoringCount: "12456",
  26. alarmCount: 12627,
  27. eventCount: 2,
  28. hiddenDangerCount: 4,
  29. offlineCount: 20,
  30. faultCount: 30,
  31. earlyWarningCount: 100,
  32. otherCount: 99,
  33. normalCount: 66,
  34. integratedAlarmCount: 12627,
  35. unprocessedCount: 0,
  36. },
  37. ],
  38. };
  39. // 巡检模块
  40. let xunJianList = [
  41. {
  42. id: 1,
  43. title: "巡检任务",
  44. num: "0",
  45. imgUrl: "/static/images/xunjian/xunJian-icon1.png",
  46. redirectUrl: "/pages/business/zhaf/xunJian/plan/index",
  47. },
  48. {
  49. id: 2,
  50. title: "巡检记录",
  51. num: "0",
  52. imgUrl: "/static/images/xunjian/xunJian-icon2.png",
  53. redirectUrl: "/pages/business/zhaf/xunJian/plan/index",
  54. },
  55. {
  56. id: 3,
  57. title: "巡检采集",
  58. num: "0",
  59. imgUrl: "/static/images/xunjian/xunJian-icon3.png",
  60. redirectUrl: "/pages/business/zhaf/xunJian/collect/index",
  61. },
  62. ];
  63. // 首页底部导航栏
  64. let homeTabbar = [
  65. {
  66. pagePath: "/pages/index",
  67. iconClass: "oaIcon-tab-home",
  68. iconPath: "/static/images/tabBar/tab-home.png",
  69. selectedIconPath: "/static/images/tabBar/tab-home-blue.png",
  70. text: "工作台",
  71. dot: false,
  72. },
  73. // {
  74. // "pagePath": "pages/analyse/analyse",
  75. // "iconPath": "/static/images/tabBar/analyse.png",
  76. // "selectedIconPath": "/static/images/tabBar/analyse-selected.png",
  77. // "text": "分析"
  78. // },
  79. {
  80. pagePath: "/pages/info",
  81. iconClass: "oaIcon-tab-info",
  82. iconPath: "/static/images/tabBar/tab-info.png",
  83. selectedIconPath: "/static/images/tabBar/tab-info-blue.png",
  84. text: "消息",
  85. dot: false,
  86. },
  87. {
  88. pagePath: "/pages/mine",
  89. iconClass: "oaIcon-tab-mine",
  90. iconPath: "/static/images/tabBar/tab-my.png",
  91. selectedIconPath: "/static/images/tabBar/tab-my-blue.png",
  92. text: "我的",
  93. dot: false,
  94. },
  95. ]
  96. // 工作报告底部导航栏
  97. let projectTabbar = [
  98. {
  99. pagePath: "/pages/business/common/projectMange/record/index",
  100. iconClass: "oaIcon-tab-reportRecord",
  101. iconPath: "/static/images/tabBar/tab-home.png",
  102. selectedIconPath: "/static/images/tabBar/tab-home-blue.png",
  103. text: "报告记录",
  104. dot: false,
  105. },
  106. {
  107. pagePath: "/pages/business/common/projectMange/write/index",
  108. iconClass: "oaIcon-tab-reportInsert",
  109. iconPath: "/static/images/tabBar/tab-info.png",
  110. selectedIconPath: "/static/images/tabBar/tab-info-blue.png",
  111. text: "报告填写",
  112. dot: false,
  113. },
  114. {
  115. pagePath: "/pages/business/common/projectMange/list/index",
  116. iconClass: "oaIcon-tab-projectsList",
  117. iconPath: "/static/images/tabBar/tab-my.png",
  118. selectedIconPath: "/static/images/tabBar/tab-my-blue.png",
  119. text: "项目列表",
  120. dot: false,
  121. },
  122. // {
  123. // pagePath: "/pages/mine",
  124. // iconPath: "/static/images/tabBar/tab-my.png",
  125. // selectedIconPath: "/static/images/tabBar/tab-my-blue.png",
  126. // text: "统计导出",
  127. // dot: false,
  128. // },
  129. // {
  130. // pagePath: "/pages/info",
  131. // iconPath: "/static/images/tabBar/tab-info.png",
  132. // selectedIconPath: "/static/images/tabBar/tab-info-blue.png",
  133. // text: "模板管理",
  134. // dot: false,
  135. // },
  136. ]
  137. // OA-我的申请导航栏
  138. let oaApprovalTabbar = [
  139. {
  140. pagePath: "/pages/business/oa/approval/index",
  141. iconClass: "oaIcon-tab-reportRecord",
  142. iconPath: "/static/images/tabBar/tab-approval-gray.png",
  143. selectedIconPath: "/static/images/tabBar/tab-approval-blue.png",
  144. text: "我的申请",
  145. dot: false,
  146. },
  147. {
  148. pagePath: "/pages/business/oa/toDo/index",
  149. iconClass: "oaIcon-tab-reportInsert",
  150. iconPath: "/static/images/tabBar/tab-toDo-gray.png",
  151. selectedIconPath: "/static/images/tabBar/tab-toDo-blue.png",
  152. text: "我的待办",
  153. dot: false,
  154. }
  155. ]
  156. export default {
  157. // 主题列表
  158. themeList: [
  159. {
  160. title: '官方',
  161. name: 'rf',
  162. color: '#149eff',
  163. tabList: [
  164. '/static/images/tabBar/tab-home-blue.png',
  165. '/static/images/tabBar/tab-info-blue.png',
  166. '/static/images/tabBar/tab-my-blue.png'
  167. ]
  168. },
  169. {
  170. title: '海蓝',
  171. name: 'blue',
  172. color: '#0081ff',
  173. tabList: [
  174. '/static/images/tabBar/tab-home-blue.png',
  175. '/static/images/tabBar/tab-info-blue.png',
  176. '/static/images/tabBar/tab-my-blue.png'
  177. ]
  178. },
  179. {
  180. title: '嫣红',
  181. name: 'red',
  182. color: '#e54d42',
  183. tabList: [
  184. '/static/images/tabBar/tab-home-red.png',
  185. '/static/images/tabBar/tab-info-red.png',
  186. '/static/images/tabBar/tab-my-red.png'
  187. ]
  188. },
  189. {
  190. title: '桔橙',
  191. name: 'orange',
  192. color: '#f37b1d',
  193. tabList: [
  194. '/static/images/tabBar/tab-home-orange.png',
  195. '/static/images/tabBar/tab-info-orange.png',
  196. '/static/images/tabBar/tab-my-orange.png'
  197. ]
  198. },
  199. {
  200. title: '明黄',
  201. name: 'yellow',
  202. color: '#fbbd08',
  203. tabList: [
  204. '/static/images/tabBar/tab-home-yellow.png',
  205. '/static/images/tabBar/tab-info-yellow.png',
  206. '/static/images/tabBar/tab-my-yellow.png'
  207. ]
  208. },
  209. {
  210. title: '橄榄',
  211. name: 'olive',
  212. color: '#8dc63f',
  213. tabList: [
  214. '/static/images/tabBar/tab-home-olive.png',
  215. '/static/images/tabBar/tab-info-olive.png',
  216. '/static/images/tabBar/tab-my-olive.png'
  217. ]
  218. },
  219. {
  220. title: '森绿',
  221. name: 'green',
  222. color: '#39b54a',
  223. tabList: [
  224. '/static/images/tabBar/tab-home-green.png',
  225. '/static/images/tabBar/tab-info-green.png',
  226. '/static/images/tabBar/tab-my-green.png'
  227. ]
  228. },
  229. {
  230. title: '天青',
  231. name: 'cyan',
  232. color: '#1cbbb4',
  233. tabList: [
  234. '/static/images/tabBar/tab-home-cyan.png',
  235. '/static/images/tabBar/tab-info-cyan.png',
  236. '/static/images/tabBar/tab-my-cyan.png'
  237. ]
  238. },
  239. {
  240. title: '姹紫',
  241. name: 'purple',
  242. color: '#6739b6',
  243. tabList: [
  244. '/static/images/tabBar/tab-home-purple.png',
  245. '/static/images/tabBar/tab-info-purple.png',
  246. '/static/images/tabBar/tab-my-purple.png'
  247. ]
  248. },
  249. {
  250. title: '木槿',
  251. name: 'mauve',
  252. color: '#9c26b0',
  253. tabList: [
  254. '/static/images/tabBar/tab-home-mauve.png',
  255. '/static/images/tabBar/tab-info-mauve.png',
  256. '/static/images/tabBar/tab-my-mauve.png'
  257. ]
  258. },
  259. {
  260. title: '桃粉',
  261. name: 'pink',
  262. color: '#e03997',
  263. tabList: [
  264. '/static/images/tabBar/tab-home-pink.png',
  265. '/static/images/tabBar/tab-info-pink.png',
  266. '/static/images/tabBar/tab-my-pink.png'
  267. ]
  268. },
  269. {
  270. title: '棕褐',
  271. name: 'brown',
  272. color: '#a5673f',
  273. tabList: [
  274. '/static/images/tabBar/tab-home-brown.png',
  275. '/static/images/tabBar/tab-info-brown.png',
  276. '/static/images/tabBar/tab-my-brown.png'
  277. ]
  278. },
  279. {
  280. title: '玄灰',
  281. name: 'grey',
  282. color: '#8799a3',
  283. tabList: [
  284. '/static/images/tabBar/tab-home-grey.png',
  285. '/static/images/tabBar/tab-info-grey.png',
  286. '/static/images/tabBar/tab-my-grey.png'
  287. ]
  288. },
  289. {
  290. title: '墨黑',
  291. name: 'black',
  292. color: '#333333',
  293. tabList: [
  294. '/static/images/tabBar/tab-home-black.png',
  295. '/static/images/tabBar/tab-info-black.png',
  296. '/static/images/tabBar/tab-my-black.png'
  297. ]
  298. }
  299. ],
  300. staticData: staticData,
  301. homeRouter: homeRouter,
  302. xunJianList: xunJianList,
  303. homeTabbar: homeTabbar,
  304. projectTabbar: projectTabbar,
  305. oaApprovalTabbar:oaApprovalTabbar
  306. };