|
|
|
@ -232,15 +232,7 @@ export const asyncRouterMap = [
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "phoneRegisterManage",
|
|
|
|
|
component: phoneRegisterManage,
|
|
|
|
|
name: "设备管理",
|
|
|
|
|
icon: "",
|
|
|
|
|
meta: {
|
|
|
|
|
authRule: ["admin/phoneRegisterManage"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
path: "/systemParam",
|
|
|
|
|
component: Empty,
|
|
|
|
@ -251,6 +243,15 @@ export const asyncRouterMap = [
|
|
|
|
|
authRule: ["systemParam/systemParamConfig"]
|
|
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: "phoneRegisterManage",
|
|
|
|
|
component: phoneRegisterManage,
|
|
|
|
|
name: "设备管理",
|
|
|
|
|
icon: "",
|
|
|
|
|
meta: {
|
|
|
|
|
authRule: ["admin/phoneRegisterManage"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "systemParamConfig",
|
|
|
|
|
component: systemParamConfig,
|
|
|
|
@ -277,22 +278,7 @@ export const asyncRouterMap = [
|
|
|
|
|
authRule: ["system/BussinessTypeLocl"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "bussinessTypeThird",
|
|
|
|
|
name: "第三方单据类型",
|
|
|
|
|
component: bussinessTypeThird,
|
|
|
|
|
meta: {
|
|
|
|
|
authRule: ["system/bussinessTypeThird"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "thirdSys",
|
|
|
|
|
name: "第三方系统",
|
|
|
|
|
component: thirdSys,
|
|
|
|
|
meta: {
|
|
|
|
|
authRule: ["system/thirdSys"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -350,7 +336,7 @@ export const asyncRouterMap = [
|
|
|
|
|
{
|
|
|
|
|
path: "spsSyncData",
|
|
|
|
|
component: spsSyncData,
|
|
|
|
|
name: "数据同步",
|
|
|
|
|
name: "同步记录",
|
|
|
|
|
icon: "",
|
|
|
|
|
meta: {
|
|
|
|
|
authRule: ["spsSyncMange/spsSyncData"]
|
|
|
|
@ -358,6 +344,35 @@ export const asyncRouterMap = [
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
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: "bussinessType",
|
|
|
|
@ -729,179 +744,180 @@ export const asyncRouterMap = [
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/thrsys",
|
|
|
|
|
redirect: "/products/thrProducts",
|
|
|
|
|
component: Empty,
|
|
|
|
|
name: "第三方数据",
|
|
|
|
|
icon: "tongyong",
|
|
|
|
|
hidden: false,
|
|
|
|
|
noDropdown: false,
|
|
|
|
|
meta: {
|
|
|
|
|
authRule: ["thrsys"]
|
|
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: "thrInvWarehouse",
|
|
|
|
|
component: thrInvWarehouse,
|
|
|
|
|
name: "仓库信息",
|
|
|
|
|
icon: "",
|
|
|
|
|
meta: {
|
|
|
|
|
authRule: ["thrsys/thrInvWarehouse"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/thrsys",
|
|
|
|
|
path: "/products",
|
|
|
|
|
redirect: "/products/thrProducts",
|
|
|
|
|
name: "产品信息",
|
|
|
|
|
component: Empty,
|
|
|
|
|
name: "第三方数据",
|
|
|
|
|
hidden: false,
|
|
|
|
|
noDropdown: false,
|
|
|
|
|
meta: {
|
|
|
|
|
authRule: ["thrsys"]
|
|
|
|
|
authRule: ["thrsys/thrProducts"]
|
|
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: "thrInvWarehouse",
|
|
|
|
|
component: thrInvWarehouse,
|
|
|
|
|
name: "仓库信息",
|
|
|
|
|
icon: "",
|
|
|
|
|
path: "thrProducts",
|
|
|
|
|
name: "产品信息查询",
|
|
|
|
|
component: thrProducts,
|
|
|
|
|
meta: {
|
|
|
|
|
authRule: ["thrsys/thrProducts/search"]
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "thrProductsImport",
|
|
|
|
|
name: "产品信息导入",
|
|
|
|
|
component: thrProductsImport,
|
|
|
|
|
meta: {
|
|
|
|
|
authRule: ["thrsys/thrInvWarehouse"]
|
|
|
|
|
authRule: ["thrsys/thrProductsImport"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/products",
|
|
|
|
|
redirect: "/products/thrProducts",
|
|
|
|
|
name: "产品信息",
|
|
|
|
|
component: Empty,
|
|
|
|
|
path: "thrProductsExport",
|
|
|
|
|
name: "产品信息导出",
|
|
|
|
|
component: thrProductsExport,
|
|
|
|
|
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"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
authRule: ["thrsys/thrProductsExport"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/corps",
|
|
|
|
|
redirect: "/corps/ThrCorps",
|
|
|
|
|
name: "往来单位",
|
|
|
|
|
component: Empty,
|
|
|
|
|
meta: {
|
|
|
|
|
authRule: ["thrsys/corp"]
|
|
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: "/corps",
|
|
|
|
|
redirect: "/corps/ThrCorps",
|
|
|
|
|
name: "往来单位",
|
|
|
|
|
component: Empty,
|
|
|
|
|
path: "ThrCorps",
|
|
|
|
|
name: "往来单位查询",
|
|
|
|
|
component: ThrCorps,
|
|
|
|
|
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"]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
authRule: ["thrsys/ThrCorps"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
path: "/orders",
|
|
|
|
|
redirect: "/orders/ThrOrders",
|
|
|
|
|
name: "业务单据",
|
|
|
|
|
component: Empty,
|
|
|
|
|
path: "thrCorpsImport",
|
|
|
|
|
name: "往来单位导入",
|
|
|
|
|
component: thrCorpsImport,
|
|
|
|
|
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"]
|
|
|
|
|
}
|
|
|
|
|
},],
|
|
|
|
|
authRule: ["thrsys/thrCorpsImport"]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: "/invProducts",
|
|
|
|
|
redirect: "/invProducts/ThrInvProducts",
|
|
|
|
|
name: "库存信息",
|
|
|
|
|
component: Empty,
|
|
|
|
|
path: "thrCorpsExport",
|
|
|
|
|
name: "往来单位导出",
|
|
|
|
|
component: thrCorpsExport,
|
|
|
|
|
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"]
|
|
|
|
|
}
|
|
|
|
|
},]
|
|
|
|
|
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: "thirdSys",
|
|
|
|
|
// name: "参数设置",
|
|
|
|
|
// component: thirdSys,
|
|
|
|
|
// meta: {
|
|
|
|
|
// authRule: ["thrsys/thirdSys"]
|
|
|
|
|
// }
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
{
|
|
|
|
|
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"]
|
|
|
|
|
// }
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
@ -1140,7 +1156,7 @@ export const asyncRouterMap = [
|
|
|
|
|
component: Home,
|
|
|
|
|
icon: "tongyong",
|
|
|
|
|
name: "API接口",
|
|
|
|
|
hidden: false,
|
|
|
|
|
hidden: true,
|
|
|
|
|
noDropdown: false,
|
|
|
|
|
meta: {
|
|
|
|
|
authRule: ["api"]
|
|
|
|
|