view-layout-model-repository-de-grid-view-layout.ts 3.7 KB
Newer Older
chitanda's avatar
chitanda committed
1
export default {
chitanda's avatar
chitanda committed
2 3
  "layoutMode": "FLEX",
  "rootPanelItems": [
chitanda's avatar
chitanda committed
4
    {
chitanda's avatar
chitanda committed
5
      "panelItems": [
chitanda's avatar
chitanda committed
6
        {
chitanda's avatar
chitanda committed
7
          "panelItems": [
chitanda's avatar
chitanda committed
8
            {
chitanda's avatar
chitanda committed
9 10
              "caption": "页面标题",
              "itemStyle": "DEFAULT",
11
              "itemType": "CTRLPOS",
chitanda's avatar
chitanda committed
12
              "layoutPos": {
13
                "shrink": 1,
chitanda's avatar
chitanda committed
14
                "layout": "FLEX"
chitanda's avatar
chitanda committed
15
              },
16 17
              "showCaption": true,
              "id": "captionbar"
chitanda's avatar
chitanda committed
18 19
            }
          ],
chitanda's avatar
chitanda committed
20 21
          "layout": {
            "layout": "FLEX"
chitanda's avatar
chitanda committed
22
          },
chitanda's avatar
chitanda committed
23 24 25 26 27
          "dataRegionType": "INHERIT",
          "caption": "容器",
          "itemStyle": "DEFAULT",
          "itemType": "CONTAINER",
          "layoutPos": {
28
            "shrink": 1,
chitanda's avatar
chitanda committed
29
            "layout": "FLEX"
chitanda's avatar
chitanda committed
30
          },
31
          "id": "page_header_left"
chitanda's avatar
chitanda committed
32 33
        },
        {
chitanda's avatar
chitanda committed
34
          "panelItems": [
chitanda's avatar
chitanda committed
35
            {
chitanda's avatar
chitanda committed
36
              "caption": "搜索栏",
chitanda's avatar
chitanda committed
37 38 39
              "itemStyle": "DEFAULT",
              "itemType": "CTRLPOS",
              "layoutPos": {
40
                "shrink": 1,
chitanda's avatar
chitanda committed
41
                "layout": "FLEX"
chitanda's avatar
chitanda committed
42 43
              },
              "showCaption": true,
chitanda's avatar
chitanda committed
44
              "id": "searchbar"
chitanda's avatar
chitanda committed
45 46
            },
            {
chitanda's avatar
chitanda committed
47
              "caption": "工具栏",
chitanda's avatar
chitanda committed
48 49 50
              "itemStyle": "DEFAULT",
              "itemType": "CTRLPOS",
              "layoutPos": {
51
                "shrink": 1,
chitanda's avatar
chitanda committed
52
                "layout": "FLEX"
chitanda's avatar
chitanda committed
53 54
              },
              "showCaption": true,
55
              "id": "toolbar"
chitanda's avatar
chitanda committed
56 57
            }
          ],
chitanda's avatar
chitanda committed
58
          "layout": {
chitanda's avatar
chitanda committed
59
            "dir": "row",
chitanda's avatar
chitanda committed
60
            "layout": "FLEX"
chitanda's avatar
chitanda committed
61
          },
chitanda's avatar
chitanda committed
62 63 64 65 66
          "dataRegionType": "INHERIT",
          "caption": "容器",
          "itemStyle": "DEFAULT",
          "itemType": "CONTAINER",
          "layoutPos": {
67
            "shrink": 1,
chitanda's avatar
chitanda committed
68
            "layout": "FLEX"
chitanda's avatar
chitanda committed
69
          },
70
          "id": "page_header_right"
chitanda's avatar
chitanda committed
71 72 73 74 75 76 77 78 79
        }
      ],
      "layout": {
        "align": "space-between",
        "dir": "row",
        "layout": "FLEX"
      },
      "dataRegionType": "INHERIT",
      "caption": "容器",
80 81
      "contentHeight": 54,
      "height": 54,
chitanda's avatar
chitanda committed
82 83 84
      "itemStyle": "DEFAULT",
      "itemType": "CONTAINER",
      "layoutPos": {
85
        "shrink": 0,
86
        "height": 54,
chitanda's avatar
chitanda committed
87
        "heightMode": "PX",
chitanda's avatar
chitanda committed
88 89
        "layout": "FLEX"
      },
90
      "id": "page_header"
chitanda's avatar
chitanda committed
91 92 93
    },
    {
      "panelItems": [
chitanda's avatar
chitanda committed
94
        {
chitanda's avatar
chitanda committed
95 96 97 98
          "caption": "搜索表单",
          "itemStyle": "DEFAULT",
          "itemType": "CTRLPOS",
          "layoutPos": {
99
            "shrink": 1,
chitanda's avatar
chitanda committed
100
            "layout": "FLEX"
chitanda's avatar
chitanda committed
101 102
          },
          "showCaption": true,
103
          "id": "searchform"
chitanda's avatar
chitanda committed
104 105
        }
      ],
chitanda's avatar
chitanda committed
106 107
      "layout": {
        "layout": "FLEX"
chitanda's avatar
chitanda committed
108
      },
chitanda's avatar
chitanda committed
109 110 111 112 113
      "dataRegionType": "INHERIT",
      "caption": "容器",
      "itemStyle": "DEFAULT",
      "itemType": "CONTAINER",
      "layoutPos": {
114
        "shrink": 0,
chitanda's avatar
chitanda committed
115
        "layout": "FLEX"
chitanda's avatar
chitanda committed
116
      },
117
      "id": "page_search_content"
chitanda's avatar
chitanda committed
118 119
    },
    {
chitanda's avatar
chitanda committed
120 121 122 123 124 125
      "panelItems": [
        {
          "caption": "表格",
          "itemStyle": "DEFAULT",
          "itemType": "CTRLPOS",
          "layoutPos": {
chitanda's avatar
chitanda committed
126
            "grow": 1,
127
            "shrink": 1,
chitanda's avatar
chitanda committed
128
            "layout": "FLEX"
chitanda's avatar
chitanda committed
129
          },
chitanda's avatar
chitanda committed
130
          "showCaption": true,
131
          "id": "grid"
chitanda's avatar
chitanda committed
132 133 134 135
        }
      ],
      "layout": {
        "layout": "FLEX"
chitanda's avatar
chitanda committed
136
      },
chitanda's avatar
chitanda committed
137 138 139 140 141
      "dataRegionType": "INHERIT",
      "caption": "容器",
      "itemStyle": "DEFAULT",
      "itemType": "CONTAINER",
      "layoutPos": {
chitanda's avatar
chitanda committed
142
        "grow": 1,
143
        "shrink": 1,
chitanda's avatar
chitanda committed
144
        "layout": "FLEX"
chitanda's avatar
chitanda committed
145
      },
146
      "id": "page_content"
chitanda's avatar
chitanda committed
147 148 149 150 151 152 153 154 155 156
    }
  ],
  "layoutPanel": true,
  "codeName": "GridViewLayout",
  "controlType": "VIEWLAYOUTPANEL",
  "logicName": "表格视图布局(预置模型)",
  "appDataEntityId": "web.viewlayoutmodelrepository",
  "controlParam": {},
  "name": "layoutpanel",
  "id": "gridviewlayout"
chitanda's avatar
chitanda committed
157
}