<template>
  <span>
    <c-button type="primary" @click="onDialogOpen" size="small">打印</c-button>
    <el-dialog title="打印" :visible.sync="dialogOpen" width="75%">
      <div class="eContainer">

      </div>
    </el-dialog>
  </span>
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils"

export default {
  props: ['service', 'flag', 'extkey', 'ctx'],
  data() {
    return {
      dialogOpen: false,
      loading: true,
      model: {
        ptyname: "",
        ptyData: []
      }
    }
  },
  methods: {
    onDialogOpen() {
      this.dialogOpen = true
    }
  }
}
</script>