<template>
  <el-dialog
    append-to-body
    v-if="dialogVisible"
    title="选科大数据分析"
    :visible.sync="dialogVisible"
    width="70%"
  >
    <group-subject-query :level="level" ></group-subject-query>
    <span slot="footer" class="dialog-footer">
        <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
      </span>
  </el-dialog>
</template>
<script>
import GroupSubjectQuery from '../../../permission/components/group-subject-query'
export default {
  name: 'GroupQueryDialog',
  components: {
    GroupSubjectQuery
  },
  data() {
    return{
      level: '', // zhuan ben
      year: '',
      dialogVisible: false
    }
  },
  methods: {
    open(year, level) {
      this.dialogVisible= true
      this.level  = level
      this.year = year
    },
    handleClose() {

    }
  }
}
</script>
<style scoped>
</style>
