group-query-dialog.vue 853 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <template>
  2. <el-dialog
  3. append-to-body
  4. v-if="dialogVisible"
  5. title="选科大数据分析"
  6. :visible.sync="dialogVisible"
  7. width="70%"
  8. >
  9. <group-subject-query :level="level" :year="year"></group-subject-query>
  10. <span slot="footer" class="dialog-footer">
  11. <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
  12. </span>
  13. </el-dialog>
  14. </template>
  15. <script>
  16. import GroupSubjectQuery from'./group-subject-query'
  17. export default {
  18. name: 'GroupQueryDialog',
  19. components: {
  20. GroupSubjectQuery
  21. },
  22. data() {
  23. return{
  24. level: '', // zhuan ben
  25. year: '',
  26. dialogVisible: false
  27. }
  28. },
  29. methods: {
  30. open(year, level) {
  31. this.dialogVisible= true
  32. this.level = level
  33. this.year = year
  34. },
  35. handleClose() {
  36. }
  37. }
  38. }
  39. </script>
  40. <style scoped>
  41. </style>