<template>
  <a-card>
    <slot />
    <div :class="$style.action">
      <a-space>
        <a-button @click="$emit('close')">关闭</a-button>
        <a-button @click="$emit('reset')">重置</a-button>
        <a-button type="primary" @click="$emit('search')">查询</a-button>
        <a-button type="primary" @click="$emit('fnexport')" v-if="daochushow">导出</a-button>
      </a-space>
    </div>
  </a-card>
</template>

<script>
import components from './_import-components/sd-advance-search-import'

export default {
  name: 'SdAdvanceSearch',
  components,
  props: {
    daochushow: {
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {}
  },
  methods: {},
}
</script>

<style module lang="scss">
@use '@/common/design' as *;
.action {
  float: right;
}
</style>
