Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
72053b93
提交
72053b93
编写于
12月 27, 2021
作者:
RedPig97
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:更新
上级
10e8841e
变更
18
显示空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
319 行增加
和
48 行删除
+319
-48
auto-complete.hbs
...c/main/resources/templ/r7/@macro/editor/auto-complete.hbs
+36
-0
checkbox-list.hbs
...c/main/resources/templ/r7/@macro/editor/checkbox-list.hbs
+24
-0
checkbox.hbs
...re/src/main/resources/templ/r7/@macro/editor/checkbox.hbs
+10
-0
data-picker.hbs
...src/main/resources/templ/r7/@macro/editor/data-picker.hbs
+35
-0
date-picker.hbs
...src/main/resources/templ/r7/@macro/editor/date-picker.hbs
+59
-0
dropdown-list.hbs
...c/main/resources/templ/r7/@macro/editor/dropdown-list.hbs
+6
-6
input-ip.hbs
...re/src/main/resources/templ/r7/@macro/editor/input-ip.hbs
+11
-0
input.hbs
...-core/src/main/resources/templ/r7/@macro/editor/input.hbs
+10
-10
rating.hbs
...core/src/main/resources/templ/r7/@macro/editor/rating.hbs
+17
-0
raw.hbs
...or-core/src/main/resources/templ/r7/@macro/editor/raw.hbs
+16
-0
slider.hbs
...core/src/main/resources/templ/r7/@macro/editor/slider.hbs
+20
-0
span.hbs
...r-core/src/main/resources/templ/r7/@macro/editor/span.hbs
+10
-10
stepper.hbs
...ore/src/main/resources/templ/r7/@macro/editor/stepper.hbs
+23
-0
switch.hbs
...core/src/main/resources/templ/r7/@macro/editor/switch.hbs
+13
-0
upload.hbs
...core/src/main/resources/templ/r7/@macro/editor/upload.hbs
+25
-0
IbizAutoComplete.vue
.../app_{{apps}}/src/components/editors/IbizAutoComplete.vue
+0
-10
IbizRaw.vue
.../templ/r7/app_{{apps}}/src/components/editors/IbizRaw.vue
+3
-11
ibizToolbar.vue
...mpl/r7/app_{{apps}}/src/components/render/ibizToolbar.vue
+1
-1
未找到文件。
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/auto-complete.hbs
0 → 100644
浏览文件 @
72053b93
<IbizAutoComplete
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:data=
"state.data"
{{#if
item
.
valueItemName
}}
valueItem=
"
{{
item
.
valueItemName
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getPlaceHolder
}}
placeholder=
"
{{
item
.
psEditor
.
getPlaceHolder
}}
"
{{/if}}
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
localParam=
"
{{
item
.
psEditor
.
psNavigateParams
}}
"
{{/if}}
{{#if
item
.
psEditor
.
psAppDataEntity
}}
deMajorField=
"
{{
item
.
psEditor
.
psAppDataEntity
.
majorPSAppDEField
.
codename
}}
"
deKeyField=
"
{{
item
.
psEditor
.
psAppDataEntity
.
codeName
}}
"
{{/if}}
{{!-- :acParams="getAcParams({{item.psEditor}})" --}}
{{#if
item
.
psEditor
.
editorParams
.
sort
}}
sort=
"
{{
item
.
psEditor
.
editorParams
.
sort
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
open
}}
:open=
"
{{
item
.
psEditor
.
editorParams
.
open
}}
"
{{/if}}
{{#if
item
.
psEditor
.
disabled
}}
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
multiple
}}
:multiple=
"
{{
item
.
psEditor
.
editorParams
.
multiple
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/checkbox-list.hbs
0 → 100644
浏览文件 @
72053b93
<IbizCheckboxList
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:data=
"state.data"
{{#if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{#if
item
.
psEditor
.
isReadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
isReadOnly
}}
"
{{/if}}
{{#if
item
.
psEditor
.
codeList
}}
codeListTag=
"
{{
item
.
psEditor
.
codeList
.
codeListTag
}}
"
codeListType=
"
{{
item
.
psEditor
.
codeList
.
codeListType
}}
"
valueSeparator=
"
{{
item
.
psEditor
.
codeList
.
valueSeparator
}}
"
{{/if}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
localParam=
"
{{
item
.
psEditor
.
psNavigateParams
}}
"
{{/if}}
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
@
editorEvent=
"handleEditorEvent"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/checkbox.hbs
0 → 100644
浏览文件 @
72053b93
<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"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/data-picker.hbs
0 → 100644
浏览文件 @
72053b93
<IbizDataPicker
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:data=
"state.data"
{{#if
item
.
valueItemName
}}
valueItem=
"
{{
item
.
valueItemName
}}
"
{{/if}}
{{#if
item
.
psEditor
.
getPlaceHolder
}}
placeholder=
"
{{
item
.
psEditor
.
getPlaceHolder
}}
"
{{/if}}
{{#if
item
.
psEditor
.
disabled
}}
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{#if
item
.
psEditor
.
psNavigateContexts
}}
localContext=
"
{{
item
.
psEditor
.
psNavigateContexts
}}
"
{{/if}}
{{#if
item
.
psEditor
.
psNavigateParams
}}
localParam=
"
{{
item
.
psEditor
.
psNavigateParams
}}
"
{{/if}}
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
{{#if
item
.
psEditor
.
psAppDataEntity
}}
deMajorField=
"
{{
item
.
psEditor
.
psAppDataEntity
.
majorPSAppDEField
.
codename
}}
"
deKeyField=
"
{{
item
.
psEditor
.
psAppDataEntity
.
codeName
}}
"
{{/if}}
{{!-- :pickupView="getPickupView({{item.psEditor}})" --}}
{{!-- :linkView="getLinkView({{item.psEditor}})" --}}
{{!-- :acParams="getAcParams({{item.psEditor}})" --}}
{{#if
item
.
psEditor
.
psAppDEACMode
.
minorSortDir
}}
sort=
"
{{
item
.
psEditor
.
psAppDEACMode
.
minorSortDir
}}
"
{{/if}}
{{#if
item
.
psEditor
.
pickUpData
}}
pickUpData=
"
{{
item
.
psEditor
.
pickUpData
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/date-picker.hbs
0 → 100644
浏览文件 @
72053b93
<IbizDatePicker
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{#if
item
.
psEditor
.
getPlaceHolder
}}
placeholder=
"
{{
item
.
psEditor
.
getPlaceHolder
}}
"
{{/if}}
{{#if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{#
eq
item
.
psEditor
.
editorType
"DATEPICKEREX"
}}
valueFormat=
"yyyy-MM-dd HH:mm:ss"
picker=
"date"
mode=
"date"
{{/
eq
}}
{{#
eq
item
.
psEditor
.
editorType
"DATEPICKEREX_NOTIME"
}}
valueFormat=
"yyyy-MM-dd"
picker=
"date"
mode=
"date"
{{/
eq
}}
{{#
eq
item
.
psEditor
.
editorType
"DATEPICKER"
}}
valueFormat=
"yyyy-MM-dd HH:mm:ss"
picker=
"date"
mode=
"time"
{{/
eq
}}
{{#
eq
item
.
psEditor
.
editorType
"DATEPICKEREX_HOUR"
}}
valueFormat=
"yyyy-MM-dd HH"
picker=
"date"
mode=
"time"
{{/
eq
}}
{{#
eq
item
.
psEditor
.
editorType
"DATEPICKEREX_MINUTE"
}}
valueFormat=
"yyyy-MM-dd HH:mm"
picker=
"time"
mode=
"date"
{{/
eq
}}
{{#
eq
item
.
psEditor
.
editorType
"DATEPICKEREX_SECOND"
}}
valueFormat=
"yyyy-MM-dd HH:mm:ss"
picker=
"time"
mode=
"date"
{{/
eq
}}
{{#
eq
item
.
psEditor
.
editorType
"DATEPICKEREX_NODAY"
}}
valueFormat=
"HH:mm:ss"
picker=
"date"
mode=
"date"
{{/
eq
}}
{{#
eq
item
.
psEditor
.
editorType
"DATEPICKEREX_NODAY_NOSECOND"
}}
valueFormat=
"HH:mm"
picker=
"date"
mode=
"date"
{{/
eq
}}
{{#
eq
item
.
psEditor
.
editorType
"DATEPICKEREX_NOSECOND"
}}
valueFormat=
"yyyy-MM-dd HH:mm"
picker=
"date"
mode=
"date"
{{/
eq
}}
@
editorEvent=
"handleEditorEvent"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/dropdown-list.hbs
浏览文件 @
72053b93
...
@@ -13,14 +13,14 @@
...
@@ -13,14 +13,14 @@
{{#if
item
.
psEditor
.
disabled
}}
{{#if
item
.
psEditor
.
disabled
}}
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
getE
ditorParams
.
multiple
}}
{{#if
item
.
psEditor
.
e
ditorParams
.
multiple
}}
:multiple=
"
{{
item
.
psEditor
.
getE
ditorParams
.
multiple
}}
"
:multiple=
"
{{
item
.
psEditor
.
e
ditorParams
.
multiple
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
getPS
NavigateContexts
}}
{{#if
item
.
psEditor
.
ps
NavigateContexts
}}
localContext=
"
{{
item
.
psEditor
.
getPS
NavigateContexts
}}
"
localContext=
"
{{
item
.
psEditor
.
ps
NavigateContexts
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
getPS
NavigateParams
}}
{{#if
item
.
psEditor
.
ps
NavigateParams
}}
localParam=
"
{{
item
.
psEditor
.
getPS
NavigateParams
}}
"
localParam=
"
{{
item
.
psEditor
.
ps
NavigateParams
}}
"
{{/if}}
{{/if}}
:contextProp=
"state.context"
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
:viewParamsProp=
"state.viewParams"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/input-ip.hbs
0 → 100644
浏览文件 @
72053b93
<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"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/input.hbs
浏览文件 @
72053b93
...
@@ -5,21 +5,21 @@
...
@@ -5,21 +5,21 @@
placeholder=
"
{{
item
.
psEditor
.
getPlaceHolder
}}
"
placeholder=
"
{{
item
.
psEditor
.
getPlaceHolder
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
disabled
}}
{{#if
item
.
psEditor
.
disabled
}}
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
:
disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
isR
eadOnly
}}
{{#if
item
.
psEditor
.
r
eadOnly
}}
:readonly=
"
{{
item
.
psEditor
.
isR
eadOnly
}}
"
:readonly=
"
{{
item
.
psEditor
.
r
eadOnly
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
getE
ditorParams
.
max
}}
{{#if
item
.
psEditor
.
e
ditorParams
.
max
}}
:max=
"
{{
item
.
psEditor
.
getE
ditorParams
.
max
}}
"
:max=
"
{{
item
.
psEditor
.
e
ditorParams
.
max
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
getE
ditorParams
.
min
}}
{{#if
item
.
psEditor
.
e
ditorParams
.
min
}}
:max=
"
{{
item
.
psEditor
.
getE
ditorParams
.
min
}}
"
:max=
"
{{
item
.
psEditor
.
e
ditorParams
.
min
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
getE
ditorParams
.
precision
}}
{{#if
item
.
psEditor
.
e
ditorParams
.
precision
}}
:precision=
"
{{
item
.
psEditor
.
getE
ditorParams
.
precision
}}
"
:precision=
"
{{
item
.
psEditor
.
e
ditorParams
.
precision
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
getE
ditorParams
.
maxLength
}}
{{#if
item
.
psEditor
.
e
ditorParams
.
maxLength
}}
:maxLength=
"
{{
item
.
psEditor
.
maxLength
}}
"
:maxLength=
"
{{
item
.
psEditor
.
maxLength
}}
"
{{/if}}
{{/if}}
{{#
eq
item
.
psEditor
.
editorType
"TEXTBOX"
}}
{{#
eq
item
.
psEditor
.
editorType
"TEXTBOX"
}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/rating.hbs
0 → 100644
浏览文件 @
72053b93
<IbizRating
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:date=
"state.data"
{{#if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
max
}}
:max=
"
{{
item
.
psEditor
.
editorParams
.
max
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
allowHalf
}}
:allowHalf=
"
{{
item
.
psEditor
.
editorParams
.
allowHalf
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/raw.hbs
0 → 100644
浏览文件 @
72053b93
<IbizRaw
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:date=
"state.data"
{{#if
item
.
psEditor
.
editorParams
.
contentType
}}
:contentType=
"
{{
item
.
psEditor
.
editorParams
.
contentType
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
icon
}}
icon=
"
{{
item
.
psEditor
.
editorParams
.
icon
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
caption
}}
caption=
"
{{
item
.
psEditor
.
editorParams
.
caption
}}
"
{{/if}}
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
@
editorEvent=
"handleEditorEvent"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/slider.hbs
0 → 100644
浏览文件 @
72053b93
<IbizSlider
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:date=
"state.data"
{{#if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
step
}}
:step=
"
{{
item
.
psEditor
.
editorParams
.
step
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
min
}}
:min=
"
{{
item
.
psEditor
.
editorParams
.
min
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
max
}}
:max=
"
{{
item
.
psEditor
.
editorParams
.
max
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/span.hbs
浏览文件 @
72053b93
...
@@ -8,20 +8,20 @@
...
@@ -8,20 +8,20 @@
{{#if
item
.
getDataType
}}
{{#if
item
.
getDataType
}}
dataType=
"
{{
item
.
getDataType
}}
"
dataType=
"
{{
item
.
getDataType
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
getE
ditorParams
.
unitName
}}
{{#if
item
.
psEditor
.
e
ditorParams
.
unitName
}}
unitName=
"
{{
item
.
psEditor
.
getE
ditorParams
.
unitName
}}
"
unitName=
"
{{
item
.
psEditor
.
e
ditorParams
.
unitName
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
getE
ditorParams
.
valueFormat
}}
{{#if
item
.
psEditor
.
e
ditorParams
.
valueFormat
}}
valueFormat=
"
{{
item
.
psEditor
.
getE
ditorParams
.
valueFormat
}}
"
valueFormat=
"
{{
item
.
psEditor
.
e
ditorParams
.
valueFormat
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
getP
recision
}}
{{#if
item
.
psEditor
.
p
recision
}}
:precision=
"
{{
item
.
psEditor
.
getP
recision
}}
"
:precision=
"
{{
item
.
psEditor
.
p
recision
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
getPS
NavigateContexts
}}
{{#if
item
.
psEditor
.
ps
NavigateContexts
}}
localContext=
"
{{
item
.
psEditor
.
getPS
NavigateContexts
}}
"
localContext=
"
{{
item
.
psEditor
.
ps
NavigateContexts
}}
"
{{/if}}
{{/if}}
{{#if
item
.
psEditor
.
getPS
NavigateParams
}}
{{#if
item
.
psEditor
.
ps
NavigateParams
}}
localParam=
"
{{
item
.
psEditor
.
getPS
NavigateParams
}}
"
localParam=
"
{{
item
.
psEditor
.
ps
NavigateParams
}}
"
{{/if}}
{{/if}}
:contextProp=
"state.context"
:contextProp=
"state.context"
:viewParamsProp=
"state.viewParams"
/>
:viewParamsProp=
"state.viewParams"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/stepper.hbs
0 → 100644
浏览文件 @
72053b93
<IbizStepper
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
:date=
"state.data"
{{#if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
precision
}}
:precision=
"
{{
item
.
psEditor
.
editorParams
.
precision
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
step
}}
:step=
"
{{
item
.
psEditor
.
editorParams
.
step
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
min
}}
:min=
"
{{
item
.
psEditor
.
editorParams
.
min
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
max
}}
:max=
"
{{
item
.
psEditor
.
editorParams
.
max
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/switch.hbs
0 → 100644
浏览文件 @
72053b93
<IbizSwitch
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}}
{{#if
item
.
psEditor
.
editorParams
.
size
}}
size=
"
{{
item
.
psEditor
.
editorParams
.
size
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/editor/upload.hbs
0 → 100644
浏览文件 @
72053b93
<IbizUpload
name=
"
{{
item
.
codeName
}}
"
:value=
"state.data.
{{
item
.
psEditor
.
name
}}
"
{{#if
item
.
psEditor
.
editorParams
.
accept
}}
accept=
"
{{
item
.
psEditor
.
editorParams
.
accept
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
method
}}
method=
"
{{
item
.
psEditor
.
editorParams
.
method
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
multiple
}}
multiple=
"
{{
item
.
psEditor
.
editorParams
.
multiple
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
showUploadList
}}
showUploadList=
"
{{
item
.
psEditor
.
editorParams
.
showUploadList
}}
"
{{/if}}
{{#if
item
.
psEditor
.
editorParams
.
Tooltip
}}
Tooltip=
"
{{
item
.
psEditor
.
editorParams
.
Tooltip
}}
"
{{/if}}
{{#if
item
.
psEditor
.
disabled
}}
:disabled=
"
{{
item
.
psEditor
.
disabled
}}
"
{{/if}}
{{#if
item
.
psEditor
.
readOnly
}}
:readonly=
"
{{
item
.
psEditor
.
readOnly
}}
"
{{/if}}
@
editorEvent=
"handleEditorEvent"
/>
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/editors/IbizAutoComplete.vue
浏览文件 @
72053b93
...
@@ -56,16 +56,6 @@ interface AutoCompleteProps {
...
@@ -56,16 +56,6 @@ interface AutoCompleteProps {
*/
*/
deKeyField
?:
string
;
deKeyField
?:
string
;
/**
* @description 选择视图
*/
pickUpView
?:
IParam
;
/**
* @description 链接视图
*/
linkView
?:
IParam
;
/**
/**
* @description ac参数
* @description ac参数
*/
*/
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/editors/IbizRaw.vue
浏览文件 @
72053b93
...
@@ -33,15 +33,7 @@ interface RawProps {
...
@@ -33,15 +33,7 @@ interface RawProps {
* @type {string}
* @type {string}
* @memberof AppRawItem
* @memberof AppRawItem
*/
*/
imageClass
?:
string
;
icon
?:
string
;
/**
* 图片
*
* @type {string}
* @memberof AppRawItem
*/
imgUrl
?:
string
;
/**
/**
* 标题
* 标题
...
@@ -96,8 +88,8 @@ onBeforeMount(() => {
...
@@ -96,8 +88,8 @@ onBeforeMount(() => {
</div>
</div>
<div
v-else-if=
"Object.is(contentType, 'HTML')"
v-html=
"content"
/>
<div
v-else-if=
"Object.is(contentType, 'HTML')"
v-html=
"content"
/>
<div
v-else-if=
"Object.is(contentType, 'IMAGE')"
>
<div
v-else-if=
"Object.is(contentType, 'IMAGE')"
>
<img
v-if=
"
imgUrl"
:src=
"imgUrl
"
/>
<img
v-if=
"
value"
:src=
"value
"
/>
<a-icon
v-else
:type=
"i
mageClass
|| ''"
/>
<a-icon
v-else
:type=
"i
con
|| ''"
/>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/render/ibizToolbar.vue
浏览文件 @
72053b93
...
@@ -13,7 +13,7 @@ interface toolbarEmit {
...
@@ -13,7 +13,7 @@ interface toolbarEmit {
}
}
const
props
=
withDefaults
(
defineProps
<
ToolbarProps
>
(),
{});
const
props
=
withDefaults
(
defineProps
<
ToolbarProps
>
(),
{});
const
emit
=
defineEmits
<
toolbarEmit
>
();
const
emit
=
defineEmits
<
toolbarEmit
>
();
const
items
:
Ref
<
IParam
[]
>
=
ref
(
props
.
toolbarModel
.
items
||
[]);
const
items
:
Ref
<
IParam
[]
>
=
ref
(
props
.
toolbarModel
?
.
items
||
[]);
const
{
context
,
viewParams
}
=
useContextParams
(
props
);
const
{
context
,
viewParams
}
=
useContextParams
(
props
);
const
getItemClass
=
(
item
:
IParam
)
=>
{
const
getItemClass
=
(
item
:
IParam
)
=>
{
//todo 样式表
//todo 样式表
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录