index.vue
1.71 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<template>
<div class="app-container">
<el-tabs v-model="activeName" @tab-change="handleTabChange">
<el-tab-pane label="基础配置" name="first">
<base-config />
</el-tab-pane>
<el-tab-pane label="费用配置" name="second">
<cost-config />
</el-tab-pane>
<el-tab-pane label="收款账号配置" name="third">
<account-config />
</el-tab-pane>
<el-tab-pane label="段位考试年限配置" name="fourth">
<duan />
</el-tab-pane>
<el-tab-pane label="越段配置" name="fifth">
<yue-duan />
</el-tab-pane>
<el-tab-pane label="年度业务配置" name="sixth">
<annual-business ref="sixthRef" />
</el-tab-pane>
<el-tab-pane label="优惠政策配置" name="youHui">
<you-hui />
</el-tab-pane>
<el-tab-pane label="个人会员审核配置" name="seventh">
<personal-review />
</el-tab-pane>
<el-tab-pane label="单位会员审核配置" name="eighth">
<unit-review />
</el-tab-pane>
</el-tabs>
</div>
</template>
<script setup name="Config">
import { ref } from 'vue'
import BaseConfig from './components/base'
import CostConfig from './components/cost'
import AccountConfig from './components/account'
import Duan from './components/duan'
import YueDuan from './components/yueDuan'
import AnnualBusiness from './components/annual_business'
import youHui from './components/youHui'
import PersonalReview from './components/personalReview'
import UnitReview from './components/unitReview'
const activeName = ref('first')
const sixthRef = ref()
function handleTabChange(tabName) {
if (tabName === 'sixth') {
sixthRef.value.init()
}
}
</script>