Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibizlab-generator
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibizlab-generator
提交
6b0503a5
提交
6b0503a5
编写于
1月 12, 2022
作者:
RedPig97
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update: 更新
上级
61eea350
变更
14
隐藏空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
47 行增加
和
20 行删除
+47
-20
form-button.hbs
...l/r7/@macro/front-end/widgets/form-detail/form-button.hbs
+2
-2
form-group-panel.hbs
...@macro/front-end/widgets/form-detail/form-group-panel.hbs
+2
-2
form-rawitem.hbs
.../r7/@macro/front-end/widgets/form-detail/form-rawitem.hbs
+2
-2
grid-column.hbs
...l/r7/@macro/front-end/widgets/grid-detail/grid-column.hbs
+1
-1
app-raw.vue
.../templ/r7/app_{{apps}}/src/components/editors/app-raw.vue
+1
-1
app-grid-view-layout.vue
...p_{{apps}}/src/components/layout/app-grid-view-layout.vue
+1
-0
app-form-group.vue
.../r7/app_{{apps}}/src/components/render/app-form-group.vue
+3
-3
app-menu-item.vue
...l/r7/app_{{apps}}/src/components/render/app-menu-item.vue
+3
-3
app-toolbar.vue
...mpl/r7/app_{{apps}}/src/components/render/app-toolbar.vue
+3
-3
app-user.vue
.../templ/r7/app_{{apps}}/src/components/render/app-user.vue
+1
-1
index.scss
...esources/templ/r7/app_{{apps}}/src/style/views/index.scss
+2
-1
view-base.scss
...rces/templ/r7/app_{{apps}}/src/style/views/view-base.scss
+4
-0
{{pages@APPINDEXVIEW}}.vue.hbs
...s}}/{{pages@APPINDEXVIEW}}/{{pages@APPINDEXVIEW}}.vue.hbs
+1
-1
{{pages@DEGRIDVIEW}}.vue.hbs
...dules}}/{{pages@DEGRIDVIEW}}/{{pages@DEGRIDVIEW}}.vue.hbs
+21
-0
未找到文件。
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/widgets/form-detail/form-button.hbs
浏览文件 @
6b0503a5
...
...
@@ -7,7 +7,7 @@
style=
"
{{#if
item
.
width
}}
width:
{{
item
.
width
}}
px;
{{/if}}{{#if
item
.
height
}}
height:
{{
item
.
height
}}
px;
{{/if}}
"
>
{{#if
item
.
psSysImage
}}
<template
#
icon
>
<
Ibiz
IconText
{{#if
item
.
psSysImage
.
cssClass
}}
:iconClass=
"
{{
item
.
psSysImage
.
cssClass
}}
"
{{/if}}
{{#if
item
.
psSysImage
.
imagePath
}}
:imgPath=
"
{{
item
.
psSysImage
.
imagePath
}}
"
{{/if}}
/>
<
App
IconText
{{#if
item
.
psSysImage
.
cssClass
}}
:iconClass=
"
{{
item
.
psSysImage
.
cssClass
}}
"
{{/if}}
{{#if
item
.
psSysImage
.
imagePath
}}
:imgPath=
"
{{
item
.
psSysImage
.
imagePath
}}
"
{{/if}}
/>
</template>
{{/if}}
{{#if
item
.
showCaption
}}
...
...
@@ -25,7 +25,7 @@
style=
"
{{#if
item
.
width
}}
width:
{{
item
.
width
}}
px;
{{/if}}{{#if
item
.
height
}}
height:
{{
item
.
height
}}
px;
{{/if}}
"
>
{{#if
item
.
psSysImage
}}
<template
#
icon
>
<
Ibiz
IconText
{{#if
item
.
psSysImage
.
cssClass
}}
:iconClass=
"
{{
item
.
psSysImage
.
cssClass
}}
"
{{/if}}
{{#if
item
.
psSysImage
.
imagePath
}}
:imgPath=
"
{{
item
.
psSysImage
.
imagePath
}}
"
{{/if}}
/>
<
App
IconText
{{#if
item
.
psSysImage
.
cssClass
}}
:iconClass=
"
{{
item
.
psSysImage
.
cssClass
}}
"
{{/if}}
{{#if
item
.
psSysImage
.
imagePath
}}
:imgPath=
"
{{
item
.
psSysImage
.
imagePath
}}
"
{{/if}}
/>
</template>
{{/if}}
{{#if
item
.
showCaption
}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/widgets/form-detail/form-group-panel.hbs
浏览文件 @
6b0503a5
{{#
eq
item
.
psLayoutPos
'FLEX'
}}
<div
style=
"flex-grow:
{{#if
item
.
psLayoutPos
.
grow
}}{{
item
.
psLayoutPos
.
grow
}}{{else}}
0
{{/if}}
;"
>
<
Ibiz
FormGroup
<
App
FormGroup
v-show=
"state.detailsModel.
{{
item
.
codeName
}}
.visible"
name=
"
{{
item
.
codeName
}}
"
title=
"
{{
item
.
caption
}}
"
...
...
@@ -31,7 +31,7 @@
{{else}}
<a-col
{{>
@macro
/
front-end
/
widgets
/
common
/
layout-pos
.
hbs
item
=
item
.
psLayoutPos
}}
>
<
Ibiz
FormGroup
<
App
FormGroup
v-show=
"state.detailsModel.
{{
item
.
codeName
}}
.visible"
name=
"
{{
item
.
codeName
}}
"
title=
"
{{
item
.
caption
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/widgets/form-detail/form-rawitem.hbs
浏览文件 @
6b0503a5
{{#
eq
item
.
psLayoutPos
'FLEX'
}}
<div
style=
"flex-grow:
{{#if
item
.
psLayoutPos
.
grow
}}{{
item
.
psLayoutPos
.
grow
}}{{else}}
0
{{/if}}
;"
>
<
Ibiz
Raw
<
App
Raw
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}}
...
...
@@ -11,7 +11,7 @@
{{else}}
<a-col
{{>
@macro
/
front-end
/
widgets
/
common
/
layout-pos
.
hbs
item
=
item
.
psLayoutPos
}}
>
<
Ibiz
Raw
<
App
Raw
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}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/@macro/front-end/widgets/grid-detail/grid-column.hbs
浏览文件 @
6b0503a5
...
...
@@ -24,7 +24,7 @@
</div>
{{/if}}
{{else
if
(
eq
item
.
columnType
'UAGRIDCOLUMN'
)
}}
<
ibiz
Toolbar
<
App
Toolbar
mode=
"link"
name=
"
{{
lowerCase
item
.
codeName
}}
"
:actionModel=
"record.
{{
lowerCase
item
.
codeName
}}
"
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/editors/app-raw.vue
浏览文件 @
6b0503a5
...
...
@@ -51,7 +51,7 @@ const emit = defineEmits<EditorEmit>();
</div>
<div
v-else-if=
"Object.is(contentType, 'HTML')"
v-html=
"value"
/>
<div
v-else-if=
"Object.is(contentType, 'IMAGE')"
>
<
Ibiz
IconText
:iconClass=
"iconClass"
:imgPath=
"imgPath"
/>
<
App
IconText
:iconClass=
"iconClass"
:imgPath=
"imgPath"
/>
</div>
</div>
</
template
>
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/layout/app-grid-view-layout.vue
浏览文件 @
6b0503a5
...
...
@@ -8,6 +8,7 @@
<slot
name=
"caption"
/>
</
template
>
<
template
v-slot:header-right
>
<slot
name=
"quickSearch"
/>
<slot
name=
"toolbar"
/>
</
template
>
<
template
v-slot:header-bottom
>
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/render/app-form-group.vue
浏览文件 @
6b0503a5
...
...
@@ -40,7 +40,7 @@ const handleMenuGroupAction = ($event: IParam) => {
:bordered="false">
<template
v-if=
"showCaption"
#
title
>
<p
:class=
"['app-form-group-title', `$
{titleStyle}`]">
<
Ibiz
IconText
:iconClass=
"iconClass"
:imgPath=
"imgPath"
:text=
"title"
/>
<
App
IconText
:iconClass=
"iconClass"
:imgPath=
"imgPath"
:text=
"title"
/>
</p>
</
template
>
<
template
v-if=
"showCaption"
#
extra
>
...
...
@@ -57,7 +57,7 @@ const handleMenuGroupAction = ($event: IParam) => {
v-if=
"item.visible"
:key=
"item.uIActionTag"
:disabled=
"item.disabled"
>
<
Ibiz
IconText
<
App
IconText
:iconClass=
"item.showIcon && item.iconClass"
:imgPath=
"item.showIcon && item.imgPath"
:text=
"item.showCaption && item.caption"
/>
...
...
@@ -75,7 +75,7 @@ const handleMenuGroupAction = ($event: IParam) => {
type=
"link"
:disabled=
"item.disabled"
@
click=
"handleGroupAction(item)"
>
<
Ibiz
IconText
<
App
IconText
:iconClass=
"item.showIcon && item.iconClass"
:imgPath=
"item.showIcon && item.imgPath"
:text=
"item.showCaption && item.caption"
/>
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/render/app-menu-item.vue
浏览文件 @
6b0503a5
...
...
@@ -14,7 +14,7 @@ const props = withDefaults(defineProps<Props>(), {
<template
v-if=
"!item.items"
>
<a-menu-item
v-if=
"!item.hidden"
:key=
"item.name"
class=
"ibiz-menu-item"
>
<template
#
icon
>
<
Ibiz
IconText
:iconClass=
"item.iconClass"
:imgPath=
"item.imgPath"
:text=
"collapsed && item.caption[0]"
/>
<
App
IconText
:iconClass=
"item.iconClass"
:imgPath=
"item.imgPath"
:text=
"collapsed && item.caption[0]"
/>
</
template
>
\{{item.caption}}
</a-menu-item>
...
...
@@ -22,10 +22,10 @@ const props = withDefaults(defineProps<Props>(), {
<
template
v-else
>
<a-sub-menu
v-if=
"!item.hidden"
:key=
"item.name"
class=
"ibiz-menu-item"
>
<template
#
icon
>
<
Ibiz
IconText
:iconClass=
"item.iconClass"
:imgPath=
"item.imgPath"
:text=
"collapsed && item.caption[0]"
/>
<
App
IconText
:iconClass=
"item.iconClass"
:imgPath=
"item.imgPath"
:text=
"collapsed && item.caption[0]"
/>
</
template
>
<
template
#
title
>
\
{{
item
.
caption
}}
</
template
>
<
Ibiz
MenuItem
:items=
"item.items"
/>
<
App
MenuItem
:items=
"item.items"
/>
</a-sub-menu>
</template>
</template>
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/render/app-toolbar.vue
浏览文件 @
6b0503a5
...
...
@@ -48,7 +48,7 @@ const itemClick = (item: IParam) => {
:disabled=
"item.disabled"
@
click=
"itemClick(item)"
>
<
Ibiz
IconText
<
App
IconText
:text=
"item.showCaption && item.caption"
:iconClass=
"item.showIcon && item.iconClass"
:imgPath=
"item.showIcon && item.imgPath"
/>
...
...
@@ -67,7 +67,7 @@ const itemClick = (item: IParam) => {
:disabled=
"childItem.disabled"
@
click=
"itemClick(childItem)"
>
<
Ibiz
IconText
<
App
IconText
:text=
"item.showCaption && item.caption"
:iconClass=
"item.showIcon && item.iconClass"
:imgPath=
"item.showIcon && item.imgPath"
/>
...
...
@@ -90,7 +90,7 @@ const itemClick = (item: IParam) => {
type=
"link"
@
click=
"itemClick(item)"
>
<
Ibiz
IconText
<
App
IconText
:text=
"item.showCaption && item.caption"
:iconClass=
"item.showIcon && item.iconClass"
:imgPath=
"item.showIcon && item.imgPath"
/>
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/components/render/app-user.vue
浏览文件 @
6b0503a5
...
...
@@ -77,7 +77,7 @@ const dropdownList = [
<span
class=
"user-name"
>
\
{{
user
.
name
}}
</span>
<a-dropdown>
<a-avatar
size=
"large"
:src=
"user.avatar"
@
click
.
prevent
>
<template
#
icon
><
IbizIconText
iconClass=
"fa fa-user-o"
></Ibiz
IconText></
template
>
<template
#
icon
><
AppIconText
iconClass=
"fa fa-user-o"
></App
IconText></
template
>
<DownOutlined
/>
</a-avatar>
<
template
#
overlay
>
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/style/views/index.scss
浏览文件 @
6b0503a5
// 视图样式汇总
\ No newline at end of file
// 视图样式汇总
@use
'./view-base.scss'
;
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/style/views/view-base.scss
0 → 100644
浏览文件 @
6b0503a5
.app-quick-search
{
display
:
flex
;
align-items
:
center
;
}
\ No newline at end of file
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@APPINDEXVIEW}}/{{pages@APPINDEXVIEW}}.vue.hbs
浏览文件 @
6b0503a5
...
...
@@ -52,7 +52,7 @@ const collapsedChange = () => {
</div>
</template>
<template
#
user
>
<
Ibiz
User/>
<
App
User/>
</template>
<template
#
menu
>
<
{{#
page
.
ctrls
}}{{#
eq
controlType
"APPMENU"
}}{{
codeName
}}
Menu
{{/
eq
}}{{/
page
.
ctrls
}}
...
...
modules/ibizlab-generator-core/src/main/resources/templ/r7/app_{{apps}}/src/views/{{appModules}}/{{pages@DEGRIDVIEW}}/{{pages@DEGRIDVIEW}}.vue.hbs
浏览文件 @
6b0503a5
<script
setup
lang=
"ts"
>
import
{
Subject
}
from
'rxjs'
;
import
{
FilterOutlined
}
from
'@ant-design/icons-vue'
;
import
{
GridView
,
IActionParam
,
IParam
,
IContext
}
from
'@core'
;
import
{
ViewConfig
}
from
'./
{{
spinalCase
page
.
codeName
}}
-config'
;
{{#
page
.
ctrls
}}
...
...
@@ -52,6 +53,25 @@ const { state, grid, handleCtrlEvent, handleToolbarEvent } = new GridView(ViewCo
</template>
{{/
eq
}}
{{#
eq
controlType
"SEARCHFORM"
}}
{{#if
page
.
enableFilter
}}
<template
v-slot:quickSearch
>
<div
class=
'app-quick-search'
>
<a-input
/>
<a-popover>
<template
#
content
>
<
{{
codeName
}}
SearchForm
:context=
"state.context"
:viewParams=
"state.viewParams"
:controlAction=
"state.
{{
camelCase
name
}}
.action"
:viewSubject=
"state.viewSubject"
@
ctrlEvent=
"handleCtrlEvent"
></
{{
codeName
}}
SearchForm>
</template>
<a-button
trigger=
"click"
><filter-outlined
/></a-button>
</a-popover>
</div>
</template>
{{else}}
<template
v-slot:searchForm
>
<
{{
codeName
}}
SearchForm
:context=
"state.context"
...
...
@@ -61,6 +81,7 @@ const { state, grid, handleCtrlEvent, handleToolbarEvent } = new GridView(ViewCo
@
ctrlEvent=
"handleCtrlEvent"
></
{{
codeName
}}
SearchForm>
</template>
{{/if}}
{{/
eq
}}
{{#
eq
controlType
"GRID"
}}
<
{{
codeName
}}
Grid
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录