|
@@ -10,11 +10,6 @@ import VoyageList from "../views/voyage/voyageList.vue";
|
|
|
const router = createRouter({
|
|
const router = createRouter({
|
|
|
history: createWebHashHistory(),
|
|
history: createWebHashHistory(),
|
|
|
routes: [
|
|
routes: [
|
|
|
- {
|
|
|
|
|
- path: "/",
|
|
|
|
|
- name: "index",
|
|
|
|
|
- component: () => import("../views/index/Index.vue"),
|
|
|
|
|
- },
|
|
|
|
|
{
|
|
{
|
|
|
path: "/login",
|
|
path: "/login",
|
|
|
name: "login",
|
|
name: "login",
|
|
@@ -45,7 +40,7 @@ const router = createRouter({
|
|
|
path: "/accountManage/subAccountList",
|
|
path: "/accountManage/subAccountList",
|
|
|
name: "subAccountList",
|
|
name: "subAccountList",
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: "子账户列表",
|
|
|
|
|
|
|
+ title: "员工列表",
|
|
|
code: "ACCOUNTLIST",
|
|
code: "ACCOUNTLIST",
|
|
|
},
|
|
},
|
|
|
component: () => import("../views/accountManage/subAccountList.vue"),
|
|
component: () => import("../views/accountManage/subAccountList.vue"),
|
|
@@ -63,7 +58,7 @@ const router = createRouter({
|
|
|
path: "/authManage/roleList",
|
|
path: "/authManage/roleList",
|
|
|
name: "roleList",
|
|
name: "roleList",
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: "角色列表",
|
|
|
|
|
|
|
+ title: "职位列表",
|
|
|
code: "ROLELIST",
|
|
code: "ROLELIST",
|
|
|
},
|
|
},
|
|
|
component: () => import("../views/authManage/roleList.vue"),
|
|
component: () => import("../views/authManage/roleList.vue"),
|
|
@@ -81,7 +76,7 @@ const router = createRouter({
|
|
|
path: "/authManage/addRole",
|
|
path: "/authManage/addRole",
|
|
|
name: "addRole",
|
|
name: "addRole",
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: "新增角色",
|
|
|
|
|
|
|
+ title: "新增职位",
|
|
|
code: "ADDUPDATEROLE",
|
|
code: "ADDUPDATEROLE",
|
|
|
},
|
|
},
|
|
|
component: () => import("../views/authManage/addRole.vue"),
|
|
component: () => import("../views/authManage/addRole.vue"),
|
|
@@ -103,7 +98,7 @@ export const asyncRouterList = [
|
|
|
path: "/accountManage/subAccountList",
|
|
path: "/accountManage/subAccountList",
|
|
|
name: "subAccountList",
|
|
name: "subAccountList",
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: "子账户列表",
|
|
|
|
|
|
|
+ title: "员工列表",
|
|
|
code: "ACCOUNTLIST",
|
|
code: "ACCOUNTLIST",
|
|
|
},
|
|
},
|
|
|
component: () => import("../views/accountManage/subAccountList.vue"),
|
|
component: () => import("../views/accountManage/subAccountList.vue"),
|
|
@@ -121,7 +116,7 @@ export const asyncRouterList = [
|
|
|
path: "/authManage/roleList",
|
|
path: "/authManage/roleList",
|
|
|
name: "roleList",
|
|
name: "roleList",
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: "角色列表",
|
|
|
|
|
|
|
+ title: "职位列表",
|
|
|
code: "ROLELIST",
|
|
code: "ROLELIST",
|
|
|
},
|
|
},
|
|
|
component: () => import("../views/authManage/roleList.vue"),
|
|
component: () => import("../views/authManage/roleList.vue"),
|
|
@@ -130,7 +125,7 @@ export const asyncRouterList = [
|
|
|
path: "/authManage/addRole",
|
|
path: "/authManage/addRole",
|
|
|
name: "addRole",
|
|
name: "addRole",
|
|
|
meta: {
|
|
meta: {
|
|
|
- title: "新增角色",
|
|
|
|
|
|
|
+ title: "新增职位",
|
|
|
code: "ADDUPDATEROLE",
|
|
code: "ADDUPDATEROLE",
|
|
|
},
|
|
},
|
|
|
component: () => import("../views/authManage/addRole.vue"),
|
|
component: () => import("../views/authManage/addRole.vue"),
|