index.js 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  1. import { createRouter, createWebHashHistory } from 'vue-router'
  2. const routes = [
  3. {
  4. path: '/login',
  5. name: 'LoginPage',
  6. meta: {
  7. title: '登录页',
  8. },
  9. component: () =>
  10. import(
  11. '../views/Login.vue'
  12. ),
  13. },
  14. {
  15. path: '/',
  16. name: 'homePage',
  17. meta: {
  18. title: '首页',
  19. },
  20. component: () =>
  21. import(
  22. '../views/homePage.vue'
  23. ),
  24. children: [
  25. {
  26. path: '/home',
  27. name: 'homePage',
  28. meta: {
  29. title: '首页',
  30. },
  31. component: () =>
  32. import(
  33. // '../components/gatewayPage.vue'
  34. '../components/gatewaynNewPage.vue'
  35. ),
  36. },
  37. {
  38. path: '/taskCenter',
  39. name: 'taskCenter',
  40. meta: {
  41. title: '任务中心',
  42. },
  43. component: () =>
  44. import(
  45. '../components/taskCenter/taskCenterPage.vue'
  46. ),
  47. },
  48. {
  49. path: '/notification',
  50. name: 'notification',
  51. meta: {
  52. title: '通告管理',
  53. },
  54. component: () =>
  55. import(
  56. '../components/notification/notificationMangePage.vue'
  57. ),
  58. },
  59. {
  60. path: '/assessment',
  61. name: 'assessment',
  62. meta: {
  63. title: '考评业务',
  64. },
  65. children: [
  66. {
  67. path: '/assessment/evaluationStart',
  68. name: 'evaluationStart',
  69. meta: {
  70. title: '单位考评目标启动',
  71. },
  72. component: () =>
  73. import(
  74. '../components/assessment/evaluationStartPage.vue'
  75. ),
  76. },
  77. {
  78. path: '/assessment/evaluationAmendment',
  79. name: 'evaluationAmendment',
  80. meta: {
  81. title: '单位考评目标修订',
  82. },
  83. component: () =>
  84. import(
  85. '../components/assessment/evaluationAmendmentPage.vue'
  86. ),
  87. },
  88. {
  89. path: '/assessment/evaluationDeptStart',
  90. name: 'evaluationDeptStart',
  91. meta: {
  92. title: '部门考评目标启动',
  93. },
  94. component: () =>
  95. import(
  96. '../components/assessment/evaluationDeptStartPage.vue'
  97. ),
  98. },
  99. {
  100. path: '/assessment/evaluationMonth',
  101. name: 'evaluationMonth',
  102. meta: {
  103. title: '月度单位考评',
  104. },
  105. component: () =>
  106. import(
  107. '../components/assessment/evaluationMonthPage.vue'
  108. ),
  109. },
  110. {
  111. path: '/assessment/evaluationQuarter',
  112. name: 'evaluationQuarter',
  113. meta: {
  114. title: '季度单位考评',
  115. },
  116. component: () =>
  117. import(
  118. '../components/assessment/evaluationQuarterPage.vue'
  119. ),
  120. },
  121. {
  122. path: '/assessment/evaluationYear',
  123. name: 'evaluationYear',
  124. meta: {
  125. title: '年度目标考评',
  126. },
  127. component: () =>
  128. import(
  129. '../components/assessment/evaluationYearPage.vue'
  130. ),
  131. },
  132. {
  133. path: '/assessment/evaluationDeptBusiness',
  134. name: 'evaluationDeptBusiness',
  135. meta: {
  136. title: '部门经营业绩考评',
  137. },
  138. component: () =>
  139. import(
  140. '../components/assessment/evaluationDeptBusinessPage.vue'
  141. ),
  142. },
  143. {
  144. path: '/assessment/evaluationDeptRating',
  145. name: 'evaluationDeptRating',
  146. meta: {
  147. title: '部门绩效考核评级',
  148. },
  149. component: () =>
  150. import(
  151. '../components/assessment/evaluationDeptRatingPage.vue'
  152. ),
  153. },
  154. {
  155. path: '/assessment/assessmentApplication',
  156. name: 'assessmentApplication',
  157. meta: {
  158. title: '绩效结果考核申报',
  159. },
  160. component: () =>
  161. import(
  162. '../components/assessment/assessmentApplicationPage.vue'
  163. ),
  164. },
  165. {
  166. path: '/assessment/evaluationBenchmarkingIndic',
  167. name: 'evaluationBenchmarkingIndic',
  168. meta: {
  169. title: '考评指标对标',
  170. },
  171. component: () =>
  172. import(
  173. '../components/assessment/evaluationBenchmarkingIndicPage.vue'
  174. ),
  175. },
  176. {
  177. path: '/assessment/evaluationWarning',
  178. name: 'evaluationWarning',
  179. meta: {
  180. title: '考评预警',
  181. },
  182. component: () =>
  183. import(
  184. '../components/assessment/evaluationWarningPage.vue'
  185. ),
  186. },
  187. {
  188. path: '/assessment/evaluationUnitRating',
  189. name: 'evaluationUnitRating',
  190. meta: {
  191. title: '单位考评评级',
  192. },
  193. component: () =>
  194. import(
  195. '../components/assessment/evaluationUnitRatingPage.vue'
  196. ),
  197. },
  198. {
  199. path: '/assessment/evaluationReport',
  200. name: 'evaluationReport',
  201. meta: {
  202. title: '考评报告',
  203. },
  204. component: () =>
  205. import(
  206. '../components/assessment/evaluationReportPage.vue'
  207. ),
  208. },
  209. ]
  210. },
  211. {
  212. path: '/evaluationSystem',
  213. name: 'benchmark',
  214. meta: {
  215. title: '考评体系配置',
  216. },
  217. children: [
  218. {
  219. path: '/evaluationSystem/evaluationIndex',
  220. name: 'evaluationIndex',
  221. meta: {
  222. title: '考评指标管理',
  223. },
  224. component: () =>
  225. import(
  226. '../components/evaluationSystem/evaluationIndexPage.vue'
  227. ),
  228. },
  229. {
  230. path: '/evaluationSystem/evaluationRules',
  231. name: 'evaluationRules',
  232. meta: {
  233. title: '考评规则配置',
  234. },
  235. component: () =>
  236. import(
  237. '../components/evaluationSystem/evaluationRulesPage.vue'
  238. ),
  239. },
  240. {
  241. path: '/evaluationSystem/company',
  242. name: 'company',
  243. meta: {
  244. title: '考评单位配置',
  245. },
  246. component: () =>
  247. import(
  248. '../components/evaluationSystem/evaluationCompanyPage.vue'
  249. ),
  250. },
  251. {
  252. path: '/evaluationSystem/department',
  253. name: 'department',
  254. meta: {
  255. title: '考评部门配置',
  256. },
  257. component: () =>
  258. import(
  259. '../components/evaluationSystem/evaluationDepartmentPage.vue'
  260. ),
  261. },
  262. {
  263. path: '/evaluationSystem/personnel',
  264. name: 'personnel',
  265. meta: {
  266. title: '考评人员配置',
  267. },
  268. component: () =>
  269. import(
  270. '../components/evaluationSystem/evaluationPersonnelPage.vue'
  271. ),
  272. },
  273. {
  274. path: '/evaluationSystem/achievementK',
  275. name: 'achievementK',
  276. meta: {
  277. title: '业绩考核系数配置',
  278. },
  279. component: () =>
  280. import(
  281. '../components/evaluationSystem/achievementKPage.vue'
  282. ),
  283. },
  284. {
  285. path: '/evaluationSystem/partyBuildingK',
  286. name: 'partyBuildingK',
  287. meta: {
  288. title: '党建考核系数配置',
  289. },
  290. component: () =>
  291. import(
  292. '../components/evaluationSystem/partyBuildingKPage.vue'
  293. ),
  294. }
  295. ]
  296. },
  297. {
  298. path: '/baseInfomation',
  299. name: 'baseInfomation',
  300. meta: {
  301. title: '基础信息配置',
  302. },
  303. children: [
  304. {
  305. path: '/baseInfomation/moreBrand',
  306. name: 'moreBrand',
  307. meta: {
  308. title: '多牌配置',
  309. },
  310. component: () =>
  311. import(
  312. '../components/baseInfomation/moreBrandPage.vue'
  313. ),
  314. }
  315. ]
  316. },
  317. {
  318. path: '/evaluationknowledge',
  319. name: 'evaluationknowledge',
  320. meta: {
  321. title: '对标考评知识库',
  322. },
  323. children: [
  324. {
  325. path: '/evaluationknowledge/scoringRules',
  326. name: 'scoringRules',
  327. meta: {
  328. title: '考评得分规则',
  329. },
  330. component: () =>
  331. import(
  332. '../components/evaluationknowledgePage/scoringRulesPage.vue'
  333. ),
  334. },
  335. {
  336. path: '/evaluationknowledge/evalRatingRules',
  337. name: 'evalRatingRules',
  338. meta: {
  339. title: '考评评级规则',
  340. },
  341. component: () =>
  342. import(
  343. '../components/evaluationknowledgePage/evalRatingRulesPage.vue'
  344. ),
  345. },
  346. {
  347. path: '/evaluationknowledge/earlyWarningRule',
  348. name: 'earlyWarningRule',
  349. meta: {
  350. title: '考评预警规则',
  351. },
  352. component: () =>
  353. import(
  354. '../components/evaluationknowledgePage/earlyWarningRulePage.vue'
  355. ),
  356. }
  357. ]
  358. },
  359. ]
  360. },
  361. //移动端页面
  362. {
  363. path: '/mobeil',
  364. name: 'homeMobeilPage',
  365. meta: {
  366. title: '首页',
  367. },
  368. component: () =>
  369. import(
  370. '../mobeilComponent/homeMobeilPage.vue'
  371. ),
  372. }
  373. ]
  374. const router = createRouter({
  375. history: createWebHashHistory(''),
  376. // history: '',
  377. routes,
  378. })
  379. export default router