Browse Source

系统管理

fengshaolong 2 years ago
parent
commit
ab999d0c98

+ 4 - 2
src/App.vue

@@ -160,8 +160,10 @@
             </el-submenu>
 
             <el-submenu index="8">
-              <template slot="title">系统管理</template>
-              <el-menu-item index="8-1">用户管理</el-menu-item>
+              <template slot="title">
+                <i class="el-icon-s-tools"></i>系统管理</template
+              >
+              <el-menu-item index="systemUser">用户管理</el-menu-item>
               <el-menu-item index="8-2">角色管理</el-menu-item>
               <el-menu-item index="8-3">菜单管理</el-menu-item>
               <el-menu-item index="8-4">岗位管理</el-menu-item>

+ 8 - 0
src/router/index.js

@@ -59,6 +59,14 @@ const routes = [
     },
     component: () => import('@/views/recruitmentManagement/recruitmentPlan/RecruitmentPeople.vue')
   },
+  {
+    path: '/systemUser',
+    name: 'systemUser',
+    meta:{
+      inStructure:true
+    },
+    component: () => import('@/views/systemManagement/systemUser/systemUser.vue')
+  },
 ]
 
 const router = new VueRouter({

+ 12 - 0
src/views/systemManagement/systemRole/systemRole.vue

@@ -0,0 +1,12 @@
+<template>
+  <div></div>
+</template>
+
+<script>
+export default {
+  name: "systemRole",
+};
+</script>
+
+<style scoped>
+</style>

+ 19 - 0
src/views/systemManagement/systemUser/systemUser.vue

@@ -0,0 +1,19 @@
+<template>
+  <div class="systemUserBox">
+    123
+  </div>
+</template>
+
+<script>
+export default {
+  name: "systemUser",
+  data() {
+    return {};
+  },
+  methods: {},
+  mounted() {},
+};
+</script>
+
+<style scoped>
+</style>