Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
ccdc5137
提交
ccdc5137
编写于
3月 03, 2022
作者:
Mosher
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:模板适配TS版本发布器
上级
47f388ff
变更
12
显示空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
26 行增加
和
26 行删除
+26
-26
view-base-config.hbs
...rces/templ/r7/@macro/front-end/views/view-base-config.hbs
+3
-3
form-druipart.hbs
...r7/@macro/front-end/widgets/form-detail/form-druipart.hbs
+1
-1
{{pages@DEEDITVIEW}}.vue.hbs
...dules}}/{{pages@DEEDITVIEW}}/{{pages@DEEDITVIEW}}.vue.hbs
+1
-1
{{pages@DEGRIDVIEW}}.vue.hbs
...dules}}/{{pages@DEGRIDVIEW}}/{{pages@DEGRIDVIEW}}.vue.hbs
+4
-4
{{pages@DEMPICKUPVIEW}}.vue.hbs
...}/{{pages@DEMPICKUPVIEW}}/{{pages@DEMPICKUPVIEW}}.vue.hbs
+1
-1
{{pages@DEPICKUPGRIDVIEW}}.vue.hbs
...ges@DEPICKUPGRIDVIEW}}/{{pages@DEPICKUPGRIDVIEW}}.vue.hbs
+3
-3
{{pages@DEPICKUPVIEW}}.vue.hbs
...s}}/{{pages@DEPICKUPVIEW}}/{{pages@DEPICKUPVIEW}}.vue.hbs
+1
-1
{{pages@DETABEXPVIEW}}.vue.hbs
...s}}/{{pages@DETABEXPVIEW}}/{{pages@DETABEXPVIEW}}.vue.hbs
+1
-1
{{pages@DETREEEXPVIEW}}.vue.hbs
...}/{{pages@DETREEEXPVIEW}}/{{pages@DETREEEXPVIEW}}.vue.hbs
+1
-1
{{pages@DETREEVIEW}}.vue.hbs
...dules}}/{{pages@DETREEVIEW}}/{{pages@DETREEVIEW}}.vue.hbs
+4
-4
{{ctrls@TABVIEWPANEL}}-tab-view-panel-state.ts.hbs
...-panel/{{ctrls@TABVIEWPANEL}}-tab-view-panel-state.ts.hbs
+1
-1
{{ctrls@TREEVIEW}}-tree-state.ts.hbs
...trls@TREEVIEW}}-tree/{{ctrls@TREEVIEW}}-tree-state.ts.hbs
+5
-5
未找到文件。
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/views/view-base-config.hbs
浏览文件 @
ccdc5137
...
...
@@ -11,9 +11,9 @@
xDataControlName:'
{{
page
.
xDataControlName
}}
',
height: '
{{
page
.
height
}}
',
width: '
{{
page
.
width
}}
',
appEntityCodeName: '
{{
page
.
app
Entity
.
codeName
}}
',
appDeKeyFieldName: '
{{
lowerCase
page
.
app
Entity
.
keyPSAppDEField
.
codeName
}}
',
appDeMajorFieldName: '
{{
lowerCase
page
.
app
Entity
.
majorPSAppDEField
.
codeName
}}
',
appEntityCodeName: '
{{
page
.
psAppData
Entity
.
codeName
}}
',
appDeKeyFieldName: '
{{
lowerCase
page
.
psAppData
Entity
.
keyPSAppDEField
.
codeName
}}
',
appDeMajorFieldName: '
{{
lowerCase
page
.
psAppData
Entity
.
majorPSAppDEField
.
codeName
}}
',
isLoadDefault:
{{#if
(
or
page
.
loadDefault
(
eq
page
.
loadDefault
false
))
}}{{
page
.
loadDefault
}}{{else}}
true
{{/if}}
,
appViewNavContexts:
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
page
.
psAppViewNavContexts
}}
,
appViewNavParams:
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
page
.
psAppViewNavParams
}}
,
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/widgets/form-detail/form-druipart.hbs
浏览文件 @
ccdc5137
...
...
@@ -12,7 +12,7 @@
style=
"
{{#if
item
.
width
}}
width:
{{
item
.
width
}}
px;
{{/if}}{{#if
item
.
height
}}
height:
{{
item
.
height
}}
px;
{{/if}}
"
{{/if}}
paramItem=
"
{{#if
item
.
paramItem
}}{{
item
.
paramItem
}}{{else}}
srfkey
{{/if}}
"
deCodeName=
"
{{
lowerCase
ctrl
.
app
Entity
.
codeName
}}
"
deCodeName=
"
{{
lowerCase
ctrl
.
psAppData
Entity
.
codeName
}}
"
{{#if
item
.
refreshItems
}}
refreshItems=
"
{{
item
.
refreshItems
}}
"
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DEEDITVIEW}}/{{pages@DEEDITVIEW}}.vue.hbs
浏览文件 @
ccdc5137
...
...
@@ -4,7 +4,7 @@ import { EditView, IActionParam, IParam, IContext } from '@core';
import
{
viewState
}
from
'./
{{
spinalCase
page
.
codeName
}}
-state'
;
{{#
page
.
ctrls
}}
{{#
eq
controlType
"FORM"
}}
import
{
{{
codeName
}}
Form
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-form'
;
import
{
{{
codeName
}}
Form
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-form'
;
{{/
eq
}}
{{/
page
.
ctrls
}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DEGRIDVIEW}}/{{pages@DEGRIDVIEW}}.vue.hbs
浏览文件 @
ccdc5137
...
...
@@ -5,16 +5,16 @@ import { GridView, IActionParam, IParam, IContext } from '@core';
import
{
viewState
}
from
'./
{{
spinalCase
page
.
codeName
}}
-state'
;
{{#
page
.
ctrls
}}
{{#
eq
controlType
"GRID"
}}
import
{
{{
codeName
}}
Grid
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-grid'
;
import
{
{{
codeName
}}
Grid
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-grid'
;
{{/
eq
}}
{{#if
(
and
(
eq
controlType
"SEARCHFORM"
)
(
eq
name
'searchform'
))
}}
import
{
{{
codeName
}}
SearchForm
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-search-form'
;
import
{
{{
codeName
}}
SearchForm
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-search-form'
;
{{/if}}
{{#if
(
and
(
eq
controlType
"SEARCHFORM"
)
(
eq
name
'quicksearchform'
))
}}
import
{
{{
codeName
}}
QuickSearchForm
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-quick-search-form'
;
import
{
{{
codeName
}}
QuickSearchForm
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-quick-search-form'
;
{{/if}}
{{#
eq
controlType
"SEARCHBAR"
}}
import
{
{{
codeName
}}
SearchBar
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-searchBar'
;
import
{
{{
codeName
}}
SearchBar
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-searchBar'
;
{{/
eq
}}
{{/
page
.
ctrls
}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DEMPICKUPVIEW}}/{{pages@DEMPICKUPVIEW}}.vue.hbs
浏览文件 @
ccdc5137
...
...
@@ -5,7 +5,7 @@ import { MPickupView, IActionParam, IParam, IContext } from '@core';
import
{
viewState
}
from
'./
{{
spinalCase
page
.
codeName
}}
-state'
;
{{#
page
.
ctrls
}}
{{#
eq
controlType
"PICKUPVIEWPANEL"
}}
import
{
{{
codeName
}}
PickupViewPanel
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-pickup-view-panel'
;
import
{
{{
codeName
}}
PickupViewPanel
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-pickup-view-panel'
;
{{/
eq
}}
{{/
page
.
ctrls
}}
// props声明和默认值处理
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DEPICKUPGRIDVIEW}}/{{pages@DEPICKUPGRIDVIEW}}.vue.hbs
浏览文件 @
ccdc5137
...
...
@@ -5,13 +5,13 @@ import { PickupGridView, IActionParam, IParam, IContext } from '@core';
import
{
viewState
}
from
'./
{{
spinalCase
page
.
codeName
}}
-state'
;
{{#
each
page
.
ctrls
as
|
control
|
}}
{{#if
(
eq
control
.
controlType
'GRID'
)
}}
import
{
{{
control
.
codeName
}}
Grid
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-grid'
;
import
{
{{
control
.
codeName
}}
Grid
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-grid'
;
{{/if}}
{{#if
(
and
(
eq
controlType
"SEARCHFORM"
)
(
eq
name
'searchform'
))
}}
import
{
{{
codeName
}}
SearchForm
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-search-form'
;
import
{
{{
codeName
}}
SearchForm
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-search-form'
;
{{/if}}
{{#if
(
and
(
eq
controlType
"SEARCHFORM"
)
(
eq
name
'quicksearchform'
))
}}
import
{
{{
codeName
}}
QuickSearchForm
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-quick-search-form'
;
import
{
{{
codeName
}}
QuickSearchForm
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-quick-search-form'
;
{{/if}}
{{/
each
}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DEPICKUPVIEW}}/{{pages@DEPICKUPVIEW}}.vue.hbs
浏览文件 @
ccdc5137
...
...
@@ -4,7 +4,7 @@ import { PickupView, IActionParam, IParam, IContext } from '@core';
import
{
viewState
}
from
'./
{{
spinalCase
page
.
codeName
}}
-state'
;
{{#
page
.
ctrls
}}
{{#
eq
controlType
"PICKUPVIEWPANEL"
}}
import
{
{{
codeName
}}
PickupViewPanel
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-pickup-view-panel'
;
import
{
{{
codeName
}}
PickupViewPanel
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-pickup-view-panel'
;
{{/
eq
}}
{{/
page
.
ctrls
}}
// props声明和默认值处理
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DETABEXPVIEW}}/{{pages@DETABEXPVIEW}}.vue.hbs
浏览文件 @
ccdc5137
...
...
@@ -4,7 +4,7 @@ import { TabExpView, IActionParam, IParam, IContext } from '@core';
import
{
viewState
}
from
'./
{{
spinalCase
page
.
codeName
}}
-state'
;
{{#
page
.
ctrls
}}
{{#
eq
controlType
"TABEXPPANEL"
}}
import
{
{{
codeName
}}
TabExpPanel
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-tab-exp-panel'
;
import
{
{{
codeName
}}
TabExpPanel
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-tab-exp-panel'
;
{{/
eq
}}
{{/
page
.
ctrls
}}
// props声明和默认值处理
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DETREEEXPVIEW}}/{{pages@DETREEEXPVIEW}}.vue.hbs
浏览文件 @
ccdc5137
...
...
@@ -4,7 +4,7 @@ import { TreeExpView, IActionParam, IParam, IContext } from '@core';
import
{
viewState
}
from
'./
{{
spinalCase
page
.
codeName
}}
-state'
;
{{#
page
.
ctrls
}}
{{#
eq
controlType
"TREEEXPBAR"
}}
import
{
{{
codeName
}}
TreeExpBar
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-tree-exp-bar'
;
import
{
{{
codeName
}}
TreeExpBar
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-tree-exp-bar'
;
{{/
eq
}}
{{/
page
.
ctrls
}}
interface
Props
{
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DETREEVIEW}}/{{pages@DETREEVIEW}}.vue.hbs
浏览文件 @
ccdc5137
...
...
@@ -4,16 +4,16 @@ import { TreeView, IActionParam, IParam, IContext } from '@core';
import
{
viewState
}
from
'./
{{
spinalCase
page
.
codeName
}}
-state'
;
{{#
page
.
ctrls
}}
{{#
eq
controlType
"TREEVIEW"
}}
import
{
{{
codeName
}}
Tree
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-tree'
;
import
{
{{
codeName
}}
Tree
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-tree'
;
{{/
eq
}}
{{#if
(
and
(
eq
controlType
"SEARCHFORM"
)
(
eq
name
'searchform'
))
}}
import
{
{{
codeName
}}
SearchForm
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-search-form'
;
import
{
{{
codeName
}}
SearchForm
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-search-form'
;
{{/if}}
{{#if
(
and
(
eq
controlType
"SEARCHFORM"
)
(
eq
name
'quicksearchform'
))
}}
import
{
{{
codeName
}}
QuickSearchForm
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-quick-search-form'
;
import
{
{{
codeName
}}
QuickSearchForm
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-quick-search-form'
;
{{/if}}
{{#
eq
controlType
"SEARCHBAR"
}}
import
{
{{
codeName
}}
SearchBar
}
from
'@widgets/
{{
spinalCase
app
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-searchBar'
;
import
{
{{
codeName
}}
SearchBar
}
from
'@widgets/
{{
spinalCase
psAppData
Entity
.
codeName
}}
/
{{
spinalCase
codeName
}}
-searchBar'
;
{{/
eq
}}
{{/
page
.
ctrls
}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/widgets/{{appEntities}}/{{ctrls@TABVIEWPANEL}}-tab-view-panel/{{ctrls@TABVIEWPANEL}}-tab-view-panel-state.ts.hbs
浏览文件 @
ccdc5137
export const ctrlState = {
controlCodeName: '
{{
ctrl
.
codeName
}}
',
controlName: '
{{
ctrl
.
name
}}
',
appDeCodeName: '
{{
ctrl
.
app
Entity
.
codeName
}}
',
appDeCodeName: '
{{
ctrl
.
psAppData
Entity
.
codeName
}}
',
navFilter: "
{{
ctrl
.
navFilter
}}
",
{{#if
ctrl
.
psNavigateContexts
}}
navContexts:
{{>
@macro
/
front-end
/
common
/
navparam
.
hbs
appNavParams
=
ctrl
.
psNavigateContexts
}}
,
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/widgets/{{appEntities}}/{{ctrls@TREEVIEW}}-tree/{{ctrls@TREEVIEW}}-tree-state.ts.hbs
浏览文件 @
ccdc5137
...
...
@@ -185,11 +185,11 @@ export class ControlVO extends ControlVOBase implements TreeControlVO {
}
export const ctrlState = {
appEntityCodeName: '
{{
ctrl
.
app
Entity
.
codeName
}}
',
appDeCodeName:'
{{
ctrl
.
app
Entity
.
codeName
}}
',
appDeLogicName: '
{{
ctrl
.
app
Entity
.
logicName
}}
',
appDeKeyFieldName: '
{{#if
ctrl
.
appEntity
.
keyPSAppDEField
}}{{
ctrl
.
app
Entity
.
keyPSAppDEField
.
codeName
}}{{/if}}
',
appDeMajorFieldName: '
{{#if
ctrl
.
appEntity
.
majorPSAppDEField
}}{{
ctrl
.
app
Entity
.
majorPSAppDEField
.
codeName
}}{{/if}}
',
appEntityCodeName: '
{{
ctrl
.
psAppData
Entity
.
codeName
}}
',
appDeCodeName:'
{{
ctrl
.
psAppData
Entity
.
codeName
}}
',
appDeLogicName: '
{{
ctrl
.
psAppData
Entity
.
logicName
}}
',
appDeKeyFieldName: '
{{#if
ctrl
.
psAppDataEntity
.
keyPSAppDEField
}}{{
ctrl
.
psAppData
Entity
.
keyPSAppDEField
.
codeName
}}{{/if}}
',
appDeMajorFieldName: '
{{#if
ctrl
.
psAppDataEntity
.
majorPSAppDEField
}}{{
ctrl
.
psAppData
Entity
.
majorPSAppDEField
.
codeName
}}{{/if}}
',
{{#
and
ctrl
.
psAppCounterRef
ctrl
.
psAppCounterRef
.
psAppCounter
}}
appCounterRef: {
{{#
with
ctrl
.
psAppCounterRef
.
psAppCounter
as
|
counter
|
}}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录