student-reset-view.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <div>
  3. <el-alert title="学员班级调整仅支持相同【班级类型】调整,且所选班级的剩余【课程类型】须完全相同若仅选择一个班级,则会为将所选学员从原班级中移除并新建班级"
  4. type="warning"
  5. :closable='false'
  6. class="alert"
  7. show-icon>
  8. </el-alert>
  9. <classListGroup :classList="classList" ref='classListGroup' :courseTypesByType='courseTypesByType'/>
  10. <div slot="footer" class="dialog-footer">
  11. <el-button @click="close">取 消</el-button>
  12. <el-button type="primary" @click="gotoSecond">下一步</el-button>
  13. </div>
  14. <div style="clear:both;"></div>
  15. </div>
  16. </template>
  17. <script>
  18. import classListGroup from './classList-group'
  19. export default {
  20. props: ['classList','courseTypesByType'],
  21. components: {
  22. classListGroup
  23. },
  24. data () {
  25. return {
  26. }
  27. },methods:{
  28. close(){
  29. this.$emit('close')
  30. },
  31. gotoSecond(){
  32. this.$refs.classListGroup.gotoSecond()
  33. }
  34. }
  35. }
  36. </script>
  37. <style lang="scss" scoped>
  38. .alert {
  39. margin-bottom: 10px;
  40. }
  41. .dialog-footer {
  42. float: right;
  43. }
  44. </style>