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

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

  data() {
    return {
      fields: [
        {
          type: 'text',
          name: 'title',
          label: '标题'
        },
        {
          type: 'select',
          name: 'status',
          label: '状态'
        },
        {
          type: 'dateArray',
          name: 'date',
          label: '发布日期',
          apiName: ['start', 'end']
        }
      ]
    };
  }
};
</script>

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