Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
5332268c
提交
5332268c
编写于
12月 28, 2021
作者:
Shine-zwj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update:更新
上级
d612298f
变更
13
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
128 行增加
和
33 行删除
+128
-33
grid-column.hbs
...ain/resources/templ/r7/@macro/grid-detail/grid-column.hbs
+1
-1
grid-summary-column.hbs
...urces/templ/r7/@macro/grid-detail/grid-summary-column.hbs
+1
-1
index.ts.hbs
...c/page/{{appModules}}/{{pages@APPINDEXVIEW}}/index.ts.hbs
+0
-0
{{pages@APPINDEXVIEW}}-config.ts.hbs
...pages@APPINDEXVIEW}}/{{pages@APPINDEXVIEW}}-config.ts.hbs
+0
-0
{{pages@APPINDEXVIEW}}.vue.hbs
...s}}/{{pages@APPINDEXVIEW}}/{{pages@APPINDEXVIEW}}.vue.hbs
+0
-0
index.ts.hbs
...src/page/{{appModules}}/{{pages@DEEDITVIEW}}/index.ts.hbs
+3
-0
{{pages@DEEDITVIEW}}-config.ts.hbs
...}/{{pages@DEEDITVIEW}}/{{pages@DEEDITVIEW}}-config.ts.hbs
+0
-0
{{pages@DEEDITVIEW}}.vue.hbs
...dules}}/{{pages@DEEDITVIEW}}/{{pages@DEEDITVIEW}}.vue.hbs
+0
-0
index.ts.hbs
...src/page/{{appModules}}/{{pages@DEGRIDVIEW}}/index.ts.hbs
+3
-0
{{pages@DEGRIDVIEW}}-config.ts.hbs
...}/{{pages@DEGRIDVIEW}}/{{pages@DEGRIDVIEW}}-config.ts.hbs
+0
-0
{{pages@DEGRIDVIEW}}.vue.hbs
...dules}}/{{pages@DEGRIDVIEW}}/{{pages@DEGRIDVIEW}}.vue.hbs
+0
-0
index.ts
.../main/resources/templ/r7/app_{{apps}}/src/router/index.ts
+0
-31
index.ts.hbs
...n/resources/templ/r7/app_{{apps}}/src/router/index.ts.hbs
+120
-0
未找到文件。
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/grid-detail/grid-column.hbs
浏览文件 @
5332268c
...
...
@@ -5,7 +5,7 @@
{{#if
item
.
enableRowEdit
}}
<div
v-if=
"state.rowEditState"
class=
"editor-cell"
>
{{#
each
ctrl
.
pSDEGridEditItems
as
|
editColumn
|
}}
{{#
eq
editColumn
.
codeName
.
item
.
codeName
}}
{{#
eq
editColumn
.
codeName
(
item
.
codeName
)
}}
{{#if
item
.
psEditor
}}
{{>
(
lookup
.
'item.psEditor.editorType'
)
item
=
item
}}
{{/if}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/grid-detail/grid-summary-column.hbs
浏览文件 @
5332268c
...
...
@@ -3,5 +3,5 @@
{{>
(
lookup
'SUMMARYCOLUMN'
)
item
=
column
ctrl
=
ctrl
}}
{{/
each
}}
{{else}}
<a-table-summary-cell>
\{{state.dataAgg}}
</a-table-summary-cell>
<a-table-summary-cell>
\{{state.dataAgg}}
.
{{
item
.
codeName
.
lowerCase
}}
</a-table-summary-cell>
{{/
eq
}}
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages}}/index.ts.hbs
→
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages
@APPINDEXVIEW
}}/index.ts.hbs
浏览文件 @
5332268c
文件已移动
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages}}/{{pages@APPINDEXVIEW}}-config.ts.hbs
→
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages
@APPINDEXVIEW
}}/{{pages@APPINDEXVIEW}}-config.ts.hbs
浏览文件 @
5332268c
文件已移动
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages}}/{{pages@APPINDEXVIEW}}.vue.hbs
→
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages
@APPINDEXVIEW
}}/{{pages@APPINDEXVIEW}}.vue.hbs
浏览文件 @
5332268c
文件已移动
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages@DEEDITVIEW}}/index.ts.hbs
0 → 100644
浏览文件 @
5332268c
import
{{
page
.
codeName
}}
from "./
{{
page
.
codeName
.
spinalCase
}}
.vue";
export {
{{
page
.
codeName
}}
};
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages}}/{{pages@DEEDITVIEW}}-config.ts.hbs
→
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages
@DEEDITVIEW
}}/{{pages@DEEDITVIEW}}-config.ts.hbs
浏览文件 @
5332268c
文件已移动
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages}}/{{pages@DEEDITVIEW}}.vue.hbs
→
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages
@DEEDITVIEW
}}/{{pages@DEEDITVIEW}}.vue.hbs
浏览文件 @
5332268c
文件已移动
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages@DEGRIDVIEW}}/index.ts.hbs
0 → 100644
浏览文件 @
5332268c
import
{{
page
.
codeName
}}
from "./
{{
page
.
codeName
.
spinalCase
}}
.vue";
export {
{{
page
.
codeName
}}
};
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages}}/{{pages@DEGRIDVIEW}}-config.ts.hbs
→
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages
@DEGRIDVIEW
}}/{{pages@DEGRIDVIEW}}-config.ts.hbs
浏览文件 @
5332268c
文件已移动
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages}}/{{pages@DEGRIDVIEW}}.vue.hbs
→
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/page/{{appModules}}/{{pages
@DEGRIDVIEW
}}/{{pages@DEGRIDVIEW}}.vue.hbs
浏览文件 @
5332268c
文件已移动
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/router/index.ts
已删除
100644 → 0
浏览文件 @
d612298f
import
{
createRouter
,
createWebHashHistory
}
from
'vue-router'
;
import
{
JobsInfoEditView
}
from
'@page/jobs-info/jobs-info-edit-view'
;
import
{
JobsRegistryGridView
}
from
'@page/jobs-registry/jobs-registry-grid-view'
;
const
routes
=
[
{
path
:
'/JobsInfoEditView'
,
component
:
JobsInfoEditView
},
{
path
:
'/JobsRegistryGridView'
,
component
:
JobsRegistryGridView
},
{
path
:
'/'
,
redirect
:
'JobsInfoEditView'
},
]
const
router
=
createRouter
({
history
:
createWebHashHistory
(),
routes
,
})
/**
* 全局路由守卫
*/
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
next
();
})
export
default
router
;
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/router/index.ts.hbs
0 → 100644
浏览文件 @
5332268c
import { createRouter, createWebHashHistory } from 'vue-router';
const routes = [
{
path: "/
{{
lowerCase
app
.
defaultPSAppIndexView
.
codeName
}}
/:
{{
lowerCase
app
.
defaultPSAppIndexView
.
codeName
}}
?",
{{!-- beforeEnter: (to: any, from: any, next: any) => {
next();
}, --}}
meta: {
captionTag: "
{{#if
app
.
defaultPSAppIndexView
.
capPSLanguageRes
}}{{
app
.
defaultPSAppIndexView
.
capPSLanguageRes
.
lanResTag
}}{{/if}}
",
caption: "
{{
app
.
defaultPSAppIndexView
.
caption
}}
",
viewType: "
{{
app
.
defaultPSAppIndexView
.
viewType
}}
",
dynaModelFilePath: "
{{
app
.
defaultPSAppIndexView
.
dynaModelFilePath
}}
",
{{#if
app
.
defaultPSAppIndexView
.
pSSysImage
}}
imgPath: "
{{
app
.
defaultPSAppIndexView
.
pSSysImage
.
ImagePath
}}
",
iconCls: "
{{
app
.
defaultPSAppIndexView
.
pSSysImage
.
cssClass
}}
",
{{/if}}
parameters: [
{ pathName: "views", parameterName: "
{{
lowerCase
app
.
defaultPSAppIndexView
.
codeName
}}
" },
],
requireAuth:
{{#
eq
app
.
defaultPSAppIndexView
.
accUserMode
0
}}
false
{{else}}{{#
eq
app
.
defaultPSAppIndexView
.
accUserMode
3
}}
false
{{else}}
true
{{/
eq
}}{{/
eq
}}
,
},
component: () => import("@page/
{{#if
app
.
defaultPSAppIndexView
.
pSAppDataEntity
}}{{
spinalCase
app
.
defaultPSAppIndexView
.
pSAppDataEntity
.
codeName
}}{{else}}
default
{{/if}}
/
{{
spinalCase
app
.
defaultPSAppIndexView
.
codeName
}}
"),
children: [
{{#
each
app
.
allPSAppViews
as
|
appView
|
}}
{{!-- 实体视图 --}}
{{#if
appView
.
pSAppDataEntity
}}
{{!-- 多重路径 --}}
{{#if
appView
.
pSAppDataEntity
.
pSAppDERSPathCount
}}
{{#if
(
or
(
eq
appView
.
viewType
'DEEDITVIEW'
)
(
eq
appView
.
viewType
'DEGRIDVIEW'
))
}}
{
path: "
{{
lowerCase
(
pluralize
appView
.
pSAppDataEntity
.
codeName
)
}}
/:
{{
lowerCase
codeName
}}
?/views/:view?",
meta: {
captionTag: "
{{#if
appView
.
capPSLanguageRes
}}{{
appView
.
capPSLanguageRes
.
lanResTag
}}{{/if}}
",
caption: "
{{
appView
.
caption
}}
",
viewType: "
{{
appView
.
viewType
}}
",
info:'',
{{#if
appView
.
pSSysImage
}}
imgPath: "
{{
appView
.
pSSysImage
.
ImagePath
}}
",
iconCls: "
{{
appView
.
pSSysImage
.
cssClass
}}
",
{{/if}}
parameters: [
{ pathName: "
{{
lowerCase
app
.
defaultPSAppIndexView
.
codeName
}}
", parameterName: "
{{
lowerCase
app
.
defaultPSAppIndexView
.
codeName
}}
" },
{ pathName: "
{{
lowerCase
(
pluralize
appView
.
pSAppDataEntity
.
codeName
)
}}
", parameterName: "
{{
lowerCase
codeName
}}
" },
{ pathName: 'views', parameterName: 'view' },
],
resource: "
{{
entity
.
codeName
.
lowerCase
}}
",
requireAuth: false,
},
component: () => import("@page/
{{#if
appView
.
pSAppDataEntity
}}{{
spinalCase
appView
.
pSAppDataEntity
.
codeName
}}{{else}}
default
{{/if}}
/
{{
spinalCase
appView
.
codeName
}}
"),
},
{{/if}}
{{else}}
{{#if
(
or
(
eq
appView
.
viewType
'DEEDITVIEW'
)
(
eq
appView
.
viewType
'DEGRIDVIEW'
))
}}
{
path: "
{{
lowerCase
(
pluralize
appView
.
pSAppDataEntity
.
codeName
)
}}
/:
{{
lowerCase
codeName
}}
?/views/:view?",
meta: {
captionTag: "
{{#if
appView
.
capPSLanguageRes
}}{{
appView
.
capPSLanguageRes
.
lanResTag
}}{{/if}}
",
caption: "
{{
appView
.
caption
}}
",
viewType: "
{{
appView
.
viewType
}}
",
info:'',
{{#if
appView
.
pSSysImage
}}
imgPath: "
{{
appView
.
pSSysImage
.
ImagePath
}}
",
iconCls: "
{{
appView
.
pSSysImage
.
cssClass
}}
",
{{/if}}
parameters: [
{ pathName: "
{{
lowerCase
app
.
defaultPSAppIndexView
.
codeName
}}
", parameterName: "
{{
lowerCase
app
.
defaultPSAppIndexView
.
codeName
}}
" },
{ pathName: "
{{
lowerCase
(
pluralize
appView
.
pSAppDataEntity
.
codeName
)
}}
", parameterName: "
{{
lowerCase
appView
.
pSAppDataEntity
.
codeName
}}
" },
{ pathName: 'views', parameterName: 'view' },
],
resource: "
{{
entity
.
codeName
.
lowerCase
}}
",
requireAuth: false,
},
component: () => import("@page/
{{#if
appView
.
pSAppDataEntity
}}{{
spinalCase
appView
.
pSAppDataEntity
.
codeName
}}{{else}}
default
{{/if}}
/
{{
spinalCase
appView
.
codeName
}}
"),
},
{{/if}}
{{/if}}
{{else}}
{{#
neq
app
.
defaultPSAppIndexView
.
codeName
(
appView
.
codeName
)
}}
{
path: 'views/:view?',
meta: {
captionTag: "
{{#if
appView
.
capPSLanguageRes
}}{{
appView
.
capPSLanguageRes
.
lanResTag
}}{{/if}}
",
caption: "
{{
appView
.
caption
}}
",
viewType: "
{{
appView
.
viewType
}}
",
info:'',
{{#if
appView
.
pSSysImage
}}
imgPath: "
{{
appView
.
pSSysImage
.
ImagePath
}}
",
iconCls: "
{{
appView
.
pSSysImage
.
cssClass
}}
",
{{/if}}
parameters: [
{ pathName: "
{{
lowerCase
app
.
defaultPSAppIndexView
.
codeName
}}
", parameterName: "
{{
lowerCase
app
.
defaultPSAppIndexView
.
codeName
}}
" },
{ pathName: 'views', parameterName: 'view' },
],
requireAuth: false,
},
component: () => import("@page/
{{#if
appView
.
pSAppDataEntity
}}{{
spinalCase
appView
.
pSAppDataEntity
.
codeName
}}{{else}}
default
{{/if}}
/
{{
spinalCase
appView
.
codeName
}}
"),
},
{{/
neq
}}
{{/if}}
{{/
each
}}
]
},
{
path: "/",
redirect: "/
{{
lowerCase
app
.
defaultPSAppIndexView
.
codeName
}}
"
},
]
const router = createRouter({
history: createWebHashHistory(),
routes,
})
/**
* 全局路由守卫
*/
router.beforeEach((to, from, next) => {
next();
})
export default router;
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录