<template>
  <div >
    <div class="content">
      <dataTable :table-data="tableData" :columns="columns" :page-obj="pageObj" :breads="breads" :checklist="checklist">
        
      </dataTable>
    </div>
  </div>
</template>

<script>
import dataTable from '@components/dataTable.vue'
export default {
  name: 'journalList',
  components: {
    dataTable
  },
  data() {
    return {
      checklist: [{
        title: '姓名',
        type: 'input',
        model: 'name'
      },
      {
        title: '用户操作',
        type: 'input',
        model: 'operation'
      }
      ],		
      breads: ['系统管理', '日志列表'],
      columns: [{
        label: '姓名',
        prop: 'name'
      },
      {
        label: '用户操作',
        prop: 'operation'
      },
      {
        label: '请求方式',
        prop: 'type'
      },
      {
        label: '请求参数',
        prop: 'parameter'
      },
      {
        label: '请求时长',
        prop: 'time'
      },
      {
        label: '状态',
        prop: 'state'
      }, {
        label: '操作IP',
        prop: 'IP'
      }, {
        label: '创建时间',
        prop: 'date',
        sortable: true
      }
      ], // 操作列
     
      pageObj: {
        size: 10,
        total: 1,
        currentPage: 1,
        sizes: [100, 200, 300],
        func: (currentPage) => {
          this.pageTurning(currentPage)
        }
      }
    }
  }

}
</script>

<style scoped>
	
</style>
