<script setup lang="ts" name="replace-mgr">
import type { MjGridProps } from '#/components/mj/mj-table'

import { wordBookStageService } from '#/api/service/word-book/word-book-stage'
import MjTable from '#/components/mj/mj-table'

// 表格
const gridRef = ref()
const grid = {
  columns: [
    { type: 'seq' },
    {
      field: 'name',
      title: '名称',
    },
  ],
} as MjGridProps
</script>

<template>
  <div class="stage-mgr g-container">
    <MjTable
      ref="gridRef"
      hide-remove
      hide-toolbar
      hide-search
      :grid="grid"
      :service="wordBookStageService"
      v-bind="$attrs"
    />
  </div>
</template>

<style lang="scss" scoped>
.stage-mgr {
  height: 100% !important;
}
</style>
