<template>
  <el-dialog
    :title="$t2('高级筛选', 'components.advancedSearchDialog.title')"
    :append-to-body="true"
    :modal-append-to-body="true"
    :close-on-click-modal="false"
    :visible.sync="showDialog"
    :modal="false"
    custom-class="dialog-style list-dialog dialog-checkbox pd_8 "
    width="550px"
    @close="dialogClose"
    v-el-drag-dialog
    v-el-dialog-center
  >
    <div class="cont">
      <slot name="form"></slot>
    </div>
    <span slot="footer" class="dialog-footer">
      <el-button type="primary" plain class="button-sty" @click="dialogClose">
        <i class="el-icon-close el-icon"></i>
          {{ $t2('取 消', 'system.button.cancel2') }}
      </el-button>
      <el-button type="primary" plain class="button-sty" @click="clear">
        <i class="el-icon-brush el-icon"></i>
          {{ $t2('重 置', 'system.button.reset2') }}
      </el-button>
      <el-button type="primary" @click="dialogPrimary" class="button-sty">
        <i class="el-icon-check el-icon"></i>
          {{ $t2('确 定', 'system.button.confirm2') }}
      </el-button>
    </span>
  </el-dialog>
</template>

<script>
import {mixins} from './mixins';

export default {
  name: 'advancedSearchDialog',
  mixins: [mixins]
};
</script>

<style></style>
