apiList.vue 1.09 KB
<!-- api列表 -->
<template>
  <d2-container>
    <d2-table-header title="API列表"></d2-table-header>
    <d2-table
      :searchForm="searchForm"
      :tableParams="tableParams"
      :getListApi="getListApi"
    ></d2-table>
  </d2-container>
</template>

<script>
export default {
  name: 'apiList',
  data() {
    return {
      searchForm: {},
      getListApi: '',
      tableParams: {
        btnId: new Date().getTime() + parseInt(Math.random() * 1000),
        listName: 'list',
        tableColumns: [{
          label: 'id',
          prop: '',
          width: '200px'
        }, {
          label: 'API分类',
          prop: ''
        }, {
          label: 'API名称',
          prop: ''
        }, {
          label: '请求方式',
          prop: '',
          width: '180px'
        }, {
          label: 'API接口',
          prop: ''
        }, {
          label: '说明',
          prop: ''
        }, {
          label: '状态',
          prop: ''
        }]
      }
    }
  },

  components: {},

  computed: {},

  mounted() { },

  methods: {}
}

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