1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <template>
- <div class="">
- <toolbar @on-filter="filterData" @on-reset="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: 'PhotoVerify',
- 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: '140'
- },
- {
- key: 'region',
- name: '状态',
- width: '80'
- },
- {
- key: 'action',
- name: '操作',
- minWidth: '180'
- }
- ]
- };
- }
- };
- </script>
- <style type="scss" scoped></style>
|