You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

852 lines
30 KiB

3 years ago
2 years ago
4 months ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
5 months ago
2 years ago
4 months ago
2 years ago
3 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
1 year ago
7 months ago
1 year ago
2 years ago
2 months ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
4 months ago
4 months ago
3 months ago
3 months ago
3 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
4 months ago
4 months ago
4 months ago
4 months ago
2 years ago
3 years ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
1 year ago
4 months ago
1 year ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
2 years ago
4 months ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
4 months ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. import Vue from "vue";
  2. import VueRouter from "vue-router";
  3. import vuex from "vuex"
  4. import store from "../store";
  5. // import HomeView from "../views/HomeView.vue";
  6. import login from "@/views/login/Login.vue";
  7. Vue.use(VueRouter);
  8. // const originalpush = VueRouter.prototype.push
  9. // VueRouter.prototype.push = function (location) {
  10. // return originalpush.call(this, location).catch(err => err)
  11. // }
  12. const routes = [{
  13. path: "/",
  14. component: login,
  15. },
  16. {
  17. path: "/login",
  18. name: "login",
  19. component: login,
  20. },
  21. {
  22. path: "/home",
  23. name: "home",
  24. component: () =>
  25. import ("../views/Home.vue"),
  26. children: [
  27. // 权限管理 ------------------------------- start -------------------------------
  28. {
  29. path: "/organization-units",
  30. name: "科室设置",
  31. component: () =>
  32. import ("../views/user-list/OrganizationUnits.vue"),
  33. },
  34. {
  35. path: "/role",
  36. name: "角色管理",
  37. component: () =>
  38. import ("../views/user-list/Role.vue"),
  39. },
  40. {
  41. path: "/user-list",
  42. name: "用户管理",
  43. component: () =>
  44. import ("../views/user-list/UserList.vue"),
  45. },
  46. {
  47. path: "/audit-log",
  48. name: "安全日志",
  49. component: () =>
  50. import ("../views/user-list/AuditLog.vue"),
  51. },
  52. {
  53. path: "/menuPage",
  54. name: "菜单与页面",
  55. component: () =>
  56. import ("../views/menuPage/menuPage.vue"),
  57. },
  58. {
  59. path: "/directorManaMenu",
  60. name: "主任管理菜单",
  61. component: () =>
  62. import ("../views/menuPage/directorManaMenu.vue"),
  63. },
  64. // 权限管理 ------------------------------- end -------------------------------
  65. {
  66. path: "/guide-type",
  67. name: "指引单类别",
  68. component: () =>
  69. import ("../views/basic-dictionary/GuideType.vue"),
  70. },
  71. {
  72. path: "/medical-report-type",
  73. name: "体检报告类别",
  74. component: () =>
  75. import ("../views/basic-dictionary/MedicalReportType.vue"),
  76. },
  77. {
  78. path: "/sex",
  79. name: "人员性别",
  80. component: () =>
  81. import ("../views/basic-dictionary/Sex.vue"),
  82. },
  83. {
  84. path: "/marital-status",
  85. name: "婚姻状况",
  86. component: () =>
  87. import ("../views/basic-dictionary/MaritalStatus.vue"),
  88. },
  89. {
  90. path: "/nation",
  91. name: "民族",
  92. component: () =>
  93. import ("../views/basic-dictionary/Nation.vue"),
  94. },
  95. {
  96. path: "/birth-place",
  97. name: "籍贯",
  98. component: () =>
  99. import ("../views/basic-dictionary/BirthPlace.vue"),
  100. },
  101. {
  102. path: "/result-status",
  103. name: "结果状态",
  104. component: () =>
  105. import ("../views/basic-dictionary/ResultStatus.vue"),
  106. },
  107. {
  108. path: "/medical-type",
  109. name: "体检类别",
  110. component: () =>
  111. import ("../views/basic-dictionary/MedicalType.vue"),
  112. },
  113. {
  114. path: "/personnel-type",
  115. name: "人员类别",
  116. component: () =>
  117. import ("../views/basic-dictionary/PersonnelType.vue"),
  118. },
  119. {
  120. path: "/device-type",
  121. name: "仪器类别",
  122. component: () =>
  123. import ("../views/basic-dictionary/DeviceType.vue"),
  124. },
  125. {
  126. path: "/sample-type",
  127. name: "标本类型",
  128. component: () =>
  129. import ("../views/basic-dictionary/SampleType.vue"),
  130. },
  131. {
  132. path: "/unit",
  133. name: "计量单位",
  134. component: () =>
  135. import ("../views/basic-dictionary/Unit.vue"),
  136. },
  137. {
  138. path: "/diagnosis-postfix",
  139. name: "诊断后缀",
  140. component: () =>
  141. import ("../views/basic-dictionary/DiagnosisPostfix.vue"),
  142. },
  143. {
  144. path: "/medical-conclusion-type",
  145. name: "体检结论类别",
  146. component: () =>
  147. import ("../views/basic-dictionary/MedicalConclusionType.vue"),
  148. },
  149. {
  150. path: "/applicable-gender",
  151. name: "适用性别",
  152. component: () =>
  153. import ("../views/basic-dictionary/ApplicableGender.vue"),
  154. },
  155. {
  156. path: "/unit-nature",
  157. name: "单位性质",
  158. component: () =>
  159. import ("../views/basic-dictionary/UnitNature.vue"),
  160. },
  161. {
  162. path: "/character-categories",
  163. name: "常用字符类别",
  164. component: () =>
  165. import ("../views/basic-dictionary/CharacterCategories.vue"),
  166. },
  167. {
  168. path: "/common-characters",
  169. name: "常用字符",
  170. component: () =>
  171. import ("../views/basic-dictionary/CommonCharacters.vue"),
  172. },
  173. {
  174. path: "/medical-conclusion",
  175. name: "体检结论",
  176. component: () =>
  177. import ("../views/basic-dictionary/MedicalConclusion.vue"),
  178. },
  179. {
  180. path: "/sample-container",
  181. name: "标本容器",
  182. component: () =>
  183. import ("../views/basic-dictionary/SampleContainer.vue"),
  184. },
  185. {
  186. path: "/customer-org-type",
  187. name: "客户单位类别",
  188. component: () =>
  189. import ("../views/basic-dictionary/CustomerOrgType.vue"),
  190. },
  191. {
  192. path: "/item-default-result",
  193. name: "项目默认结果",
  194. component: () =>
  195. import ("../views/basic-dictionary/ItemDefaultResult.vue"),
  196. },
  197. {
  198. path: "/sex-hormone-duration",
  199. name: "性激素期限",
  200. component: () =>
  201. import ("../views/basic-dictionary/SexHormoneDuration.vue"),
  202. },
  203. {
  204. path: "/diagnosis-level",
  205. name: "诊断级别",
  206. component: () =>
  207. import ("../views/basic-dictionary/DiagnosisLevel.vue"),
  208. },
  209. {
  210. path: "/diagnosisSet",
  211. name: '诊断建议设置',
  212. component: () =>
  213. import ("../views/diagnosis/diagnosis.vue"),
  214. },
  215. {
  216. path: "/field-comparison-interface",
  217. name: '字段对照接口',
  218. component: () =>
  219. import ("../views/basic-dictionary/FieldComparisonInterface.vue"),
  220. },
  221. {
  222. path: "/field-comparison",
  223. name: '字段对照',
  224. component: () =>
  225. import ("../views/basic-dictionary/FieldComparison.vue"),
  226. },
  227. {
  228. path: "/third-party-interfaces",
  229. name: '第三方接口',
  230. component: () =>
  231. import ("../views/basic-dictionary/ThirdPartyInterfaces.vue"),
  232. },
  233. {
  234. path: "/commonTable",
  235. name: '公共表',
  236. component: () =>
  237. import ("../components/commonTable/commonTableType.vue"),
  238. },
  239. {
  240. path: "/thirdMedicalCenter",
  241. name: '第三方体检中心',
  242. component: () =>
  243. import ("../components/third/thirdMedicalCenter.vue"),
  244. },
  245. {
  246. path: "/summary-items",
  247. name: '汇总项目类别',
  248. component: () =>
  249. import ("../views/basic-dictionary/SummaryItems.vue"),
  250. },
  251. {
  252. path: "/room",
  253. name: '分诊叫号房间设置',
  254. component: () =>
  255. import ("../components/room/room.vue"),
  256. },
  257. {
  258. path: "/critical-value-category",
  259. name: '危急值类别',
  260. component: () =>
  261. import ("../views/fee-settings/CriticalValueCategory.vue"),
  262. },
  263. {
  264. path: "/critical-value",
  265. name: '危急值',
  266. component: () =>
  267. import ("../views/fee-settings/CriticalValue.vue"),
  268. },
  269. {
  270. path: "/device",
  271. name: '仪器设备',
  272. component: () =>
  273. import ("../views/fee-settings/Device.vue"),
  274. },
  275. //---------------------- 收费设置 start ----------------------
  276. {
  277. path: "/invoice-item-type",
  278. name: "发票项目类别",
  279. component: () =>
  280. import ("../views/fee-settings/InvoiceItemType.vue"),
  281. },
  282. {
  283. path: "/pay-mode",
  284. name: "支付方式",
  285. component: () =>
  286. import ("../views/fee-settings/PayMode.vue"),
  287. },
  288. {
  289. path: "/cardType",
  290. name: "会员卡类别",
  291. component: () =>
  292. import ("../views/fee-settings/cardType.vue"),
  293. },
  294. {
  295. path: "/cardRegister",
  296. name: "会员卡管理",
  297. component: () =>
  298. import ("../views/fee-settings/cardRegister.vue"),
  299. },
  300. {
  301. path: "/cardBill",
  302. name: "会员卡记账记录",
  303. component: () =>
  304. import ("../views/fee-settings/cardBill.vue"),
  305. },
  306. {
  307. path: "/cardBillSum",
  308. name: "会员卡记账统计",
  309. component: () =>
  310. import ("../views/fee-settings/cardBillSum.vue"),
  311. },
  312. //---------------------- 收费设置 start ----------------------
  313. {
  314. path: "/item-type",
  315. name: "项目类别",
  316. component: () =>
  317. import ("../views/common-settings/ItemType.vue"),
  318. },
  319. {
  320. path: "/sample-group",
  321. name: '条码分组',
  322. component: () =>
  323. import ("../views/common-settings/SampleGroup.vue"),
  324. },
  325. {
  326. path: "/asbitem",
  327. name: "组合项目",
  328. component: () =>
  329. import ("../views/fee-settings/Asbitem.vue"),
  330. },
  331. {
  332. path: "/item",
  333. name: '项目设置',
  334. component: () =>
  335. import ("../views/fee-settings/Item.vue"),
  336. },
  337. {
  338. path: "/reference-range",
  339. component: () =>
  340. import ("../views/fee-settings/ReferenceRange.vue"),
  341. },
  342. {
  343. path: "/diagnosis",
  344. component: () =>
  345. import ("../views/fee-settings/Diagnosis.vue"),
  346. hidden: true,
  347. // meta: {
  348. // title: '诊断',
  349. // menu
  350. // }
  351. meat: {
  352. title: "诊断",
  353. noCache: true,
  354. menus: ["diagosis:advertDemandRelease"],
  355. },
  356. },
  357. {
  358. path: "/item-template",
  359. name: "项目模板",
  360. component: () =>
  361. import ("../views/fee-settings/ItemTemplate.vue"),
  362. },
  363. {
  364. path: "/medicalPackage", // medical-package
  365. name: "套餐设置",
  366. component: () =>
  367. import ("../views/common-settings/medicalPackage.vue"), //../views/fee-settings/MedicalPackage.vue
  368. },
  369. {
  370. path: "/sex-hormone-reference-range",
  371. component: () =>
  372. import ("../views/fee-settings/SexHormoneReferenceRange.vue"),
  373. },
  374. {
  375. path: "/diagnosis-template",
  376. name: "诊断模板",
  377. component: () =>
  378. import ("../views/fee-settings/DiagnosisTemplate.vue"),
  379. },
  380. {
  381. path: "/sys-parm-type",
  382. name: "系统参数",
  383. component: () =>
  384. import ("../views/fee-settings/SysParmSet.vue"), //../views/fee-settings/SysParmType.vue
  385. },
  386. {
  387. path: "/disease-screening",
  388. name: "疾病筛查类别",
  389. component: () =>
  390. import ("../views/basic-dictionary/DiseaseScreening.vue"), //../views/fee-settings/SysParmType.vue
  391. },
  392. {
  393. path: "/toxic-categories",
  394. name: "毒害类别",
  395. component: () =>
  396. import ("../views/basic-dictionary/ToxicCategories.vue"), //../views/fee-settings/SysParmType.vue
  397. },
  398. {
  399. path: "/toxic-factors",
  400. name: "毒害因素",
  401. component: () =>
  402. import ("../views/basic-dictionary/ToxicFactors.vue"), //../views/fee-settings/SysParmType.vue
  403. },
  404. {
  405. path: "/symptom-settings",
  406. name: "症状设置",
  407. component: () =>
  408. import ("../views/basic-dictionary/SymptomSettings.vue"), //../views/fee-settings/SysParmType.vue
  409. },
  410. {
  411. path: "/protective-measures",
  412. name: "防护措施",
  413. component: () =>
  414. import ("../views/basic-dictionary/ProtectiveMeasures.vue"), //../views/fee-settings/SysParmType.vue
  415. },
  416. {
  417. path: "/oc-check-type",
  418. name: "职业病检查类别",
  419. component: () =>
  420. import ("../views/basic-dictionary/OcCheckType.vue"), //../views/fee-settings/SysParmType.vue
  421. },
  422. {
  423. path: "/occCheckConclusion",
  424. name: "职业病检查结论",
  425. component: () =>
  426. import ("../views/basic-dictionary/occCheckConclusion.vue"), //../views/fee-settings/SysParmType.vue
  427. },
  428. //---------------------- 体检登记 start ----------------------
  429. {
  430. path: "/customerOrg",
  431. name: "体检单位设置",
  432. component: () =>
  433. import ("../views/customerOrg/customerOrg.vue"),
  434. },
  435. {
  436. path: "/customerOrgGroup",
  437. name: "体检单位分组",
  438. component: () =>
  439. import ("../views/customerOrg/customerOrgGroup.vue"),
  440. },
  441. {
  442. path: "/patientRegister",
  443. name: "体检人员登记",
  444. component: () =>
  445. import ("../views/customerOrg/patientRegister.vue"),
  446. },
  447. {
  448. path: "/patientRegisterSign",
  449. name: "体检人员签到",
  450. component: () =>
  451. import ("../views/customerOrg/patientRegisterSign.vue"),
  452. },
  453. {
  454. path: "/patientRegisterBatch",
  455. name: "人员批量预登记",
  456. component: () =>
  457. import ("../views/customerOrg/patientRegisterImport.vue"), //../views/doctorCheck/personnelBatch.vue
  458. },
  459. {
  460. path: "/busReservationImport",
  461. name: "公交预约导入",
  462. component: () =>
  463. import ("../views/customerOrg/BusReservationImport.vue"), //../views/doctorCheck/personnelBatch.vue
  464. },
  465. {
  466. path: "/patientRegisterRecover",
  467. name: "体检表回收",
  468. component: () =>
  469. import ("../views/customerOrg/patientRegisterRecover.vue"),
  470. },
  471. {
  472. path: "/patientRegisterRefuse",
  473. name: "弃检登记",
  474. component: () =>
  475. import ("../views/customerOrg/patientRegisterRefuse.vue"),
  476. },
  477. {
  478. path: "/patientRegisterMedical",
  479. name: "体检中心调整",
  480. component: () =>
  481. import ("../views/customerOrg/patientRegisterMedical.vue"),
  482. },
  483. {
  484. path: "/charge",
  485. name: "体检收费",
  486. component: () =>
  487. import ("../views/charge/charge.vue"),
  488. },
  489. {
  490. path: "/patientLis",
  491. name: "条码打印",
  492. component: () =>
  493. import ("../views/customerOrg/patientLis.vue"),
  494. },
  495. //---------------------- 体检登记 end ----------------------
  496. //---------------------- 体 检 start ----------------------
  497. {
  498. path: "/doctorCheck",
  499. name: "体检医生诊台",
  500. component: () =>
  501. import ("../views/doctorCheck/doctorCheck.vue")
  502. },
  503. {
  504. path: "/sumDoctorCheck",
  505. name: "总检医生诊台",
  506. component: () =>
  507. import ("../views/doctorCheck/sumDoctorCheck.vue"),
  508. },
  509. {
  510. path: "/pacsBrower",
  511. name: "pacs看图",
  512. component: () =>
  513. import ("../components/doctorCheck/PacsDcmList.vue"),
  514. },
  515. {
  516. path: "/checkPicImport",
  517. name: "批量导入图片",
  518. component: () =>
  519. import ("../views/doctorCheck/checkPicImport.vue"),
  520. },
  521. {
  522. path: "/lisResultImport",
  523. name: "从文件导入检验结果",
  524. component: () =>
  525. import ("../views/doctorCheck/lisResultImport.vue"),
  526. },
  527. {
  528. path: "/follow",
  529. name: "随访管理",
  530. component: () =>
  531. import ("../components/follow/follow.vue"),
  532. },
  533. {
  534. path: "/tabletCalling",
  535. name: "平板叫号",
  536. component: () =>
  537. import ("../views/doctorCheck/tabletCalling.vue"),
  538. },
  539. {
  540. path: "/LisTakeSample",
  541. name: "样本采集",
  542. component: () =>
  543. import ("../views/lis/LisTakeSample.vue"),
  544. },
  545. {
  546. path: "/pacsRequest",
  547. name: "pacs申请",
  548. component: () =>
  549. import ("../views/lis/pacsRequest.vue"),
  550. },
  551. //---------------------- 体 检 end ----------------------
  552. //---------------------- 体检查询 start ----------------------
  553. {
  554. path: "/report",
  555. name: "体检报告",
  556. component: () =>
  557. import ("../views/report/report.vue"),
  558. },
  559. {
  560. path: "/TurnoverReport",
  561. name: "营业额统计(单位)",
  562. component: () =>
  563. import ("../components/report/TurnoverReport.vue"),
  564. },
  565. {
  566. path: "/TurnoverReportM",
  567. name: "营业额统计(体检类别)",
  568. component: () =>
  569. import ("../components/report/TurnoverReportM.vue"),
  570. },
  571. {
  572. path: "/TurnoverReportP",
  573. name: "营业额统计(人员类别)",
  574. component: () =>
  575. import ("../components/report/TurnoverReportP.vue"),
  576. },
  577. {
  578. path: "/TurnoverReportS",
  579. name: "营业额统计(业务员)",
  580. component: () =>
  581. import ("../components/report/TurnoverReportS.vue"),
  582. },
  583. {
  584. path: "/TurnoverReportDetails",
  585. name: "营业额统计(明细)",
  586. component: () =>
  587. import ("../components/report/TurnoverReportDetails.vue"),
  588. },
  589. {
  590. path: "/TurnoverReportReal",
  591. name: "营业额统计(实收)",
  592. component: () =>
  593. import ("../components/report/TurnoverReportReal.vue"),
  594. },
  595. {
  596. path: "/AppointQuery",
  597. name: "网上预约汇总",
  598. component: () =>
  599. import ("../components/report/AppointQuery.vue"),
  600. },
  601. {
  602. path: "/NationHealthReport",
  603. name: "上报国家平台数据",
  604. component: () =>
  605. import ("../components/report/NationHealthReport.vue"),
  606. },
  607. {
  608. path: "/checkStatus",
  609. name: "组合项目检查状态",
  610. component: () =>
  611. import ("../views/report/checkStatus.vue"),
  612. },
  613. {
  614. path: "/chargeAsbitem",
  615. name: "人员费用组合项目",
  616. component: () =>
  617. import ("../views/report/chargeAsbitem.vue"),
  618. },
  619. {
  620. path: "/recoverQuery",
  621. name: "回收表格查询",
  622. component: () =>
  623. import ("../components/patientRegister/patientRegisterRecoverListQuery.vue"),
  624. },
  625. {
  626. path: "/deptProgress",
  627. name: "科室进度查询",
  628. component: () =>
  629. import ("../components/report/deptProgress.vue"),
  630. },
  631. {
  632. path: "/unCheckAsbitem",
  633. name: "人员未检组合项目",
  634. component: () =>
  635. import ("../views/report/unCheckAsbitem.vue"),
  636. },
  637. //---------------------- 体检查询 end ----------------------
  638. //---------------------- 体 检 end ----------------------
  639. //---------------------- 疾病人数登记 ----------------------
  640. {
  641. path: "/diseaseStatistics",
  642. name: "疾病人数统计",
  643. component: () =>
  644. import ("../views/customerReport/diseaseStatistics.vue"),
  645. },
  646. {
  647. path: "/positiveResultsList",
  648. name: "阳性结果人员",
  649. component: () =>
  650. import ("../views/customerReport/positiveResultsList.vue"),
  651. },
  652. {
  653. path: "/unitphysicalexamination",
  654. name: "单位体检报表",
  655. component: () =>
  656. import ("../views/doctorCheck/unitphysicalexamination.vue"),
  657. },
  658. {
  659. path: "/occReport",
  660. name: "单位职业病汇总报表",
  661. component: () =>
  662. import ("../components/occDisease/occReport.vue"),
  663. },
  664. {
  665. path: "/personnelPositive",
  666. name: "人员阳性结果",
  667. component: () =>
  668. import ("../views/customerReport/personnelPositive.vue")
  669. },
  670. {
  671. path: "/combinationDetails",
  672. name: "组合项目具体结果统计",
  673. component: () =>
  674. import ("../views/customerReport/combinationDetails.vue")
  675. },
  676. {
  677. path: "/detailedIitems",
  678. name: "明细项目具体结果统计",
  679. component: () =>
  680. import ("../views/customerReport/detailedIitems.vue")
  681. },
  682. {
  683. path: "/unitSettlement",
  684. name: "单位体检收费结算",
  685. component: () =>
  686. import ("../views/customerReport/unitSettlement.vue")
  687. },
  688. {
  689. path: "/unitStatistics",
  690. name: "单位费用汇总",
  691. component: () =>
  692. import ("../views/customerReport/unitStatistics.vue")
  693. },
  694. {
  695. path: "/unitPersonInspected",
  696. name: "单位个人已检统计",
  697. component: () =>
  698. import ("../views/customerReport/unitPersonInspected.vue")
  699. },
  700. //---------------------- 工作量登记 ----------------------
  701. {
  702. path: "/registrar",
  703. name: "登记员工作量统计",
  704. component: () =>
  705. import ("../views/workload/registrar.vue"),
  706. },
  707. {
  708. path: "/doctorstaionworkload",
  709. name: "医生工作量统计",
  710. component: () =>
  711. import ("../views/workload/doctorstaionworkload.vue"),
  712. },
  713. {
  714. path: "/directordoctor",
  715. name: "总检医生工作量统计",
  716. component: () =>
  717. import ("../views/workload/directordoctor.vue"),
  718. },
  719. {
  720. path: "/examinedoctor",
  721. name: "审核医生工作量统计",
  722. component: () =>
  723. import ("../views/workload/examinedoctor.vue"),
  724. },
  725. {
  726. path: "/peisworkload",
  727. name: "体检工作量统计",
  728. component: () =>
  729. import ("../views/workload/peisworkload.vue"),
  730. },
  731. {
  732. path: "/deskwork",
  733. name: "科室工作量统计",
  734. component: () =>
  735. import ("../views/workload/deskwork.vue"),
  736. },
  737. {
  738. path: "/collectionbloodnurse",
  739. name: "采血护士工作量统计",
  740. component: () =>
  741. import ("../views/workload/collectionbloodnurse.vue"),
  742. },
  743. {
  744. path: "/tollcollector",
  745. name: "收费员报表",
  746. component: () =>
  747. import ("../views/workload/tollcollector.vue"),
  748. },
  749. {
  750. path: "/individualfeedetails",
  751. name: "个人收费明细",
  752. component: () =>
  753. import ("../views/workload/individualfeedetails.vue"),
  754. },
  755. {
  756. path: "/peispersontime",
  757. name: "体检人次汇总",
  758. component: () =>
  759. import ("../views/workload/peispersontime.vue"),
  760. },
  761. {
  762. path: "/departmentalfees",
  763. name: "科室收费汇总",
  764. component: () =>
  765. import ("../views/workload/departmentalfees.vue"),
  766. },
  767. {
  768. path: "/feeforservice",
  769. name: "项目收费汇总",
  770. component: () =>
  771. import ("../views/workload/feeforservice.vue"),
  772. },
  773. {
  774. path: "/summaryoftollcollectors",
  775. name: "收费员收费汇总",
  776. component: () =>
  777. import ("../views/workload/summaryoftollcollectors.vue"),
  778. },
  779. {
  780. path: "/financialsettlement",
  781. name: "财务结算",
  782. component: () =>
  783. import ("../views/workload/financialsettlement.vue"),
  784. },
  785. {
  786. path: "/membershipcard",
  787. name: "会员卡收费统计",
  788. component: () =>
  789. import ("../views/workload/membershipcard.vue"),
  790. },
  791. {
  792. path: "/LocalConfig",
  793. name: "本地设置",
  794. component: () =>
  795. import ("../components/common/LocalConfig.vue"),
  796. },
  797. // pacs词条
  798. {
  799. path: "/BigtextResultType",
  800. name: "词条类别",
  801. component: () =>
  802. import ("../views/common-settings/BigtextResultType.vue"),
  803. },
  804. {
  805. path: "/ResultTemplate",
  806. name: "词条模版",
  807. component: () =>
  808. import ("../views/fee-settings/BigtextResultTemplate.vue"),
  809. },
  810. {
  811. path: "/ResultSetting",
  812. name: "词条设置",
  813. component: () =>
  814. import ("../views/fee-settings/ResultSetting.vue"),
  815. },
  816. ],
  817. },
  818. ];
  819. const router = new VueRouter({
  820. //mode: "history",
  821. //base: process.env.BASE_URL,
  822. routes,
  823. });
  824. router.beforeEach((to, from, next) => {
  825. store.commit('getMenu')
  826. let token = window.sessionStorage.getItem("token");
  827. let tokentype = window.sessionStorage.getItem("tokentype");
  828. if (to.path == "/login") {
  829. if (token != null) {
  830. next({
  831. path: "/",
  832. });
  833. } else {
  834. next();
  835. }
  836. } else {
  837. if (token == null) {
  838. next({
  839. path: "/login",
  840. });
  841. } else {
  842. next();
  843. }
  844. }
  845. });
  846. export default router;