<template>
  <div class="policy">
<searchBox :btn-option-list="btnOptionList" @onSearch="onSearch" @operateForm="operateForm"/>
  </div>
</template>

<script>
import searchBox from '@/components/SearchBox.vue'
export default {
  name: '',
  components:{searchBox
  },
  props: {

  },
  data() { 
    return {
      btnOptionList:[
        {label:'新增',icon:'icon-tianjia',type:'add'},
        {label:'删除',icon:'icon-tianjia',type:'del'}

      ]
    }
  },
  mounted() {

  },
  methods:{
    onSearch(data){
      console.log(data)
    },
    operateForm(type){
      console.log(type  )

    },
  }
}
</script>

<style lang="scss" scoped>
.policy{
    width: 100%;
    height: 100%;
    padding: 0 15px;
}
</style>