chenhaozhe
2026-01-21 55b45b81f3b6786593319125139c354cd3123fe9
调整 路由路径
3个文件已修改
60 ■■■■■ 已修改文件
.env.development 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/permission.js 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.development
@@ -5,19 +5,19 @@
ENV = 'development'
# 智云迈思L-MOM管理系统/开发环境
# # VUE_APP_BASE_API = http://localhost:81/API/
VUE_APP_BASE_API = 'http://47.96.97.237/API/'
VUE_APP_BASE_API = http://localhost:81/API/
# VUE_APP_BASE_API = 'http://47.96.97.237/API/'
# VUE_APP_BASE_API = 'http://220.189.218.155:9010/API/'
VUE_APP_BASE_API = 'http://localhost:8082/LuBaoAPI/'
# VUE_APP_BASE_API = 'http://localhost:8082/LuBaoAPI/'
#锦隆
# VUE_APP_BASE_API_INNER = 'http://192.168.1.11/API/'
# VUE_APP_BASE_API = http://61.174.29.234:8880/API/
# 宁波 四维尔
VUE_APP_BASE_API_INNER = http://192.168.0.236:9010/API/
VUE_APP_BASE_API = http://220.189.218.155:9010/API/
# VUE_APP_BASE_API_INNER = http://192.168.0.236:9010/API/
# VUE_APP_BASE_API = http://220.189.218.155:9010/API/
#杜贺
# VUE_APP_BASE_API = http://localhost:8082/API/
# 内网地址测试
# VUE_APP_BASE_API_INNER = http://192.168.1.11/API/
VUE_APP_BASE_API_INNER = http://192.168.1.11/API/
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
src/router/index.js
@@ -1813,7 +1813,7 @@
  //#region 运输定位
  //#region 运单费用结算单列表
  {
    path: "logistics/WayBillPaymentBill/YF_PayMentOtherBillTranList",
    path: "/logistics/WayBillPaymentBill/YFPayMentOtherBillTranList",
    component: Layout,
    hidden: true,
    redirect: "noredirect",
@@ -1823,10 +1823,10 @@
    },
    children: [
      {
        path: "/logistics/WayBillPaymentBill/YF_PayMentOtherBillTranList",
        path: "/logistics/WayBillPaymentBill/YFPayMentOtherBillTranList",
        component: () => import("@/views/logistics/WayBillPaymentBill/YF_PayMentOtherBillTranList.vue"),
        name: "yf_PayMentOtherBillTranList",
        meta: { title: "运单费用结算单", activeMenu: "logistics/WayBillPaymentBill" },
        name: "yfPayMentOtherBillTranList",
        meta: { title: "运单费用结算单", activeMenu: "/logistics/WayBillPaymentBill" },
      },
    ],
  },
src/store/modules/permission.js
@@ -74,21 +74,35 @@
                    name: "WL_YayBill",
                    path: "WL_YayBill",
                  },
                  {
                    meta: {
                      icon: "build",
                      link: null,
                      noCache: false,
                      title: "运单费用结算单",
                    },
                    component: () =>
                      import("@/views/logistics/WayBillPaymentBill/YF_PayMentOtherBillTranList.vue"),
                    hidden: false,
                    name: "yf_PayMentOtherBillTranList",
                    path: "YF_PayMentOtherBillTranList",
                  },
                ],
              },
              {
                meta: {
                  icon: "build",
                  link: null,
                  noCache: false,
                  title: "运输定位",
                },
                hidden: false,
                name: "WayBillPaymentBill",
                path: "WayBillPaymentBill",
                redirect: "noRedirect",
                component: "Layout",
                children: [{
                  meta: {
                    icon: "build",
                    link: null,
                    noCache: false,
                    title: "运单费用结算单",
                  },
                  component: () =>
                    import("@/views/logistics/WayBillPaymentBill/YF_PayMentOtherBillTranList.vue"),
                  hidden: false,
                  name: "yfPayMentOtherBillTranList",
                  path: "YFPayMentOtherBillTranList",
                }
                ]
              }
            ],
          },
          {