Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
b3164fa0
提交
b3164fa0
编写于
5月 26, 2023
作者:
chitanda
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 补充分页导航布局面板
上级
e9e07710
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
129 行增加
和
3 行删除
+129
-3
CHANGELOG.md
plugins/view-layout-panel-dsl/CHANGELOG.md
+6
-0
app-index-view-layout.ts
plugins/view-layout-panel-dsl/src/app-index-view-layout.ts
+3
-3
index.ts
plugins/view-layout-panel-dsl/src/index.ts
+2
-0
view-layout-model-repository-de-tab-exp-view-layout.ts
...ry/view-layout-model-repository-de-tab-exp-view-layout.ts
+115
-0
{{pages@DETABEXPVIEW}}.ts.hbs
...sl/template/{{appEntities}}/{{pages@DETABEXPVIEW}}.ts.hbs
+3
-0
未找到文件。
plugins/view-layout-panel-dsl/CHANGELOG.md
浏览文件 @
b3164fa0
...
...
@@ -7,6 +7,12 @@
## [Unreleased]
## [1.0.12] - 2023-05-25
### Added
-
分页导航视图布局面板
## [1.0.11] - 2023-05-25
### Added
...
...
plugins/view-layout-panel-dsl/src/app-index-view-layout.ts
浏览文件 @
b3164fa0
...
...
@@ -28,8 +28,8 @@ export default {
},
{
"rawItem"
:
{
"predefinedType"
:
"NAV_POS"
,
"id"
:
"nav_pos"
"predefinedType"
:
"NAV_POS
_INDEX
"
,
"id"
:
"nav_pos
_index
"
},
"caption"
:
"导航区占位"
,
"itemStyle"
:
"DEFAULT"
,
...
...
@@ -39,7 +39,7 @@ export default {
"layout"
:
"FLEX"
},
"showCaption"
:
true
,
"id"
:
"nav_pos"
"id"
:
"nav_pos
_index
"
}
],
"layout"
:
{
...
...
plugins/view-layout-panel-dsl/src/index.ts
浏览文件 @
b3164fa0
...
...
@@ -7,6 +7,7 @@ import DEListView from './view-layout-model-repository/view-layout-model-reposit
import
DEOptView
from
'./view-layout-model-repository/view-layout-model-repository-de-option-view-layout'
;
import
DEPickupGirdView
from
'./view-layout-model-repository/view-layout-model-repository-de-pickup-grid-view-layout'
;
import
DEPickupView
from
'./view-layout-model-repository/view-layout-model-repository-de-pickup-view-layout'
;
import
DETabExpView
from
'./view-layout-model-repository/view-layout-model-repository-de-tab-exp-view-layout'
;
import
DEMPickupView
from
'./view-layout-model-repository/view-layout-model-repository-dem-pickup-view-layout'
;
/**
...
...
@@ -27,5 +28,6 @@ export function install(callBack: (key: string, model: any) => void): void {
callBack
(
'DEOPTVIEW_DEFAULT'
,
DEOptView
);
callBack
(
'DEPICKUPGRIDVIEW_DEFAULT'
,
DEPickupGirdView
);
callBack
(
'DEPICKUPVIEW_DEFAULT'
,
DEPickupView
);
callBack
(
'DETABEXPVIEW_DEFAULT'
,
DETabExpView
);
callBack
(
'DEMPICKUPVIEW_DEFAULT'
,
DEMPickupView
);
}
\ No newline at end of file
plugins/view-layout-panel-dsl/src/view-layout-model-repository/view-layout-model-repository-de-tab-exp-view-layout.ts
0 → 100644
浏览文件 @
b3164fa0
export
default
{
"layoutMode"
:
"TABLE_24COL"
,
"rootPanelItems"
:
[
{
"panelItems"
:
[
{
"panelItems"
:
[
{
"caption"
:
"标题占位"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
},
"showCaption"
:
true
,
"id"
:
"captionbar"
}
],
"layout"
:
{
"layout"
:
"FLEX"
},
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
},
"id"
:
"container3"
},
{
"panelItems"
:
[
{
"caption"
:
"分页导航"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
},
"showCaption"
:
true
,
"id"
:
"drtab"
}
],
"layout"
:
{
"layout"
:
"FLEX"
},
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"grow"
:
1
,
"layout"
:
"FLEX"
},
"id"
:
"container4"
}
],
"layout"
:
{
"dir"
:
"row"
,
"layout"
:
"FLEX"
},
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"容器"
,
"contentHeight"
:
54
,
"height"
:
54
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"colMD"
:
24
,
"height"
:
54
,
"heightMode"
:
"PX"
,
"layout"
:
"TABLE_24COL"
},
"id"
:
"page_header"
},
{
"panelItems"
:
[
{
"rawItem"
:
{
"predefinedType"
:
"NAV_POS"
,
"id"
:
"nav_pos"
},
"caption"
:
"导航区占位"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
},
"showCaption"
:
true
,
"id"
:
"nav_pos"
}
],
"layout"
:
{
"layout"
:
"FLEX"
},
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"id"
:
"container2"
}
],
"layoutPanel"
:
true
,
"codeName"
:
"TabExpViewLayout"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"logicName"
:
"分页导航视图布局面板"
,
"appDataEntityId"
:
"web.viewlayoutmodelrepository"
,
"controlParam"
:
{},
"name"
:
"layoutpanel"
,
"id"
:
"tabexpviewlayout"
}
plugins/view-layout-panel-dsl/template/{{appEntities}}/{{pages@DETABEXPVIEW}}.ts.hbs
0 → 100644
浏览文件 @
b3164fa0
{{#
eq
page
.
codeName
'ViewLayoutModelRepositoryDETabExpViewLayout'
}}
export default
{{
jsonStringify
pageDSL
.
viewLayoutPanel
2
}}
{{/
eq
}}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录