zhuoyuan.wang
2024-06-19 15ebe96f28cadec6a726c5324593a40bbf56205f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<template>
  <app-layout-row marginTop="-13">
  <app-tab-wrapper
    v-bind="tabWrapperProps"
  >
    <template #[tab.name]="scope" v-for="tab in tabWrapperProps.tabList">
      <dict-table :type="tab.name"/>
    </template>
  </app-tab-wrapper>
  </app-layout-row>
</template>
 
<script setup>
import DictTable from './DictTable';
 
import {useI18n} from 'vue-i18n';
 
const {t} = useI18n();
 
const tabWrapperRef = ref();
 
const listWrapperProps = {
  headerDom: false,
  title: t('views.log.logInterface.IndexPage.BandTable.title'),
  complementHeight: 95,
};
 
const tabWrapperProps = {
  ref: tabWrapperRef,
  tabList: [
    {name: '0', label: '系统字典'},
    {name: '1', label: '业务字典'}
  ]
};
 
</script>