lrf402788946 5 年之前
父节点
当前提交
6ec790b4f0
共有 2 个文件被更改,包括 7 次插入2 次删除
  1. 5 0
      config/menu-config.js
  2. 2 2
      layout/admin/list-frame.vue

+ 5 - 0
config/menu-config.js

@@ -24,6 +24,11 @@ export const devMenu = [
     name: '班主任管理',
     module: 'center',
   },
+  {
+    path: '/dept/index',
+    name: '部门管理',
+    module: 'center',
+  },
   {
     path: '/work/index',
     name: '作业管理',

+ 2 - 2
layout/admin/list-frame.vue

@@ -3,7 +3,7 @@
     <el-scrollbar style="height:100%">
       <el-card style="background:rgb(231, 224, 235);border-radius: 60px;" shadow="hover">
         <el-row>
-          <el-col :span="20" class="title">
+          <el-col :span="21" class="title">
             <span v-if="returns">
               <el-button
                 size="mini"
@@ -19,7 +19,7 @@
               {{ title }}
             </slot>
           </el-col>
-          <el-col :span="4" class="title" v-if="needAdd">
+          <el-col :span="3" class="title" v-if="needAdd">
             <el-button type="primary" icon="el-icon-plus" size="mini" @click="$emit('add')">新增</el-button>
           </el-col>
         </el-row>