|
|
@@ -41,55 +41,53 @@ const router = createRouter({
|
|
|
},
|
|
|
component: VoyageList,
|
|
|
},
|
|
|
- ],
|
|
|
-});
|
|
|
-let data = [
|
|
|
- {
|
|
|
- path: "/accountManage/subAccountList",
|
|
|
- name: "subAccountList",
|
|
|
- meta: {
|
|
|
- title: "子账户列表",
|
|
|
- code: "ACCOUNTLIST",
|
|
|
+ {
|
|
|
+ path: "/accountManage/subAccountList",
|
|
|
+ name: "subAccountList",
|
|
|
+ meta: {
|
|
|
+ title: "子账户列表",
|
|
|
+ code: "ACCOUNTLIST",
|
|
|
+ },
|
|
|
+ component: () => import("../views/accountManage/subAccountList.vue"),
|
|
|
},
|
|
|
- component: () => import("../views/accountManage/subAccountList.vue"),
|
|
|
- },
|
|
|
- {
|
|
|
- path: "/agencyManage/agencyCompanyList",
|
|
|
- name: "agencyCompanyList",
|
|
|
- meta: {
|
|
|
- title: "代理公司列表",
|
|
|
- code: "PROXYLIST",
|
|
|
+ {
|
|
|
+ path: "/agencyManage/agencyCompanyList",
|
|
|
+ name: "agencyCompanyList",
|
|
|
+ meta: {
|
|
|
+ title: "代理公司列表",
|
|
|
+ code: "PROXYLIST",
|
|
|
+ },
|
|
|
+ component: () => import("../views/agencyManage/agencyCompanyList.vue"),
|
|
|
},
|
|
|
- component: () => import("../views/agencyManage/agencyCompanyList.vue"),
|
|
|
- },
|
|
|
- {
|
|
|
- path: "/authManage/roleList",
|
|
|
- name: "roleList",
|
|
|
- meta: {
|
|
|
- title: "角色列表",
|
|
|
- code: "ROLELIST",
|
|
|
+ {
|
|
|
+ path: "/authManage/roleList",
|
|
|
+ name: "roleList",
|
|
|
+ meta: {
|
|
|
+ title: "角色列表",
|
|
|
+ code: "ROLELIST",
|
|
|
+ },
|
|
|
+ component: () => import("../views/authManage/roleList.vue"),
|
|
|
},
|
|
|
- component: () => import("../views/authManage/roleList.vue"),
|
|
|
- },
|
|
|
- {
|
|
|
- path: "/authManage/addRole",
|
|
|
- name: "addRole",
|
|
|
- meta: {
|
|
|
- title: "新增角色",
|
|
|
- code: "ADDUPDATEROLE",
|
|
|
+ {
|
|
|
+ path: "/authManage/addRole",
|
|
|
+ name: "addRole",
|
|
|
+ meta: {
|
|
|
+ title: "新增角色",
|
|
|
+ code: "ADDUPDATEROLE",
|
|
|
+ },
|
|
|
+ component: () => import("../views/authManage/addRole.vue"),
|
|
|
},
|
|
|
- component: () => import("../views/authManage/addRole.vue"),
|
|
|
- },
|
|
|
- {
|
|
|
- path: "/cargoManage/cargoList",
|
|
|
- name: "cargoList",
|
|
|
- meta: {
|
|
|
- title: "货种列表",
|
|
|
- code: "CARGOLIST",
|
|
|
+ {
|
|
|
+ path: "/cargoManage/cargoList",
|
|
|
+ name: "cargoList",
|
|
|
+ meta: {
|
|
|
+ title: "货种列表",
|
|
|
+ code: "CARGOLIST",
|
|
|
+ },
|
|
|
+ component: () => import("../views/cargoManage/cargoList.vue"),
|
|
|
},
|
|
|
- component: () => import("../views/cargoManage/cargoList.vue"),
|
|
|
- },
|
|
|
-];
|
|
|
+ ],
|
|
|
+});
|
|
|
|
|
|
export const asyncRouterList = [
|
|
|
{
|