<template>
  <div>
    <select-class @selectClick="selectClick"></select-class>
    <list ref="list"></list>
  </div>
</template>

<script>
import list from './modules/list'
import selectClass from './modules/Select'

export default {
  components:{
    list,
    selectClass
  },
  methods:{
    selectClick (brandid,itemclassid) {
      this.$refs['list'].params.content.pageNumber = 1
      this.$refs['list'].params.content.brandids = [brandid]
      this.$refs['list'].params.content.itemclassids = [itemclassid]
      this.$refs['list'].listData()
    }
  }
}

</script>
<style>
</style>