Browse Source

物流增加印度件过滤

master
zhouhongjun 1 year ago
parent
commit
3f7db0bb3c
  1. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/index.js

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/router/index.js

@ -96,7 +96,7 @@ const refreshRouter = async () => {
const serverRoutes = Object.assign([], remoteRoutes);
if (appStore.user.roles.some((o) => o === "物流")) {
const baseDataRoutes = serverRoutes.find((o) => o.path === "base-data");
baseDataRoutes.children = baseDataRoutes.children.filter((o) => o.path !== "bei-jian" && o.path !== "xiao-shou");
baseDataRoutes.children = baseDataRoutes.children.filter((o) => o.path !== "bei-jian" && o.path !== "xiao-shou" && o.path !== "yin-du-jian");
}
const setPermission = (list, parent = null) => {
list.forEach((o) => {

Loading…
Cancel
Save