Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
489d0d40
提交
489d0d40
编写于
1月 20, 2022
作者:
Shine-zwj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:更新编辑器
上级
c1469c36
变更
14
显示空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
50 行增加
和
37 行删除
+50
-37
auto-complete.hbs
...urces/templ/r7/@macro/front-end/editors/auto-complete.hbs
+5
-2
checkbox-list.hbs
...urces/templ/r7/@macro/front-end/editors/checkbox-list.hbs
+2
-2
data-picker-view.hbs
...es/templ/r7/@macro/front-end/editors/data-picker-view.hbs
+2
-2
data-picker.hbs
...sources/templ/r7/@macro/front-end/editors/data-picker.hbs
+2
-2
input.hbs
...ain/resources/templ/r7/@macro/front-end/editors/input.hbs
+6
-6
list-box.hbs
.../resources/templ/r7/@macro/front-end/editors/list-box.hbs
+2
-2
radio-group.hbs
...sources/templ/r7/@macro/front-end/editors/radio-group.hbs
+2
-2
rating.hbs
...in/resources/templ/r7/@macro/front-end/editors/rating.hbs
+2
-2
raw.hbs
.../main/resources/templ/r7/@macro/front-end/editors/raw.hbs
+3
-1
slider.hbs
...in/resources/templ/r7/@macro/front-end/editors/slider.hbs
+4
-4
stepper.hbs
...n/resources/templ/r7/@macro/front-end/editors/stepper.hbs
+6
-6
form-rawitem.hbs
.../r7/@macro/front-end/widgets/form-detail/form-rawitem.hbs
+12
-4
app-auto-complete.vue
...app_{{apps}}/src/components/editors/app-auto-complete.vue
+1
-1
app-input.vue
...empl/r7/app_{{apps}}/src/components/editors/app-input.vue
+1
-1
未找到文件。
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/auto-complete.hbs
浏览文件 @
489d0d40
...
...
@@ -26,8 +26,11 @@
{{#if
item
.
psEditor
.
editorParams
.
sort
}}
sort=
"
{{
item
.
psEditor
.
editorParams
.
sort
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
open
}}
:open=
"
{{
item
.
psEditor
.
editorParams
.
open
}}
"
{{#if
item
.
psEditor
.
editorParams
.
defaultOpen
}}
:defaultOpen=
"
{{
item
.
psEditor
.
editorParams
.
defaultOpen
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
pickUpData
}}
:pickUpData=
"
{{
item
.
psEditor
.
editorParams
.
pickUpData
}}
"
{{/if}}
{{#if
item
.
psEditor
.
disabled
}}
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/checkbox-list.hbs
浏览文件 @
489d0d40
...
...
@@ -4,8 +4,8 @@
{{#
eq
ctrlType
'form'
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{#if
item
.
psEditor
.
isR
eadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
isR
eadOnly
}}
"
{{#if
item
.
psEditor
.
r
eadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
r
eadOnly
}}
"
{{/if}}
{{#if
item
.
psEditor
.
psAppCodeList
}}
codeListTag=
"
{{
item
.
psEditor
.
psAppCodeList
.
codeListTag
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/data-picker-view.hbs
浏览文件 @
489d0d40
...
...
@@ -21,8 +21,8 @@
{{#if
item
.
psEditor
.
psAppDEACMode
.
minorSortDir
}}
sort=
"
{{
item
.
psEditor
.
psAppDEACMode
.
minorSortDir
}}
"
{{/if}}
{{#if
item
.
psEditor
.
pickUpData
}}
pickUpData=
"
{{
item
.
psEditor
.
pickUpData
}}
"
{{#if
item
.
psEditor
.
editorParams
.
pickUpData
}}
pickUpData=
"
{{
item
.
psEditor
.
editorParams
.
pickUpData
}}
"
{{/if}}
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/data-picker.hbs
浏览文件 @
489d0d40
...
...
@@ -36,8 +36,8 @@
{{#if
item
.
psEditor
.
psAppDEACMode
.
minorSortDir
}}
sort=
"
{{
item
.
psEditor
.
psAppDEACMode
.
minorSortDir
}}
"
{{/if}}
{{#if
item
.
psEditor
.
pickUpData
}}
pickUpData=
"
{{
item
.
psEditor
.
pickUpData
}}
"
{{#if
item
.
psEditor
.
editorParams
.
pickUpData
}}
pickUpData=
"
{{
item
.
psEditor
.
editorParams
.
pickUpData
}}
"
{{/if}}
{{#if
(
or
(
eq
item
.
psEditor
.
editorType
"PICKEREX_LINKONLY"
)
(
eq
item
.
psEditor
.
editorType
"PICKEREX_LINK"
))
}}
:linkOnly=
"true"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/input.hbs
浏览文件 @
489d0d40
...
...
@@ -12,14 +12,14 @@
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
max
}}
:max=
"
{{
item
.
psEditor
.
editorParams
.
max
}}
"
{{#if
item
.
psEditor
.
maxValue
}}
:max=
"
{{
item
.
psEditor
.
maxValue
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
min
}}
:m
ax=
"
{{
item
.
psEditor
.
editorParams
.
min
}}
"
{{#if
item
.
psEditor
.
minValue
}}
:m
in=
"
{{
item
.
psEditor
.
minValue
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
precision
}}
:precision=
"
{{
item
.
psEditor
.
editorParams
.
precision
}}
"
{{#if
item
.
psEditor
.
precision
}}
:precision=
"
{{
item
.
psEditor
.
precision
}}
"
{{/if}}
{{#if
item
.
psEditor
.
maxLength
}}
:maxLength=
"
{{
item
.
psEditor
.
maxLength
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/list-box.hbs
浏览文件 @
489d0d40
...
...
@@ -20,8 +20,8 @@
{{#
eq
ctrlType
'form'
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{#if
item
.
psEditor
.
isR
eadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
isR
eadOnly
}}
"
{{#if
item
.
psEditor
.
r
eadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
r
eadOnly
}}
"
{{/if}}
{{#if
item
.
psEditor
.
psAppCodeList
}}
codeListTag=
"
{{
item
.
psEditor
.
psAppCodeList
.
codeListTag
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/radio-group.hbs
浏览文件 @
489d0d40
...
...
@@ -9,8 +9,8 @@
{{#
eq
ctrlType
'form'
}}
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{#if
item
.
psEditor
.
isR
eadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
isR
eadOnly
}}
"
{{#if
item
.
psEditor
.
r
eadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
r
eadOnly
}}
"
{{/if}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
item
.
psEditor
.
psNavigateContexts
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/rating.hbs
浏览文件 @
489d0d40
...
...
@@ -6,8 +6,8 @@
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
max
}}
:max=
"
{{
item
.
psEditor
.
editorParams
.
max
}}
"
{{#if
item
.
psEditor
.
maxValue
}}
:max=
"
{{
item
.
psEditor
.
maxValue
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
allowHalf
}}
:allowHalf=
"
{{
item
.
psEditor
.
editorParams
.
allowHalf
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/raw.hbs
浏览文件 @
489d0d40
...
...
@@ -5,7 +5,9 @@
:disabled=
"state.detailsModel.
{{
item
.
codeName
}}
.disabled"
{{/
eq
}}
{{#if
item
.
psEditor
.
editorParams
.
contentType
}}
:contentType=
"
{{
item
.
psEditor
.
editorParams
.
contentType
}}
"
contentType=
"
{{
item
.
psEditor
.
editorParams
.
contentType
}}
"
{{else}}
contentType=
"RAW"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
icon
}}
iconClass=
"
{{
item
.
psEditor
.
editorParams
.
icon
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/slider.hbs
浏览文件 @
489d0d40
...
...
@@ -10,11 +10,11 @@
{{#if
item
.
psEditor
.
stepValue
}}
:step=
"
{{
item
.
psEditor
.
stepValue
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
min
}}
:min=
"
{{
item
.
psEditor
.
editorParams
.
min
}}
"
{{#if
item
.
psEditor
.
minValue
}}
:min=
"
{{
item
.
psEditor
.
minValue
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
max
}}
:max=
"
{{
item
.
psEditor
.
editorParams
.
max
}}
"
{{#if
item
.
psEditor
.
maxValue
}}
:max=
"
{{
item
.
psEditor
.
maxValue
}}
"
{{/if}}
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/editors/stepper.hbs
浏览文件 @
489d0d40
...
...
@@ -6,17 +6,17 @@
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
precision
}}
:precision=
"
{{
item
.
psEditor
.
editorParams
.
precision
}}
"
{{#if
item
.
psEditor
.
precision
}}
:precision=
"
{{
item
.
psEditor
.
precision
}}
"
{{/if}}
{{#if
item
.
psEditor
.
stepValue
}}
:step=
"
{{
item
.
psEditor
.
stepValue
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
min
}}
:min=
"
{{
item
.
psEditor
.
editorParams
.
min
}}
"
{{#if
item
.
psEditor
.
minValue
}}
:min=
"
{{
item
.
psEditor
.
minValue
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
max
}}
:max=
"
{{
item
.
psEditor
.
editorParams
.
max
}}
"
{{#if
item
.
psEditor
.
maxValue
}}
:max=
"
{{
item
.
psEditor
.
maxValue
}}
"
{{/if}}
{{#if
(
or
(
eq
ctrlType
'form'
)
(
eq
ctrlType
'panel'
))
}}
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/widgets/form-detail/form-rawitem.hbs
浏览文件 @
489d0d40
...
...
@@ -3,8 +3,12 @@
<AppRaw
name=
"
{{
item
.
codeName
}}
"
v-show=
"state.detailsModel.
{{
item
.
codeName
}}
.visible"
{{#if
item
.
psSysCss
}}
class=
"
{{
item
.
psSysCss
.
cssName
}}
"
{{/if}}
{{#if
item
.
psSysImage
}}{{#if
item
.
psSysImage
.
cssClass
}}
iconClass=
"
{{
item
.
psSysImage
.
cssClass
}}
"
{{/if}}{{#if
item
.
psSysImage
.
imagePath
}}
imgPath=
"
{{
item
.
psSysImage
.
imagePath
}}
"
{{/if}}{{/if}}
{{#if
item
.
psSysCss
}}
class=
"
{{
item
.
psSysCss
.
cssName
}}
"
{{/if}}
{{#if
item
.
psSysImage
}}
{{#if
item
.
psSysImage
.
cssClass
}}
iconClass=
"
{{
item
.
psSysImage
.
cssClass
}}
"
{{/if}}{{#if
item
.
psSysImage
.
imagePath
}}
imgPath=
"
{{
item
.
psSysImage
.
imagePath
}}
"
{{/if}}
{{/if}}
contentType=
"
{{
item
.
contentType
}}
"
style=
"
{{#if
item
.
rawItemHeight
}}
height:
{{
item
.
rawItemHeight
}}
px;
{{/if}}{{#if
item
.
rawItemWidth
}}
width:
{{
item
.
rawItemWidth
}}
px
{{/if}}
"
{{#if
(
eq
item
.
contentType
'RAW'
)
}}
value=
"
{{
item
.
rawContent
}}
"
{{else
if
(
eq
item
.
contentType
'HTML'
)
}}
:value=
"`
{{
item
.
htmlContent
}}
`"
{{/if}}
/>
...
...
@@ -15,8 +19,12 @@
<AppRaw
name=
"
{{
item
.
codeName
}}
"
v-show=
"state.detailsModel.
{{
item
.
codeName
}}
.visible"
{{#if
item
.
psSysCss
}}
class=
"
{{
item
.
psSysCss
.
cssName
}}
"
{{/if}}
{{#if
item
.
psSysImage
}}{{#if
item
.
psSysImage
.
cssClass
}}
iconClass=
"
{{
item
.
psSysImage
.
cssClass
}}
"
{{/if}}{{#if
item
.
psSysImage
.
imagePath
}}
imgPath=
"
{{
item
.
psSysImage
.
imagePath
}}
"
{{/if}}{{/if}}
{{#if
item
.
psSysCss
}}
class=
"
{{
item
.
psSysCss
.
cssName
}}
"
{{/if}}
{{#if
item
.
psSysImage
}}
{{#if
item
.
psSysImage
.
cssClass
}}
iconClass=
"
{{
item
.
psSysImage
.
cssClass
}}
"
{{/if}}{{#if
item
.
psSysImage
.
imagePath
}}
imgPath=
"
{{
item
.
psSysImage
.
imagePath
}}
"
{{/if}}
{{/if}}
contentType=
"
{{
item
.
contentType
}}
"
style=
"
{{#if
item
.
rawItemHeight
}}
height:
{{
item
.
rawItemHeight
}}
px;
{{/if}}{{#if
item
.
rawItemWidth
}}
width:
{{
item
.
rawItemWidth
}}
px
{{/if}}
"
{{#if
(
eq
item
.
contentType
'RAW'
)
}}
value=
"
{{
item
.
rawContent
}}
"
{{else
if
(
eq
item
.
contentType
'HTML'
)
}}
:value=
"`
{{
item
.
htmlContent
}}
`"
{{/if}}
/>
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/editors/app-auto-complete.vue
浏览文件 @
489d0d40
...
...
@@ -83,7 +83,7 @@ interface AutoCompleteProps {
disabled
?:
boolean
;
/**
* @description
禁用
* @description
只读
*/
readonly
?:
boolean
;
}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/editors/app-input.vue
浏览文件 @
489d0d40
...
...
@@ -93,7 +93,7 @@ const onChange = ($event: any) => {
:disabled=
"disabled"
:maxlength=
"maxLength"
@
blur=
"onChange"
:placeholder=
"placeholder"
/>
:placeholder=
"
showMaxLength ? `最大内容长度为$
{maxLength}` :
placeholder"/>
<a-input
allowClear
v-else=
"Object.is('text', type)"
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录