<template>
    <el-dialog
      v-if="dialogVisible"
      title="选择自选专业"
      :visible.sync="dialogVisible"
      width="70%"
    >
      <subject-choice :course0="course0" :course1="course1" ></subject-choice>
      <span slot="footer" class="dialog-footer">
        <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
      </span>
    </el-dialog>
</template>
<script>
import SubjectChoice from'@/views/career/subject/subjectChoice'
export default {
  components: {
    SubjectChoice
  },
  data() {
    return{
      dialogVisible:false,
      course0: '',
      course1: '',
    }
  },
  methods: {
    open(course0, course1) {
      this.dialogVisible = true
      this.course0 = course0
      this.course1 = course1
    },
    handleClose() {

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