<!--
@description: 工作流采购单变更公告记录pdf查看
@Modifier: lxl
-->
<template>
  <el-dialog
    v-dialogDrag
    append-to-body
    :lock-scroll="false"
    :visible.sync="dialogVisibleProPdf"
    title="预览信息"
    width="1280px"
    custom-class="el-dialog__body-p0 el-dialog__body-p8 el-dialog_table"
  >
    <procurementAlterRecordPdfCom :id="dialogData.id" :tender-type="dialogData.tenderType" />
    <span slot="footer" class="dialog-footer">
      <el-button @click="dialogVisibleProPdf = false">关 闭</el-button>
    </span>
  </el-dialog>
</template>

<script>
/* 组件*/
import procurementAlterRecordPdfCom from './procurementAlterRecordPdfComp'
export default {
  name: 'ChangeProPafDialog',
  components: { procurementAlterRecordPdfCom },
  data() {
    return {
      dialogVisibleProPdf: false,
      dialogData: {
        id: '',
        tenderType: ''
      }
    }
  },
  methods: {
    openDialog(data) {
      this.$nextTick(() => {
        this.dialogData = data
        this.dialogVisibleProPdf = true
      })
    }
  }
}
</script>

<style scoped>
</style>
