<template>
  <div v-if="visible" @click.stop="()=>false">
    <el-dialog
      :visible.sync="visible"
      v-dialogDrag
      width="1200px"
      :close-on-click-modal="false"
      @close="cancel"
    >
      <div slot="title">
        {{ title }}
      </div>
      <feedBackTable />
    </el-dialog>
  </div>
</template>
<script>
import feedBackTable from "@/views/feedBack/index.vue";
export default {
  name: "FBT",
  components: { feedBackTable },
  data() {
    return {
      title: null,
      visible: false,
    };
  },
  computed: {
    disabled() {
      return false;
    },
  },
  methods: {
    open(data) {
      this.visible = true;
    },
    cancel() {
      this.visible = false;
      this.$emit("closed");
    },
  },
};
</script>
<style lang="scss" scoped>
::v-deep .el-dialog__body {
  padding-bottom: 0;
}
</style>