Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
2349b784
提交
2349b784
编写于
12月 28, 2021
作者:
Shine-zwj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:函数方式转换
上级
230a7b52
变更
7
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
24 行增加
和
25 行删除
+24
-25
form-group.hbs
...main/resources/templ/r7/@macro/form-detail/form-group.hbs
+6
-7
form-item.hbs
.../main/resources/templ/r7/@macro/form-detail/form-item.hbs
+2
-2
form-page.hbs
.../main/resources/templ/r7/@macro/form-detail/form-page.hbs
+2
-2
grid-column-model.hbs
...sources/templ/r7/@macro/grid-detail/grid-column-model.hbs
+2
-2
grid-column.hbs
...ain/resources/templ/r7/@macro/grid-detail/grid-column.hbs
+1
-1
grid-summary-column.hbs
...urces/templ/r7/@macro/grid-detail/grid-summary-column.hbs
+1
-1
menu-item.hbs
.../main/resources/templ/r7/@macro/menu-detail/menu-item.hbs
+10
-10
未找到文件。
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/form-detail/form-group.hbs
浏览文件 @
2349b784
{{#
eq
item
.
p
S
LayoutPos
'FLEX'
}}
<div
style=
"flex-grow:
{{#if
item
.
p
SLayoutPos
.
grow
}}{{
item
.
pS
LayoutPos
.
grow
}}{{else}}
0
{{/if}}
;"
>
{{#
eq
item
.
p
s
LayoutPos
'FLEX'
}}
<div
style=
"flex-grow:
{{#if
item
.
p
sLayoutPos
.
grow
}}{{
item
.
ps
LayoutPos
.
grow
}}{{else}}
0
{{/if}}
;"
>
<IbizFormGroup
name=
"
{{
item
.
codeName
}}
"
title=
"
{{
item
.
caption
}}
"
>
{{#
eq
item
.
p
S
Layout
.
layout
"FLEX"
}}
<div
class=
"app-form-layout-flex"
style=
"
{{#if
item
.
p
SLayout
.
dir
}}
flex-direction:
{{
item
.
pSLayout
.
dir
}}
;
{{/if}}{{#if
item
.
pSLayout
.
align
}}
justify-content:
{{
item
.
pSLayout
.
align
}}
;
{{/if}}{{#if
item
.
pSLayout
.
vAlign
}}
align-items:
{{
item
.
pS
Layout
.
vAlign
}}
;
{{/if}}
"
>
{{#
eq
item
.
p
s
Layout
.
layout
"FLEX"
}}
<div
class=
"app-form-layout-flex"
style=
"
{{#if
item
.
p
sLayout
.
dir
}}
flex-direction:
{{
item
.
psLayout
.
dir
}}
;
{{/if}}{{#if
item
.
psLayout
.
align
}}
justify-content:
{{
item
.
psLayout
.
align
}}
;
{{/if}}{{#if
item
.
psLayout
.
vAlign
}}
align-items:
{{
item
.
ps
Layout
.
vAlign
}}
;
{{/if}}
"
>
{{#
each
item
.
psDEFormDetails
as
|
formDetail
|
}}
{{>
(
lookup
.
'formDetail.detailType'
)
item
=
formDetail
}}
{{/
each
}}
...
...
@@ -17,11 +17,10 @@
</IbizFormGroup>
</div>
{{else}}
{{
ctrl
.
getGridOptions
(
item
.
getPSLayoutPos
)
}}
<a-col
:span=
"24"
>
<IbizFormGroup
name=
"
{{
item
.
codeName
}}
"
title=
"
{{
item
.
caption
}}
"
>
{{#
eq
item
.
p
S
Layout
.
layout
"FLEX"
}}
<div
class=
"app-form-layout-flex"
style=
"
{{#if
item
.
p
SLayout
.
dir
}}
flex-direction:
{{
item
.
pSLayout
.
dir
}}
;
{{/if}}{{#if
item
.
pSLayout
.
align
}}
justify-content:
{{
item
.
pSLayout
.
align
}}
;
{{/if}}{{#if
item
.
pSLayout
.
vAlign
}}
align-items:
{{
item
.
pS
Layout
.
vAlign
}}
;
{{/if}}
"
>
{{#
eq
item
.
p
s
Layout
.
layout
"FLEX"
}}
<div
class=
"app-form-layout-flex"
style=
"
{{#if
item
.
p
sLayout
.
dir
}}
flex-direction:
{{
item
.
psLayout
.
dir
}}
;
{{/if}}{{#if
item
.
psLayout
.
align
}}
justify-content:
{{
item
.
psLayout
.
align
}}
;
{{/if}}{{#if
item
.
psLayout
.
vAlign
}}
align-items:
{{
item
.
ps
Layout
.
vAlign
}}
;
{{/if}}
"
>
{{#
each
item
.
psDEFormDetails
as
|
formDetail
|
}}
{{>
(
lookup
.
'formDetail.detailType'
)
item
=
formDetail
}}
{{/
each
}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/form-detail/form-item.hbs
浏览文件 @
2349b784
{{>
@macro
/
editor
/
include-editor
.
hbs
}}
{{#
eq
item
.
p
S
LayoutPos
'FLEX'
}}
<div
style=
"flex-grow:
{{#if
item
.
p
SLayoutPos
.
grow
}}{{
item
.
pS
LayoutPos
.
grow
}}{{else}}
0
{{/if}}
;"
>
{{#
eq
item
.
p
s
LayoutPos
'FLEX'
}}
<div
style=
"flex-grow:
{{#if
item
.
p
sLayoutPos
.
grow
}}{{
item
.
ps
LayoutPos
.
grow
}}{{else}}
0
{{/if}}
;"
>
<IbizFormItem
name=
"
{{
item
.
codeName
}}
"
label=
"
{{
item
.
caption
}}
"
>
{{#if
item
.
psEditor
}}
{{>
(
lookup
.
'item.psEditor.editorType'
)
item
=
item
}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/form-detail/form-page.hbs
浏览文件 @
2349b784
<a-tab-pane
key=
"
{{
item
.
codeName
}}
"
tab=
"
{{
item
.
caption
}}
"
>
{{#
eq
item
.
p
S
Layout
.
layout
"FLEX"
}}
<div
class=
"app-form-layout-flex"
style=
"
{{#if
item
.
p
SLayout
.
dir
}}
flex-direction:
{{
item
.
pSLayout
.
dir
}}
;
{{/if}}{{#if
item
.
pSLayout
.
align
}}
justify-content:
{{
item
.
pSLayout
.
align
}}
;
{{/if}}{{#if
item
.
pSLayout
.
vAlign
}}
align-items:
{{
item
.
pS
Layout
.
vAlign
}}
;
{{/if}}
"
>
{{#
eq
item
.
p
s
Layout
.
layout
"FLEX"
}}
<div
class=
"app-form-layout-flex"
style=
"
{{#if
item
.
p
sLayout
.
dir
}}
flex-direction:
{{
item
.
psLayout
.
dir
}}
;
{{/if}}{{#if
item
.
psLayout
.
align
}}
justify-content:
{{
item
.
psLayout
.
align
}}
;
{{/if}}{{#if
item
.
psLayout
.
vAlign
}}
align-items:
{{
item
.
ps
Layout
.
vAlign
}}
;
{{/if}}
"
>
{{#
each
item
.
psDEFormDetails
as
|
formDetail
|
}}
{{>
(
lookup
.
'formDetail.detailType'
)
item
=
formDetail
}}
{{/
each
}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/grid-detail/grid-column-model.hbs
浏览文件 @
2349b784
...
...
@@ -11,12 +11,12 @@
{{/
neq
}}
{{#
eq
item
.
columnType
'GROUPGRIDCOLUMN'
}}
children: [
{{#
each
item
.
p
S
DEGridColumns
as
|
column
|
}}
{{#
each
item
.
p
s
DEGridColumns
as
|
column
|
}}
{{>
(
lookup
'COLUMNMODEL'
)
item
=
column
}}
{{/
each
}}
],
{{else}}
dataIndex: "
{{
item
.
codeName
}}
",
dataIndex: "
{{
lowerCase
item
.
codeName
}}
",
ellipsis: true,
{{/
eq
}}
},
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/grid-detail/grid-column.hbs
浏览文件 @
2349b784
...
...
@@ -4,7 +4,7 @@
{{#
eq
item
.
columnType
'DEFGRIDCOLUMN'
}}
{{#if
item
.
enableRowEdit
}}
<div
v-if=
"state.rowEditState"
class=
"editor-cell"
>
{{#
each
ctrl
.
p
S
DEGridEditItems
as
|
editColumn
|
}}
{{#
each
ctrl
.
p
s
DEGridEditItems
as
|
editColumn
|
}}
{{#
eq
editColumn
.
codeName
(
item
.
codeName
)
}}
{{#if
item
.
psEditor
}}
{{>
(
lookup
.
'item.psEditor.editorType'
)
item
=
item
}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/grid-detail/grid-summary-column.hbs
浏览文件 @
2349b784
{{#
eq
item
.
columnType
'GROUPGRIDCOLUMN'
}}
{{#
each
item
.
p
S
DEGridColumns
as
|
column
|
}}
{{#
each
item
.
p
s
DEGridColumns
as
|
column
|
}}
{{>
(
lookup
'SUMMARYCOLUMN'
)
item
=
column
ctrl
=
ctrl
}}
{{/
each
}}
{{else}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/menu-detail/menu-item.hbs
浏览文件 @
2349b784
...
...
@@ -4,7 +4,7 @@
itemType: "
{{
item
.
itemType
}}
",
expanded:
{{
item
.
expanded
}}
,
tooltip: "
{{
item
.
tooltip
}}
",
funcTag:
{{#if
item
.
p
SAppFunc
}}
"
{{
item
.
pS
AppFunc
.
id
}}
"
{{else}}
''
{{/if}}
,
funcTag:
{{#if
item
.
p
sAppFunc
}}
"
{{
item
.
ps
AppFunc
.
id
}}
"
{{else}}
''
{{/if}}
,
hidden:
{{#if
item
.
hidden
}}
true
{{else}}
false
{{/if}}
,
disableClose:
{{#if
item
.
disableClose
}}
true
{{else}}
false
{{/if}}
,
{{#if
item
.
counterId
}}
...
...
@@ -13,20 +13,20 @@
{{#if
item
.
accessKey
}}
resourceTag: "
{{
item
.
accessKey
}}
",
{{/if}}
{{#if
item
.
p
S
SysImage
}}
{{#if
item
.
p
S
SysImage
.
cssClass
}}
iconCls: "
{{
item
.
p
S
SysImage
.
cssClass
}}
",
{{#if
item
.
p
s
SysImage
}}
{{#if
item
.
p
s
SysImage
.
cssClass
}}
iconCls: "
{{
item
.
p
s
SysImage
.
cssClass
}}
",
{{/if}}
{{#if
item
.
p
S
SysImage
.
imagePath
}}
icon: "
{{
item
.
p
S
SysImage
.
imagePath
}}
",
{{#if
item
.
p
s
SysImage
.
imagePath
}}
icon: "
{{
item
.
p
s
SysImage
.
imagePath
}}
",
{{/if}}
{{/if}}
{{#if
item
.
p
S
NavigateContexts
}}
navContext:
{{
item
.
p
S
NavigateContexts
}}
,
{{#if
item
.
p
s
NavigateContexts
}}
navContext:
{{
item
.
p
s
NavigateContexts
}}
,
{{/if}}
{{#if
item
.
p
S
AppMenuItems
}}
{{#if
item
.
p
s
AppMenuItems
}}
items: [
{{#
each
item
.
p
S
AppMenuItems
as
|
item
|
}}
{{#
each
item
.
p
s
AppMenuItems
as
|
item
|
}}
{{>
(
lookup
'MENUITEM'
)
item
=
item
}}
{{/
each
}}
]
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录