index.js 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469
  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. path: '/evaluationSystem/multiSequence',
  297. name: 'multiSequence',
  298. meta: {
  299. title: '多序列计算指标',
  300. },
  301. component: () =>
  302. import(
  303. '../components/evaluationSystem/evaluationMultiSequencePage.vue'
  304. ),
  305. }
  306. ]
  307. },
  308. {
  309. path: '/baseInfomation',
  310. name: 'baseInfomation',
  311. meta: {
  312. title: '基础信息配置',
  313. },
  314. children: [
  315. {
  316. path: '/baseInfomation/moreBrand',
  317. name: 'moreBrand',
  318. meta: {
  319. title: '多牌配置',
  320. },
  321. component: () =>
  322. import(
  323. '../components/baseInfomation/moreBrandPage.vue'
  324. ),
  325. }
  326. ]
  327. },
  328. {
  329. path: '/evaluationknowledge',
  330. name: 'evaluationknowledge',
  331. meta: {
  332. title: '对标考评规则',
  333. },
  334. children: [
  335. {
  336. path: '/evaluationknowledge/scoringRules',
  337. name: 'scoringRules',
  338. meta: {
  339. title: '考评得分规则',
  340. },
  341. component: () =>
  342. import(
  343. '../components/evaluationknowledgePage/scoringRulesPage.vue'
  344. ),
  345. },
  346. {
  347. path: '/evaluationknowledge/evalRatingRules',
  348. name: 'evalRatingRules',
  349. meta: {
  350. title: '考评评级规则',
  351. },
  352. component: () =>
  353. import(
  354. '../components/evaluationknowledgePage/evalRatingRulesPage.vue'
  355. ),
  356. },
  357. {
  358. path: '/evaluationknowledge/earlyWarningRule',
  359. name: 'earlyWarningRule',
  360. meta: {
  361. title: '考评预警规则',
  362. },
  363. component: () =>
  364. import(
  365. '../components/evaluationknowledgePage/earlyWarningRulePage.vue'
  366. ),
  367. }
  368. ]
  369. },
  370. ]
  371. },
  372. //移动端页面
  373. {
  374. path: '/mobeil',
  375. name: 'homeMobeilPage',
  376. meta: {
  377. title: '年度单位评级',
  378. },
  379. component: () =>
  380. import(
  381. '../mobeilComponent/homeMobeilPage.vue'
  382. ),
  383. },
  384. {
  385. path: '/menu',
  386. name: 'menuMobeilPage',
  387. meta: {
  388. title: '导航页',
  389. },
  390. component: () =>
  391. import(
  392. '../mobeilComponent/menuMobeilPage.vue'
  393. ),
  394. },
  395. {
  396. path: '/yearConpanyDetail',
  397. name: 'yearConpanyPage',
  398. meta: {
  399. title: '年度单位评级详情',
  400. },
  401. component: () =>
  402. import(
  403. '../mobeilComponent/yearConpanyPage.vue'
  404. ),
  405. },
  406. {
  407. path: '/quarterConpany',
  408. name: 'quarterConpany',
  409. meta: {
  410. title: '季度单位评级',
  411. },
  412. component: () =>
  413. import(
  414. '../mobeilComponent/seasonConpanyPage.vue'
  415. ),
  416. },
  417. {
  418. path: '/report',
  419. name: 'reportConpany',
  420. meta: {
  421. title: '单位考评报告',
  422. },
  423. component: () =>
  424. import(
  425. '../mobeilComponent/reportConpanyPage.vue'
  426. ),
  427. },
  428. {
  429. path: '/earlyWarning',
  430. name: 'earlyWarning',
  431. meta: {
  432. title: '单位考评预警',
  433. },
  434. component: () =>
  435. import(
  436. '../mobeilComponent/earlyWarningPage.vue'
  437. ),
  438. },
  439. {
  440. path: '/notificationMobeil',
  441. name: 'notificationMobeil',
  442. meta: {
  443. title: '对标考评公告',
  444. },
  445. component: () =>
  446. import(
  447. '../mobeilComponent/notificationPage.vue'
  448. ),
  449. },
  450. {
  451. path: '/notificationDetail',
  452. name: 'notificationDetail',
  453. meta: {
  454. title: '对标考评公告详情',
  455. },
  456. component: () =>
  457. import(
  458. '../mobeilComponent/notificationPageDetail.vue'
  459. ),
  460. }
  461. ]
  462. const router = createRouter({
  463. history: createWebHashHistory(''),
  464. // history: '',
  465. routes,
  466. })
  467. export default router