<template>
  <app-dialog v-model="visible" :loading="resultLoading" :title="title" append-to-body class="detail-dialog"
              hide-footer width="60%"
  >
    <div class="page-view flex-1 ml-15 h-100">
      <div class="pa-11 bg-white h-100 flex-col border-radius-5">
        11111
      </div>
    </div>
    <div ref="dialogFooter" slot="footer" class="gz-dialog-footer text-r" style="margin-top: 10px">
      <el-button :loading="resultLoading" class="confirm_btn"
                 type="primary" @click="handleSubmitAdd"
      >确
      定
      </el-button>
      <el-button class="cancel_btn" @click="onCancel">取 消</el-button>
    </div>
  </app-dialog>
</template>

<script>
import dialogMixin from '@/mixins/dialog.js';
import tableMixin from '@/mixins/table.js';

export default {
  name: 'ResultDialog',
  mixins: [dialogMixin, tableMixin],
  props: {
    title: {
      type: String,
      default: '',
    },
  },
  data() {
    return {
      resultLoading: false,
    };
  },
  methods: {
    initData(data) {
      console.log(data);
    },
    handleSubmitAdd() {
      this.visible = false;
    },
    onCancel() {
      this.visible = false;
    },
  },
};
</script>

<style lang="scss" scoped>
</style>
