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
<template>
<div class="app-container calendar-list-container">
<div class="app-container calendar-list-container">
<!--- this is my components-->
<!-- <hm-tab :schema="schema['CcHmUser']"></hm-tab> -->
<hm-tabs-table :schema="schema['HmUser']" :tabTitles="tabTitles" tabTypes="type"></hm-tabs-table>
</div>
</div>
</template>
<script>
import HmTab from './HmTabsTable.vue'
import schema from '../../schemas/hm_org_schema'
export default {
name: 'HmTabsTableIndex',
// 继承其他组件
extends: {},
// 使用其它组件
components: {
'hm-tabs-table': HmTab
},
data() {
return {
// 传递标签页标题
tabTitles: [
{ name: '未登录用户', type: '0' },
{ name: '已登录用户', type: '1' },
{ name: '用户', type: '2' }
]
}
},
computed: {
},
filters: {
},
created() {
this.schema = schema
},
methods: {}
}
</script>
<style scoped>
</style>