ソースを参照

更新 权限

wzh 3 年 前
コミット
22464924a4
2 ファイル変更1 行追加60 行削除
  1. 1 59
      src/router/index.js
  2. 0 1
      src/store/index.js

+ 1 - 59
src/router/index.js

@@ -149,7 +149,7 @@ const router = createRouter({
       name: "portDeclarationList",
       meta: {
         title: "报港",
-        code: "DECLARELIST",
+        code: "DECLARE",
       },
       component: () => import("../views/voyage/portDeclarationList.vue"),
     },
@@ -165,62 +165,4 @@ const router = createRouter({
   ],
 });
 
-export const asyncRouterList = [
-  {
-    path: "/accountManage/subAccountList",
-    name: "subAccountList",
-    meta: {
-      title: "员工列表",
-      code: "ACCOUNTLIST",
-    },
-    component: () => import("../views/accountManage/subAccountList.vue"),
-  },
-  {
-    path: "/agencyManage/agencyCompanyList",
-    name: "agencyCompanyList",
-    meta: {
-      title: "代理公司列表",
-      code: "PROXYLIST",
-    },
-    component: () => import("../views/agencyManage/agencyCompanyList.vue"),
-  },
-  {
-    path: "/authManage/roleList",
-    name: "roleList",
-    meta: {
-      title: "职位列表",
-      code: "ROLELIST",
-    },
-    component: () => import("../views/authManage/roleList.vue"),
-  },
-  {
-    path: "/authManage/addRole",
-    name: "addRole",
-    meta: {
-      title: "新增职位",
-      code: "ADDUPDATEROLE",
-    },
-    component: () => import("../views/authManage/addRole.vue"),
-  },
-  {
-    path: "/shipOwnerManage/shipOwnerList",
-    name: "shipOwnerList",
-    meta: {
-      title: "船东列表",
-      code: "SHIPOWNERLIST",
-    },
-    component: () => import("../views/shipOwnerManage/shipOwnerList.vue"),
-  },
-
-  {
-    path: "/cargoManage/cargoList",
-    name: "cargoList",
-    meta: {
-      title: "货种列表",
-      code: "CARGOLIST",
-    },
-    component: () => import("../views/cargoManage/cargoList.vue"),
-  },
-];
-
 export default router;

+ 0 - 1
src/store/index.js

@@ -1,7 +1,6 @@
 import { createStore } from "vuex";
 import api from "../apis/fetch";
 import router from "../router";
-import { asyncRouterList } from "../router";
 import menuData from "../auth/menuData";
 console.log(import.meta.env.VITE_PROJECT_ENV);
 let baseurl = import.meta.env.VITE_BASEURL;