Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
e94c621b
提交
e94c621b
编写于
5月 25, 2023
作者:
chitanda
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 补充多项选择视图布局面板
上级
1bf134a2
变更
6
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
210 行增加
和
7 行删除
+210
-7
CHANGELOG.md
plugins/view-layout-panel-dsl/CHANGELOG.md
+4
-0
index.ts
plugins/view-layout-panel-dsl/src/index.ts
+2
-0
view-layout-model-repository-de-chart-view-layout.ts
...tory/view-layout-model-repository-de-chart-view-layout.ts
+5
-7
view-layout-model-repository-dem-pickup-view-layout.ts
...ry/view-layout-model-repository-dem-pickup-view-layout.ts
+194
-0
index.ts.hbs
plugins/view-layout-panel-dsl/template/index.ts.hbs
+2
-0
{{pages@DEMPICKUPVIEW}}.ts.hbs
...l/template/{{appEntities}}/{{pages@DEMPICKUPVIEW}}.ts.hbs
+3
-0
未找到文件。
plugins/view-layout-panel-dsl/CHANGELOG.md
浏览文件 @
e94c621b
...
...
@@ -7,6 +7,10 @@
## [Unreleased]
### Added
-
多数据选择视图布局面板
## [1.0.10] - 2023-05-25
### Added
...
...
plugins/view-layout-panel-dsl/src/index.ts
浏览文件 @
e94c621b
...
...
@@ -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
DEMPickupView
from
'./view-layout-model-repository/view-layout-model-repository-dem-pickup-view-layout'
;
/**
* 安装视图默认布局
...
...
@@ -26,4 +27,5 @@ export function install(callBack: (key: string, model: any) => void): void {
callBack
(
'DEOPTVIEW_DEFAULT'
,
DEOptView
);
callBack
(
'DEPICKUPGRIDVIEW_DEFAULT'
,
DEPickupGirdView
);
callBack
(
'DEPICKUPVIEW_DEFAULT'
,
DEPickupView
);
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-chart-view-layout.ts
浏览文件 @
e94c621b
export
default
{
"layoutMode"
:
"
TABLE_24COL
"
,
"layoutMode"
:
"
FLEX
"
,
"rootPanelItems"
:
[
{
"panelItems"
:
[
...
...
@@ -40,10 +40,9 @@ export default {
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"colMD"
:
24
,
"height"
:
54
,
"heightMode"
:
"PX"
,
"layout"
:
"
TABLE_24COL
"
"layout"
:
"
FLEX
"
},
"id"
:
"page_header"
},
...
...
@@ -68,8 +67,7 @@ export default {
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
"layout"
:
"FLEX"
},
"id"
:
"page_search_content"
},
...
...
@@ -94,8 +92,8 @@ export default {
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"
colMD"
:
24
,
"layout"
:
"
TABLE_24COL
"
"
grow"
:
1
,
"layout"
:
"
FLEX
"
},
"id"
:
"page_content"
}
...
...
plugins/view-layout-panel-dsl/src/view-layout-model-repository/view-layout-model-repository-dem-pickup-view-layout.ts
0 → 100644
浏览文件 @
e94c621b
export
default
{
"layoutMode"
:
"TABLE_24COL"
,
"rootPanelItems"
:
[
{
"panelItems"
:
[
{
"panelItems"
:
[
{
"caption"
:
"控件占位"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"layoutPos"
:
{
"grow"
:
1
,
"layout"
:
"FLEX"
},
"showCaption"
:
true
,
"id"
:
"pickupviewpanel"
}
],
"layout"
:
{
"layout"
:
"FLEX"
},
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"grow"
:
1
,
"layout"
:
"FLEX"
},
"id"
:
"container3"
},
{
"panelItems"
:
[
{
"actionType"
:
"UIACTION"
,
"uiactionId"
:
"panel_mpickupviewlayout_addselection_click@viewlayoutmodelrepository"
,
"tooltip"
:
"添加选中"
,
"uiactionTarget"
:
"NONE"
,
"caption"
:
"添加选中"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"BUTTON"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
},
"showCaption"
:
true
,
"id"
:
"addselection"
},
{
"actionType"
:
"UIACTION"
,
"uiactionId"
:
"panel_mpickupviewlayout_addall_click@viewlayoutmodelrepository"
,
"tooltip"
:
"添加全部"
,
"uiactionTarget"
:
"NONE"
,
"caption"
:
"添加全部"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"BUTTON"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
},
"showCaption"
:
true
,
"id"
:
"addall"
},
{
"actionType"
:
"UIACTION"
,
"uiactionId"
:
"panel_mpickupviewlayout_removeall_click@viewlayoutmodelrepository"
,
"tooltip"
:
"移出全部"
,
"uiactionTarget"
:
"NONE"
,
"caption"
:
"移出全部"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"BUTTON"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
},
"showCaption"
:
true
,
"id"
:
"removeall"
},
{
"actionType"
:
"UIACTION"
,
"uiactionId"
:
"panel_mpickupviewlayout_removeselection_click@viewlayoutmodelrepository"
,
"tooltip"
:
"移出选中"
,
"uiactionTarget"
:
"NONE"
,
"caption"
:
"移出选中"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"BUTTON"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
},
"showCaption"
:
true
,
"id"
:
"removeselection"
}
],
"layout"
:
{
"layout"
:
"FLEX"
},
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"容器"
,
"contentHeight"
:
36
,
"height"
:
36
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"height"
:
36
,
"heightMode"
:
"PX"
,
"layout"
:
"FLEX"
},
"id"
:
"container4"
},
{
"layout"
:
{
"layout"
:
"FLEX"
},
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
},
"id"
:
"container5"
}
],
"layout"
:
{
"dir"
:
"row"
,
"layout"
:
"FLEX"
},
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"id"
:
"container1"
},
{
"panelItems"
:
[
{
"actionType"
:
"UIACTION"
,
"uiactionId"
:
"panel_mpickupviewlayout_ok_click@viewlayoutmodelrepository"
,
"tooltip"
:
"确认"
,
"uiactionTarget"
:
"NONE"
,
"caption"
:
"确认"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"BUTTON"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
},
"showCaption"
:
true
,
"id"
:
"ok"
},
{
"actionType"
:
"UIACTION"
,
"uiactionId"
:
"panel_mpickupviewlayout_cancel_click@viewlayoutmodelrepository"
,
"tooltip"
:
"取消"
,
"uiactionTarget"
:
"NONE"
,
"caption"
:
"取消"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"BUTTON"
,
"layoutPos"
:
{
"layout"
:
"FLEX"
},
"showCaption"
:
true
,
"id"
:
"cancel"
}
],
"layout"
:
{
"dir"
:
"row-reverse"
,
"layout"
:
"FLEX"
},
"dataRegionType"
:
"INHERIT"
,
"caption"
:
"容器"
,
"contentHeight"
:
54
,
"height"
:
54
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"layoutPos"
:
{
"colMD"
:
24
,
"height"
:
54
,
"heightMode"
:
"PX"
,
"layout"
:
"TABLE_24COL"
},
"id"
:
"container2"
}
],
"layoutPanel"
:
true
,
"codeName"
:
"MPickupViewLayout"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"logicName"
:
"多项选择视图布局面板"
,
"appDataEntityId"
:
"web.viewlayoutmodelrepository"
,
"controlParam"
:
{},
"name"
:
"layoutpanel"
,
"id"
:
"mpickupviewlayout"
}
plugins/view-layout-panel-dsl/template/index.ts.hbs
浏览文件 @
e94c621b
...
...
@@ -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 DEMPickupView from './view-layout-model-repository/view-layout-model-repository-dem-pickup-view-layout';
/**
* 安装视图默认布局
...
...
@@ -26,4 +27,5 @@ export function install(callBack: (key: string, model: any) => void): void {
callBack('DEOPTVIEW_DEFAULT', DEOptView);
callBack('DEPICKUPGRIDVIEW_DEFAULT', DEPickupGirdView);
callBack('DEPICKUPVIEW_DEFAULT', DEPickupView);
callBack('DEMPICKUPVIEW_DEFAULT', DEMPickupView);
}
\ No newline at end of file
plugins/view-layout-panel-dsl/template/{{appEntities}}/{{pages@DEMPICKUPVIEW}}.ts.hbs
0 → 100644
浏览文件 @
e94c621b
{{#
eq
page
.
codeName
'ViewLayoutModelRepositoryDEMPickupViewLayout'
}}
export default
{{
jsonStringify
pageDSL
.
viewLayoutPanel
2
}}
{{/
eq
}}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录