You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udiwms-vue/src/router/index.js

1901 lines
65 KiB
JavaScript

import Vue from "vue";
import VueRouter from "vue-router";
if (process.env.NODE_ENV === "development") {
Vue.use(VueRouter);
}
import {ROUTER_MODE} from "../config/app";
import Home from "../views/home/index.vue";
import Empty from "../views/home/Empty.vue";
// 管理组相关
import authAdmin from "../views/userManage/admin/authAdmin.vue";
import authRole from "../views/userManage/admin/authRole.vue";
import authPermissionRule from "../views/userManage/admin/authPermissionRule.vue";
import authDept from "../views/userManage/authDept.vue";
import systemParamConfig from "../views/userManage/param/systemParamConfig.vue";
import phoneRegisterManage from "../views/userManage/param/phoneRegisterManage.vue";
import systemPDFTemplate from "../views/userManage/param/systemPDFTemplate";
import systemPDFModule from "../views/userManage/param/systemPDFModule";
import thirdSysApi from "../views/userManage/param/ThirdSysApiUpload.vue";
import thirdSysApiDownload from "../views/userManage/param/ThirdSysApiDownload.vue";
import showText from "../views/other/showText";
//基础数据维护
import invWarehouse from "../views/basic/invWarehouse"
import BussinessType from "../views/basic/BussinessType.vue";
import BussinessTypeLocl from "../views/basic/BussinessTypeLocl.vue";
import bussinessTypeThird from "../views/basic/BussinessTypeThird.vue";
import otherTypeChange from "../views/basic/OtherTypeChange.vue";
import bussinessTypeChange from "../views/basic/BusTypeChange.vue";
import basicUnitMaintain from "../views/basic/CorpMaintain.vue";
import corpImport from "../views/basic/CorpImport.vue";
import corpExport from "../views/basic/CorpExport.vue";
import company from "../views/userManage/param/company.vue";
import thirdSys from "../views/basic/BasicThirdSys.vue"
import UdiInfoManage from "../views/basic/UdiInfoManage.vue";
import udiinfoExport from "../views/basic/UdiinfoExport.vue";
import UdiInfoImport from "../views/basic/UdiInfoImport.vue";
import udiInfoDb from "../views/basic/UdiInfoDb.vue";
import UdidbImportLog from "../views/basic/UdidbImportLog.vue";
import spsSyncData from "../views/thrsys/SysUdimsData.vue";
//资质审核
import supCompany from "../views/purchase/supCompanyAdd.vue";
import supCompanyAudit from "../views/purchase/supCompanyAudit.vue";
import supCompanySearch from "../views/purchase/supCompanySearch.vue";
import supManufacturer from "../views/purchase/supManufacturerAdd.vue";
import supManufacturerAudit from "../views/purchase/supManufacturerAudit.vue";
import supManufacturerSearch from "../views/purchase/supManufacturerSearch.vue";
import supProduct from "../views/purchase/supProductAdd.vue";
import supProductAudit from "../views/purchase/supProductAudit.vue";
import supProductSearch from "../views/purchase/supProductSearch.vue";
import supCertAudit from "../views/purchase/supCertAudit.vue";
import supCertSearch from "../views/purchase/supCertSearch.vue";
import supCertSet from "../views/purchase/supCertSet.vue";
import supCertificationAdd from "../views/purchase/supCertificationAdd.vue";
import UdiInfoSmpUpload from "../views/smp/UdiInfoSmpUpload.vue";
// import ErpOrderSmpUpload from "../views/smp/ErpOrderSmpUpload.vue";
//出入库管理
import inout from "../views/inout/IOFinishOrder.vue";
import checkError from "../views/inout/IOCheckErrorOrder.vue";
import checkWait from "../views/inout/IOCheckWaitOrder.vue";
import additionalOrder from "@/views/inout/IOAdditionalOrder";
import code from "../views/inout/IOFinishCode.vue";
import errorCode from "../views/inout/IONewCode.vue";
import errorOrder from "../views/inout/IONewOrder.vue";
import ioErrorOrder from "../views/inout/IOErrorOrder.vue";
import waitOrder from "../views/inout/IOWaitOrder.vue";
import repeatOrder from "../views/inout/IORepeatOrder.vue";
import erpOrder from "../views/inout/IOErpOrder.vue";
import stockOrderSearch from "../views/business/stockOrderSearch";
import stockOrderNew from "../views/business/stockOrderNew";
import stockOrderWaitCheck from "../views/business/stockOrderWaitCheck";
import stockOrderEditor from "../views/business/stockOrderEditor";
import stockOrder from "../views/business/stockOrder";
//业务单据上传
import stockOrderUpload from "@/views/business/stockOrderUpload";
import stockOrderUploadLog from "@/views/business/stockOrderUploadLog";
import stockOrderRecedLog from "@/views/business/stockOrderRecedLog";
import thirdUploadSet from "@/views/thrsys/thirdUploadSet";
//库存管理
import stockCheck from "../views/inventory/stockCheck.vue";
import innerOrder from "../views/inventory/innerOrder.vue";
import onHand from "../views/inventory/OnHand.vue";
import inCodeLog from "../views/inventory/InCodeLog.vue";
import stockPrint from "../views/inventory/IncodeSearch.vue";
import inCodePrint from "../views/inventory/IncodePrint.vue";
import stockCode from "../views/inventory/stockCode.vue";
import stockOrderDelSearch from "../views/business/stockOrderDelSearch";
import stockOrderInvSearch from "../views/business/stockOrderInvSearch";
import stockOrderDelete from "../views/business/stockOrderDelete";
import stockOrderChange from "../views/inout/stockOrderChange";
//盘点管理
import invCountOrderNew from "@/views/inventory/invCountOrderNew";
import invCountOrderAudit from "@/views/inventory/invCountOrderAudit";
import invCountOrderCompleted from "@/views/inventory/invCountOrderCompleted";
import invCountSetting from "@/views/inventory/invCountSetting";
//货物摆放
import invGoodsPlacement from "@/views/inventory/InvGoodsPlacement";
//库存养护记录
import invMAOrderNew from "@/views/inventory/invMAOrderNew";
import invMAOrderAudit from "@/views/inventory/invMAOrderAudit";
import invMAOrderCompleted from "@/views/inventory/invMAOrderCompleted";
//设备管理
import deviceCollectOrderNew from "@/views/inventory/deviceCollectOrderNew.vue";
import deviceCollectOrderAudit from "@/views/inventory/deviceCollectOrderAudit.vue";
import deviceCollectOrderCompleted from "@/views/inventory/deviceCollectOrderCompleted.vue";
import deviceMAOrderNew from "@/views/inventory/deviceMAOrderNew.vue";
import deviceMAOrderCompleted from "@/views/inventory/deviceMAOrderCompleted.vue";
//库存
import invProducts from "../views/inventory/InvProducts.vue";
import invPreProducts from "../views/inventory/invPreProducts"
import invPreInProducts from "../views/inventory/invPreInProducts"
import udiTrace from "../views/inventory/UdiCodeTrace.vue";
import invUdiTraceOrder from "@/views/inventory/invUdiTraceOrder";
import invStatistics from "@/views/inventory/InvStatistics";
//第三方数据管理
import thrProducts from "../views/thrsys/ThrProducts.vue";
import thrProductsImport from "../views/thrsys/ThrProductsImport.vue";
import thrProductsExport from "../views/thrsys/ThrProductsExport.vue";
import ThrInvProducts from "../views/thrsys/ThrInvProducts.vue";
import thrInvProductsExport from "../views/thrsys/ThrInvProductsExport.vue";
import thrInvProductsImport from "../views/thrsys/ThrInvProductsImport.vue";
import ThrOrders from "../views/thrsys/ThrOrder.vue";
import thrOrderExport from "../views/thrsys/ThrOrderExport.vue";
import thrOrderImport from "../views/thrsys/ThrOrderImport.vue";
import ThrCorps from "../views/thrsys/ThrCorps.vue";
import thrCorpsExport from "../views/thrsys/ThrCorpsExport.vue";
import thrCorpsImport from "../views/thrsys/ThrCorpsImport.vue";
//供应商管理
import corpExportSmp from "../views/basic/CorpExportSmp.vue";
import udiinfoExportSmp from "../views/basic/UdiinfoExportSmp.vue";
import UdiInfoManageSp from "../views/basic/UdiInfoManageSp.vue"
import basicNewDiUpload from "../views/basic/BasicNewDiUpload.vue"
import UdiInfoDonwloadSmp from "../views/basic/UdiInfoDonwloadSmp.vue";
import thrOrderExportSmp from "../views/thrsys/ThrOrderExportSmp.vue";
import thrProductsExportSmp from "../views/thrsys/ThrProductsExportSmp.vue";
import thrCorpsExportSmp from "../views/thrsys/ThrCorpsExportSmp.vue";
import receiveOrderNew from "../views/thrsys/ThrOrdedrReceiveAdd.vue";
import receiveOrderSearch from "../views/thrsys/ThrOrdedrReceiveSearch.vue";
import thrInvWarehouse from "@/views/thrsys/ThrInvWarehouse";
import syncConfig from "../views/thrsys/SysUdimsConfig.vue";
import BasicEntrutsRece from "../views/basic/BasicEntrutsRece.vue";
//同步管理
import sysUdimsDownloadData from "../views/thrsys/SysUdimsDownloadData";
//采购管理
import purApply from "../views/purchase/purApply";
import pureApplyAudit from "../views/purchase/pureApplyAudit";
import pureApplySearch from "../views/purchase/pureApplySearch";
import purPlan from "../views/purchase/purPlan";
import purPlanAudit from "../views/purchase/purPlanAudit";
import purPlanSearch from "../views/purchase/purPlanSearch";
import platform from "../views/userManage/platform";
import bindPlatform from "@/views/userManage/bindPlatform";
// Vue.use(VueRouter);
const err401 = r =>
require.ensure([], () => r(require("../views/error/err401.vue")), "home");
const err404 = r =>
require.ensure([], () => r(require("../views/error/err404.vue")), "home");
const login = r =>
require.ensure([], () => r(require("../views/login/index.vue")), "home");
const main = r =>
require.ensure([], () => r(require("../views/home/main.vue")), "home");
// 注意 权限字段 authRule (严格区分大小写)
export const constantRouterMap = [
{
path: "*",
component: err404,
hidden: true
},
{
path: "/401",
component: err401,
name: "401",
hidden: true
},
{
path: "/404",
component: err404,
name: "404",
hidden: true
},
{
path: "/500",
component: err404,
name: "500",
hidden: true
},
{
path: "/login",
component: login,
name: "登录",
hidden: true
},
{
path: "/",
icon: "shouye",
component: Home,
redirect: "main",
name: "首页",
hidden: true,
noDropdown: true,
children: [
{
path: "main",
component: main,
name: "首页"
}
]
}
];
export default new VueRouter({
// mode: 'history', //后端支持可开
mode: ROUTER_MODE,
routes: constantRouterMap,
strict: process.env.NODE_ENV !== "production"
});
export const asyncRouterMap = [
{
path: "/userManage",
redirect: "/userManage/authAdmin",
component: Home,
icon: "guanliyuan1",
name: "系统管理",
hidden: false,
meta: {
authRule: ["user_manage"]
},
// noDropdown: true,
children: [
{
path: "/authMange",
component: Empty,
name: "权限管理",
redirect: "/authMange/authAdmin",
icon: "",
meta: {
authRule: ["authMange/home"]
},
children: [
{
path: "authAdmin",
component: authAdmin,
name: "用户管理",
icon: "",
meta: {
authRule: ["authMange/auth_admin"]
}
},
{
path: "authRole",
component: authRole,
name: "角色管理",
icon: "",
meta: {
authRule: ["authMange/auth_role"]
}
},
{
path: "authPermissionRule",
component: authPermissionRule,
name: "功能配置",
icon: "",
meta: {
authRule: ["authMange/auth_permission_rule"]
}
},
{
path: "authDept",
component: authDept,
name: "科室管理",
icon: "",
meta: {
authRule: ["authMange/authDept"]
}
},
]
},
{
path: "/systemParam",
component: Empty,
name: "系统参数",
redirect: "/systemParam/systemParamConfig",
icon: "",
meta: {
authRule: ["systemParam/systemParamConfig"]
},
children: [
{
path: "phoneRegisterManage",
component: phoneRegisterManage,
name: "设备管理",
icon: "",
meta: {
authRule: ["admin/phoneRegisterManage"]
}
},
{
path: "systemParamConfig",
component: systemParamConfig,
name: "运行参数",
icon: "",
meta: {
authRule: ["system/systemParamConfig"]
},
},
{
path: "bussinessType",
name: "扫码单据类型",
component: BussinessType,
meta: {
authRule: ["system/bussinessType"]
}
},
{
path: "bussinessTypeLocl",
name: "业务单据类型",
component: BussinessTypeLocl,
meta: {
authRule: ["system/BussinessTypeLocl"]
}
},
{
path: "bussinessTypeChange",
name: "单据流转设置",
component: bussinessTypeChange,
meta: {
authRule: ["admin/bussinessTypeChange"]
}
},
{
path: "otherTypeChange",
name: "耗材领用设置",
component: otherTypeChange,
meta: {
authRule: ["admin/otherTypeChange"]
}
},
]
},
{
path: "/systemPDFTemplate",
component: Empty,
name: "打印模板",
redirect: "/systemPDFTemplate/template",
icon: "",
meta: {
authRule: ["systemPDFTemplate/template"]
},
children: [
{
path: "template",
component: systemPDFTemplate,
name: "模板管理",
icon: "",
meta: {
authRule: ["pdf/template"]
}
},
{
path: "module",
component: systemPDFModule,
name: "打印设置",
icon: "",
meta: {
authRule: ["pdf/module"]
}
},
]
},
{
path: "/spsSyncMange",
component: Empty,
name: "同步管理",
redirect: "/spsSyncMange/spsSyncData",
icon: "",
meta: {
authRule: ["spsSyncMange/manage"]
},
children: [
{
path: "syncConfig",
name: "同步设置",
component: syncConfig,
meta: {
authRule: ["spsSyncMange/syncConfig"]
}
},
{
path: "spsSyncData",
component: spsSyncData,
name: "同步任务",
icon: "",
meta: {
authRule: ["spsSyncMange/spsSyncData"]
}
},
{
path: "sysUdimsDownloadData",
component: sysUdimsDownloadData,
name: "下载记录",
icon: "",
meta: {
authRule: ["spsSyncMange/sysUdimsDownloadData"]
}
},
]
},
{
path: "/thrsysMange",
component: Empty,
name: "第三方系统",
redirect: "/thrsysMange/bussinessTypeThird",
icon: "",
meta: {
authRule: ["thrsysMange/manage"]
},
children: [
{
path: "bussinessTypeThird",
name: "单据类型",
component: bussinessTypeThird,
meta: {
authRule: ["thrsysMange/bussinessTypeThird"]
}
},
{
path: "thirdSys",
name: "接口设置",
component: thirdSys,
meta: {
authRule: ["thrsysMange/thirdSys"]
}
},
]
},
{
path: "/platformManage",
component: Empty,
name: "医院客户管理",
redirect: "/platformManage/platform",
icon: "",
meta: {
authRule: ["platformManage"]
},
children: [
{
path: "platform",
component: platform,
name: "医院自助平台",
icon: "",
meta: {
authRule: ["userManage/platform"]
}
},
{
path: "bindPlatform",
component: bindPlatform,
name: "医院客户",
icon: "",
meta: {
authRule: ["userManage/bindPlatform"]
}
}
]
}
// {
// path: "bussinessType",
// name: "单据类型",
// component: BussinessType,
// meta: {
// authRule: ["product/bussinessType"]
// }
// },
]
},
{
path: "/product",
redirect: "/udiinfo/udiinfomg",
component: Home,
icon: "tongyong",
name: "基础数据",
hidden: false,
noDropdown: false,
meta: {
authRule: ["basic"]
},
children: [
{
path: "company",
name: "本机构信息",
component: company,
meta: {
authRule: ["product/company"]
}
},
{
path: "invWarehouse",
component: invWarehouse,
name: "仓库/科室字典",
icon: "",
meta: {
authRule: ["basicProduct/invWarehouse"]
}
},
{
path: "/udiinfo",
redirect: "/udiinfo/udiinfomg",
name: "耗材字典",
component: Empty,
meta: {
authRule: ["basic/products"]
},
children: [
{
path: "udiinfomg",
name: "耗材字典维护",
component: UdiInfoManage,
meta: {
authRule: ["basic/products/modify"]
}
},
{
path: "udiImport",
name: "耗材字典导入",
component: UdiInfoImport,
meta: {
authRule: ["basic/products/import"]
}
},
{
path: "udiinfoExport",
name: "耗材字典导出",
component: udiinfoExport,
meta: {
authRule: ["basic/products/export"]
}
},
{
path: "UdiInfoManageSp",
name: "供应商器械信息",
component: UdiInfoManageSp,
meta: {
authRule: ["product/UdiInfoManageSp"]
}
},
{
path: "newDiUpload",
name: "新增配送产品上传",
component: basicNewDiUpload,
meta: {
authRule: ["product/newDiUpload"]
}
},
]
},
{
path: "/unit",
redirect: "/unit/unitMaintain",
name: "往来单位信息",
component: Empty,
meta: {
authRule: ["basic/unit"]
},
children: [
{
path: "unitMaintain",
name: "往来单位信息维护",
component: basicUnitMaintain,
meta: {
authRule: ["basic/unit/maintain"]
}
},
{
path: "corpImport",
name: "往来单位信息导入",
component: corpImport,
meta: {
authRule: ["basic/corp/Import"]
}
},
{
path: "corpExport",
name: "往来单位信息导出",
component: corpExport,
meta: {
authRule: ["basic/corp/Export"]
}
},]
},
{
path: "/udidb",
redirect: "/udidb/udidbSearch",
name: "本地UDI库",
component: Empty,
meta: {
authRule: ["basic/udidb"]
},
children: [
{
path: "udidbSearch",
name: "DI信息查询",
component: udiInfoDb,
meta: {
authRule: ["basic/udidb/search"]
}
}
// {
// path: "UdidbImportLog",
// name: "DI导入记录",
// component: UdidbImportLog,
// meta: {
// authRule: ["basic/udidb/importLog"]
// }
// }
]
},
]
},
{
path: "/firstCamp",
component: Home,
redirect: "/firstCamp/certAdd",
icon: "tongyong",
name: "首营资质",
noDropdown: false,
meta: {
authRule: ["firstCamp"]
},
children: [
{
path: "/certAdd",
redirect: "/certAdd/supplierAdd",
name: "资质新增",
component: Empty,
meta: {
authRule: ["firstCamp/certAdd"]
},
children: [
{
path: "supplierAdd",
name: "配送企业资质新增",
component: supCompany,
meta: {
authRule: ["firstCamp/certAdd/supplierAdd"]
}
},
{
path: "manufacturerAdd",
name: "生产企业资质新增",
hidden: true,
component: supManufacturer,
meta: {
authRule: ["firstCamp/certAdd/manufacturerAdd"]
}
},
{
path: "productAdd",
name: "配送产品资质新增",
component: supCertificationAdd,
meta: {
authRule: ["firstCamp/certAdd/productAdd"]
}
},
]
},
{
path: "certAudit",
component: supCertAudit,
name: "资质审核",
icon: "",
meta: {
authRule: ["firstCamp/certAudit"]
}
},
{
path: "certSearch",
component: supCertSearch,
name: "资质查询",
icon: "",
meta: {
authRule: ["firstCamp/certSearch"]
}
},
{
path: "certSet",
component: supCertSet,
name: "资质上传设置",
icon: "",
meta: {
authRule: ["firstCamp/certSet"]
}
},
{
path: "/supplierManage",
redirect: "/supplierManage/supplierAdd",
name: "供应商资质管理",
hidden: true,
component: Empty,
meta: {
authRule: ["firstCamp/supplierManage"]
},
children: [
{
path: "supplierAdd",
name: "供应商资质新增",
component: supCompany,
meta: {
authRule: ["firstCamp/supplierManage/supplierAdd"]
}
},
{
path: "supplierAudit",
name: "供应商资质审核",
component: supCompanyAudit,
meta: {
authRule: ["firstCamp/supplierManage/supplierAudit"]
}
},
{
path: "supplierSearch",
name: "供应商资质查询",
component: supCompanySearch,
meta: {
authRule: ["firstCamp/supplierManage/supplierSearch"]
}
},
]
},
{
path: "/manufacturerManage",
redirect: "/manufacturerManage/manufacturerAdd",
name: "生产企业资质管理",
hidden: true,
component: Empty,
meta: {
authRule: ["firstCamp/manufacturerManage"]
},
children: [
{
path: "manufacturerAdd",
name: "生产企业资质新增",
component: supManufacturer,
meta: {
authRule: ["firstCamp/manufacturerManage/manufacturerAdd"]
}
},
{
path: "manufacturerAudit",
name: "生产企业资质审核",
component: supManufacturerAudit,
meta: {
authRule: ["firstCamp/manufacturerManage/manufacturerAudit"]
}
},
{
path: "manufacturerSearch",
name: "生产企业资质查询",
component: supManufacturerSearch,
meta: {
authRule: ["firstCamp/manufacturerManage/manufacturerSearch"]
}
},
]
},
{
path: "/productManage",
redirect: "/productManage/productAdd",
name: "产品资质管理",
component: Empty,
hidden: true,
meta: {
authRule: ["firstCamp/productManage"]
},
children: [
{
path: "productAdd",
name: "产品资质新增",
component: supProduct,
meta: {
authRule: ["firstCamp/productManage/productAdd"]
}
},
{
path: "supProductAudit",
name: "产品资质审核",
component: supProductAudit,
meta: {
authRule: ["firstCamp/productManage/supProductAudit"]
}
},
{
path: "supProductSearch",
name: "产品资质查询",
component: supProductSearch,
meta: {
authRule: ["firstCamp/productManage/supProductSearch"]
}
},
]
},
]
},
{
path: "/inout",
component: Home,
redirect: "/inout/inoutOrder",
icon: "tongyong",
name: "单据管理",
noDropdown: false,
meta: {
authRule: ["inout"]
},
children: [
{
path: "/receiveOrder",
component: Empty,
name: "耗材领用管理",
redirect: "/receiveOrder/receiveOrderNew",
meta: {
authRule: ["receiveOrder"]
},
children: [
{
path: "receiveOrderNew",
component: receiveOrderNew,
name: "新增领用单据",
meta: {
authRule: ["stock/receiveOrderNew"]
}
},
{
path: "receiveOrderSearch",
component: receiveOrderSearch,
name: "领用单查询",
meta: {
authRule: ["stock/receiveOrderSearch"]
}
},
]
},
{
path: "/inoutOrder",
component: Empty,
name: "扫码单据管理",
redirect: "/inoutOrder/errorOrder",
icon: "",
meta: {
authRule: ["inout/inoutOrder"]
},
children: [
{
path: "errorOrder",
component: errorOrder,
name: "新增扫码单据",
meta: {
authRule: ["inout/newOrder"]
}
},
{
path: "checkWait",
name: "等待校验单据",
component: checkWait,
meta: {
authRule: ["inout/checkWait"]
}
},
{
path: "main",
name: "扫码单据查询",
component: inout,
meta: {
authRule: ["inout/main"]
}
},
{
path: "checkError",
name: "校验异常单据",
component: checkError,
meta: {
authRule: ["inout/checkError"]
}
},
{
path: "erpOrder",
name: "ERP单据管理",
component: erpOrder,
hidden: true,
meta: {
authRule: ["inout/erpOrder"]
}
},
{
path: "detail",
name: "单号详情",
component: code,
hidden: true
},
{
path: "errorDetail",
name: "错误单号详情",
component: errorCode,
hidden: true
},
{
path: "repeatOrder",
component: repeatOrder,
name: "扫码订单号重复",
hidden: true,
meta: {
authRule: ["inout/repeatOrder"]
}
},
]
},
{
path: "/busOrder",
component: Empty,
name: "业务单据管理",
redirect: "/busOrder/stockOrderNew",
meta: {
authRule: ["inout/busOrder"]
},
children: [
{
path: "stockOrderNew",
component: stockOrderNew,
name: "新增业务单据",
meta: {
authRule: ["stock/stockOrderNew"]
}
},
{
path: "stockOrderEditor",
component: stockOrderEditor,
name: "单据配货管理",
meta: {
authRule: ["stock/stockOrderEditor"]
}
},
{
path: "stockOrderWaitCheck",
component: stockOrderWaitCheck,
name: "待校验业务单据",
meta: {
authRule: ["stock/stockOrderWaitCheck"]
}
},
{
path: "stockOrder",
component: stockOrder,
name: "内部码管理",
meta: {
authRule: ["stock/stockOrder"]
}
},
]
},
{
path: "/busOrderUpload",
component: Empty,
name: "业务单据上传",
redirect: "/busOrder/stockOrderUpload",
meta: {
authRule: ["inout/busOrderUpload"]
},
children: [
{
path: "thirdUploadSet",
component: thirdUploadSet,
name: "上传设置",
meta: {
authRule: ["busOrderUpload/thirdUploadSet"]
}
},
{
path: "stockOrderUpload",
component: stockOrderUpload,
name: "上传单据",
meta: {
authRule: ["busOrderUpload/upload"]
}
},
{
path: "stockOrderUploadLog",
component: stockOrderUploadLog,
name: "单据上传日志",
meta: {
authRule: ["busOrderUpload/uploadLog"]
}
},
{
path: "stockOrderRecedLog",
component: stockOrderRecedLog,
name: "单据接收日志",
meta: {
authRule: ["busOrderUpload/RecedLog"]
}
}
]
},
{
path: "stockOrderSearch",
component: stockOrderSearch,
name: "未验收单据",
meta: {
authRule: ["stock/stockOrderSearch"]
}
},
{
path: "stockOrderDelSearch",
component: stockOrderDelSearch,
name: "已验收单据",
meta: {
authRule: ["stock/stockOrderDelSearch"]
}
},
{
path: "stockOrderEdit",
component: stockOrderDelete,
name: "单据编辑",
meta: {
authRule: ["stock/stockOrderDelete"]
}
},
]
},
{
path: "/purchase",
component: Home,
redirect: "/purchase/apply",
icon: "tongyong",
name: "采购管理",
noDropdown: false,
meta: {
authRule: ["purchase"]
},
children: [
{
path: "/apply",
component: Empty,
name: "产品申购管理",
redirect: "/apply/applyAdd",
meta: {
authRule: ["purchase/apply"]
},
children: [
{
path: "applyAdd",
component: purApply,
name: "新增申购单据",
meta: {
authRule: ["purchase/apply/add"]
}
},
{
path: "applyAudit",
component: pureApplyAudit,
name: "申购单据审核",
meta: {
authRule: ["purchase/apply/audit"]
}
},
{
path: "applySearch",
component: pureApplySearch,
name: "申购单据查询",
meta: {
authRule: ["purchase/apply/search"]
}
},
]
},
{
path: "/plan",
component: Empty,
name: "采购计划管理",
redirect: "/plan/planAdd",
meta: {
authRule: ["plan/planAdd"]
},
children: [
{
path: "planAdd",
component: purPlan,
name: "新增采购计划",
meta: {
authRule: ["purchase/plan/planAdd"]
}
},
{
path: "planAudit",
component: purPlanAudit,
name: "采购计划审核",
meta: {
authRule: ["purchase/plan/planAudit"]
}
},
{
path: "planSearch",
component: purPlanSearch,
name: "采购计划查询",
meta: {
authRule: ["purchase/plan/planSearch"]
}
},
]
},
]
},
{
path: "/warehouse",
redirect: "/warehouse/product",
component: Home,
icon: "tongyong",
name: "库存管理",
hidden: true,
noDropdown: false,
meta: {
authRule: ["warehouse"]
},
children: [
{
path: "onHand",
name: "现存量查询",
component: onHand,
hidden: true,
meta: {
authRule: ["warehouse/onHand"]
}
},
{
path: "stockCode",
name: "库存明细",
component: stockCode,
hidden: true,
meta: {
authRule: ["warehouse/stockCode"]
}
},
]
},
{
path: "/smp",
redirect: "/smp/udiinfoExportSmp",
component: Home,
icon: "tongyong",
name: "同步自助平台",
hidden: true,
noDropdown: false,
meta: {
authRule: ["smp"]
},
children: [
{
path: "udiinfoExportSmp",
name: "耗材字典",
component: udiinfoExportSmp,
meta: {
authRule: ["thrsys/udiinfoExportSmp"]
}
},
{
path: "UdiInfoDonwloadSmp",
name: "器械信息下载",
component: UdiInfoDonwloadSmp,
hidden: true,
meta: {
authRule: ["thrsys/UdiInfoDonwloadSmp"]
}
},
{
path: "corpExportSmp",
name: "往来单位信息",
component: corpExportSmp,
meta: {
authRule: ["thrsys/corpExportSmp"]
}
},
{
path: "/thirdsysSmp",
redirect: "/thirdsysSmp/thrProductsExportSmp",
name: "第三方数据",
component: Empty,
meta: {
authRule: ["thirdsysSmp/thirdsysSmp"]
},
children: [
{
path: "thrInvExportSmp",
name: "仓库信息",
component: thrProductsExportSmp,
meta: {
authRule: ["thrsys/thrProductsExportSmp"]
}
},
{
path: "thrProductsExportSmp",
name: "产品信息",
component: thrProductsExportSmp,
meta: {
authRule: ["thrsys/thrProductsExportSmp"]
}
},
{
path: "thrCorpsExportSmp",
name: "往来单位",
component: thrCorpsExportSmp,
meta: {
authRule: ["thrsys/thrProductsExportSmp"]
}
},
{
path: "thrOrderExportSmp",
name: "业务单据",
component: thrOrderExportSmp,
meta: {
authRule: ["thrsys/thrOrderExportSmp"]
}
},
]
},
{
path: "orderSmpDl",
name: "送货单下载",
component: UdiInfoSmpUpload,
hidden: true,
meta: {
authRule: ["thrsys/UdiInfoSmpUpload"]
}
},
]
},
{
path: "/myCode",
redirect: "/myCode/inCodeLog",
component: Home,
icon: "tongyong",
name: "内部码管理",
hidden: true,
noDropdown: false,
meta: {
authRule: ["myCode"]
},
children: [
{
path: "inCodeLog",
name: "内部码生成",
component: inCodeLog,
meta: {
authRule: ["warehouse/inCodeLog"]
}
},
{
path: "inCodePrint",
name: "内部码打印",
component: inCodePrint,
meta: {
authRule: ["warehouse/inCodePrint"]
}
},
{
path: "stockPrint",
name: "内部码查询",
component: stockPrint,
meta: {
authRule: ["warehouse/stockPrint"]
}
},
]
},
{
path: "/inv",
redirect: "/inv/invProducts",
component: Home,
icon: "tongyong",
name: "仓库管理",
hidden: false,
noDropdown: false,
meta: {
authRule: ["inv/manage"]
},
children: [
{
path: "invProducts",
component: invProducts,
name: "库存查询",
icon: "",
meta: {
authRule: ["inv/invProducts"]
}
},
{
path: "onHand",
name: "现存量查询",
component: onHand,
meta: {
authRule: ["warehouse/onHand"]
}
},
{
path: "innerOrder",
component: innerOrder,
name: "内部码打印",
meta: {
authRule: ["inv/innerOrder"]
}
},
{
path: "/invManage",
component: Empty,
name: "库存管理",
icon: "",
meta: {
authRule: ["inv/invManage"]
},
children: [
{
path: "BasicEntrutsRece",
name: "委托验收设置",
component: BasicEntrutsRece,
meta: {
authRule: ["invManage/BasicEntrutsRece"]
}
},
{
path: "additionalOrder",
component: additionalOrder,
name: "补录单据查询",
meta: {
authRule: ["stock/additionalOrder"]
}
},
{
path: "stockOrderInvSearch",
component: stockOrderInvSearch,
name: "业务单据查询",
meta: {
authRule: ["inv/stockOrderInvSearch"]
}
},
{
path: "invStatistics",
component: invStatistics,
name: "库存统计",
icon: "",
meta: {
authRule: ["invManage/invStatistics"]
}
},
{
path: "invGoodsPlacement",
component: invGoodsPlacement,
name: "耗材存放管理",
icon: "",
meta: {
authRule: ["invManage/invGoodsPlacement"]
}
},
{
path: "/invMaintenance",
component: Empty,
name: "库存养护",
icon: "",
meta: {
authRule: ["invMaintenance/manage"]
},
children: [
{
path: "/maintenanceOrder",
component: Empty,
name: "养护记录",
icon: "",
meta: {
authRule: ["invMaintenance/order"]
},
children: [
{
path: "maintenanceOrderNew",
component: invMAOrderNew,
name: "新增养护记录",
icon: "",
meta: {
authRule: ["invMaintenance/orderNew"]
},
},
{
path: "maintenanceOrderAudit",
component: invMAOrderAudit,
name: "审核养护记录",
icon: "",
meta: {
authRule: ["invMaintenance/orderAudit"]
},
}
]
},
{
path: "maintenanceOrderCompleted",
component: invMAOrderCompleted,
name: "养护记录查询",
icon: "",
meta: {
authRule: ["invMaintenance/orderCompleted"]
}
}
]
},
{
path: "/deviceManage",
component: Empty,
name: "设备管理",
icon: "",
meta: {
authRule: ["invManage/deviceManage"]
},
children: [
{
path: "/deviceCollectOrder",
component: Empty,
name: "设备领用",
icon: "",
meta: {
authRule: ["deviceCollectOrder/order"]
},
children: [
{
path: "deviceCollectOrderNew",
component: deviceCollectOrderNew,
name: "新增领用记录",
icon: "",
meta: {
authRule: ["deviceCollectOrder/orderNew"]
}
},
{
path: "deviceCollectOrderAudit",
component: deviceCollectOrderAudit,
name: "审核领用记录",
icon: "",
meta: {
authRule: ["deviceCollectOrder/orderAudit"]
}
},
{
path: "deviceCollectOrderCompleted",
component: deviceCollectOrderCompleted,
name: "领用记录查询",
icon: "",
meta: {
authRule: ["deviceCollectOrder/orderCompleted"]
}
},
]
},
{
path: "/deviceMA",
component: Empty,
name: "设备养护",
icon: "",
meta: {
authRule: ["deviceManage/deviceMAOrder"]
},
children: [
{
path: "deviceMAOrderNew",
component: deviceMAOrderNew,
name: "资产管理",
icon: "",
meta: {
authRule: ["deviceMA/orderNew"]
}
},
{
path: "deviceMAOrderCompleted",
component: deviceMAOrderCompleted,
name: "养护记录",
icon: "",
meta: {
authRule: ["deviceMA/orderCompleted"]
}
}
]
}
]
}
]
},
{
path: "/invCount",
component: Empty,
name: "盘点管理",
icon: "",
meta: {
authRule: ["inv/invCount"]
},
children: [
{
path: "countSetting",
component: invCountSetting,
name: "盘点设置",
icon: "",
meta: {
authRule: ["invCount/countSetting"]
}
},
{
path: "countOrderNew",
component: invCountOrderNew,
name: "新增盘点单",
icon: "",
meta: {
authRule: ["invCount/countOrderNew"]
}
},
{
path: "countOrderAudit",
component: invCountOrderAudit,
name: "盘点单审核",
icon: "",
meta: {
authRule: ["invCount/countOrderAudit"]
}
},
{
path: "countOrderCompleted",
component: invCountOrderCompleted,
name: "盘点单查询",
icon: "",
meta: {
authRule: ["invCount/countOrderCompleted"]
}
},
]
},
{
path: "/otherInvManage",
component: Empty,
name: "其他库管理",
icon: "",
meta: {
authRule: ["inv/otherInvManage"]
},
children: [
{
path: "invPreProducts",
component: invPreProducts,
name: "寄售库查询",
icon: "",
meta: {
authRule: ["inv/invPreProducts"]
}
},
{
path: "invPreInProducts",
component: invPreInProducts,
name: "预验收库查询",
icon: "",
meta: {
authRule: ["inv/invPreInProducts"]
}
},
]
},
{
path: "udiTrace",
name: "UDI码流向",
component: invUdiTraceOrder,
meta: {
authRule: ["inv/udiTrace"]
}
},
]
},
{
path: "/thrsys",
redirect: "/products/thrProducts",
component: Home,
name: "第三方数据",
icon: "tongyong",
hidden: false,
noDropdown: false,
meta: {
authRule: ["thrsys"]
},
children: [
{
path: "thrInvWarehouse",
component: thrInvWarehouse,
name: "仓库信息",
icon: "",
meta: {
authRule: ["thrsys/thrInvWarehouse"]
}
},
{
path: "/products",
redirect: "/products/thrProducts",
name: "产品信息",
component: Empty,
meta: {
authRule: ["thrsys/thrProducts"]
},
children: [
{
path: "thrProducts",
name: "产品信息查询",
component: thrProducts,
meta: {
authRule: ["thrsys/thrProducts/search"]
},
},
{
path: "thrProductsImport",
name: "产品信息导入",
component: thrProductsImport,
meta: {
authRule: ["thrsys/thrProductsImport"]
}
},
{
path: "thrProductsExport",
name: "产品信息导出",
component: thrProductsExport,
meta: {
authRule: ["thrsys/thrProductsExport"]
}
},
]
},
{
path: "/corps",
redirect: "/corps/ThrCorps",
name: "往来单位",
component: Empty,
meta: {
authRule: ["thrsys/corp"]
},
children: [
{
path: "ThrCorps",
name: "往来单位查询",
component: ThrCorps,
meta: {
authRule: ["thrsys/ThrCorps"]
}
},
{
path: "thrCorpsImport",
name: "往来单位导入",
component: thrCorpsImport,
meta: {
authRule: ["thrsys/thrCorpsImport"]
}
},
{
path: "thrCorpsExport",
name: "往来单位导出",
component: thrCorpsExport,
meta: {
authRule: ["thrsys/thrCorpsExport"]
}
}
],
},
{
path: "/orders",
redirect: "/orders/ThrOrders",
name: "业务单据",
component: Empty,
meta: {
authRule: ["thrsys/throrders"]
},
children: [
{
path: "ThrOrders",
name: "业务单据查询",
component: ThrOrders,
meta: {
authRule: ["thrsys/order/search"]
}
},
{
path: "thrOrderImport",
name: "业务单据导入",
component: thrOrderImport,
meta: {
authRule: ["thrsys/thrOrderImport"]
}
},
{
path: "thrOrderExport",
name: "业务单据导出",
component: thrOrderExport,
meta: {
authRule: ["thrsys/thrOrderExport"]
}
},],
},
{
path: "/invProducts",
redirect: "/invProducts/ThrInvProducts",
name: "库存信息",
component: Empty,
meta: {
authRule: ["thrsys/inv"]
},
children: [
{
path: "ThrInvProducts",
name: "库存信息查询",
component: ThrInvProducts,
meta: {
authRule: ["thrsys/ThrInvProducts"]
}
},
{
path: "thrInvProductsImport",
name: "库存信息导入",
component: thrInvProductsImport,
meta: {
authRule: ["thrsys/thrInvProductsImport"]
}
},
{
path: "thrInvProductsExport",
name: "库存信息导出",
component: thrInvProductsExport,
meta: {
authRule: ["thrsys/thrInvProductsExport"]
}
},]
},
// {
// path: "thirdSys",
// name: "参数设置",
// component: thirdSys,
// meta: {
// authRule: ["thrsys/thirdSys"]
// }
// },
]
},
{
path: "/api",
redirect: "/api/thirdSysApi",
component: Home,
icon: "tongyong",
name: "API接口",
hidden: true,
noDropdown: false,
meta: {
authRule: ["api"]
},
children: [
{
path: "thirdSysApi",
name: "基础信息上传",
component: thirdSysApi,
meta: {
authRule: ["api/thirdSysApi"]
}
},
{
path: "thirdSysApiDownload",
name: "基础信息下载",
component: thirdSysApiDownload,
meta: {
authRule: ["api/thirdSysApiDownload"]
}
},
]
},
{
path: "/",
icon: "showText",
component: showText,
redirect: "showText",
name: "文本",
hidden: true,
noDropdown: true,
children: [
{
path: "showText",
component: showText,
name: "文本",
},
]
},
];