king
2022-10-17 e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5
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
import Utils from '@/utils/utils.js'
 
class CommonTableBaseData {
  baseConfig = {
    type: 'system',
    Template: 'TreePage',
    enabled: false,
    setting: {
      tableName: '',
      title: 'Tree',
      order: '',
      dataresource: '',
      interType: 'inner',
      sysInterface: 'false',
      searchable: 'true',
      innerFunc: '',
      interface: '',
      outerFunc: '',
      width: 5
    },
    tabgroups: [{
      uuid: 'tabs',
      sublist: [
        {
          origin: true,          // 是否为示例
          uuid: Utils.getuuid(),
          label: 'tab1',
          type: 'SubTable',
          linkTab: '',
          supMenu: ''
        },
        {
          origin: true,
          uuid: Utils.getuuid(),
          label: 'tab2',
          type: 'SubTable',
          linkTab: '',
          supMenu: ''
        }
      ]
    }]
  }
 
  tabItems = [
    {
      type: 'tabs',
      label: '子表',
      subType: 'SubTable',
    }
  ]
}
 
export default new CommonTableBaseData()