<template>
  <div>
    <div class="i-layout-page-header">
      <PageHeader :title="$route.meta.title" :content="$route.meta.description" hidden-breadcrumb />
    </div>
    <Card :bordered="false" dis-hover class="ivu-mt">
      <view-table ref="table" view-code="StoreLocation" @create="$refs.form.open()" @edit="({ row, index }) => $refs.form.open(row)">
        <template #filterCommand>
          <slot name="filterCommand"></slot>
        </template>
        <template #command="{ row, index }">
          <slot name="command" :row="row" :index="index"></slot>
        </template>
      </view-table>
    </Card>
    <modal-form ref="form" view-code="LocationEdit" @on-after-save="$refs.table.loadData()" />
  </div>
</template>
<script>
  import { mixinPage } from 'mooho-base-admin-plus';

  export default {
    name: 'master-storeLocation',
    mixins: [mixinPage],
    components: {},
    data() {
      return {};
    },
    computed: {},
    created() {},
    methods: {}
  };
</script>
