src/views/user/student/list.vue
@@ -4,6 +4,14 @@
      <el-form-item label="真实姓名:">
        <el-input v-model="queryParam.userName" size="small" clearable></el-input>
      </el-form-item>
      <el-form-item label="部门:">
        <el-cascader
          clearable
          v-model="queryParam.departmentId"
          :options="depts"
          :props="{ emitPath: false, value: 'id', label: 'name',  checkStrictly: true, multiple: true }"
          ></el-cascader>
      </el-form-item>
      <el-form-item >
       <div style="display: flex">
         <el-button type="primary" @click="submitForm" size="small">查询</el-button>
@@ -126,12 +134,14 @@
  },
  data () {
    return {
      depts: [],
      user:{},
      statusVisible: false,
      upLoadUrl:'/api/admin/user/import',
      fileList:[],
      queryParam: {
        userName: '',
        departmentId: [],
        roles: [1],
        pageIndex: 1,
        pageSize: 10
@@ -162,7 +172,10 @@
    }
  },
  created () {
    this.search()
    this.search();
    department.getDeptAdmins().then(res => {
      this.depts = res.response;
    })
  },
  methods: {
    deptAdmin() {