1.调整菜单顺序名称

master
x_z 3 years ago
parent 4087c501d4
commit 95d35abfbc

@ -294,7 +294,7 @@ export const asyncRouterMap = [
redirect: "/systemPDFTemplate/template",
icon: "",
meta: {
authRule: ["systemParam/systemParamConfig"]
authRule: ["systemPDFTemplate/template"]
},
children: [
{
@ -397,6 +397,143 @@ export const asyncRouterMap = [
// },
]
},
{
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: "/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: "/inout",
component: Home,
@ -623,143 +760,257 @@ export const asyncRouterMap = [
]
},
{
path: "/product",
redirect: "/udiinfo/udiinfomg",
path: "/smp",
redirect: "/smp/udiinfoExportSmp",
component: Home,
icon: "tongyong",
name: "基础数据",
hidden: false,
name: "同步自助平台",
hidden: true,
noDropdown: false,
meta: {
authRule: ["basic"]
authRule: ["smp"]
},
children: [
{
path: "company",
name: "本机构信息",
component: company,
path: "udiinfoExportSmp",
name: "耗材字典",
component: udiinfoExportSmp,
meta: {
authRule: ["product/company"]
authRule: ["thrsys/udiinfoExportSmp"]
}
},
{
path: "invWarehouse",
component: invWarehouse,
name: "仓库字典",
icon: "",
path: "UdiInfoDonwloadSmp",
name: "器械信息下载",
component: UdiInfoDonwloadSmp,
hidden: true,
meta: {
authRule: ["basicProduct/invWarehouse"]
authRule: ["thrsys/UdiInfoDonwloadSmp"]
}
},
{
path: "/udiinfo",
redirect: "/udiinfo/udiinfomg",
name: "耗材字典",
path: "corpExportSmp",
name: "往来单位信息",
component: corpExportSmp,
meta: {
authRule: ["thrsys/corpExportSmp"]
}
},
{
path: "/thirdsysSmp",
redirect: "/thirdsysSmp/thrProductsExportSmp",
name: "第三方数据",
component: Empty,
meta: {
authRule: ["basic/products"]
authRule: ["thirdsysSmp/thirdsysSmp"]
},
children: [
{
path: "udiinfomg",
name: "耗材字典维护",
component: UdiInfoManage,
path: "thrInvExportSmp",
name: "仓库信息",
component: thrProductsExportSmp,
meta: {
authRule: ["basic/products/modify"]
authRule: ["thrsys/thrProductsExportSmp"]
}
},
{
path: "udiImport",
name: "耗材字典导入",
component: UdiInfoImport,
path: "thrProductsExportSmp",
name: "产品信息",
component: thrProductsExportSmp,
meta: {
authRule: ["basic/products/import"]
authRule: ["thrsys/thrProductsExportSmp"]
}
},
{
path: "udiinfoExport",
name: "耗材字典导出",
component: udiinfoExport,
path: "thrCorpsExportSmp",
name: "往来单位",
component: thrCorpsExportSmp,
meta: {
authRule: ["basic/products/export"]
authRule: ["thrsys/thrProductsExportSmp"]
}
},
{
path: "UdiInfoManageSp",
name: "供应商器械信息",
component: UdiInfoManageSp,
path: "thrOrderExportSmp",
name: "业务单据",
component: thrOrderExportSmp,
meta: {
authRule: ["product/UdiInfoManageSp"]
authRule: ["thrsys/thrOrderExportSmp"]
}
},
]
},
{
path: "/unit",
redirect: "/unit/unitMaintain",
name: "往来单位信息",
component: Empty,
path: "orderSmpDl",
name: "送货单下载",
component: UdiInfoSmpUpload,
hidden: true,
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"]
}
},]
authRule: ["thrsys/UdiInfoSmpUpload"]
}
},
]
},
{
path: "/myCode",
redirect: "/myCode/inCodeLog",
component: Home,
icon: "tongyong",
name: "内部码管理",
hidden: true,
noDropdown: false,
meta: {
authRule: ["myCode"]
},
children: [
{
path: "/udidb",
redirect: "/udidb/udidbSearch",
name: "本地UDI库",
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: "/invManage",
component: Empty,
name: "库存管理",
icon: "",
meta: {
authRule: ["basic/udidb"]
authRule: ["inv/invManage"]
},
children: [
{
path: "udidbSearch",
name: "DI信息查询",
component: udiInfoDb,
path: "BasicEntrutsRece",
name: "委托验收设置",
component: BasicEntrutsRece,
meta: {
authRule: ["basic/udidb/search"]
authRule: ["invManage/BasicEntrutsRece"]
}
}
// {
// path: "UdidbImportLog",
// name: "DI导入记录",
// component: UdidbImportLog,
// meta: {
// authRule: ["basic/udidb/importLog"]
// }
// }
},
{
path: "additionalOrder",
component: additionalOrder,
name: "补录单据查询",
meta: {
authRule: ["stock/additionalOrder"]
}
},
{
path: "stockOrderDelSearch",
component: stockOrderDelSearch,
name: "业务单据查询",
meta: {
authRule: ["inv/stockOrderDelSearch"]
}
},
{
path: "invStatistics",
component: invStatistics,
name: "库存统计",
icon: "",
meta: {
authRule: ["invManage/invStatistics"]
}
},
]
},
{
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: "stockCheck",
// name: "盘点单据",
// component: stockCheck,
// meta: {
// authRule: ["inv/stockCheck"]
// }
// },
{
path: "udiTrace",
name: "UDI码流向",
component: invUdiTraceOrder,
meta: {
authRule: ["inv/udiTrace"]
}
},
]
},
{
path: "/thrsys",
redirect: "/products/thrProducts",
@ -933,236 +1184,6 @@ export const asyncRouterMap = [
]
},
{
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: "additionalOrder",
component: additionalOrder,
name: "补录单据管理",
meta: {
authRule: ["stock/additionalOrder"]
}
},
{
path: "BasicEntrutsRece",
name: "委托验收",
component: BasicEntrutsRece,
meta: {
authRule: ["basic/BasicEntrutsRece"]
}
},
{
path: "stockOrderDelSearch",
component: stockOrderDelSearch,
name: "业务单据查询",
meta: {
authRule: ["inv/stockOrderDelSearch"]
}
},
{
path: "invProducts",
component: invProducts,
name: "库存查询",
icon: "",
meta: {
authRule: ["inv/invProducts"]
}
},
{
path: "invStatistics",
component: invStatistics,
name: "库存统计",
icon: "",
meta: {
authRule: ["inv/invStatistics"]
}
},
{
path: "invPreProducts",
component: invPreProducts,
name: "寄售库存查询",
icon: "",
meta: {
authRule: ["inv/invPreProducts"]
}
},
{
path: "invPreInProducts",
component: invPreInProducts,
name: "预验收库存查询",
icon: "",
meta: {
authRule: ["inv/invPreInProducts"]
}
},
// {
// path: "stockCheck",
// name: "盘点单据",
// component: stockCheck,
// meta: {
// authRule: ["inv/stockCheck"]
// }
// },
{
path: "udiTrace",
name: "UDI码追溯查询",
component: invUdiTraceOrder,
meta: {
authRule: ["inv/udiTrace"]
}
},
]
},
{
path: "/api",
redirect: "/api/thirdSysApi",

Loading…
Cancel
Save