index.js 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  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. path: '/baseInfomation/baseBinSection',
  328. name: 'baseBinSection',
  329. meta: {
  330. title: '业务属性配置',
  331. },
  332. component: () =>
  333. import(
  334. '../components/baseInfomation/baseBinSectionPage.vue'
  335. ),
  336. },
  337. {
  338. path: '/baseInfomation/baseBinStage',
  339. name: 'baseBinStage',
  340. meta: {
  341. title: '业务阶段配置',
  342. },
  343. component: () =>
  344. import(
  345. '../components/baseInfomation/baseBinStagePage.vue'
  346. ),
  347. },
  348. {
  349. path: '/baseInfomation/baseIndicatorType',
  350. name: 'baseIndicatorType',
  351. meta: {
  352. title: '指标分类配置',
  353. },
  354. component: () =>
  355. import(
  356. '../components/baseInfomation/baseIndicatorTypePage.vue'
  357. ),
  358. }
  359. ]
  360. },
  361. {
  362. path: '/evaluationknowledge',
  363. name: 'evaluationknowledge',
  364. meta: {
  365. title: '对标考评规则',
  366. },
  367. children: [
  368. {
  369. path: '/evaluationknowledge/scoringRules',
  370. name: 'scoringRules',
  371. meta: {
  372. title: '考评得分规则',
  373. },
  374. component: () =>
  375. import(
  376. '../components/evaluationknowledgePage/scoringRulesPage.vue'
  377. ),
  378. },
  379. {
  380. path: '/evaluationknowledge/evalRatingRules',
  381. name: 'evalRatingRules',
  382. meta: {
  383. title: '考评评级规则',
  384. },
  385. component: () =>
  386. import(
  387. '../components/evaluationknowledgePage/evalRatingRulesPage.vue'
  388. ),
  389. },
  390. {
  391. path: '/evaluationknowledge/earlyWarningRule',
  392. name: 'earlyWarningRule',
  393. meta: {
  394. title: '考评预警规则',
  395. },
  396. component: () =>
  397. import(
  398. '../components/evaluationknowledgePage/earlyWarningRulePage.vue'
  399. ),
  400. }
  401. ]
  402. },
  403. ]
  404. },
  405. //移动端页面
  406. {
  407. path: '/mobeil',
  408. name: 'homeMobeilPage',
  409. meta: {
  410. title: '年度单位评级',
  411. },
  412. component: () =>
  413. import(
  414. '../mobeilComponent/homeMobeilPage.vue'
  415. ),
  416. },
  417. {
  418. path: '/menu',
  419. name: 'menuMobeilPage',
  420. meta: {
  421. title: '导航页',
  422. },
  423. component: () =>
  424. import(
  425. '../mobeilComponent/menuMobeilPage.vue'
  426. ),
  427. },
  428. {
  429. path: '/yearConpanyDetail',
  430. name: 'yearConpanyPage',
  431. meta: {
  432. title: '年度单位评级详情',
  433. },
  434. component: () =>
  435. import(
  436. '../mobeilComponent/yearConpanyPage.vue'
  437. ),
  438. },
  439. {
  440. path: '/quarterConpany',
  441. name: 'quarterConpany',
  442. meta: {
  443. title: '季度单位评级',
  444. },
  445. component: () =>
  446. import(
  447. '../mobeilComponent/seasonConpanyPage.vue'
  448. ),
  449. },
  450. {
  451. path: '/report',
  452. name: 'reportConpany',
  453. meta: {
  454. title: '单位考评报告',
  455. },
  456. component: () =>
  457. import(
  458. '../mobeilComponent/reportConpanyPage.vue'
  459. ),
  460. },
  461. {
  462. path: '/reportDetail',
  463. name: 'reportConpanyDetail',
  464. meta: {
  465. title: '单位考评报告详情',
  466. },
  467. component: () =>
  468. import(
  469. '../mobeilComponent/reportConpanyDetail.vue'
  470. ),
  471. },
  472. {
  473. path: '/earlyWarning',
  474. name: 'earlyWarning',
  475. meta: {
  476. title: '单位考评预警',
  477. },
  478. component: () =>
  479. import(
  480. '../mobeilComponent/earlyWarningPage.vue'
  481. ),
  482. },
  483. {
  484. path: '/notificationMobeil',
  485. name: 'notificationMobeil',
  486. meta: {
  487. title: '对标考评公告',
  488. },
  489. component: () =>
  490. import(
  491. '../mobeilComponent/notificationPage.vue'
  492. ),
  493. },
  494. {
  495. path: '/notificationDetail',
  496. name: 'notificationDetail',
  497. meta: {
  498. title: '对标考评公告详情',
  499. },
  500. component: () =>
  501. import(
  502. '../mobeilComponent/notificationPageDetail.vue'
  503. ),
  504. }
  505. ]
  506. const router = createRouter({
  507. history: createWebHashHistory(''),
  508. // history: '',
  509. routes,
  510. })
  511. export default router