<style>
  .stuAudition {
    width: 586px !important;
    display: flex;
    flex-direction: column;
    height: 100 vh;
    padding: 15px 17px 0 17px;
    background-color: #f4f4f6;
  }

  .stuaudition_Bottom {
    margin-top: 17px;
    flex: 1;
    display: flex;
    overflow: auto;
  }
  .stuaudition_Bottom::-webkit-scrollbar {
    width: 6px;
    height: 8px;
  }

  .stuaudition_Bottom::-webkit-scrollbar-track {
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
    background: #c9c9c9;
  }

  .stuaudition_Bottom::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    background: #EDEDED;
  }
</style>
<template>
  <q-dialog v-model="persistent" full-height maximized position="right" persistent @hide="closeCutomer"
    transition-show="slide-left">
    <div class="stuAudition">
      <div class="stuaudition_Bottom">
        <student-shiting :save-obj="baseObj" @success="refreshStudentPage"></student-shiting>
      </div>
      <div class="dialog-out-close" @click="closeCutomer">
        <i class="iconfont icon-close" style="font-size:26px;" />
      </div>
    </div>
  </q-dialog>

</template>
<script>
  import studentShiting from '../student/student-shiting';
  export default {
    meta: {
      title: "试听"
    },
    components: {
      studentShiting
    },
    props: {
      saveObj: {
        type: Object,
        default: null
      }
    },
    data() {
      return {
        persistent: true,
        baseObj: {},
      }
    },
    created() {},
    mounted() {
      this.baseObj = this.saveObj;
    },
    methods: {
      closeCutomer() {
        this.$emit('close')
      },
      //刷新列表
      refreshStudentPage() {
        this.$emit('success');
      }
    }
  }

</script>
<style>
</style>
