<template>
  <toolbar-container :fields="fields" v-on="$listeners" />
</template>

<script>
export default {
  name: 'UploadImageToolbar',

  data() {
    return {
      fields: [

        {
          type: 'SceneSelect',
          name: 'kindergartenId',
          label: '幼儿园',
        },
        {
          type: 'ActivitySelect',
          name: 'activityId',
          label: '活动',
        },
        {
          type: 'text',
          name: 'phonenumber',
          label: '手机号码',
        },
        {
          type: 'text',
          name: 'nickname',
          label: '用户名',
        },
        {
          type: 'dateArray',
          name: 'date',
          label: '选择日期',
          apiName: ['startTime', 'endTime']
        }
      ]
    };
  }
};
</script>

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