# 基础使用


<template>
  <div
      class="GeneralBase"
      style="margin: auto; max-width: 1600px; height: 600px; position: relative"
  >
    <!-- 实际开发中需要传入request方法 -->
    <oce-general
        ref="xnyGeneral"
        :option="generalOption"
        :urlInfo="urlInfo"
    >
    </oce-general>
  </div>
</template>

<script>
export default {
  name: 'GeneralBase',
  data() {
    return {
      urlInfo: {
        optionUrl: {
          url: '/system/webTable/tableInfo',
          method: 'post',
          webTableName: 'testTable',
        },
        dataUrl: {
          url: '/system/webTable/tableData',
          method: 'post',
        },
      },
      generalOption: {
        tableOption: {}
      },
    }
  },
  methods: {},
  created() {
  },
}
</script>

Expand Copy
Last Updated: 11/29/2023, 11:04:47 AM