Browse Source

00000

master
罗斌杰 2 years ago
parent
commit
ef9ab4a1a1
  1. 207
      src/router/index.js

207
src/router/index.js

@ -8,8 +8,7 @@ Vue.use(VueRouter);
// VueRouter.prototype.push = function (location) { // VueRouter.prototype.push = function (location) {
// return originalpush.call(this, location).catch(err => err) // return originalpush.call(this, location).catch(err => err)
// } // }
const routes = [
{
const routes = [{
path: "/", path: "/",
component: login, component: login,
}, },
@ -17,170 +16,199 @@ const routes = [
path: "/login", path: "/login",
name: "login", name: "login",
component: () => import("../views/login/Login.vue"),
component: () =>
import ("../views/login/Login.vue"),
}, },
{ {
path: "/home", path: "/home",
name: "home", name: "home",
component: () => component: () =>
import(/* webpackChunkName: "about" */ "../views/Home.vue"),
children: [
{
import ( /* webpackChunkName: "about" */ "../views/Home.vue"),
children: [{
path: "/role", path: "/role",
component: () => import("../views/user-list/Role.vue"),
component: () =>
import ("../views/user-list/Role.vue"),
}, },
{ {
path: "/user-list", path: "/user-list",
component: () => import("../views/user-list/UserList.vue"),
component: () =>
import ("../views/user-list/UserList.vue"),
}, },
{ {
path: "/organization-units", path: "/organization-units",
component: () => import("../views/user-list/OrganizationUnits.vue"),
component: () =>
import ("../views/user-list/OrganizationUnits.vue"),
}, },
{ {
path: "/audit-log", path: "/audit-log",
component: () => import("../views/user-list/AuditLog.vue"),
component: () =>
import ("../views/user-list/AuditLog.vue"),
}, },
{ {
path: "/guide-type", path: "/guide-type",
component: () => import("../views/basic-dictionary/GuideType.vue"),
component: () =>
import ("../views/basic-dictionary/GuideType.vue"),
}, },
{ {
path: "/medical-report-type", path: "/medical-report-type",
component: () => component: () =>
import("../views/basic-dictionary/MedicalReportType.vue"),
import ("../views/basic-dictionary/MedicalReportType.vue"),
}, },
{ {
path: "/sex", path: "/sex",
component: () => import("../views/basic-dictionary/Sex.vue"),
component: () =>
import ("../views/basic-dictionary/Sex.vue"),
}, },
{ {
path: "/marital-status", path: "/marital-status",
component: () => import("../views/basic-dictionary/MaritalStatus.vue"),
component: () =>
import ("../views/basic-dictionary/MaritalStatus.vue"),
}, },
{ {
path: "/nation", path: "/nation",
component: () => import("../views/basic-dictionary/Nation.vue"),
component: () =>
import ("../views/basic-dictionary/Nation.vue"),
}, },
{ {
path: "/birth-place", path: "/birth-place",
component: () => import("../views/basic-dictionary/BirthPlace.vue"),
component: () =>
import ("../views/basic-dictionary/BirthPlace.vue"),
}, },
{ {
path: "/result-status", path: "/result-status",
component: () => import("../views/basic-dictionary/ResultStatus.vue"),
component: () =>
import ("../views/basic-dictionary/ResultStatus.vue"),
}, },
{ {
path: "/medical-type", path: "/medical-type",
component: () => import("../views/basic-dictionary/MedicalType.vue"),
component: () =>
import ("../views/basic-dictionary/MedicalType.vue"),
}, },
{ {
path: "/personnel-type", path: "/personnel-type",
component: () => import("../views/basic-dictionary/PersonnelType.vue"),
component: () =>
import ("../views/basic-dictionary/PersonnelType.vue"),
}, },
{ {
path: "/device-type", path: "/device-type",
component: () => import("../views/basic-dictionary/DeviceType.vue"),
component: () =>
import ("../views/basic-dictionary/DeviceType.vue"),
}, },
{ {
path: "/sample-type", path: "/sample-type",
component: () => import("../views/basic-dictionary/SampleType.vue"),
component: () =>
import ("../views/basic-dictionary/SampleType.vue"),
}, },
{ {
path: "/unit", path: "/unit",
component: () => import("../views/basic-dictionary/Unit.vue"),
component: () =>
import ("../views/basic-dictionary/Unit.vue"),
}, },
{ {
path: "/diagnosis-postfix", path: "/diagnosis-postfix",
component: () => component: () =>
import("../views/basic-dictionary/DiagnosisPostfix.vue"),
import ("../views/basic-dictionary/DiagnosisPostfix.vue"),
}, },
{ {
path: "/medical-conclusion-type", path: "/medical-conclusion-type",
component: () => component: () =>
import("../views/basic-dictionary/MedicalConclusionType.vue"),
import ("../views/basic-dictionary/MedicalConclusionType.vue"),
}, },
{ {
path: "/medical-conclusion", path: "/medical-conclusion",
component: () => component: () =>
import("../views/basic-dictionary/MedicalConclusion.vue"),
import ("../views/basic-dictionary/MedicalConclusion.vue"),
}, },
{ {
path: "/sample-container", path: "/sample-container",
component: () => component: () =>
import("../views/basic-dictionary/SampleContainer.vue"),
import ("../views/basic-dictionary/SampleContainer.vue"),
}, },
{ {
path: "/common-char-type", path: "/common-char-type",
component: () => import("../views/basic-dictionary/CommonCharType.vue"),
component: () =>
import ("../views/basic-dictionary/CommonCharType.vue"),
}, },
{ {
path: "/common-char", path: "/common-char",
component: () => import("../views/basic-dictionary/CommonChar.vue"),
component: () =>
import ("../views/basic-dictionary/CommonChar.vue"),
}, },
{ {
path: "/customer-org-type", path: "/customer-org-type",
component: () => component: () =>
import("../views/basic-dictionary/CustomerOrgType.vue"),
import ("../views/basic-dictionary/CustomerOrgType.vue"),
}, },
{ {
path: "/item-default-result", path: "/item-default-result",
component: () => component: () =>
import("../views/basic-dictionary/ItemDefaultResult.vue"),
import ("../views/basic-dictionary/ItemDefaultResult.vue"),
}, },
{ {
path: "/diagnosis-level", path: "/diagnosis-level",
component: () => import("../views/basic-dictionary/DiagnosisLevel.vue"),
component: () =>
import ("../views/basic-dictionary/DiagnosisLevel.vue"),
}, },
//---------------------- 收费设置 start ---------------------- //---------------------- 收费设置 start ----------------------
{ {
path: "/invoice-item-type", path: "/invoice-item-type",
component: () => import("../views/fee-settings/InvoiceItemType.vue"),
component: () =>
import ("../views/fee-settings/InvoiceItemType.vue"),
}, },
{ {
path: "/pay-mode", path: "/pay-mode",
component: () => import("../views/fee-settings/PayMode.vue"),
component: () =>
import ("../views/fee-settings/PayMode.vue"),
}, },
{ {
path: "/cardType", path: "/cardType",
name: "会员卡类别", name: "会员卡类别",
component: () => import("../views/fee-settings/cardType.vue"),
component: () =>
import ("../views/fee-settings/cardType.vue"),
}, },
{ {
path: "/cardRegister", path: "/cardRegister",
name: "会员卡登记", name: "会员卡登记",
component: () => import("../views/fee-settings/cardRegister.vue"),
component: () =>
import ("../views/fee-settings/cardRegister.vue"),
}, },
{ {
path: "/cardBill", path: "/cardBill",
name: "会员卡记账", name: "会员卡记账",
component: () => import("../views/fee-settings/cardBill.vue"),
component: () =>
import ("../views/fee-settings/cardBill.vue"),
}, },
//---------------------- 收费设置 start ---------------------- //---------------------- 收费设置 start ----------------------
{ {
path: "/item-type", path: "/item-type",
component: () => import("../views/common-settings/ItemType.vue"),
component: () =>
import ("../views/common-settings/ItemType.vue"),
}, },
{ {
path: "/sample-group", path: "/sample-group",
component: () => import("../views/common-settings/SampleGroup.vue"),
component: () =>
import ("../views/common-settings/SampleGroup.vue"),
}, },
{ {
path: "/asbitem", path: "/asbitem",
component: () => import("../views/fee-settings/Asbitem.vue"),
component: () =>
import ("../views/fee-settings/Asbitem.vue"),
}, },
{ {
path: "/item", path: "/item",
component: () => import("../views/fee-settings/Item.vue"),
component: () =>
import ("../views/fee-settings/Item.vue"),
}, },
{ {
path: "/reference-range", path: "/reference-range",
component: () => import("../views/fee-settings/ReferenceRange.vue"),
component: () =>
import ("../views/fee-settings/ReferenceRange.vue"),
}, },
{ {
path: "/diagnosis", path: "/diagnosis",
component: () => import("../views/fee-settings/Diagnosis.vue"),
component: () =>
import ("../views/fee-settings/Diagnosis.vue"),
hidden: true, hidden: true,
// meta: { // meta: {
// title: '诊断', // title: '诊断',
@ -194,88 +222,101 @@ const routes = [
}, },
{ {
path: "/item-result-template", path: "/item-result-template",
component: () => import("../views/fee-settings/ItemResultTemplate.vue"),
component: () =>
import ("../views/fee-settings/ItemResultTemplate.vue"),
}, },
{ {
path: "/item-result-match", path: "/item-result-match",
component: () => import("../views/fee-settings/ItemResultMatch.vue"),
component: () =>
import ("../views/fee-settings/ItemResultMatch.vue"),
}, },
{ {
path: "/item-template", path: "/item-template",
component: () => import("../views/fee-settings/ItemTemplate.vue"),
component: () =>
import ("../views/fee-settings/ItemTemplate.vue"),
}, },
{ {
path: "/medical-package", path: "/medical-package",
component: () => import("../views/fee-settings/MedicalPackage.vue"),
component: () =>
import ("../views/fee-settings/MedicalPackage.vue"),
}, },
{ {
path: "/sex-hormone-reference-range", path: "/sex-hormone-reference-range",
component: () => component: () =>
import("../views/fee-settings/SexHormoneReferenceRange.vue"),
import ("../views/fee-settings/SexHormoneReferenceRange.vue"),
}, },
{ {
path: "/diagnosis-template", path: "/diagnosis-template",
component: () => import("../views/fee-settings/DiagnosisTemplate.vue"),
component: () =>
import ("../views/fee-settings/DiagnosisTemplate.vue"),
}, },
{ {
path: "/sys-parm-type", path: "/sys-parm-type",
component: () => import("../views/fee-settings/SysParmSet.vue"), //../views/fee-settings/SysParmType.vue
component: () =>
import ("../views/fee-settings/SysParmSet.vue"), //../views/fee-settings/SysParmType.vue
}, },
//---------------------- 体检登记 start ---------------------- //---------------------- 体检登记 start ----------------------
{ {
path: "/customerOrg", path: "/customerOrg",
name: "体检单位设置", name: "体检单位设置",
component: () => import("../views/customerOrg/customerOrg.vue"),
component: () =>
import ("../views/customerOrg/customerOrg.vue"),
}, },
{ {
path: "/customerOrgGroup", path: "/customerOrgGroup",
name: "单位分组设置", name: "单位分组设置",
component: () => import("../views/customerOrg/customerOrgGroup.vue"),
component: () =>
import ("../views/customerOrg/customerOrgGroup.vue"),
}, },
{ {
path: "/patientRegister", path: "/patientRegister",
name: "体检人员登记", name: "体检人员登记",
component: () => import("../views/customerOrg/patientRegister.vue"),
component: () =>
import ("../views/customerOrg/patientRegister.vue"),
}, },
{ {
path: "/patientRegisterSign", path: "/patientRegisterSign",
name: "体检人员签到", name: "体检人员签到",
component: () => import("../views/customerOrg/patientRegisterSign.vue"),
component: () =>
import ("../views/customerOrg/patientRegisterSign.vue"),
}, },
{ {
path: "/personnelBatch", path: "/personnelBatch",
name: "人员批量登记", name: "人员批量登记",
component: () => import("../views/doctorCheck/personnelBatch.vue"),
component: () =>
import ("../views/doctorCheck/personnelBatch.vue"),
}, },
{ {
path: "/patientRegisterRecover", path: "/patientRegisterRecover",
name: "体检表回收", name: "体检表回收",
component: () => component: () =>
import("../views/customerOrg/patientRegisterRecover.vue"),
import ("../views/customerOrg/patientRegisterRecover.vue"),
}, },
{ {
path: "/patientRegisterRefuse", path: "/patientRegisterRefuse",
name: "弃检登记", name: "弃检登记",
component: () => component: () =>
import("../views/customerOrg/patientRegisterRefuse.vue"),
import ("../views/customerOrg/patientRegisterRefuse.vue"),
}, },
{ {
path: "/charge", path: "/charge",
name: "体检收费", name: "体检收费",
component: () => component: () =>
import("../views/charge/charge.vue"),
import ("../views/charge/charge.vue"),
}, },
//---------------------- 体检登记 start ---------------------- //---------------------- 体检登记 start ----------------------
//---------------------- 体 检 start ---------------------- //---------------------- 体 检 start ----------------------
{ {
path: "/doctorCheck", path: "/doctorCheck",
name: "体检医生诊台", name: "体检医生诊台",
component: () => import("../views/doctorCheck/doctorCheck.vue"),
component: () =>
import ("../views/doctorCheck/doctorCheck.vue"),
}, },
{ {
path: "/sumDoctorCheck", path: "/sumDoctorCheck",
name: "总检医生诊台", name: "总检医生诊台",
component: () => import("../views/doctorCheck/sumDoctorCheck.vue"),
component: () =>
import ("../views/doctorCheck/sumDoctorCheck.vue"),
}, },
//---------------------- 体 检 end ---------------------- //---------------------- 体 检 end ----------------------
@ -283,22 +324,26 @@ const routes = [
{ {
path: "/report", path: "/report",
name: "体检报告", name: "体检报告",
component: () => import("../views/report/report.vue"),
component: () =>
import ("../views/report/report.vue"),
}, },
{ {
path: "/checkStatus", path: "/checkStatus",
name: "组合项目检查状态", name: "组合项目检查状态",
component: () => import("../views/report/checkStatus.vue"),
component: () =>
import ("../views/report/checkStatus.vue"),
}, },
{ {
path: "/chargeAsbitem", path: "/chargeAsbitem",
name: "人员费用组合项目", name: "人员费用组合项目",
component: () => import("../views/report/chargeAsbitem.vue"),
component: () =>
import ("../views/report/chargeAsbitem.vue"),
}, },
{ {
path: "/unCheckAsbitem", path: "/unCheckAsbitem",
name: "人员未检组合项目", name: "人员未检组合项目",
component: () => import("../views/report/unCheckAsbitem.vue"),
component: () =>
import ("../views/report/unCheckAsbitem.vue"),
}, },
//---------------------- 体检查询 end ---------------------- //---------------------- 体检查询 end ----------------------
@ -308,53 +353,69 @@ const routes = [
{ {
path: "/diseaseStatistics", path: "/diseaseStatistics",
name: "疾病人数统计", name: "疾病人数统计",
component: () => import("../views/fee-settings/diseaseStatistics.vue"),
component: () =>
import ("../views/fee-settings/diseaseStatistics.vue"),
}, },
{ {
path: "/positiveresults", path: "/positiveresults",
name: "阳性结果清单", name: "阳性结果清单",
component: () => import("../views/doctorCheck/positiveresults.vue"),
component: () =>
import ("../views/doctorCheck/positiveresults.vue"),
}, },
{ {
path: "/unitphysicalexamination", path: "/unitphysicalexamination",
name: "单位体检报表", name: "单位体检报表",
component: () => import("../views/doctorCheck/unitphysicalexamination.vue"),
component: () =>
import ("../views/doctorCheck/unitphysicalexamination.vue"),
},
{
path: "/personnelPositive",
name: "人员阳性结果",
component: () =>
import ("../views/doctorCheck/personnelPositive.vue")
}, },
//---------------------- 工作量登记 ---------------------- //---------------------- 工作量登记 ----------------------
{ {
path: "/registrar", path: "/registrar",
name: "登记员工作量", name: "登记员工作量",
component: () => import("../views/workload/registrar.vue"),
component: () =>
import ("../views/workload/registrar.vue"),
}, },
{ {
path: "/doctorstaionworkload", path: "/doctorstaionworkload",
name: "登记员工作量", name: "登记员工作量",
component: () => import("../views/workload/doctorstaionworkload.vue"),
component: () =>
import ("../views/workload/doctorstaionworkload.vue"),
}, },
{ {
path: "/directordoctor", path: "/directordoctor",
name: "总检医生工作量", name: "总检医生工作量",
component: () => import("../views/workload/directordoctor.vue"),
component: () =>
import ("../views/workload/directordoctor.vue"),
}, },
{ {
path: "/deskwork", path: "/deskwork",
name: "总检医生工作量", name: "总检医生工作量",
component: () => import("../views/workload/deskwork.vue"),
component: () =>
import ("../views/workload/deskwork.vue"),
}, },
{ {
path: "/tollcollector", path: "/tollcollector",
name: "收费员", name: "收费员",
component: () => import("../views/workload/tollcollector.vue"),
component: () =>
import ("../views/workload/tollcollector.vue"),
}, },
{ {
path: "/individualfeedetails", path: "/individualfeedetails",
name: "个人收费明细", name: "个人收费明细",
component: () => import("../views/workload/individualfeedetails.vue"),
component: () =>
import ("../views/workload/individualfeedetails.vue"),
}, },
{ {
path: "/membershipcard", path: "/membershipcard",
name: "会员卡分类统计", name: "会员卡分类统计",
component: () => import("../views/workload/membershipcard.vue"),
component: () =>
import ("../views/workload/membershipcard.vue"),
}, },
], ],
}, },

Loading…
Cancel
Save