Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
61e5b9fc
提交
61e5b9fc
编写于
1月 11, 2022
作者:
tony001
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:更新
上级
a1c91de8
变更
20
显示空白字符变更
内嵌
并排
正在显示
20 个修改的文件
包含
82 行增加
和
24 行删除
+82
-24
include-view-control.hbs
...r7/@macro/front-end/views/config/include-view-control.hbs
+4
-0
view-base-config.hbs
...mpl/r7/@macro/front-end/views/config/view-base-config.hbs
+6
-1
view-control-form.hbs
...r7/@macro/front-end/views/view-form/view-control-form.hbs
+7
-0
view-control-grid.hbs
...r7/@macro/front-end/views/view-grid/view-control-grid.hbs
+3
-7
view-control-menu.hbs
...r7/@macro/front-end/views/view-menu/view-control-menu.hbs
+3
-0
grid-view-prop.ts
...apps}}/src/core/modules/views/grid-view/grid-view-prop.ts
+3
-3
grid-view-state.ts
...pps}}/src/core/modules/views/grid-view/grid-view-state.ts
+3
-3
grid-view.ts
...pp_{{apps}}/src/core/modules/views/grid-view/grid-view.ts
+3
-3
index.ts
...ces/templ/r7/app_{{apps}}/src/core/modules/views/index.ts
+1
-0
index.ts
...l/r7/app_{{apps}}/src/core/modules/views/md-view/index.ts
+3
-0
md-view-prop.ts
...p_{{apps}}/src/core/modules/views/md-view/md-view-prop.ts
+11
-0
md-view-state.ts
..._{{apps}}/src/core/modules/views/md-view/md-view-state.ts
+12
-0
md-view.ts
...r7/app_{{apps}}/src/core/modules/views/md-view/md-view.ts
+16
-0
{{pages@APPINDEXVIEW}}-config.ts.hbs
...pages@APPINDEXVIEW}}/{{pages@APPINDEXVIEW}}-config.ts.hbs
+1
-1
{{pages@DEEDITVIEW}}-config.ts.hbs
...}/{{pages@DEEDITVIEW}}/{{pages@DEEDITVIEW}}-config.ts.hbs
+1
-1
{{pages@DEGRIDVIEW}}-config.ts.hbs
...}/{{pages@DEGRIDVIEW}}/{{pages@DEGRIDVIEW}}-config.ts.hbs
+1
-1
{{pages@DEGRIDVIEW}}.vue.hbs
...dules}}/{{pages@DEGRIDVIEW}}/{{pages@DEGRIDVIEW}}.vue.hbs
+1
-1
{{pages@DEPICKUPGRIDVIEW}}-config.ts.hbs
...PICKUPGRIDVIEW}}/{{pages@DEPICKUPGRIDVIEW}}-config.ts.hbs
+1
-1
{{pages@DEPICKUPVIEW}}-config.ts.hbs
...pages@DEPICKUPVIEW}}/{{pages@DEPICKUPVIEW}}-config.ts.hbs
+1
-1
{{pages@DETREEEXPVIEW}}-config.ts.hbs
...ges@DETREEEXPVIEW}}/{{pages@DETREEEXPVIEW}}-config.ts.hbs
+1
-1
未找到文件。
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/views/config/include-view-control.hbs
0 → 100644
浏览文件 @
61e5b9fc
{{#
*
inline
"FORM"
}}{{>
@macro
/
front-end
/
views
/
view-form
/
view-control-form
.
hbs
}}{{/
inline
}}
{{#
*
inline
"SEARCHFORM"
}}{{>
@macro
/
front-end
/
views
/
view-form
/
view-control-form
.
hbs
}}{{/
inline
}}
{{#
*
inline
"GRID"
}}{{>
@macro
/
front-end
/
views
/
view-grid
/
view-control-grid
.
hbs
}}{{/
inline
}}
{{#
*
inline
"APPMENU"
}}{{>
@macro
/
front-end
/
views
/
view-menu
/
view-control-menu
.
hbs
}}{{/
inline
}}
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/views/co
mmon
/view-base-config.hbs
→
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/views/co
nfig
/view-base-config.hbs
浏览文件 @
61e5b9fc
{{>
@macro
/
front-end
/
views
/
config
/
include-view-control
}}
viewCodeName: '
{{
page
.
codeName
}}
',
viewName: '
{{
page
.
name
}}
',
viewCaption: '
{{
page
.
caption
}}
',
...
...
@@ -23,4 +24,8 @@
{{/
items
}}
{{/
page
.
viewToolBarItems
}}
],
{{>
@macro
/
front-end
/
views
/
common
/
control-action
}}
\ No newline at end of file
{{#
each
page
.
ctrls
as
|
ctrl
|
}}
{{#if
(
neq
ctrl
.
controlType
"TOOLBAR"
)
}}
{{>
(
lookup
.
'ctrl.controlType'
)
ctrl
=
ctrl
}}{{#
unless
@last
}}
,
{{/
unless
}}
{{/if}}
{{/
each
}}
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/views/view-form/view-control-form.hbs
0 → 100644
浏览文件 @
61e5b9fc
{{
name
}}
:{
loadAction: '
{{
ctrl
.
getPSControlAction
.
psAppDEMethod
.
codeName
}}
',
removeAction: '
{{
ctrl
.
removePSControlAction
.
psAppDEMethod
.
codeName
}}
',
updateAction: '
{{
ctrl
.
updatePSControlAction
.
psAppDEMethod
.
codeName
}}
',
loadDraftAction: '
{{
ctrl
.
getDraftPSControlAction
.
psAppDEMethod
.
codeName
}}
',
createAction: '
{{
ctrl
.
createPSControlAction
.
psAppDEMethod
.
codeName
}}
'
}
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/views/
common/control-action
.hbs
→
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/views/
view-grid/view-control-grid
.hbs
浏览文件 @
61e5b9fc
controlsAction:{
{{#
page
.
ctrls
as
|
ctrl
|
}}
{{#
neq
controlType
"TOOLBAR"
}}
{{
name
}}
:{
{{
name
}}
:{
action:{
loadAction: '
{{
ctrl
.
getPSControlAction
.
psAppDEMethod
.
codeName
}}
',
removeAction: '
{{
ctrl
.
removePSControlAction
.
psAppDEMethod
.
codeName
}}
',
updateAction: '
{{
ctrl
.
updatePSControlAction
.
psAppDEMethod
.
codeName
}}
',
loadDraftAction: '
{{
ctrl
.
getDraftPSControlAction
.
psAppDEMethod
.
codeName
}}
',
createAction: '
{{
ctrl
.
createPSControlAction
.
psAppDEMethod
.
codeName
}}
',
fetchAction:'
{{
ctrl
.
fetchPSControlAction
.
psAppDEMethod
.
codeName
}}
'
},
{{/
neq
}}
{{/
page
.
ctrls
}}
}
}
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/views/view-menu/view-control-menu.hbs
0 → 100644
浏览文件 @
61e5b9fc
{{
name
}}
:{
loadAction: '
{{
ctrl
.
getPSControlAction
.
psAppDEMethod
.
codeName
}}
'
}
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/core/modules/views/grid-view/grid-view-prop.ts
浏览文件 @
61e5b9fc
import
{
M
ain
ViewProps
}
from
"@core"
;
import
{
M
D
ViewProps
}
from
"@core"
;
/**
* @description 表格视图props
* @export
* @interface GridViewProps
* @extends {M
ain
ViewProps}
* @extends {M
D
ViewProps}
*/
export
interface
GridViewProps
extends
M
ain
ViewProps
{
export
interface
GridViewProps
extends
M
D
ViewProps
{
}
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/core/modules/views/grid-view/grid-view-state.ts
浏览文件 @
61e5b9fc
import
{
M
ain
ViewState
}
from
"@core"
;
import
{
M
D
ViewState
}
from
"@core"
;
/**
* @description 表格视图状态
* @export
* @interface GridViewState
* @extends {M
ain
ViewState}
* @extends {M
D
ViewState}
*/
export
interface
GridViewState
extends
M
ain
ViewState
{
export
interface
GridViewState
extends
M
D
ViewState
{
/**
* @description 表格行激活模式
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/core/modules/views/grid-view/grid-view.ts
浏览文件 @
61e5b9fc
import
{
GridViewProps
,
GridViewState
,
M
ain
View
}
from
'@core'
;
import
{
GridViewProps
,
GridViewState
,
M
D
View
}
from
'@core'
;
/**
* @description 表格视图
* @export
* @class GridView
* @extends {M
ain
View}
* @extends {M
D
View}
*/
export
class
GridView
extends
M
ain
View
{
export
class
GridView
extends
M
D
View
{
/**
* @description 视图状态
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/core/modules/views/index.ts
浏览文件 @
61e5b9fc
export
*
from
'./view-base'
export
*
from
'./main-view'
export
*
from
'./md-view'
export
*
from
'./exp-view'
export
*
from
'./edit-view'
export
*
from
'./index-view'
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/core/modules/views/md-view/index.ts
0 → 100644
浏览文件 @
61e5b9fc
export
*
from
'./md-view-prop'
export
*
from
'./md-view-state'
export
*
from
'./md-view'
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/core/modules/views/md-view/md-view-prop.ts
0 → 100644
浏览文件 @
61e5b9fc
import
{
MainViewProps
}
from
'@core'
;
/**
* 多数据视图输入参数
*
* @export
* @interface MDViewProps
* @extends {MainViewProps}
*/
export
interface
MDViewProps
extends
MainViewProps
{
}
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/core/modules/views/md-view/md-view-state.ts
0 → 100644
浏览文件 @
61e5b9fc
import
{
MainViewState
}
from
'@core'
;
/**
* 多数据视图状态
*
* @export
* @interface MDViewState
* @extends {MainViewState}
*/
export
interface
MDViewState
extends
MainViewState
{
}
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/core/modules/views/md-view/md-view.ts
0 → 100644
浏览文件 @
61e5b9fc
import
{
MainView
,
MDViewState
}
from
'@core'
;
/**
* 多数据视图
*
* @export
* @class MDView
* @extends {MainView}
*/
export
class
MDView
extends
MainView
{
/**
* 视图状态数据
*/
public
declare
viewState
:
MDViewState
;
}
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@APPINDEXVIEW}}/{{pages@APPINDEXVIEW}}-config.ts.hbs
浏览文件 @
61e5b9fc
export const ViewConfig = {
{{>
@macro
/
front-end
/
views
/
co
mmon
/
view-base-config
.
hbs
}}
{{>
@macro
/
front-end
/
views
/
co
nfig
/
view-base-config
.
hbs
}}
};
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DEEDITVIEW}}/{{pages@DEEDITVIEW}}-config.ts.hbs
浏览文件 @
61e5b9fc
export const ViewConfig = {
{{>
@macro
/
front-end
/
views
/
co
mmon
/
view-base-config
.
hbs
}}
{{>
@macro
/
front-end
/
views
/
co
nfig
/
view-base-config
.
hbs
}}
};
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DEGRIDVIEW}}/{{pages@DEGRIDVIEW}}-config.ts.hbs
浏览文件 @
61e5b9fc
export const ViewConfig = {
gridRowActiveMode:
{{
page
.
gridRowActiveMode
}}
,
rowEditState:
{{#if
page
.
enableRowEdit
}}{{
page
.
rowEditDefault
}}{{else}}
false
{{/if}}
,
{{>
@macro
/
front-end
/
views
/
co
mmon
/
view-base-config
.
hbs
}}
{{>
@macro
/
front-end
/
views
/
co
nfig
/
view-base-config
.
hbs
}}
};
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DEGRIDVIEW}}/{{pages@DEGRIDVIEW}}.vue.hbs
浏览文件 @
61e5b9fc
...
...
@@ -55,7 +55,7 @@ const { state, handleCtrlEvent, handleToolbarEvent } = new GridView(ViewConfig).
:rowActiveMode=
"state.gridRowActiveMode"
:showBusyIndicator=
"true"
:viewParams=
"state.viewParams"
:controlAction=
"state.
controlsAction.
{{
name
}}
"
:controlAction=
"state.
{{
name
}}
.action
"
:viewSubject=
"state.viewSubject"
@
ctrlEvent=
"handleCtrlEvent"
></
{{
codeName
}}
Grid>
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DEPICKUPGRIDVIEW}}/{{pages@DEPICKUPGRIDVIEW}}-config.ts.hbs
浏览文件 @
61e5b9fc
export const ViewConfig = {
{{>
@macro
/
front-end
/
views
/
co
mmon
/
view-base-config
.
hbs
}}
{{>
@macro
/
front-end
/
views
/
co
nfig
/
view-base-config
.
hbs
}}
};
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DEPICKUPVIEW}}/{{pages@DEPICKUPVIEW}}-config.ts.hbs
浏览文件 @
61e5b9fc
export const ViewConfig = {
{{>
@macro
/
front-end
/
views
/
co
mmon
/
view-base-config
.
hbs
}}
{{>
@macro
/
front-end
/
views
/
co
nfig
/
view-base-config
.
hbs
}}
};
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DETREEEXPVIEW}}/{{pages@DETREEEXPVIEW}}-config.ts.hbs
浏览文件 @
61e5b9fc
export const ViewConfig = {
{{>
@macro
/
front-end
/
views
/
co
mmon
/
view-base-config
.
hbs
}}
{{>
@macro
/
front-end
/
views
/
co
nfig
/
view-base-config
.
hbs
}}
};
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录