Explorar el Código

个人信息0622

shiyu hace 3 años
padre
commit
5ceae90377

+ 19 - 8
src/router/index.js

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

+ 9 - 0
src/router/personalInformation.js

@@ -0,0 +1,9 @@
+export default [{
+    path: "/personalInformation",
+    name: "personalInformation",
+    meta: {            
+        tabname: "个人信息",
+        menuKind: "personalInformation"
+    },        
+    component: () => import("@/views/personalInformation/personalInformation")
+}]      

+ 15 - 0
src/views/personalInformation/personalInformation.vue

@@ -0,0 +1,15 @@
+<!-- 个人信息 -->
+<template>
+    <div>
+        AAA
+    </div>
+</template>
+
+<script>
+    export default {
+
+    }
+</script>
+
+<style scoped lang="less"> 
+</style>