123456789101112131415161718192021222324252627282930313233343536373839 |
- <template>
- <toolbar-container :fields="fields" v-on="$listeners" />
- </template>
- <script>
- import AUDITTYPE from '@/const/auditType';
- export default {
- name: 'ImageGoodsManagementToolbar',
- data() {
- return {
- fields: [
- // TODO 上传者+
- {
- type: 'select',
- name: 'title',
- label: '上传位置'
- },
- {
- type: 'select',
- name: 'auditStatus',
- label: '状态',
- options: AUDITTYPE,
- format: val => (val !== null && val !== '' ? !!val : null)
- },
- {
- type: 'dateArray',
- name: 'date',
- label: '上传日期',
- apiName: ['startTime', 'endTime']
- }
- ]
- };
- }
- };
- </script>
- <style type="scss" scoped></style>
|