apiRecord.vue 1.23 KB
<!-- api调用记录 -->
<template>
  <d2-container>
    <el-form
      slot="header"
      inline="true"
    >
      <el-form-item label="访问时间:">
        <el-select>
          <el-option></el-option>
        </el-select>
      </el-form-item>
    </el-form>
    <d2-table
      :searchForm="searchForm"
      :tableParams="tableParams"
      :getListApi="getListApi"
    >
      <auth-button
        slot="auth-button"
        slot-scope="scope"
        :data="scope.scope"
      ></auth-button>
    </d2-table>
  </d2-container>
</template>

<script>
export default {
  name: 'apiRecord',
  data() {
    return {
      searchForm: {},
      getListApi: '',
      tableParams: {
        btnId: new Date().getTime() + parseInt(Math.random() * 1000),
        listName: 'list',
        tableColumns: [{
          label: '序号',
          prop: '',
          width: '200px'
        }, {
          label: '访问时间',
          prop: ''
        }, {
          label: '客户',
          prop: ''
        }, {
          label: '调用API',
          prop: '',
          width: '180px'
        }, {
          label: '调用结果',
          prop: ''
        }]
      }
    }
  },

  mounted() { },

  methods: {}
}

</script>
<style scoped>
</style>