base.js 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. var routers = [
  2. {
  3. //终端管理
  4. path: '/base/terminalInfo/list',
  5. name: 'BaseTerminalInfoList',
  6. // route level code-splitting
  7. // this generates a separate chunk (about.[hash].js) for this route
  8. // which is lazy-loaded when the route is visited.
  9. component: () => import('@/views/base/terminalInfo-list.vue'),
  10. meta: {
  11. roles: ["admin"],
  12. title: '终端管理'
  13. }
  14. },
  15. {
  16. //户号管理
  17. path: '/base/electricClientInfo/list',
  18. name: 'BaseElectricClientInfoList',
  19. // route level code-splitting
  20. // this generates a separate chunk (about.[hash].js) for this route
  21. // which is lazy-loaded when the route is visited.
  22. component: () => import('@/views/base/electricClientInfo-list.vue'),
  23. meta: {
  24. roles: ["admin"],
  25. title: '户号管理'
  26. }
  27. },
  28. {
  29. //电表管理
  30. path: '/base/electricMeterInfo/list',
  31. name: 'BaseElectricMeterInfoList',
  32. // route level code-splitting
  33. // this generates a separate chunk (about.[hash].js) for this route
  34. // which is lazy-loaded when the route is visited.
  35. component: () => import('@/views/base/electricMeterInfo-list.vue'),
  36. meta: {
  37. roles: ["admin"],
  38. title: '电表管理'
  39. }
  40. },
  41. {
  42. //充值流水
  43. path: '/base/rechargeRecord/list',
  44. name: 'BaseRechargeRecordList',
  45. // route level code-splitting
  46. // this generates a separate chunk (about.[hash].js) for this route
  47. // which is lazy-loaded when the route is visited.
  48. component: () => import('@/views/base/rechargeRecord-list.vue'),
  49. meta: {
  50. roles: ["admin"],
  51. title: '充值流水'
  52. }
  53. },
  54. {
  55. //物业充值流水
  56. path: '/base/rechargeRecordWater/list',
  57. name: 'BaseRechargeRecordWaterList',
  58. // route level code-splitting
  59. // this generates a separate chunk (about.[hash].js) for this route
  60. // which is lazy-loaded when the route is visited.
  61. component: () => import('@/views/base/rechargeRecordWater-list.vue'),
  62. meta: {
  63. roles: ["admin"],
  64. title: '物业充值流水'
  65. }
  66. },
  67. {
  68. //物业费充值记录
  69. path: '/base/rechargeRecordProperty/list',
  70. name: 'BaseRechargeRecordPropertyList',
  71. // route level code-splitting
  72. // this generates a separate chunk (about.[hash].js) for this route
  73. // which is lazy-loaded when the route is visited.
  74. component: () => import('@/views/base/rechargeRecordProperty-list.vue'),
  75. meta: {
  76. roles: ["admin"],
  77. title: '物业费充值记录'
  78. }
  79. },
  80. {
  81. //房间管理
  82. path: '/base/roomInfo/list',
  83. name: 'BaseRoomInfoList',
  84. // route level code-splitting
  85. // this generates a separate chunk (about.[hash].js) for this route
  86. // which is lazy-loaded when the route is visited.
  87. component: () => import('@/views/base/roomInfo-list.vue'),
  88. meta: {
  89. roles: ["admin"],
  90. title: '房间管理'
  91. }
  92. },
  93. {
  94. //线下充值
  95. path: '/base/rechange/list',
  96. name: 'BaseRechangeList',
  97. // route level code-splitting
  98. // this generates a separate chunk (about.[hash].js) for this route
  99. // which is lazy-loaded when the route is visited.
  100. component: () => import('@/views/base/rechange-list.vue'),
  101. meta: {
  102. roles: ["admin"],
  103. title: '线下充值'
  104. }
  105. },
  106. {
  107. //业主信息管理
  108. path: '/base/ownerInfo/list',
  109. name: 'BaseOwnerInfoList',
  110. // route level code-splitting
  111. // this generates a separate chunk (about.[hash].js) for this route
  112. // which is lazy-loaded when the route is visited.
  113. component: () => import('@/views/base/ownerInfo-list.vue'),
  114. meta: {
  115. roles: ["admin"],
  116. title: '业主信息管理'
  117. }
  118. },
  119. {
  120. //车位管理
  121. path: '/base/parkingInfo/list',
  122. name: 'BaseParkingInfoList',
  123. // route level code-splitting
  124. // this generates a separate chunk (about.[hash].js) for this route
  125. // which is lazy-loaded when the route is visited.
  126. component: () => import('@/views/base/parkingInfo-list.vue'),
  127. meta: {
  128. roles: ["admin"],
  129. title: '车位管理'
  130. }
  131. },
  132. {
  133. //车位申请
  134. path: '/base/parkingApply/list',
  135. name: 'BaseParkingApplyList',
  136. // route level code-splitting
  137. // this generates a separate chunk (about.[hash].js) for this route
  138. // which is lazy-loaded when the route is visited.
  139. component: () => import('@/views/base/parkingApply-list.vue'),
  140. meta: {
  141. roles: ["admin"],
  142. title: '车位申请'
  143. }
  144. },
  145. {
  146. //围墙报警
  147. path: '/base/alarmInfoFence/list',
  148. name: 'BaseAlarmInfoFenceList',
  149. // route level code-splitting
  150. // this generates a separate chunk (about.[hash].js) for this route
  151. // which is lazy-loaded when the route is visited.
  152. component: () => import('@/views/base/alarmInfo-fence-list.vue'),
  153. meta: {
  154. roles: ["admin"],
  155. title: '围墙报警'
  156. }
  157. },
  158. {
  159. //警戒报警
  160. path: '/base/alarmInfoAlert/list',
  161. name: 'BaseAlarmInfoAlertList',
  162. // route level code-splitting
  163. // this generates a separate chunk (about.[hash].js) for this route
  164. // which is lazy-loaded when the route is visited.
  165. component: () => import('@/views/base/alarmInfo-alert-list.vue'),
  166. meta: {
  167. roles: ["admin"],
  168. title: '警戒报警'
  169. }
  170. },
  171. {
  172. //投诉建议管理
  173. path: '/base/informationInfoComplaint/list',
  174. name: 'BaseInformationInfoComplaintList',
  175. // route level code-splitting
  176. // this generates a separate chunk (about.[hash].js) for this route
  177. // which is lazy-loaded when the route is visited.
  178. component: () => import('@/views/base/informationInfo-complaint-list.vue'),
  179. meta: {
  180. roles: ["admin"],
  181. title: '投诉建议管理'
  182. }
  183. },
  184. {
  185. //报事报修管理
  186. path: '/base/informationInfoWarranty/list',
  187. name: 'BaseInformationInfoWarrantyList',
  188. // route level code-splitting
  189. // this generates a separate chunk (about.[hash].js) for this route
  190. // which is lazy-loaded when the route is visited.
  191. component: () => import('@/views/base/informationInfo-warranty-list.vue'),
  192. meta: {
  193. roles: ["admin"],
  194. title: '报事报修管理'
  195. }
  196. },
  197. {
  198. //企业员工管理
  199. path: '/base/employeeInfo/list',
  200. name: 'BaseEmployeeInfoList',
  201. // route level code-splitting
  202. // this generates a separate chunk (about.[hash].js) for this route
  203. // which is lazy-loaded when the route is visited.
  204. component: () => import('@/views/base/employeeInfo-list.vue'),
  205. meta: {
  206. roles: ["admin"],
  207. title: '企业员工管理'
  208. }
  209. },
  210. {
  211. //单位管理
  212. path: '/base/companyInfo/list',
  213. name: 'BaseCompanyInfoList',
  214. // route level code-splitting
  215. // this generates a separate chunk (about.[hash].js) for this route
  216. // which is lazy-loaded when the route is visited.
  217. component: () => import('@/views/base/companyInfo-list.vue'),
  218. meta: {
  219. roles: ["admin"],
  220. title: '单位管理'
  221. }
  222. },
  223. {
  224. //人员管理
  225. path: '/base/personInfo/list',
  226. name: 'BasePersonInfoList',
  227. // route level code-splitting
  228. // this generates a separate chunk (about.[hash].js) for this route
  229. // which is lazy-loaded when the route is visited.
  230. component: () => import('@/views/base/personInfo-list.vue'),
  231. meta: {
  232. roles: ["admin"],
  233. title: '人员管理'
  234. }
  235. },
  236. {
  237. //设备管理
  238. path: '/base/deviceInfo/list',
  239. name: 'BaseDeviceInfoList',
  240. // route level code-splitting
  241. // this generates a separate chunk (about.[hash].js) for this route
  242. // which is lazy-loaded when the route is visited.
  243. component: () => import('@/views/base/deviceInfo-list.vue'),
  244. meta: {
  245. roles: ["admin"],
  246. title: '设备管理'
  247. }
  248. },
  249. {
  250. //测温记录
  251. path: '/base/personDeviceLog/list',
  252. name: 'BasePersonDeviceLogList',
  253. // route level code-splitting
  254. // this generates a separate chunk (about.[hash].js) for this route
  255. // which is lazy-loaded when the route is visited.
  256. component: () => import('@/views/base/personDeviceLog-list.vue'),
  257. meta: {
  258. roles: ["admin"],
  259. title: '测温记录'
  260. }
  261. },
  262. {
  263. //检测预警上报人员管理
  264. path: '/base/warningPusher/list',
  265. name: 'BaseWarningPusherList',
  266. // route level code-splitting
  267. // this generates a separate chunk (about.[hash].js) for this route
  268. // which is lazy-loaded when the route is visited.
  269. component: () => import('@/views/base/warningPusher-list.vue'),
  270. meta: {
  271. roles: ["admin"],
  272. title: '预警上报人员管理'
  273. }
  274. },
  275. {
  276. //通知公告
  277. path: '/base/messageNotice/list',
  278. name: 'BaseMessageNoticeList',
  279. // route level code-splitting
  280. // this generates a separate chunk (about.[hash].js) for this route
  281. // which is lazy-loaded when the route is visited.
  282. component: () => import('@/views/base/messageNotice-list.vue'),
  283. meta: {
  284. roles: ["admin"],
  285. title: '通知公告'
  286. }
  287. },
  288. {
  289. //异常上报
  290. path: '/base/messageReport/list',
  291. name: 'BaseMessageReportList',
  292. // route level code-splitting
  293. // this generates a separate chunk (about.[hash].js) for this route
  294. // which is lazy-loaded when the route is visited.
  295. component: () => import('@/views/base/messageReport-list.vue'),
  296. meta: {
  297. roles: ["admin"],
  298. title: '异常上报'
  299. }
  300. },
  301. {
  302. //打卡时间
  303. path: '/base/alarmConfig/list',
  304. name: 'BaseAlarmConfigList',
  305. // route level code-splitting
  306. // this generates a separate chunk (about.[hash].js) for this route
  307. // which is lazy-loaded when the route is visited.
  308. component: () => import('@/views/base/alarmConfig-list.vue'),
  309. meta: {
  310. roles: ["admin"],
  311. title: '考勤时间设置'
  312. }
  313. },
  314. {
  315. //测温统计
  316. path: '/base/temperatureRecord/list',
  317. name: 'BaseTemperatureRecordList',
  318. // route level code-splitting
  319. // this generates a separate chunk (about.[hash].js) for this route
  320. // which is lazy-loaded when the route is visited.
  321. component: () => import('@/views/base/temperatureRecord-list.vue'),
  322. meta: {
  323. roles: ["admin"],
  324. title: '测温统计'
  325. }
  326. },
  327. {
  328. //设备人员管理
  329. path: '/base/devicePerson/list',
  330. name: 'BaseDevicePersonList',
  331. // route level code-splitting
  332. // this generates a separate chunk (about.[hash].js) for this route
  333. // which is lazy-loaded when the route is visited.
  334. component: () => import('@/views/base/devicePerson-list.vue'),
  335. meta: {
  336. roles: ["admin"],
  337. title: '设备人员管理'
  338. }
  339. },
  340. {
  341. //节假日设置
  342. path: '/base/holidayInfo/list',
  343. name: 'BaseHolidayInfoList',
  344. // route level code-splitting
  345. // this generates a separate chunk (about.[hash].js) for this route
  346. // which is lazy-loaded when the route is visited.
  347. component: () => import('@/views/base/holidayInfo-list.vue'),
  348. meta: {
  349. roles: ["admin"],
  350. title: '节假日设置'
  351. }
  352. },
  353. {
  354. //打卡点管理
  355. path: '/base/punchLocation/list',
  356. name: 'BasePunchLocationList',
  357. // route level code-splitting
  358. // this generates a separate chunk (about.[hash].js) for this route
  359. // which is lazy-loaded when the route is visited.
  360. component: () => import('@/views/base/punchLocation-list.vue'),
  361. meta: {
  362. roles: ["admin"],
  363. title: '打卡点管理'
  364. }
  365. },
  366. {
  367. //打卡点打卡记录
  368. path: '/base/punchRecord/list',
  369. name: 'BasePunchRecordList',
  370. // route level code-splitting
  371. // this generates a separate chunk (about.[hash].js) for this route
  372. // which is lazy-loaded when the route is visited.
  373. component: () => import('@/views/base/punchRecord-list.vue'),
  374. meta: {
  375. roles: ["admin"],
  376. title: '打卡点打卡记录'
  377. }
  378. },
  379. {
  380. path: '/base/mobileBannerInfo/list',
  381. name: 'baseMobileBannerInfoList',
  382. // route level code-splitting
  383. // this generates a separate chunk (about.[hash].js) for this route
  384. // which is lazy-loaded when the route is visited.
  385. component: () => import('@/views/base/mobileBannerInfo-list.vue'),
  386. meta: {
  387. roles: ["admin"],
  388. title: '移动端幻灯片管理'
  389. }
  390. },
  391. /////////////////////////////////////////小鹏管家2.0新增功能/////////////////////////////////////////////////////
  392. {
  393. path: '/base/personRoleInfo/list',
  394. name: 'basePersonRoleInfoList',
  395. // route level code-splitting
  396. // this generates a separate chunk (about.[hash].js) for this route
  397. // which is lazy-loaded when the route is visited.
  398. component: () => import('@/views/base/personRoleInfo-list.vue'),
  399. meta: {
  400. roles: ["admin"],
  401. title: '用户身份管理'
  402. }
  403. },
  404. {
  405. path: '/base/watchInfo/list',
  406. name: 'baseWatchInfoList',
  407. // route level code-splitting
  408. // this generates a separate chunk (about.[hash].js) for this route
  409. // which is lazy-loaded when the route is visited.
  410. component: () => import('@/views/base/watchInfo-list.vue'),
  411. meta: {
  412. roles: ["admin"],
  413. title: '老人手表管理'
  414. }
  415. },
  416. {
  417. path: '/base/watchMeasure/list',
  418. name: 'baseWatchMeasureList',
  419. // route level code-splitting
  420. // this generates a separate chunk (about.[hash].js) for this route
  421. // which is lazy-loaded when the route is visited.
  422. component: () => import('@/views/base/watchMeasure-list.vue'),
  423. meta: {
  424. roles: ["admin"],
  425. title: '手表消息管理'
  426. }
  427. },
  428. {
  429. path: '/base/message/list',
  430. name: 'baseMessageList',
  431. // route level code-splitting
  432. // this generates a separate chunk (about.[hash].js) for this route
  433. // which is lazy-loaded when the route is visited.
  434. component: () => import('@/views/base/messageInfo-list.vue'),
  435. meta: {
  436. roles: ["admin"],
  437. title: '消息通知'
  438. }
  439. },
  440. {
  441. path: '/base/cameraInfo/list',
  442. name: 'baseCameraInfoList',
  443. // route level code-splitting
  444. // this generates a separate chunk (about.[hash].js) for this route
  445. // which is lazy-loaded when the route is visited.
  446. component: () => import('@/views/base/cameraInfo-list.vue'),
  447. meta: {
  448. roles: ["admin"],
  449. title: '摄像头管理'
  450. }
  451. },
  452. {
  453. path: '/base/iconInfo/list',
  454. name: 'baseIconInfoList',
  455. // route level code-splitting
  456. // this generates a separate chunk (about.[hash].js) for this route
  457. // which is lazy-loaded when the route is visited.
  458. component: () => import('@/views/base/iconInfo-list.vue'),
  459. meta: {
  460. roles: ["admin"],
  461. title: '图标管理'
  462. }
  463. },
  464. {
  465. //订单管理
  466. path: '/base/order/list',
  467. name: 'BaseOrderList',
  468. // route level code-splitting
  469. // this generates a separate chunk (about.[hash].js) for this route
  470. // which is lazy-loaded when the route is visited.
  471. component: () => import('@/views/base/order-list.vue'),
  472. meta: {
  473. roles: ["admin"],
  474. title: '订单管理'
  475. }
  476. },
  477. {
  478. path: '/base/companyStructureInfo/list',
  479. name: 'baseCompanyStructureInfoList',
  480. // route level code-splitting
  481. // this generates a separate chunk (about.[hash].js) for this route
  482. // which is lazy-loaded when the route is visited.
  483. component: () => import('@/views/base/companyStructureInfo-list.vue'),
  484. meta: {
  485. roles: ["admin"],
  486. title: '单位机构管理'
  487. }
  488. },
  489. {
  490. path: '/base/parkingWay/list',
  491. name: 'baseParkingWayList',
  492. component: () => import('@/views/base/parkingWay-list.vue'),
  493. meta: {
  494. roles: ["admin"],
  495. title: '车位租赁方式管理'
  496. }
  497. },
  498. {
  499. path: '/base/problemFeedback/list',
  500. name: 'baseProblemFeedback',
  501. component: () => import('@/views/base/problemFeedback-list.vue'),
  502. meta: {
  503. roles: ["admin"],
  504. title: '问题反馈管理'
  505. }
  506. },
  507. {
  508. path: '/base/oldPersonInfo/list',
  509. name: 'baseOldPersonInfo',
  510. component: () => import('@/views/old/oldPersonInfo-list.vue'),
  511. meta: {
  512. roles: ["admin"],
  513. title: '长者管理'
  514. }
  515. },
  516. {
  517. path: '/base/applicationExamine/list',
  518. name: 'baseApplicationExamineList',
  519. component: () => import('@/views/base/applicationExamine-list.vue'),
  520. meta: {
  521. roles: ["admin"],
  522. title: '审批角色管理'
  523. }
  524. }
  525. ]
  526. export default routers;