<template>
  <div>
    <DialogLayout title="预览" width="680px" :visible="true"  @onConfirm="$emit('onCancel')"  @onCancel="$emit('onCancel')"
    :actionBarOption="{noCencel:true}">
      <div>
        <div v-for="(item,ind) in questionList" :key="item.id">
          <QuestionItem  :questionInfo="item" :serial="ind+1"></QuestionItem>
        </div>
      </div>
    </DialogLayout>
  </div>

</template>

<script>
import { DialogLayout } from '@/components/layout'
import QuestionItem from '@/views/assessment-evaluation/question-bank-manage/components/QuestionItem.vue'
export default {
  components: { DialogLayout, QuestionItem },
  data: () => ({
    mode: 0,
    format_questions_list: []
  }),
  props: {
    questionList: {
      default: []
    }
  },
  watch: {
  },
  created () {
  },
  methods: {
  }
}
</script>

<style>

</style>
