Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
9b9289f2
提交
9b9289f2
编写于
12月 24, 2021
作者:
Shine-zwj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:更新
上级
bb21ee4c
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
42 行增加
和
39 行删除
+42
-39
dropdown-list.hbs
...n/resources/templ/r7/@macro/form-detail/dropdown-list.hbs
+14
-13
input.hbs
.../src/main/resources/templ/r7/@macro/form-detail/input.hbs
+15
-13
span.hbs
...e/src/main/resources/templ/r7/@macro/form-detail/span.hbs
+12
-13
{{ctrls@FORM}}-form-config.ts.hbs
...s}}/{{ctrls@FORM}}-form/{{ctrls@FORM}}-form-config.ts.hbs
+1
-0
未找到文件。
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/form-detail/dropdown-list.hbs
浏览文件 @
9b9289f2
<IbizDropdownList
name=
"
{{
item
.
codeName
}}
"
{{!-- :value="data.{{item.psEditor.name}}" --}}
:data=
"
data"
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:data=
"state.
data"
{{#if
item
.
psEditor
.
codeList
}}
codeListTag=
"
{{
item
.
psEditor
.
codeList
.
codeListTag
}}
"
codeListType=
"
{{
item
.
psEditor
.
codeList
.
codeListType
}}
"
valueSeparator=
"
{{
item
.
psEditor
.
codeList
.
valueSeparator
}}
"
codeListTag=
"
{{
item
.
psEditor
.
codeList
.
codeListTag
}}
"
codeListType=
"
{{
item
.
psEditor
.
codeList
.
codeListType
}}
"
valueSeparator=
"
{{
item
.
psEditor
.
codeList
.
valueSeparator
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getPlaceHolder
}}
placeholder=
"
{{
item
.
psEditor
.
getPlaceHolder
}}
"
placeholder=
"
{{
item
.
psEditor
.
getPlaceHolder
}}
"
{{/if}}
{{#if
item
.
psEditor
.
disabled
}}
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getEditorParams
.
multiple
}}
:multiple=
"
{{
item
.
psEditor
.
getEditorParams
.
multiple
}}
"
:multiple=
"
{{
item
.
psEditor
.
getEditorParams
.
multiple
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getPSNavigateContexts
}}
localContext=
"
{{
item
.
psEditor
.
getPSNavigateContexts
}}
"
localContext=
"
{{
item
.
psEditor
.
getPSNavigateContexts
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getPSNavigateParams
}}
localParam=
"
{{
item
.
psEditor
.
getPSNavigateParams
}}
"
localParam=
"
{{
item
.
psEditor
.
getPSNavigateParams
}}
"
{{/if}}
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
/>
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
@
editorEvent=
"handleEditorEvent"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/form-detail/input.hbs
浏览文件 @
9b9289f2
<IbizInput
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{#if
item
.
psEditor
.
getPlaceHolder
}}
placeholder=
"
{{
item
.
psEditor
.
getPlaceHolder
}}
"
placeholder=
"
{{
item
.
psEditor
.
getPlaceHolder
}}
"
{{/if}}
{{#if
item
.
psEditor
.
disabled
}}
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{#if
item
.
psEditor
.
isReadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
isReadOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
isReadOnly
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getEditorParams
.
max
}}
:max=
"
{{
item
.
psEditor
.
getEditorParams
.
max
}}
"
:max=
"
{{
item
.
psEditor
.
getEditorParams
.
max
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getEditorParams
.
min
}}
:max=
"
{{
item
.
psEditor
.
getEditorParams
.
min
}}
"
:max=
"
{{
item
.
psEditor
.
getEditorParams
.
min
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getEditorParams
.
precision
}}
:precision=
"
{{
item
.
psEditor
.
getEditorParams
.
precision
}}
"
:precision=
"
{{
item
.
psEditor
.
getEditorParams
.
precision
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getEditorParams
.
maxLength
}}
:maxLength=
"
{{
item
.
psEditor
.
maxLength
}}
"
:maxLength=
"
{{
item
.
psEditor
.
maxLength
}}
"
{{/if}}
{{#
eq
item
.
psEditor
.
editorType
"TEXTBOX"
}}
type=
"text"
type=
"text"
{{/
eq
}}
{{#
eq
item
.
psEditor
.
editorType
"NUMBER"
}}
type=
"number"
type=
"number"
{{/
eq
}}
{{#
eq
item
.
psEditor
.
editorType
"PASSWORD"
}}
type=
"password"
type=
"password"
{{/
eq
}}
{{#
eq
item
.
psEditor
.
editorType
"TEXTAREA"
}}
type=
"textarea"
type=
"textarea"
{{/
eq
}}
{{!-- :value="data.{{item.psEditor.name}}" --}}
name=
"
{{
item
.
codeName
}}
"
/>
@
editorEvent=
"handleEditorEvent"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/form-detail/span.hbs
浏览文件 @
9b9289f2
<IbizSpan
name=
"
{{
item
.
codeName
}}
"
{{!-- :value="data.{{item.psEditor.name}}" --}}
value=
"标签测试"
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{#if
item
.
psEditor
.
codeList
}}
codeListTag=
"
{{
item
.
psEditor
.
codeList
.
codeListTag
}}
"
codeListType=
"
{{
item
.
psEditor
.
codeList
.
codeListType
}}
"
codeListTag=
"
{{
item
.
psEditor
.
codeList
.
codeListTag
}}
"
codeListType=
"
{{
item
.
psEditor
.
codeList
.
codeListType
}}
"
{{/if}}
{{#if
item
.
getDataType
}}
dataType=
"
{{
item
.
getDataType
}}
"
dataType=
"
{{
item
.
getDataType
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getEditorParams
.
unitName
}}
unitName=
"
{{
item
.
psEditor
.
getEditorParams
.
unitName
}}
"
unitName=
"
{{
item
.
psEditor
.
getEditorParams
.
unitName
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getEditorParams
.
valueFormat
}}
valueFormat=
"
{{
item
.
psEditor
.
getEditorParams
.
valueFormat
}}
"
valueFormat=
"
{{
item
.
psEditor
.
getEditorParams
.
valueFormat
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getPrecision
}}
:precision=
"
{{
item
.
psEditor
.
getPrecision
}}
"
:precision=
"
{{
item
.
psEditor
.
getPrecision
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getPSNavigateContexts
}}
localContext=
"
{{
item
.
psEditor
.
getPSNavigateContexts
}}
"
localContext=
"
{{
item
.
psEditor
.
getPSNavigateContexts
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getPSNavigateParams
}}
localParam=
"
{{
item
.
psEditor
.
getPSNavigateParams
}}
"
localParam=
"
{{
item
.
psEditor
.
getPSNavigateParams
}}
"
{{/if}}
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
/>
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/widgets/{{appEntities}}/{{ctrls@FORM}}-form/{{ctrls@FORM}}-form-config.ts.hbs
浏览文件 @
9b9289f2
export const CtrlConfig = {
controlCodeName: '
{{
ctrl
.
codeName
}}
',
controlName: '
{{
ctrl
.
name
}}
',
data: {},
};
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录