<template>
  <div class="">
    <toolbar @onSearch="filterData" />

    <base-table
      class="m-10 bg-w p-20 br-10"
      :columns="columns"
      :items="items"
      :pagination="pagination"
      :page-change="pageChange"
    />
  </div>
</template>

<script>
import toolbar from './toolbar';
import mxFilterList from '@/mixins/filterList';

export default {
  name: 'PhotographerVerify',

  components: { toolbar },

  mixins: [
    mxFilterList({
      // fetchList: iGetList // 在下方data再声明一个 fetchList: iGetList 同等效果
    })
  ],

  data() {
    return {
      columns: [
        {
          key: 'photo',
          name: '会员ID',
          width: '160'
        },
        {
          key: 'region',
          name: '申请者',
          width: '180'
        },
        {
          key: 'region',
          name: '姓名',
          width: '120'
        },
        {
          key: 'region',
          name: '身份证号码',
          minWidth: '180'
        },
        {
          key: 'region',
          name: '手机号',
          width: '180'
        },
        {
          key: 'region',
          name: '微信号',
          width: '180'
        },
        {
          key: 'region',
          name: '电子邮箱',
          width: '180'
        },
        {
          key: 'region',
          name: '常合作场景',
          minWidth: '180'
        },
        {
          key: 'region',
          name: '状态',
          minWidth: '180'
        },
        {
          key: 'action',
          name: '操作',
          minWidth: '180'
        }
      ]
    };
  }
};
</script>

<style type="scss" scoped></style>
