<template>
    <div>
        <el-button @click="showDialog1">通知供应商</el-button>
        <el-button @click="showDialog2">添加供应商联系人</el-button>
<!--        <business-file-download-dialog :closeDownBatch="closeAddSupplierContact" :form="form" :visible="visible" :api="dialogApi"></business-file-download-dialog>-->
<!--        <task-dialog :form="form" :visible="visible"></task-dialog>-->
        <!--<business-file-download-dialog :closeDownBatch="closeAddSupplierContact" :form="form" :visible="visible" :api="dialogApi"></business-file-download-dialog>-->
        <task-dialog1 :form="form" :visible="visible1"></task-dialog1>
        <task-dialog2 :form="form" :visible="visible2"></task-dialog2>
    </div>
</template>

<script>
// import businessFileDownloadDialog from '@/components/tracemgr/common/businessFileDownloadDialog'
import taskDialog1 from '@/components/tracemgr/factoringCommissioner/taskTable/supplierSupplementaryInformation/taskDialog'
import taskDialog2 from '@/components/tracemgr/factoringCommissioner/taskTable/addSupplierContact/taskDialog'
export default {
  components: {
    // businessFileDownloadDialog
    taskDialog1,
    taskDialog2
    // taskDialog
  },
  data () {
    return {
      visible1: false,
      visible2: false,
      dialogApi: '',
      form: {}
      // editModel: 'V'
    }
  },
  methods: {
    showDialog1 () {
      this.visible1 = !this.visible1
    },
    showDialog2 () {
      this.visible2 = !this.visible2
    },
    closeAddSupplierContact () {
      this.visible = !this.visible
    }
  }
}
</script>
