Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
7bde8e91
提交
7bde8e91
编写于
12月 30, 2021
作者:
RedPig97
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update: 更新
上级
63e0ab96
变更
18
显示空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
152 行增加
和
34 行删除
+152
-34
auto-complete.hbs
...c/main/resources/templ/r7/@macro/editor/auto-complete.hbs
+9
-2
checkbox-list.hbs
...c/main/resources/templ/r7/@macro/editor/checkbox-list.hbs
+9
-2
checkbox.hbs
...re/src/main/resources/templ/r7/@macro/editor/checkbox.hbs
+9
-2
data-picker-view.hbs
...ain/resources/templ/r7/@macro/editor/data-picker-view.hbs
+9
-2
data-picker.hbs
...src/main/resources/templ/r7/@macro/editor/data-picker.hbs
+9
-2
date-picker.hbs
...src/main/resources/templ/r7/@macro/editor/date-picker.hbs
+9
-2
dropdown-list.hbs
...c/main/resources/templ/r7/@macro/editor/dropdown-list.hbs
+9
-2
input-ip.hbs
...re/src/main/resources/templ/r7/@macro/editor/input-ip.hbs
+9
-2
input.hbs
...-core/src/main/resources/templ/r7/@macro/editor/input.hbs
+9
-2
radio-group.hbs
...src/main/resources/templ/r7/@macro/editor/radio-group.hbs
+9
-2
rating.hbs
...core/src/main/resources/templ/r7/@macro/editor/rating.hbs
+9
-2
raw.hbs
...or-core/src/main/resources/templ/r7/@macro/editor/raw.hbs
+9
-2
slider.hbs
...core/src/main/resources/templ/r7/@macro/editor/slider.hbs
+9
-2
span.hbs
...r-core/src/main/resources/templ/r7/@macro/editor/span.hbs
+7
-1
stepper.hbs
...ore/src/main/resources/templ/r7/@macro/editor/stepper.hbs
+9
-2
switch.hbs
...core/src/main/resources/templ/r7/@macro/editor/switch.hbs
+9
-2
upload.hbs
...core/src/main/resources/templ/r7/@macro/editor/upload.hbs
+9
-2
form-item.hbs
.../main/resources/templ/r7/@macro/form-detail/form-item.hbs
+1
-1
未找到文件。
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/auto-complete.hbs
浏览文件 @
7bde8e91
<IbizAutoComplete
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:data=
"state.data"
{{#if
item
.
valueItemName
}}
valueItem=
"
{{
item
.
valueItemName
}}
"
...
...
@@ -39,4 +38,12 @@
{{#
eq
item
.
psEditor
.
editorType
"AC_FS_NOBUTTON"
}}
:showButton=
"false"
{{/
eq
}}
@
editorEvent=
"handleEditorEvent"
/>
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/checkbox-list.hbs
浏览文件 @
7bde8e91
<IbizCheckboxList
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:data=
"state.data"
{{#if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
...
...
@@ -21,4 +20,12 @@
{{/if}}
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
@
editorEvent=
"handleEditorEvent"
/>
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/checkbox.hbs
浏览文件 @
7bde8e91
<IbizCheckbox
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{#if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{#if
item
.
psEditor
.
isReadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
isReadOnly
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/data-picker-view.hbs
浏览文件 @
7bde8e91
<IbizDataPickerView
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:data=
"state.data"
{{#if
item
.
valueItemName
}}
valueItem=
"
{{
item
.
valueItemName
}}
"
...
...
@@ -25,4 +24,12 @@
{{#if
item
.
psEditor
.
pickUpData
}}
pickUpData=
"
{{
item
.
psEditor
.
pickUpData
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
\ No newline at end of file
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/data-picker.hbs
浏览文件 @
7bde8e91
<IbizDataPicker
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:data=
"state.data"
{{#if
item
.
valueItemName
}}
valueItem=
"
{{
item
.
valueItemName
}}
"
...
...
@@ -48,4 +47,12 @@
{{#if
(
or
(
eq
item
.
psEditor
.
editorType
"ADDRESSPICKUP"
)
(
eq
item
.
psEditor
.
editorType
"ADDRESSPICKUP_AC"
))
}}
:multiple=
"true"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
\ No newline at end of file
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/date-picker.hbs
浏览文件 @
7bde8e91
<IbizDatePicker
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{#if
item
.
psEditor
.
placeHolder
}}
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
{{/if}}
...
...
@@ -46,4 +45,12 @@
dateFormat=
"YYYY-MM-DD HH:mm"
dateType=
"dateTime"
{{/
eq
}}
@
editorEvent=
"handleEditorEvent"
/>
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/dropdown-list.hbs
浏览文件 @
7bde8e91
<IbizDropdownList
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:data=
"state.data"
{{#if
item
.
psEditor
.
codeList
}}
codeListTag=
"
{{
item
.
psEditor
.
codeList
.
codeListTag
}}
"
...
...
@@ -27,4 +26,12 @@
{{/
eq
}}
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
@
editorEvent=
"handleEditorEvent"
/>
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/input-ip.hbs
浏览文件 @
7bde8e91
<IbizInputIp
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{#if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/input.hbs
浏览文件 @
7bde8e91
<IbizInput
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{#if
item
.
psEditor
.
placeHolder
}}
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
{{/if}}
...
...
@@ -37,5 +36,13 @@
{{#
eq
item
.
psEditor
.
editorType
"TEXTAREA"
}}
type=
"textarea"
{{/
eq
}}
@
editorEvent=
"handleEditorEvent"
/>
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/radio-group.hbs
浏览文件 @
7bde8e91
<IbizRadioGroup
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:data=
"state.data"
{{#if
item
.
psEditor
.
codeList
}}
codeListTag=
"
{{
item
.
psEditor
.
codeList
.
codeListTag
}}
"
...
...
@@ -21,4 +20,12 @@
{{/if}}
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
@
editorEvent=
"handleEditorEvent"
/>
\ No newline at end of file
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/rating.hbs
浏览文件 @
7bde8e91
<IbizRating
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{#if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
...
...
@@ -13,4 +12,12 @@
{{#if
item
.
psEditor
.
editorParams
.
allowHalf
}}
:allowHalf=
"
{{
item
.
psEditor
.
editorParams
.
allowHalf
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/raw.hbs
浏览文件 @
7bde8e91
<IbizRaw
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:date=
"state.data"
{{#if
item
.
psEditor
.
editorParams
.
contentType
}}
:contentType=
"
{{
item
.
psEditor
.
editorParams
.
contentType
}}
"
...
...
@@ -13,4 +12,12 @@
{{/if}}
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
@
editorEvent=
"handleEditorEvent"
/>
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/slider.hbs
浏览文件 @
7bde8e91
<IbizSlider
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:date=
"state.data"
{{#if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
...
...
@@ -17,4 +16,12 @@
{{#if
item
.
psEditor
.
editorParams
.
max
}}
:max=
"
{{
item
.
psEditor
.
editorParams
.
max
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/span.hbs
浏览文件 @
7bde8e91
<IbizSpan
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{#if
item
.
psEditor
.
codeList
}}
codeListTag=
"
{{
item
.
psEditor
.
codeList
.
codeListTag
}}
"
codeListType=
"
{{
item
.
psEditor
.
codeList
.
codeListType
}}
"
...
...
@@ -23,5 +22,12 @@
{{#if
item
.
psEditor
.
psNavigateParams
}}
localParam=
"
{{
item
.
psEditor
.
psNavigateParams
}}
"
{{/if}}
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
{{/if}}
/>
:contextProp="state.context"
:viewParamsProp="state.viewParams"/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/stepper.hbs
浏览文件 @
7bde8e91
<IbizStepper
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{#if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
...
...
@@ -19,4 +18,12 @@
{{#if
item
.
psEditor
.
editorParams
.
max
}}
:max=
"
{{
item
.
psEditor
.
editorParams
.
max
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/switch.hbs
浏览文件 @
7bde8e91
<IbizSwitch
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{#if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
...
...
@@ -10,4 +9,12 @@
{{#if
item
.
psEditor
.
editorParams
.
size
}}
size=
"
{{
item
.
psEditor
.
editorParams
.
size
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/upload.hbs
浏览文件 @
7bde8e91
<IbizUpload
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{#if
item
.
psEditor
.
editorParams
.
method
}}
method=
"
{{
item
.
psEditor
.
editorParams
.
method
}}
"
{{/if}}
...
...
@@ -30,4 +29,12 @@
accept=
'image/*'
listType=
"picture-card"
{{/
eq
}}
@
editorEvent=
"handleEditorEvent"
/>
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"handleEditorEvent"
{{/if}}
{{#if
ctrlType
'grid'
}}
:value=
"record.
{{
item
.
psEditor
.
name
}}
"
@
editorEvent=
"($event) => handleEditorEvent(index,$event)"
{{/if}}
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/form-detail/form-item.hbs
浏览文件 @
7bde8e91
...
...
@@ -11,7 +11,7 @@
<a-col
:span=
"24"
>
<IbizFormItem
name=
"
{{
item
.
codeName
}}
"
label=
"
{{
item
.
caption
}}
"
>
{{#if
item
.
psEditor
}}
{{>
(
lookup
.
'item.psEditor.editorType'
)
item
=
item
c
ontro
lType
=
"form"
}}
{{>
(
lookup
.
'item.psEditor.editorType'
)
item
=
item
c
tr
lType
=
"form"
}}
{{/if}}
</IbizFormItem>
</a-col>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录