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
| <template>
| <div style="margin-right: 30px">
| <a-tabs type="card" default-active-key="1" @change="tabsCallback">
| <a-tab-pane key="1" tab="客户类型配置">
| <CustTypeConfig></CustTypeConfig>
| </a-tab-pane>
| <a-tab-pane key="2" tab="活动配置" force-render>
| <ActiveCom></ActiveCom>
| </a-tab-pane>
| </a-tabs>
| </div>
| </template>
|
| <script>
| import ActiveCom from './components/ActiveCom'
| import CustTypeConfig from './components/CustTypeConfig'
|
| export default {
| name: 'ActivityList',
|
|
| components: {
| ActiveCom,
| CustTypeConfig,
| },
|
| data() {
| return {
| description: 'Activity列表',
| // 表头
| }
| },
|
| methods: {
| tabsCallback(key) {
| console.log(key)
| },
| },
|
| created() {},
| }
| </script>
| <style scoped lang="less">
| @import '~@assets/less/common.less';
| /deep/ .ant-table-body {
| height: 500px;
| }
| </style>
|
|