import { setMainColumns } from '../js/tableConfig';
import { mainTableInfoUrl } from '../js/api';

/**模板
 * <p-table
      :selectedRowKeys.sync="mx_selectedRowKeys"
      :scroll="{ x: true }"
      ref="table"
      :columns="mx_columns"
      :remoteUrl="mx_remoteUrl"
      :remoteData="mx_remoteParams"
      dragle
      :rowSelectType="2"
    />
 */
export default {
  data() {
    return {
      mx_remoteUrl: {
        method: 'get',
        url:mainTableInfoUrl
      },
      mx_remoteParams: {},
      mx_columns:setMainColumns(this),
      mx_selectedRowKeys:[],
    };
  },
  methods: {

  }
};
