|
@@ -6,6 +6,7 @@ import algorithmsLibrary from "./algorithmsLibrary"; // 算法库
|
|
import sceneLibrary from "./sceneLibrary"; // 场景库
|
|
import sceneLibrary from "./sceneLibrary"; // 场景库
|
|
import systemManagement from "./systemManagement"; // 账户管理
|
|
import systemManagement from "./systemManagement"; // 账户管理
|
|
import workManagement from "./workManagement"; // 工作管理
|
|
import workManagement from "./workManagement"; // 工作管理
|
|
|
|
+import personalInformation from "./personalInformation"
|
|
|
|
|
|
Vue.use(VueRouter);
|
|
Vue.use(VueRouter);
|
|
|
|
|
|
@@ -16,14 +17,14 @@ const routes = [
|
|
component: () => import("../views/login.vue")
|
|
component: () => import("../views/login.vue")
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- path: "/",
|
|
|
|
- name: "index",
|
|
|
|
- meta: {
|
|
|
|
- tabname: "首页"
|
|
|
|
- },
|
|
|
|
- component: () => import('../views/index'),
|
|
|
|
- redirect: '/mainPage',
|
|
|
|
- children: [
|
|
|
|
|
|
+ path: "/",
|
|
|
|
+ name: "index",
|
|
|
|
+ meta: {
|
|
|
|
+ tabname: "首页"
|
|
|
|
+ },
|
|
|
|
+ component: () => import('../views/index'),
|
|
|
|
+ redirect: '/mainPage',
|
|
|
|
+ children: [
|
|
{
|
|
{
|
|
path: "/mainPage",
|
|
path: "/mainPage",
|
|
name: "mainPage",
|
|
name: "mainPage",
|
|
@@ -82,6 +83,16 @@ const routes = [
|
|
redirect: '/index',
|
|
redirect: '/index',
|
|
children: systemManagement,
|
|
children: systemManagement,
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ path: "/personalInformation",
|
|
|
|
+ name: "personalInformation",
|
|
|
|
+ meta: {
|
|
|
|
+ tabname: "个人信息"
|
|
|
|
+ },
|
|
|
|
+ component: () => import("@/views/personalInformation/personalInformation"),
|
|
|
|
+ redirect: '/index',
|
|
|
|
+ children: personalInformation,
|
|
|
|
+ },
|
|
]
|
|
]
|
|
.concat([{
|
|
.concat([{
|
|
path: "*",
|
|
path: "*",
|