Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
9da88fea
提交
9da88fea
编写于
1月 19, 2022
作者:
zhangkang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:动态控制
上级
a927c00b
变更
24
隐藏空白字符变更
内嵌
并排
正在显示
24 个修改的文件
包含
66 行增加
和
50 行删除
+66
-50
auto-complete.hbs
...urces/templ/r7/@macro/front-end/editors/auto-complete.hbs
+3
-0
checkbox-list.hbs
...urces/templ/r7/@macro/front-end/editors/checkbox-list.hbs
+3
-3
checkbox.hbs
.../resources/templ/r7/@macro/front-end/editors/checkbox.hbs
+3
-3
code.hbs
...main/resources/templ/r7/@macro/front-end/editors/code.hbs
+3
-0
data-picker-view.hbs
...es/templ/r7/@macro/front-end/editors/data-picker-view.hbs
+3
-3
data-picker.hbs
...sources/templ/r7/@macro/front-end/editors/data-picker.hbs
+3
-3
date-picker.hbs
...sources/templ/r7/@macro/front-end/editors/date-picker.hbs
+3
-3
dropdown-list.hbs
...urces/templ/r7/@macro/front-end/editors/dropdown-list.hbs
+3
-3
input-ip.hbs
.../resources/templ/r7/@macro/front-end/editors/input-ip.hbs
+3
-3
input.hbs
...ain/resources/templ/r7/@macro/front-end/editors/input.hbs
+3
-0
list-box.hbs
.../resources/templ/r7/@macro/front-end/editors/list-box.hbs
+3
-3
radio-group.hbs
...sources/templ/r7/@macro/front-end/editors/radio-group.hbs
+3
-3
rating.hbs
...in/resources/templ/r7/@macro/front-end/editors/rating.hbs
+3
-3
raw.hbs
.../main/resources/templ/r7/@macro/front-end/editors/raw.hbs
+3
-0
rich-text.hbs
...resources/templ/r7/@macro/front-end/editors/rich-text.hbs
+3
-3
slider.hbs
...in/resources/templ/r7/@macro/front-end/editors/slider.hbs
+3
-3
span.hbs
...main/resources/templ/r7/@macro/front-end/editors/span.hbs
+3
-0
stepper.hbs
...n/resources/templ/r7/@macro/front-end/editors/stepper.hbs
+3
-3
switch.hbs
...in/resources/templ/r7/@macro/front-end/editors/switch.hbs
+3
-3
upload.hbs
...in/resources/templ/r7/@macro/front-end/editors/upload.hbs
+3
-3
form-details-model.hbs
...acro/front-end/widgets/form-detail/form-details-model.hbs
+2
-2
form-item.hbs
...mpl/r7/@macro/front-end/widgets/form-detail/form-item.hbs
+1
-1
app-form-item.vue
...l/r7/app_{{apps}}/src/components/render/app-form-item.vue
+2
-1
form-control.ts
...s}}/src/core/modules/widgets/form-control/form-control.ts
+1
-1
未找到文件。
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/auto-complete.hbs
浏览文件 @
9da88fea
<appAutoComplete
name=
"
{{
item
.
codeName
}}
"
:data=
"state.data"
{{#
eq
ctrlType
'form'
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{#if
item
.
valueItemName
}}
valueItem=
"
{{
item
.
valueItemName
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/checkbox-list.hbs
浏览文件 @
9da88fea
<appCheckboxList
name=
"
{{
item
.
codeName
}}
"
:data=
"state.data"
{{#
if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"
state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
isReadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
isReadOnly
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/checkbox.hbs
浏览文件 @
9da88fea
<appCheckbox
name=
"
{{
item
.
codeName
}}
"
{{#
if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"
state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
isReadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
isReadOnly
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/code.hbs
浏览文件 @
9da88fea
<appCode
name=
"
{{
item
.
codeName
}}
"
{{#
eq
ctrlType
'form'
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{#if
item
.
psEditor
.
isReadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
isReadOnly
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/data-picker-view.hbs
浏览文件 @
9da88fea
...
...
@@ -7,9 +7,9 @@
{{#if
item
.
psEditor
.
placeHolder
}}
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
{{/if}}
{{#
if
item
.
psEditor
.
disabled
}}
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/data-picker.hbs
浏览文件 @
9da88fea
...
...
@@ -7,9 +7,9 @@
{{#if
item
.
psEditor
.
placeHolder
}}
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
{{/if}}
{{#
if
item
.
psEditor
.
disabled
}}
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/date-picker.hbs
浏览文件 @
9da88fea
...
...
@@ -3,9 +3,9 @@
{{#if
item
.
psEditor
.
placeHolder
}}
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
{{/if}}
{{#
if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"
state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/dropdown-list.hbs
浏览文件 @
9da88fea
...
...
@@ -8,9 +8,9 @@
{{#if
item
.
psEditor
.
placeHolder
}}
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
{{/if}}
{{#
if
item
.
psEditor
.
disabled
}}
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
editorParams
.
multiple
}}
:multiple=
"
{{
item
.
psEditor
.
editorParams
.
multiple
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/input-ip.hbs
浏览文件 @
9da88fea
<appInputIp
name=
"
{{
item
.
codeName
}}
"
{{#
if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"
state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/input.hbs
浏览文件 @
9da88fea
<appInput
name=
"
{{
item
.
codeName
}}
"
{{#
eq
ctrlType
'form'
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{#if
item
.
psEditor
.
placeHolder
}}
placeholder=
"
{{
item
.
psEditor
.
placeHolder
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/list-box.hbs
浏览文件 @
9da88fea
...
...
@@ -17,9 +17,9 @@
{{#if
item
.
psEditor
.
editorParams
.
multiple
}}
:multiple=
"
{{
item
.
psEditor
.
editorParams
.
multiple
}}
"
{{/if}}
{{#
if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"
state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
isReadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
isReadOnly
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/radio-group.hbs
浏览文件 @
9da88fea
...
...
@@ -6,9 +6,9 @@
codeListType=
"
{{
item
.
psEditor
.
codeList
.
codeListType
}}
"
valueSeparator=
"
{{
item
.
psEditor
.
codeList
.
valueSeparator
}}
"
{{/if}}
{{#
if
item
.
psEditor
.
disabled
}}
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
isReadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
isReadOnly
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/rating.hbs
浏览文件 @
9da88fea
<appRating
name=
"
{{
item
.
codeName
}}
"
{{#
if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"
state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/raw.hbs
浏览文件 @
9da88fea
<AppRaw
name=
"
{{
item
.
codeName
}}
"
:date=
"state.data"
{{#
eq
ctrlType
'form'
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{#if
item
.
psEditor
.
editorParams
.
contentType
}}
:contentType=
"
{{
item
.
psEditor
.
editorParams
.
contentType
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/rich-text.hbs
浏览文件 @
9da88fea
<appRichText
name=
"
{{
item
.
codeName
}}
"
{{#
if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"
state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/slider.hbs
浏览文件 @
9da88fea
<appSlider
name=
"
{{
item
.
codeName
}}
"
:date=
"state.data"
{{#
if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"
state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/span.hbs
浏览文件 @
9da88fea
<appSpan
name=
"
{{
item
.
codeName
}}
"
{{#
eq
ctrlType
'form'
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{#if
item
.
psEditor
.
codeList
}}
codeListTag=
"
{{
item
.
psEditor
.
codeList
.
codeListTag
}}
"
codeListType=
"
{{
item
.
psEditor
.
codeList
.
codeListType
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/stepper.hbs
浏览文件 @
9da88fea
<appStepper
name=
"
{{
item
.
codeName
}}
"
{{#
if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"
state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/switch.hbs
浏览文件 @
9da88fea
<appSwitch
name=
"
{{
item
.
codeName
}}
"
{{#
if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"
state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
isReadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
isReadOnly
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/upload.hbs
浏览文件 @
9da88fea
...
...
@@ -12,9 +12,9 @@
{{#if
item
.
psEditor
.
editorParams
.
tooltip
}}
tooltip=
"
{{
item
.
psEditor
.
editorParams
.
tooltip
}}
"
{{/if}}
{{#
if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/
if
}}
{{#
eq
ctrlType
'form'
}}
:disabled=
"
state.detailsModel.
{{
item
.
codeName
}}
.disabled
"
{{/
eq
}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/widgets/form-detail/form-details-model.hbs
浏览文件 @
9da88fea
...
...
@@ -71,9 +71,9 @@
logicCat: '
{{
groupLogic
.
logicCat
}}
',
logicType: '
{{
groupLogic
.
logicType
}}
',
notMode: '
{{
groupLogic
.
notMode
}}
',
L
ogics: [
l
ogics: [
{{#
each
groupLogic
.
psDEFDLogics
as
|
logic
|
}}
{condOP: '
{{
logic
.
condOP
}}
',dEFDName: '
{{
logic
.
dEFDName
}}
',logicType: '
{{
logic
.
logicType
}}
',name: '
{{
logic
.
name
}}
'},
{condOP: '
{{
logic
.
condOP
}}
',dEFDName: '
{{
logic
.
dEFDName
}}
',logicType: '
{{
logic
.
logicType
}}
',name: '
{{
logic
.
name
}}
'
,value:'
{{
logic
.
value
}}
'
},
{{/
each
}}
],
},
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/widgets/form-detail/form-item.hbs
浏览文件 @
9da88fea
...
...
@@ -10,7 +10,7 @@
{{else}}
<a-col
{{>
@macro
/
front-end
/
widgets
/
common
/
layout-pos
.
hbs
item
=
item
.
psLayoutPos
}}
>
<AppFormItem
v-show=
"state.detailsModel.
{{
item
.
codeName
}}
.visible"
name=
"
{{
item
.
codeName
}}
"
label=
"
{{
item
.
caption
}}
"
>
<AppFormItem
v-show=
"state.detailsModel.
{{
item
.
codeName
}}
.visible"
name=
"
{{
item
.
codeName
}}
"
:required=
"state.detailsModel.
{{
item
.
codeName
}}
.required"
label=
"
{{
item
.
caption
}}
"
>
{{#if
item
.
psEditor
}}
{{>
(
lookup
.
'item.psEditor.editorType'
)
item
=
item
ctrlType
=
"form"
}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/render/app-form-item.vue
浏览文件 @
9da88fea
...
...
@@ -5,6 +5,7 @@ interface FormGroupProps{
name
:
string
;
error
?:
string
;
label
:
string
;
required
:
boolean
;
}
interface
FormGroupEmit
{
(
name
:
'componentEvent'
,
value
:
IActionParam
):
void
...
...
@@ -15,7 +16,7 @@ const emit = defineEmits<FormGroupEmit>();
</
script
>
<
template
>
<a-form-item
:name=
"name"
:label=
"label"
:help=
"error"
:validateStatus=
"error ? 'error': 'validating'"
>
<a-form-item
:name=
"name"
:label=
"label"
:help=
"error"
:
required=
"required"
:
validateStatus=
"error ? 'error': 'validating'"
>
<slot></slot>
</a-form-item>
</
template
>
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/core/modules/widgets/form-control/form-control.ts
浏览文件 @
9da88fea
...
...
@@ -50,7 +50,7 @@ export class FormControl extends MainControl {
// 是否取反
return
logic
.
notMode
?
!
result
:
result
;
}
else
if
(
logic
.
logicType
==
'SINGLE'
)
{
return
verifyValue
(
data
[
logic
.
n
ame
],
logic
.
condOP
,
logic
.
value
);
return
verifyValue
(
data
[
logic
.
dEFDN
ame
],
logic
.
condOP
,
logic
.
value
);
}
return
false
;
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录