Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
c065ff2c
提交
c065ff2c
编写于
2月 15, 2022
作者:
RedPig97
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:表格编辑列启用条件
上级
7c5dadbf
变更
20
显示空白字符变更
内嵌
并排
正在显示
20 个修改的文件
包含
200 行增加
和
40 行删除
+200
-40
auto-complete.hbs
...urces/templ/r7/@macro/front-end/editors/auto-complete.hbs
+10
-2
checkbox-list.hbs
...urces/templ/r7/@macro/front-end/editors/checkbox-list.hbs
+10
-2
checkbox.hbs
.../resources/templ/r7/@macro/front-end/editors/checkbox.hbs
+10
-2
code.hbs
...main/resources/templ/r7/@macro/front-end/editors/code.hbs
+10
-2
data-picker-view.hbs
...es/templ/r7/@macro/front-end/editors/data-picker-view.hbs
+10
-2
data-picker.hbs
...sources/templ/r7/@macro/front-end/editors/data-picker.hbs
+10
-2
date-picker.hbs
...sources/templ/r7/@macro/front-end/editors/date-picker.hbs
+10
-2
dropdown-list.hbs
...urces/templ/r7/@macro/front-end/editors/dropdown-list.hbs
+10
-2
input-ip.hbs
.../resources/templ/r7/@macro/front-end/editors/input-ip.hbs
+10
-2
input.hbs
...ain/resources/templ/r7/@macro/front-end/editors/input.hbs
+10
-2
list-box.hbs
.../resources/templ/r7/@macro/front-end/editors/list-box.hbs
+10
-2
radio-group.hbs
...sources/templ/r7/@macro/front-end/editors/radio-group.hbs
+10
-2
rating.hbs
...in/resources/templ/r7/@macro/front-end/editors/rating.hbs
+10
-2
raw.hbs
.../main/resources/templ/r7/@macro/front-end/editors/raw.hbs
+10
-2
rich-text.hbs
...resources/templ/r7/@macro/front-end/editors/rich-text.hbs
+10
-2
slider.hbs
...in/resources/templ/r7/@macro/front-end/editors/slider.hbs
+10
-2
span.hbs
...main/resources/templ/r7/@macro/front-end/editors/span.hbs
+10
-2
stepper.hbs
...n/resources/templ/r7/@macro/front-end/editors/stepper.hbs
+10
-2
switch.hbs
...in/resources/templ/r7/@macro/front-end/editors/switch.hbs
+10
-2
upload.hbs
...in/resources/templ/r7/@macro/front-end/editors/upload.hbs
+10
-2
未找到文件。
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/auto-complete.hbs
浏览文件 @
c065ff2c
...
@@ -5,9 +5,17 @@
...
@@ -5,9 +5,17 @@
name=
"
{{
item
.
codeName
}}
"
name=
"
{{
item
.
codeName
}}
"
{{/if}}
{{/if}}
:data=
"state.data"
:data=
"state.data"
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
valueItemName
}}
{{#if
item
.
valueItemName
}}
valueItem=
"
{{
item
.
valueItemName
}}
"
valueItem=
"
{{
item
.
valueItemName
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/checkbox-list.hbs
浏览文件 @
c065ff2c
...
@@ -5,9 +5,17 @@
...
@@ -5,9 +5,17 @@
name=
"
{{
item
.
codeName
}}
"
name=
"
{{
item
.
codeName
}}
"
{{/if}}
{{/if}}
:data=
"state.data"
:data=
"state.data"
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/checkbox.hbs
浏览文件 @
c065ff2c
...
@@ -4,9 +4,17 @@
...
@@ -4,9 +4,17 @@
{{else}}
{{else}}
name=
"
{{
item
.
codeName
}}
"
name=
"
{{
item
.
codeName
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/code.hbs
浏览文件 @
c065ff2c
...
@@ -4,9 +4,17 @@
...
@@ -4,9 +4,17 @@
{{else}}
{{else}}
name=
"
{{
item
.
codeName
}}
"
name=
"
{{
item
.
codeName
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/data-picker-view.hbs
浏览文件 @
c065ff2c
...
@@ -11,9 +11,17 @@
...
@@ -11,9 +11,17 @@
{{#if
item
.
psEditor
.
placeHolder
}}
{{#if
item
.
psEditor
.
placeHolder
}}
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
:localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
:localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/data-picker.hbs
浏览文件 @
c065ff2c
...
@@ -11,9 +11,17 @@
...
@@ -11,9 +11,17 @@
{{#if
item
.
psEditor
.
placeHolder
}}
{{#if
item
.
psEditor
.
placeHolder
}}
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
:localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
:localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/date-picker.hbs
浏览文件 @
c065ff2c
...
@@ -7,9 +7,17 @@
...
@@ -7,9 +7,17 @@
{{#if
item
.
psEditor
.
placeHolder
}}
{{#if
item
.
psEditor
.
placeHolder
}}
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/dropdown-list.hbs
浏览文件 @
c065ff2c
...
@@ -14,9 +14,17 @@
...
@@ -14,9 +14,17 @@
{{#if
item
.
psEditor
.
placeHolder
}}
{{#if
item
.
psEditor
.
placeHolder
}}
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
multiple
}}
{{#if
item
.
psEditor
.
editorParams
.
multiple
}}
:multiple=
"
{{
item
.
psEditor
.
editorParams
.
multiple
}}
"
:multiple=
"
{{
item
.
psEditor
.
editorParams
.
multiple
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/input-ip.hbs
浏览文件 @
c065ff2c
...
@@ -4,9 +4,17 @@
...
@@ -4,9 +4,17 @@
{{else}}
{{else}}
name=
"
{{
item
.
codeName
}}
"
name=
"
{{
item
.
codeName
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/input.hbs
浏览文件 @
c065ff2c
...
@@ -4,9 +4,17 @@
...
@@ -4,9 +4,17 @@
{{else}}
{{else}}
name=
"
{{
item
.
codeName
}}
"
name=
"
{{
item
.
codeName
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
placeHolder
}}
{{#if
item
.
psEditor
.
placeHolder
}}
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/list-box.hbs
浏览文件 @
c065ff2c
...
@@ -21,9 +21,17 @@
...
@@ -21,9 +21,17 @@
{{#if
item
.
psEditor
.
editorParams
.
multiple
}}
{{#if
item
.
psEditor
.
editorParams
.
multiple
}}
:multiple=
"
{{
item
.
psEditor
.
editorParams
.
multiple
}}
"
:multiple=
"
{{
item
.
psEditor
.
editorParams
.
multiple
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/radio-group.hbs
浏览文件 @
c065ff2c
...
@@ -10,9 +10,17 @@
...
@@ -10,9 +10,17 @@
codeListType=
"
{{
item
.
psEditor
.
psAppCodeList
.
codeListType
}}
"
codeListType=
"
{{
item
.
psEditor
.
psAppCodeList
.
codeListType
}}
"
{{#if
item
.
psEditor
.
psAppCodeList
.
valueSeparator
}}
valueSeparator=
"
{{
item
.
psEditor
.
psAppCodeList
.
valueSeparator
}}
"
{{/if}}
{{#if
item
.
psEditor
.
psAppCodeList
.
valueSeparator
}}
valueSeparator=
"
{{
item
.
psEditor
.
psAppCodeList
.
valueSeparator
}}
"
{{/if}}
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/rating.hbs
浏览文件 @
c065ff2c
...
@@ -4,9 +4,17 @@
...
@@ -4,9 +4,17 @@
{{else}}
{{else}}
name=
"
{{
item
.
codeName
}}
"
name=
"
{{
item
.
codeName
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/raw.hbs
浏览文件 @
c065ff2c
...
@@ -5,9 +5,17 @@
...
@@ -5,9 +5,17 @@
name=
"
{{
item
.
codeName
}}
"
name=
"
{{
item
.
codeName
}}
"
{{/if}}
{{/if}}
:date=
"state.data"
:date=
"state.data"
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
contentType
}}
{{#if
item
.
psEditor
.
editorParams
.
contentType
}}
contentType=
"
{{
item
.
psEditor
.
editorParams
.
contentType
}}
"
contentType=
"
{{
item
.
psEditor
.
editorParams
.
contentType
}}
"
{{else}}
{{else}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/rich-text.hbs
浏览文件 @
c065ff2c
...
@@ -4,9 +4,17 @@
...
@@ -4,9 +4,17 @@
{{else}}
{{else}}
name=
"
{{
item
.
codeName
}}
"
name=
"
{{
item
.
codeName
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/slider.hbs
浏览文件 @
c065ff2c
...
@@ -5,9 +5,17 @@
...
@@ -5,9 +5,17 @@
name=
"
{{
item
.
codeName
}}
"
name=
"
{{
item
.
codeName
}}
"
{{/if}}
{{/if}}
:date=
"state.data"
:date=
"state.data"
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/span.hbs
浏览文件 @
c065ff2c
...
@@ -4,9 +4,17 @@
...
@@ -4,9 +4,17 @@
{{else}}
{{else}}
name=
"
{{
item
.
codeName
}}
"
name=
"
{{
item
.
codeName
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
psAppCodeList
}}
{{#if
item
.
psEditor
.
psAppCodeList
}}
codeListTag=
"
{{
item
.
psEditor
.
psAppCodeList
.
codeListTag
}}
"
codeListTag=
"
{{
item
.
psEditor
.
psAppCodeList
.
codeListTag
}}
"
codeListType=
"
{{
item
.
psEditor
.
psAppCodeList
.
codeListType
}}
"
codeListType=
"
{{
item
.
psEditor
.
psAppCodeList
.
codeListType
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/stepper.hbs
浏览文件 @
c065ff2c
...
@@ -4,9 +4,17 @@
...
@@ -4,9 +4,17 @@
{{else}}
{{else}}
name=
"
{{
item
.
codeName
}}
"
name=
"
{{
item
.
codeName
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/switch.hbs
浏览文件 @
c065ff2c
...
@@ -4,9 +4,17 @@
...
@@ -4,9 +4,17 @@
{{else}}
{{else}}
name=
"
{{
item
.
codeName
}}
"
name=
"
{{
item
.
codeName
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/upload.hbs
浏览文件 @
c065ff2c
...
@@ -16,9 +16,17 @@
...
@@ -16,9 +16,17 @@
{{#if
item
.
psEditor
.
editorParams
.
tooltip
}}
{{#if
item
.
psEditor
.
editorParams
.
tooltip
}}
tooltip=
"
{{
item
.
psEditor
.
editorParams
.
tooltip
}}
"
tooltip=
"
{{
item
.
psEditor
.
editorParams
.
tooltip
}}
"
{{/if}}
{{/if}}
{{#
eq
ctrlType
'form'
}}
{{#
if
(
eq
ctrlType
'form'
)
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{else}}
{{#if
(
eq
item
.
enableCond
0
)
}}
:disabled=
"true"
{{else
if
(
eq
item
.
enableCond
1
)
}}
:disabled=
"!Object.is(record.srfuf,0)"
{{else
if
(
eq
item
.
enableCond
2
)
}}
:disabled=
"!Object.is(record.srfuf,1)"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{/if}}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录