index.js 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. import { createRouter, createWebHashHistory } from 'vue-router'
  2. const routes = [{
  3. path: '/',
  4. name: 'home',
  5. component: () =>
  6. import ('../views/login/login.vue'),
  7. meta: {
  8. isShowTarbar: false,
  9. }
  10. }, {
  11. path: '/login',
  12. name: 'login',
  13. component: () =>
  14. import ('../views/login/login.vue'),
  15. meta: {
  16. isShowTarbar: false,
  17. }
  18. }, {
  19. path: '/forget',
  20. name: 'forget',
  21. component: () =>
  22. import ('../views/login/forget.vue'),
  23. meta: {
  24. isShowTarbar: false,
  25. }
  26. }, {
  27. path: '/tab_a',
  28. name: 'tab_a',
  29. component: () =>
  30. import ('../views/tab_a/tab_a.vue'),
  31. meta: {
  32. isShowTarbar: true,
  33. }
  34. }, {
  35. path: '/siteInspectionView',
  36. name: 'siteInspectionView',
  37. component: () =>
  38. import ('../views/activityMan/siteInspection/siteInspectionView.vue'),
  39. meta: {
  40. isShowTarbar: true,
  41. }
  42. }, {
  43. path: '/siteInspectionList',
  44. name: 'siteInspectionList',
  45. component: () =>
  46. import ('../views/activityMan/siteInspection/siteInspectionList.vue'),
  47. meta: {
  48. isShowTarbar: true,
  49. }
  50. }, {
  51. path: '/securityFacilitiesErrList',
  52. name: 'securityFacilitiesErrList',
  53. component: () =>
  54. import ('../views/activityMan/securityFacilitiesErr/securityFacilitiesErrList.vue'),
  55. meta: {
  56. isShowTarbar: true,
  57. }
  58. }, {
  59. path: '/religiousConferenceList',
  60. name: 'religiousConferenceList',
  61. component: () =>
  62. import ('../views/activityMan/religiousConference/religiousConferenceList.vue'),
  63. meta: {
  64. isShowTarbar: true,
  65. }
  66. }, {
  67. path: '/nonReligiousInformationList',
  68. name: 'nonReligiousInformationList',
  69. component: () =>
  70. import ('../views/activityMan/nonReligiousInformation/nonReligiousInformationList.vue'),
  71. meta: {
  72. isShowTarbar: true,
  73. }
  74. }, {
  75. path: '/toBeDone',
  76. name: 'toBeDone',
  77. component: () =>
  78. import ('../views/toBeDone/toBeDone.vue'),
  79. meta: {
  80. isShowTarbar: true,
  81. }
  82. }, {
  83. path: '/toBeDone_details',
  84. name: 'toBeDone_details',
  85. component: () =>
  86. import ('../views/toBeDone/toBeDone_details.vue'),
  87. meta: {
  88. isShowTarbar: true,
  89. }
  90. }, {
  91. path: '/placeActivityList',
  92. name: 'placeActivityList',
  93. component: () =>
  94. import ('../views/activityMan/placeactivity/placeActivityList.vue'),
  95. meta: {
  96. isShowTarbar: true,
  97. }
  98. }, {
  99. path: '/placeActivity',
  100. name: 'placeActivity',
  101. component: () =>
  102. import ('../views/activityMan/placeactivity/placeActivityView.vue'),
  103. meta: {
  104. isShowTarbar: true,
  105. }
  106. }, {
  107. path: '/placeActivityInfo',
  108. name: 'placeActivityInfo',
  109. component: () =>
  110. import ('../views/activityMan/placeactivity/placeActivityInfo.vue'),
  111. meta: {
  112. isShowTarbar: true,
  113. }
  114. }, {
  115. path: '/selfMeetingList',
  116. name: 'selfMeetingList',
  117. component: () =>
  118. import ('../views/activityMan/selfMeetingReport/selfMeetingList.vue'),
  119. meta: {
  120. isShowTarbar: true,
  121. }
  122. }, {
  123. path: '/selfMeeting',
  124. name: 'selfMeeting',
  125. component: () =>
  126. import ('../views/activityMan/selfMeetingReport/selfMeetingView.vue'),
  127. meta: {
  128. isShowTarbar: true,
  129. }
  130. }, {
  131. path: '/selfMeetingInfo',
  132. name: 'selfMeetingInfo',
  133. component: () =>
  134. import ('../views/activityMan/selfMeetingReport/selfMeetingInfo.vue'),
  135. meta: {
  136. isShowTarbar: true,
  137. }
  138. }, {
  139. path: '/differentbelievers',
  140. name: 'differentbelievers',
  141. component: () =>
  142. import ('../views/activityMan/differentbelievers/ReligiousPeopleReportView.vue'),
  143. meta: {
  144. isShowTarbar: true,
  145. }
  146. }, {
  147. path: '/differentbelieversList',
  148. name: 'differentbelieversList',
  149. component: () =>
  150. import ('../views/activityMan/differentbelievers/ReligiousPeopleReportList.vue'),
  151. meta: {
  152. isShowTarbar: true,
  153. }
  154. }, {
  155. path: '/differentbelieversInfo',
  156. name: 'differentbelieversInfo',
  157. component: () =>
  158. import ('../views/activityMan/differentbelievers/ReligiousPeopleReportInfo.vue'),
  159. meta: {
  160. isShowTarbar: true,
  161. }
  162. }, {
  163. path: '/setting',
  164. name: 'setting',
  165. component: () =>
  166. import ('../views/setting/setting.vue'),
  167. meta: {
  168. isShowTarbar: true,
  169. }
  170. }, {
  171. path: '/tabAll',
  172. name: 'tabAll',
  173. component: () =>
  174. import ('../views/tab_a/tabAll.vue'),
  175. meta: {
  176. isShowTarbar: false,
  177. }
  178. },
  179. {
  180. path: '/about',
  181. name: 'about',
  182. component: () =>
  183. import ('../views/AboutView.vue'),
  184. meta: {
  185. isShowTarbar: false,
  186. }
  187. },
  188. {
  189. path: '/placePerson',
  190. name: 'placePerson',
  191. component: () =>
  192. import ('../views/placeManage/placePerson.vue'),
  193. meta: {
  194. isShowTarbar: false,
  195. }
  196. },
  197. {
  198. path: '/placePersoninfo',
  199. name: 'placePersoninfo',
  200. component: () =>
  201. import ('../views/placeManage/placePersoninfo.vue'),
  202. meta: {
  203. isShowTarbar: false,
  204. }
  205. },
  206. {
  207. path: '/placeRegister',
  208. name: 'placeRegister',
  209. component: () =>
  210. import ('../views/placeManage/placeRegister.vue'),
  211. meta: {
  212. isShowTarbar: false,
  213. }
  214. },
  215. {
  216. path: '/placeTablet',
  217. name: 'placeTablet',
  218. component: () =>
  219. import ('../views/placeManage/placeTablet.vue'),
  220. meta: {
  221. isShowTarbar: false,
  222. }
  223. },
  224. {
  225. path: '/placeTabletInfo',
  226. name: 'placeTabletInfo',
  227. component: () =>
  228. import ('../views/placeManage/placeTabletInfo.vue'),
  229. meta: {
  230. isShowTarbar: false,
  231. }
  232. }
  233. ]
  234. const router = createRouter({
  235. history: createWebHashHistory(),
  236. routes,
  237. })
  238. export default router