同步设置菜单栏

master
anthonyywj2 3 years ago
parent a274c1c723
commit 5eefcbd983

@ -260,14 +260,6 @@ export const asyncRouterMap = [
authRule: ["system/systemParamConfig"] authRule: ["system/systemParamConfig"]
}, },
}, },
{
path: "syncConfig",
name: "同步设置",
component: syncConfig,
meta: {
authRule: ["systemConfig/syncConfig"]
}
},
{ {
path: "bussinessType", path: "bussinessType",
name: "扫码单据类型", name: "扫码单据类型",
@ -335,15 +327,38 @@ export const asyncRouterMap = [
}, },
] ]
}, },
{
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", path: "spsSyncData",
component: spsSyncData, component: spsSyncData,
name: "数据同步", name: "数据同步",
icon: "", icon: "",
meta: { meta: {
authRule: ["admin/spsSyncData"] authRule: ["spsSyncMange/spsSyncData"]
} }
}, },
]
},
// { // {
// path: "bussinessType", // path: "bussinessType",
// name: "单据类型", // name: "单据类型",

Loading…
Cancel
Save