<template>
  <custom-modal v-model="visible" :width="1000" title="Data Processing Log">
    <pre class="data-processing-log">{{ text }}</pre>
    <div slot="custom-footer" style="text-align: center;">
      <a-space :size="20">
        <a-button type="primary">Export</a-button>
        <a-button @click="visible = false">Cancel</a-button>
      </a-space>
    </div>
  </custom-modal>
</template>

<script>
import ModalMixin from '@/mixins/ModalMixin'
export default {
  mixins: [ModalMixin],
  data() {
    return {
      text: `--------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
      --------------------------    SampleAnalyse Beginning at 2023-07-10 11:44:56    --------------------------
       `
    }
  }
}
</script>

<style lang="less" scoped>
.data-processing-log {
  height: 450px;
  padding: 5px;
  overflow: auto;
  background-color: #285367;
}
</style>
