Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
a68c3a96
提交
a68c3a96
编写于
5月 08, 2023
作者:
chitanda
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 布局更新
上级
b226e602
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
77 行增加
和
82 行删除
+77
-82
app-index-view-layout.ts
plugins/view-layout-panel-dsl/src/app-index-view-layout.ts
+64
-72
view-layout-model-repository-de-grid-view-layout.ts
...itory/view-layout-model-repository-de-grid-view-layout.ts
+13
-10
未找到文件。
plugins/view-layout-panel-dsl/src/app-index-view-layout.ts
浏览文件 @
a68c3a96
...
@@ -6,30 +6,52 @@ export default {
...
@@ -6,30 +6,52 @@ export default {
{
{
"panelItems"
:
[
"panelItems"
:
[
{
{
"caption"
:
"标签页导航栏"
,
"panelItems"
:
[
"itemStyle"
:
"DEFAULT"
,
{
"itemType"
:
"CTRLPOS"
,
"caption"
:
"标签页导航栏"
,
"layoutPos"
:
{
"contentHeight"
:
36
,
"layoutPos"
:
"CENTER"
,
"height"
:
36
,
"layout"
:
"BORDER"
"itemStyle"
:
"DEFAULT"
,
},
"itemType"
:
"CTRLPOS"
,
"showCaption"
:
true
,
"layoutPos"
:
{
"id"
:
"nav_tabs1"
"height"
:
36
,
},
"heightMode"
:
"PX"
,
{
"layout"
:
"FLEX"
"rawItem"
:
{
},
"predefinedType"
:
"NAV_POS"
,
"showCaption"
:
true
,
"id"
:
"nav_pos1"
"id"
:
"nav_tabs"
},
{
"rawItem"
:
{
"predefinedType"
:
"NAV_POS"
,
"id"
:
"nav_pos"
},
"caption"
:
"导航区占位"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"layoutPos"
:
{
"grow"
:
1
,
"layout"
:
"FLEX"
},
"showCaption"
:
true
,
"id"
:
"nav_pos"
}
],
"layout"
:
{
"layout"
:
"FLEX"
},
},
"caption"
:
"导航区占位"
,
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"容器"
,
"contentHeight"
:
100
,
"itemStyle"
:
"DEFAULT"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"
RAWITEM
"
,
"itemType"
:
"
CONTAINER
"
,
"layoutPos"
:
{
"layoutPos"
:
{
"layoutPos"
:
"CENTER"
,
"layoutPos"
:
"CENTER"
,
"height"
:
100
,
"heightMode"
:
"PERCENTAGE"
,
"layout"
:
"BORDER"
"layout"
:
"BORDER"
},
},
"showCaption"
:
true
,
"id"
:
"container4"
"id"
:
"nav_pos1"
}
}
],
],
"layout"
:
{
"layout"
:
{
...
@@ -37,17 +59,17 @@ export default {
...
@@ -37,17 +59,17 @@ export default {
},
},
"dataRegionType"
:
"INHERIT"
,
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"面板容器"
,
"caption"
:
"面板容器"
,
"contentWidth"
:
8
0
,
"contentWidth"
:
10
0
,
"itemStyle"
:
"DEFAULT"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"layoutPos"
:
{
"layoutPos"
:
"CENTER"
,
"layoutPos"
:
"CENTER"
,
"layout"
:
"BORDER"
,
"layout"
:
"BORDER"
,
"width"
:
8
0
,
"width"
:
10
0
,
"widthMode"
:
"PERCENTAGE"
"widthMode"
:
"PERCENTAGE"
},
},
"showCaption"
:
true
,
"showCaption"
:
true
,
"id"
:
"container_scroll_main
1
"
"id"
:
"container_scroll_main"
},
},
{
{
"panelItems"
:
[
"panelItems"
:
[
...
@@ -60,7 +82,7 @@ export default {
...
@@ -60,7 +82,7 @@ export default {
"layout"
:
"BORDER"
"layout"
:
"BORDER"
},
},
"showCaption"
:
true
,
"showCaption"
:
true
,
"id"
:
"appmenu
1
"
"id"
:
"appmenu"
}
}
],
],
"layout"
:
{
"layout"
:
{
...
@@ -68,76 +90,46 @@ export default {
...
@@ -68,76 +90,46 @@ export default {
},
},
"dataRegionType"
:
"INHERIT"
,
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"面板容器"
,
"caption"
:
"面板容器"
,
"contentWidth"
:
20
,
"contentWidth"
:
2
4
0
,
"itemStyle"
:
"DEFAULT"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"layoutPos"
:
{
"layoutPos"
:
"WEST"
,
"layoutPos"
:
"WEST"
,
"layout"
:
"BORDER"
,
"layout"
:
"BORDER"
,
"width"
:
20
,
"width"
:
2
4
0
,
"widthMode"
:
"P
ERCENTAGE
"
"widthMode"
:
"P
X
"
},
},
"width"
:
20
,
"width"
:
2
4
0
,
"showCaption"
:
true
,
"showCaption"
:
true
,
"id"
:
"container_scroll_left
1
"
"id"
:
"container_scroll_left"
},
},
{
{
"panelItems"
:
[
"panelItems"
:
[
{
{
"panelItems"
:
[
"panelItems"
:
[
{
{
"panelItems"
:
[
"allowEmpty"
:
true
,
{
"caption"
:
"应用标题"
,
"allowEmpty"
:
true
,
"caption"
:
"应用标题"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
},
"id"
:
"app_apptitle"
}
],
"layout"
:
{
"layout"
:
"FLEX"
},
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"
CONTAINER
"
,
"itemType"
:
"
FIELD
"
,
"layoutPos"
:
{
"layoutPos"
:
{
"layout"
:
"FLEX"
"layout"
:
"FLEX"
},
},
"id"
:
"
container2
"
"id"
:
"
app_apptitle
"
},
},
{
{
"panelItems"
:
[
"rawItem"
:
{
{
"predefinedType"
:
"AUTH_USERINFO"
,
"rawItem"
:
{
"id"
:
"auth_userinfo"
"predefinedType"
:
"AUTH_USERINFO"
,
"id"
:
"auth_userinfo1"
},
"caption"
:
"用户信息"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
},
"showCaption"
:
true
,
"id"
:
"auth_userinfo1"
}
],
"layout"
:
{
"layout"
:
"FLEX"
},
},
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"用户信息"
,
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"
CONTAINER
"
,
"itemType"
:
"
RAWITEM
"
,
"layoutPos"
:
{
"layoutPos"
:
{
"layout"
:
"FLEX"
"layout"
:
"FLEX"
},
},
"id"
:
"container3"
"showCaption"
:
true
,
"id"
:
"auth_userinfo"
}
}
],
],
"layout"
:
{
"layout"
:
{
...
@@ -161,18 +153,18 @@ export default {
...
@@ -161,18 +153,18 @@ export default {
},
},
"dataRegionType"
:
"INHERIT"
,
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"面板容器"
,
"caption"
:
"面板容器"
,
"contentHeight"
:
80
,
"contentHeight"
:
64
,
"height"
:
80
,
"height"
:
64
,
"itemStyle"
:
"DEFAULT"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"layoutPos"
:
{
"layoutPos"
:
"NORTH"
,
"layoutPos"
:
"NORTH"
,
"height"
:
80
,
"height"
:
64
,
"heightMode"
:
"PX"
,
"heightMode"
:
"PX"
,
"layout"
:
"BORDER"
"layout"
:
"BORDER"
},
},
"showCaption"
:
true
,
"showCaption"
:
true
,
"id"
:
"container_scroll_header
1
"
"id"
:
"container_scroll_header"
}
}
],
],
"layout"
:
{
"layout"
:
{
...
...
plugins/view-layout-panel-dsl/src/view-layout-model-repository/view-layout-model-repository-de-grid-view-layout.ts
浏览文件 @
a68c3a96
...
@@ -26,33 +26,33 @@ export default {
...
@@ -26,33 +26,33 @@ export default {
"layoutPos"
:
{
"layoutPos"
:
{
"layout"
:
"FLEX"
"layout"
:
"FLEX"
},
},
"id"
:
"container
7
"
"id"
:
"container
4
"
},
},
{
{
"panelItems"
:
[
"panelItems"
:
[
{
{
"caption"
:
"
工具
栏"
,
"caption"
:
"
搜索
栏"
,
"itemStyle"
:
"DEFAULT"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"itemType"
:
"CTRLPOS"
,
"layoutPos"
:
{
"layoutPos"
:
{
"layout"
:
"FLEX"
"layout"
:
"FLEX"
},
},
"showCaption"
:
true
,
"showCaption"
:
true
,
"id"
:
"
tool
bar"
"id"
:
"
search
bar"
},
},
{
{
"caption"
:
"
搜索
栏"
,
"caption"
:
"
工具
栏"
,
"itemStyle"
:
"DEFAULT"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"itemType"
:
"CTRLPOS"
,
"layoutPos"
:
{
"layoutPos"
:
{
"layout"
:
"FLEX"
"layout"
:
"FLEX"
},
},
"showCaption"
:
true
,
"showCaption"
:
true
,
"id"
:
"
663c3dab99740d1417cb4d8d7e47b4e0
"
"id"
:
"
toolbar
"
}
}
],
],
"layout"
:
{
"layout"
:
{
"dir"
:
"row
-reverse
"
,
"dir"
:
"row"
,
"layout"
:
"FLEX"
"layout"
:
"FLEX"
},
},
"dataRegionType"
:
"INHERIT"
,
"dataRegionType"
:
"INHERIT"
,
...
@@ -62,7 +62,7 @@ export default {
...
@@ -62,7 +62,7 @@ export default {
"layoutPos"
:
{
"layoutPos"
:
{
"layout"
:
"FLEX"
"layout"
:
"FLEX"
},
},
"id"
:
"container
3
"
"id"
:
"container
5
"
}
}
],
],
"layout"
:
{
"layout"
:
{
...
@@ -75,9 +75,10 @@ export default {
...
@@ -75,9 +75,10 @@ export default {
"itemStyle"
:
"DEFAULT"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"layoutPos"
:
{
"heightMode"
:
"PX"
,
"layout"
:
"FLEX"
"layout"
:
"FLEX"
},
},
"id"
:
"container
6
"
"id"
:
"container
1
"
},
},
{
{
"panelItems"
:
[
"panelItems"
:
[
...
@@ -102,7 +103,7 @@ export default {
...
@@ -102,7 +103,7 @@ export default {
"layoutPos"
:
{
"layoutPos"
:
{
"layout"
:
"FLEX"
"layout"
:
"FLEX"
},
},
"id"
:
"container
4
"
"id"
:
"container
2
"
},
},
{
{
"panelItems"
:
[
"panelItems"
:
[
...
@@ -111,6 +112,7 @@ export default {
...
@@ -111,6 +112,7 @@ export default {
"itemStyle"
:
"DEFAULT"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"itemType"
:
"CTRLPOS"
,
"layoutPos"
:
{
"layoutPos"
:
{
"grow"
:
1
,
"layout"
:
"FLEX"
"layout"
:
"FLEX"
},
},
"showCaption"
:
true
,
"showCaption"
:
true
,
...
@@ -125,9 +127,10 @@ export default {
...
@@ -125,9 +127,10 @@ export default {
"itemStyle"
:
"DEFAULT"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"layoutPos"
:
{
"grow"
:
1
,
"layout"
:
"FLEX"
"layout"
:
"FLEX"
},
},
"id"
:
"container
5
"
"id"
:
"container
3
"
}
}
],
],
"layoutPanel"
:
true
,
"layoutPanel"
:
true
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录