<template>
  <div class="project-search">
    <dataSearch @bindSetQuery="setQuery"></dataSearch>
    <dataList :queryForm="queryForm"></dataList>
  </div>

</template>

<script>
import {dataSearch,dataList} from "./components"
export default{
  components:{
    dataSearch,
    dataList,
  },
  data(){
    return{
        queryForm:{
          page:1,
          pageSize:10,
          name:'',
          category_id:'',
          brand_id:'',
          supplier_id:'',
          is_package:'',
          status:''
        },
    }
  },
  methods:{

    setQuery(e){
      this.queryForm=e;
    }

  }
}
</script>

<style lang="scss">
@import './search.scss'
</style>
