index.js 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. import { createRouter, createWebHashHistory } from 'vue-router'
  2. const routes = [{
  3. path: '/',
  4. name: 'home',
  5. component: () =>
  6. import ('../views/tab_a/tabAll.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: '/changePassword',
  28. name: 'changePassword',
  29. component: () =>
  30. import ('../views/login/changePassword.vue'),
  31. meta: {
  32. isShowTarbar: false,
  33. }
  34. }, {
  35. path: '/tab_a',
  36. name: 'tab_a',
  37. component: () =>
  38. import ('../views/tab_a/tab_a.vue'),
  39. meta: {
  40. isShowTarbar: true,
  41. }
  42. }, {
  43. path: '/siteInspectionView',
  44. name: 'siteInspectionView',
  45. component: () =>
  46. import ('../views/activityMan/siteInspection/siteInspectionView.vue'),
  47. meta: {
  48. isShowTarbar: true,
  49. }
  50. }, {
  51. path: '/siteInspectionList',
  52. name: 'siteInspectionList',
  53. component: () =>
  54. import ('../views/activityMan/siteInspection/siteInspectionList.vue'),
  55. meta: {
  56. isShowTarbar: true,
  57. }
  58. }, {
  59. path: '/siteInspectionInfo',
  60. name: 'siteInspectionInfo',
  61. component: () =>
  62. import ('../views/activityMan/siteInspection/siteInspectionInfo.vue'),
  63. meta: {
  64. isShowTarbar: true,
  65. }
  66. }, {
  67. path: '/securityFacilitiesErrView',
  68. name: 'securityFacilitiesErrView',
  69. component: () =>
  70. import ('../views/activityMan/securityFacilitiesErr/securityFacilitiesErrView.vue'),
  71. meta: {
  72. isShowTarbar: true,
  73. }
  74. }, {
  75. path: '/securityFacilitiesErrList',
  76. name: 'securityFacilitiesErrList',
  77. component: () =>
  78. import ('../views/activityMan/securityFacilitiesErr/securityFacilitiesErrList.vue'),
  79. meta: {
  80. isShowTarbar: true,
  81. }
  82. }, {
  83. path: '/securityFacilitiesErrInfo',
  84. name: 'securityFacilitiesErrInfo',
  85. component: () =>
  86. import ('../views/activityMan/securityFacilitiesErr/securityFacilitiesErrInfo.vue'),
  87. meta: {
  88. isShowTarbar: true,
  89. }
  90. }, {
  91. path: '/religiousConferenceView',
  92. name: 'religiousConferenceView',
  93. component: () =>
  94. import ('../views/activityMan/religiousConference/religiousConferenceView.vue'),
  95. meta: {
  96. isShowTarbar: true,
  97. }
  98. }, {
  99. path: '/religiousConferenceList',
  100. name: 'religiousConferenceList',
  101. component: () =>
  102. import ('../views/activityMan/religiousConference/religiousConferenceList.vue'),
  103. meta: {
  104. isShowTarbar: true,
  105. }
  106. }, {
  107. path: '/religiousConferenceInfo',
  108. name: 'religiousConferenceInfo',
  109. component: () =>
  110. import ('../views/activityMan/religiousConference/religiousConferenceInfo.vue'),
  111. meta: {
  112. isShowTarbar: true,
  113. }
  114. }, {
  115. path: '/nonReligiousInformationView',
  116. name: 'nonReligiousInformationView',
  117. component: () =>
  118. import ('../views/activityMan/nonReligiousInformation/nonReligiousInformationView.vue'),
  119. meta: {
  120. isShowTarbar: true,
  121. }
  122. }, {
  123. path: '/nonReligiousInformationList',
  124. name: 'nonReligiousInformationList',
  125. component: () =>
  126. import ('../views/activityMan/nonReligiousInformation/nonReligiousInformationList.vue'),
  127. meta: {
  128. isShowTarbar: true,
  129. }
  130. }, {
  131. path: '/nonReligiousInformationInfo',
  132. name: 'nonReligiousInformationInfo',
  133. component: () =>
  134. import ('../views/activityMan/nonReligiousInformation/nonReligiousInformationInfo.vue'),
  135. meta: {
  136. isShowTarbar: true,
  137. }
  138. }, {
  139. path: '/toBeDone',
  140. name: 'toBeDone',
  141. component: () =>
  142. import ('../views/toBeDone/toBeDone.vue'),
  143. meta: {
  144. isShowTarbar: true,
  145. }
  146. }, {
  147. path: '/toBeDone_details',
  148. name: 'toBeDone_details',
  149. component: () =>
  150. import ('../views/toBeDone/toBeDone_details.vue'),
  151. meta: {
  152. isShowTarbar: true,
  153. }
  154. }, {
  155. path: '/placeActivityList',
  156. name: 'placeActivityList',
  157. component: () =>
  158. import ('../views/activityMan/placeactivity/placeActivityList.vue'),
  159. meta: {
  160. isShowTarbar: true,
  161. }
  162. }, {
  163. path: '/placeActivity',
  164. name: 'placeActivity',
  165. component: () =>
  166. import ('../views/activityMan/placeactivity/placeActivityView.vue'),
  167. meta: {
  168. isShowTarbar: true,
  169. }
  170. }, {
  171. path: '/placeActivityInfo',
  172. name: 'placeActivityInfo',
  173. component: () =>
  174. import ('../views/activityMan/placeactivity/placeActivityInfo.vue'),
  175. meta: {
  176. isShowTarbar: true,
  177. }
  178. }, {
  179. path: '/selfMeetingList',
  180. name: 'selfMeetingList',
  181. component: () =>
  182. import ('../views/activityMan/selfMeetingReport/selfMeetingList.vue'),
  183. meta: {
  184. isShowTarbar: true,
  185. }
  186. }, {
  187. path: '/selfMeeting',
  188. name: 'selfMeeting',
  189. component: () =>
  190. import ('../views/activityMan/selfMeetingReport/selfMeetingView.vue'),
  191. meta: {
  192. isShowTarbar: true,
  193. }
  194. }, {
  195. path: '/selfMeetingInfo',
  196. name: 'selfMeetingInfo',
  197. component: () =>
  198. import ('../views/activityMan/selfMeetingReport/selfMeetingInfo.vue'),
  199. meta: {
  200. isShowTarbar: true,
  201. }
  202. }, {
  203. path: '/differentbelievers',
  204. name: 'differentbelievers',
  205. component: () =>
  206. import ('../views/activityMan/differentbelievers/ReligiousPeopleReportView.vue'),
  207. meta: {
  208. isShowTarbar: true,
  209. }
  210. }, {
  211. path: '/differentbelieversList',
  212. name: 'differentbelieversList',
  213. component: () =>
  214. import ('../views/activityMan/differentbelievers/ReligiousPeopleReportList.vue'),
  215. meta: {
  216. isShowTarbar: true,
  217. }
  218. }, {
  219. path: '/differentbelieversInfo',
  220. name: 'differentbelieversInfo',
  221. component: () =>
  222. import ('../views/activityMan/differentbelievers/ReligiousPeopleReportInfo.vue'),
  223. meta: {
  224. isShowTarbar: true,
  225. }
  226. }, {
  227. path: '/setting',
  228. name: 'setting',
  229. component: () =>
  230. import ('../views/setting/setting.vue'),
  231. meta: {
  232. isShowTarbar: true,
  233. }
  234. }, {
  235. path: '/tabAll',
  236. name: 'tabAll',
  237. component: () =>
  238. import ('../views/tab_a/tabAll.vue'),
  239. meta: {
  240. isShowTarbar: false,
  241. }
  242. },
  243. {
  244. path: '/about',
  245. name: 'about',
  246. component: () =>
  247. import ('../views/AboutView.vue'),
  248. meta: {
  249. isShowTarbar: false,
  250. }
  251. },
  252. {
  253. path: '/placePerson',
  254. name: 'placePerson',
  255. component: () =>
  256. import ('../views/placeManage/placePerson/placePerson.vue'),
  257. meta: {
  258. isShowTarbar: false,
  259. }
  260. },
  261. {
  262. path: '/placePersonAdd',
  263. name: 'placePersonAdd',
  264. component: () =>
  265. import ('../views/placeManage/placePerson/placePersonAdd.vue'),
  266. meta: {
  267. isShowTarbar: false,
  268. }
  269. },
  270. {
  271. path: '/placePersoninfo',
  272. name: 'placePersoninfo',
  273. component: () =>
  274. import ('../views/placeManage/placePerson/placePersoninfo.vue'),
  275. meta: {
  276. isShowTarbar: false,
  277. }
  278. },
  279. {
  280. path: '/placeRegister',
  281. name: 'placeRegister',
  282. component: () =>
  283. import ('../views/placeManage/placeRegister/placeRegister.vue'),
  284. meta: {
  285. isShowTarbar: false,
  286. }
  287. },
  288. {
  289. path: '/placeRegisterList',
  290. name: 'placeRegisterList',
  291. component: () =>
  292. import ('../views/placeManage/placeRegister/placeRegisterList.vue'),
  293. meta: {
  294. isShowTarbar: false,
  295. }
  296. },
  297. {
  298. path: '/placeRegisterInfo',
  299. name: 'placeRegisterInfo',
  300. component: () =>
  301. import ('../views/placeManage/placeRegister/placeRegisterInfo.vue'),
  302. meta: {
  303. isShowTarbar: false,
  304. }
  305. },
  306. {
  307. path: '/placeTablet',
  308. name: 'placeTablet',
  309. component: () =>
  310. import ('../views/placeManage/placeTablet/placeTablet.vue'),
  311. meta: {
  312. isShowTarbar: false,
  313. }
  314. },
  315. {
  316. path: '/placeTabletAdd',
  317. name: 'placeTabletAdd',
  318. component: () =>
  319. import ('../views/placeManage/placeTablet/placeTabletAdd.vue'),
  320. meta: {
  321. isShowTarbar: false,
  322. }
  323. },
  324. {
  325. path: '/placeTabletInfo',
  326. name: 'placeTabletInfo',
  327. component: () =>
  328. import ('../views/placeManage/placeTablet/placeTabletInfo.vue'),
  329. meta: {
  330. isShowTarbar: false,
  331. }
  332. }
  333. ]
  334. const router = createRouter({
  335. history: createWebHashHistory(),
  336. routes,
  337. })
  338. export default router