Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
e990feaf
提交
e990feaf
编写于
11月 23, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
6662c32d
变更
35
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
35 个修改的文件
包含
2634 行增加
和
27 行删除
+2634
-27
view-config.json
app_Web/public/assets/json/view-config.json
+24
-0
en-US.ts
app_Web/src/locale/lang/en-US.ts
+2
-0
zh-CN.ts
app_Web/src/locale/lang/zh-CN.ts
+2
-0
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+2
-2
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+2
-2
ibizsample0001_en_US.ts
...le/lanres/entities/ibizsample0001/ibizsample0001_en_US.ts
+3
-2
ibizsample0001_zh_CN.ts
...le/lanres/entities/ibizsample0001/ibizsample0001_zh_CN.ts
+3
-2
ibizsample0002_en_US.ts
...le/lanres/entities/ibizsample0002/ibizsample0002_en_US.ts
+65
-0
ibizsample0002_zh_CN.ts
...le/lanres/entities/ibizsample0002/ibizsample0002_zh_CN.ts
+65
-0
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+38
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+24
-0
ibizbookdata-view-base.vue
...pages/sample/ibizbookdata-view/ibizbookdata-view-base.vue
+905
-0
ibizbookdata-view.less
...src/pages/sample/ibizbookdata-view/ibizbookdata-view.less
+22
-0
ibizbookdata-view.vue
.../src/pages/sample/ibizbookdata-view/ibizbookdata-view.vue
+24
-0
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+1
-0
router.ts
app_Web/src/pages/sample/index/router.ts
+27
-0
state.ts
app_Web/src/store/modules/view-action/state.ts
+12
-1
ibizsample0002-ui-service-base.ts
...iservice/ibizsample0002/ibizsample0002-ui-service-base.ts
+3
-0
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+26
-0
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+40
-0
dataview-dataview-base.vue
...ets/ibizbook/dataview-dataview/dataview-dataview-base.vue
+841
-0
dataview-dataview-model.ts
...ets/ibizbook/dataview-dataview/dataview-dataview-model.ts
+65
-0
dataview-dataview-service.ts
...s/ibizbook/dataview-dataview/dataview-dataview-service.ts
+167
-0
dataview-dataview.less
...widgets/ibizbook/dataview-dataview/dataview-dataview.less
+150
-0
dataview-dataview.vue
.../widgets/ibizbook/dataview-dataview/dataview-dataview.vue
+14
-0
main4-form-base.vue
...src/widgets/ibizsample0001/main4-form/main4-form-base.vue
+12
-12
main4-form-model.ts
...src/widgets/ibizsample0001/main4-form/main4-form-model.ts
+4
-4
IBIZSample0001.java
...in/java/cn/ibizlab/core/sample/domain/IBIZSample0001.java
+15
-0
IBIZSample0001SearchContext.java
...izlab/core/sample/filter/IBIZSample0001SearchContext.java
+14
-0
IBIZSample0001ServiceImpl.java
...b/core/sample/service/impl/IBIZSample0001ServiceImpl.java
+23
-0
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+2
-0
IBIZSample0001Mapper.xml
...ces/mapper/sample/ibizsample0001/IBIZSample0001Mapper.xml
+1
-1
systemResource.json
demo-core/src/main/resources/permission/systemResource.json
+1
-1
DemoSys.json
demo-core/src/main/resources/sysmodel/DemoSys.json
+18
-0
IBIZSample0001DTO.java
...c/main/java/cn/ibizlab/demoapi/dto/IBIZSample0001DTO.java
+17
-0
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
e990feaf
...
...
@@ -183,6 +183,14 @@
"viewname"
:
"IBIZOrderF13EditView"
,
"viewtag"
:
"2cd3a77cbd2aad4551b7a6a009419d52"
},
"ibizsample0002editview"
:
{
"title"
:
"首页图表数据源编辑视图"
,
"caption"
:
"示例实体02"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZSample0002EditView"
,
"viewtag"
:
"2dd64fdd5e7303cc73090d949bc91d9b"
},
"ibizsample0017pickupview"
:
{
"title"
:
"订单数据选择视图"
,
"caption"
:
"订单"
,
...
...
@@ -359,6 +367,14 @@
"viewname"
:
"IBIZOrderDetailSEditView9"
,
"viewtag"
:
"55c0b817ceaaa2894e76b510d94da24c"
},
"ibizsample0002pickupview"
:
{
"title"
:
"首页图表数据源数据选择视图"
,
"caption"
:
"示例实体02"
,
"viewtype"
:
"DEPICKUPVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZSample0002PickupView"
,
"viewtag"
:
"581e6727bc5983c238cc9990ba5fdcac"
},
"ibizsample0003f4treeexpview"
:
{
"title"
:
"示例实体03树导航视图"
,
"caption"
:
"示例实体03"
,
...
...
@@ -447,6 +463,14 @@
"viewname"
:
"IBIZStorageEditView"
,
"viewtag"
:
"75f6b59b25762a8faf7c795e94370834"
},
"ibizsample0002pickupgridview"
:
{
"title"
:
"首页图表数据源选择表格视图"
,
"caption"
:
"示例实体02"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZSample0002PickupGridView"
,
"viewtag"
:
"7a334494f71d4328c743657a6429ee03"
},
"ibizordersgridview"
:
{
"title"
:
"订单表格视图"
,
"caption"
:
"订单"
,
...
...
app_Web/src/locale/lang/en-US.ts
浏览文件 @
e990feaf
...
...
@@ -217,6 +217,8 @@ export default {
menuitem18
:
"界面行为"
,
menuitem65
:
"前端界面行为"
,
menuitem66
:
"后台界面行为"
,
menuitem87
:
"数据视图"
,
menuitem88
:
"内置功能"
,
menuitem5
:
"视图"
,
menuitem9
:
"列表视图"
,
menuitem19
:
"常规表格视图"
,
...
...
app_Web/src/locale/lang/zh-CN.ts
浏览文件 @
e990feaf
...
...
@@ -217,6 +217,8 @@ export default {
menuitem18
:
"界面行为"
,
menuitem65
:
"前端界面行为"
,
menuitem66
:
"后台界面行为"
,
menuitem87
:
"数据视图"
,
menuitem88
:
"内置功能"
,
menuitem5
:
"视图"
,
menuitem9
:
"列表视图"
,
menuitem19
:
"常规表格视图"
,
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
e990feaf
...
...
@@ -398,6 +398,8 @@ export default {
tip
:
"数据导入"
,
},
},
dataviewtoolbar_toolbar
:
{
},
autogrouplistviewtoolbar_toolbar
:
{
},
updatedefaultgridviewtoolbar_toolbar
:
{
...
...
@@ -634,6 +636,4 @@ export default {
},
usr3gridviewtoolbar_toolbar
:
{
},
dataviewtoolbar_toolbar
:
{
},
};
\ No newline at end of file
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
e990feaf
...
...
@@ -397,6 +397,8 @@ export default {
tip
:
"数据导入"
,
},
},
dataviewtoolbar_toolbar
:
{
},
autogrouplistviewtoolbar_toolbar
:
{
},
updatedefaultgridviewtoolbar_toolbar
:
{
...
...
@@ -633,6 +635,4 @@ export default {
},
usr3gridviewtoolbar_toolbar
:
{
},
dataviewtoolbar_toolbar
:
{
},
};
\ No newline at end of file
app_Web/src/locale/lanres/entities/ibizsample0001/ibizsample0001_en_US.ts
浏览文件 @
e990feaf
...
...
@@ -34,6 +34,7 @@ export default {
field
:
"大整型"
,
field2
:
"大数值"
,
ibizsample0002id
:
"首页图表数据源标识"
,
ibizsample0002name
:
"示例实体02名称"
,
},
views
:
{
sf5editview
:
{
...
...
@@ -109,12 +110,12 @@ export default {
f27
:
"数据选择(无AC、数据链接)"
,
f28
:
"数据选择(下拉)"
,
f29
:
"数据选择(下拉、数据链接)"
,
formitem
:
"
"
,
ibizsample0001id
:
"值项表单项
"
,
f30
:
"自动填充"
,
f31
:
"自动填充(只能选择)"
,
f32
:
"自动填充(无按钮)"
,
f33
:
"自动填充(只能选择、无按钮)"
,
ibizsample0001id
:
"IBIZSAMPLE0001标识
"
,
formitem
:
"
"
,
},
uiactions
:
{
},
...
...
app_Web/src/locale/lanres/entities/ibizsample0001/ibizsample0001_zh_CN.ts
浏览文件 @
e990feaf
...
...
@@ -33,6 +33,7 @@ export default {
field
:
"大整型"
,
field2
:
"大数值"
,
ibizsample0002id
:
"首页图表数据源标识"
,
ibizsample0002name
:
"示例实体02名称"
,
},
views
:
{
sf5editview
:
{
...
...
@@ -108,12 +109,12 @@ export default {
f27
:
"数据选择(无AC、数据链接)"
,
f28
:
"数据选择(下拉)"
,
f29
:
"数据选择(下拉、数据链接)"
,
formitem
:
"
"
,
ibizsample0001id
:
"值项表单项
"
,
f30
:
"自动填充"
,
f31
:
"自动填充(只能选择)"
,
f32
:
"自动填充(无按钮)"
,
f33
:
"自动填充(只能选择、无按钮)"
,
ibizsample0001id
:
"IBIZSAMPLE0001标识
"
,
formitem
:
"
"
,
},
uiactions
:
{
},
...
...
app_Web/src/locale/lanres/entities/ibizsample0002/ibizsample0002_en_US.ts
浏览文件 @
e990feaf
...
...
@@ -10,4 +10,69 @@ export default {
ibizsample0002id
:
"首页图表数据源标识"
,
createdate
:
"建立时间"
,
},
views
:
{
editview
:
{
caption
:
"示例实体02"
,
title
:
"首页图表数据源编辑视图"
,
},
pickupview
:
{
caption
:
"示例实体02"
,
title
:
"首页图表数据源数据选择视图"
,
},
pickupgridview
:
{
caption
:
"示例实体02"
,
title
:
"首页图表数据源选择表格视图"
,
},
},
main_form
:
{
details
:
{
group1
:
"首页图表数据源基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"首页图表数据源标识"
,
srfmajortext
:
"首页图表数据源名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizsample0002name
:
"首页图表数据源名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
ibizsample0002id
:
"首页图表数据源标识"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
ibizsample0002name
:
"首页图表数据源名称"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
nodata
:
""
,
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
""
,
},
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
},
};
\ No newline at end of file
app_Web/src/locale/lanres/entities/ibizsample0002/ibizsample0002_zh_CN.ts
浏览文件 @
e990feaf
...
...
@@ -9,4 +9,69 @@ export default {
ibizsample0002id
:
"首页图表数据源标识"
,
createdate
:
"建立时间"
,
},
views
:
{
editview
:
{
caption
:
"示例实体02"
,
title
:
"首页图表数据源编辑视图"
,
},
pickupview
:
{
caption
:
"示例实体02"
,
title
:
"首页图表数据源数据选择视图"
,
},
pickupgridview
:
{
caption
:
"示例实体02"
,
title
:
"首页图表数据源选择表格视图"
,
},
},
main_form
:
{
details
:
{
group1
:
"首页图表数据源基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"首页图表数据源标识"
,
srfmajortext
:
"首页图表数据源名称"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizsample0002name
:
"首页图表数据源名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
ibizsample0002id
:
"首页图表数据源标识"
,
},
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
ibizsample0002name
:
"首页图表数据源名称"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
nodata
:
""
,
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
""
,
},
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
tbitem5
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
},
},
};
\ No newline at end of file
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
e990feaf
...
...
@@ -995,6 +995,44 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag
:
''
,
},
],
},
{
id
:
'5B60F655-6DD8-43A5-922A-B3211EB719A4'
,
name
:
'menuitem87'
,
text
:
'数据视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'数据视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
items
:
[
{
id
:
'A82E08F3-DBC3-4244-92C4-FE96712DECF4'
,
name
:
'menuitem88'
,
text
:
'内置功能'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'内置功能'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc14'
,
resourcetag
:
''
,
},
],
},
],
},
...
...
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
e990feaf
...
...
@@ -191,6 +191,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZOrderF13EditView"
,
"viewtag"
:
"2cd3a77cbd2aad4551b7a6a009419d52"
},
"ibizsample0002editview"
:
{
"title"
:
"首页图表数据源编辑视图"
,
"caption"
:
"示例实体02"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZSample0002EditView"
,
"viewtag"
:
"2dd64fdd5e7303cc73090d949bc91d9b"
},
"ibizsample0017pickupview"
:
{
"title"
:
"订单数据选择视图"
,
"caption"
:
"订单"
,
...
...
@@ -367,6 +375,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZOrderDetailSEditView9"
,
"viewtag"
:
"55c0b817ceaaa2894e76b510d94da24c"
},
"ibizsample0002pickupview"
:
{
"title"
:
"首页图表数据源数据选择视图"
,
"caption"
:
"示例实体02"
,
"viewtype"
:
"DEPICKUPVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZSample0002PickupView"
,
"viewtag"
:
"581e6727bc5983c238cc9990ba5fdcac"
},
"ibizsample0003f4treeexpview"
:
{
"title"
:
"示例实体03树导航视图"
,
"caption"
:
"示例实体03"
,
...
...
@@ -455,6 +471,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZStorageEditView"
,
"viewtag"
:
"75f6b59b25762a8faf7c795e94370834"
},
"ibizsample0002pickupgridview"
:
{
"title"
:
"首页图表数据源选择表格视图"
,
"caption"
:
"示例实体02"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZSample0002PickupGridView"
,
"viewtag"
:
"7a334494f71d4328c743657a6429ee03"
},
"ibizordersgridview"
:
{
"title"
:
"订单表格视图"
,
"caption"
:
"订单"
,
...
...
app_Web/src/pages/sample/ibizbookdata-view/ibizbookdata-view-base.vue
0 → 100644
浏览文件 @
e990feaf
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizbookdata-view/ibizbookdata-view.less
0 → 100644
浏览文件 @
e990feaf
.ibizbookdata-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.ibizbookdata-view{
display: block;
}
\ No newline at end of file
app_Web/src/pages/sample/ibizbookdata-view/ibizbookdata-view.vue
0 → 100644
浏览文件 @
e990feaf
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKDataViewBase
from
'./ibizbookdata-view-base.vue'
;
import
view_searchform
from
'@widgets/ibizbook/default-searchform/default-searchform.vue'
;
import
view_dataview
from
'@widgets/ibizbook/dataview-dataview/dataview-dataview.vue'
;
@
Component
({
components
:
{
view_searchform
,
view_dataview
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
if
(
!
Object
.
is
(
vm
.
navModel
,
"route"
)){
vm
.
initNavDataWithTab
(
vm
.
viewCacheData
);
}
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
IBIZBOOKDataView
extends
IBIZBOOKDataViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
e990feaf
...
...
@@ -62,6 +62,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizorder-f19-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue'
));
Vue
.
component
(
'ibizsample0017-f10-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0017-f10-edit-view/ibizsample0017-f10-edit-view.vue'
));
Vue
.
component
(
'ibizuniproduct-edit-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-edit-view/ibizuniproduct-edit-view.vue'
));
Vue
.
component
(
'ibizbookdata-view'
,
()
=>
import
(
'@pages/sample/ibizbookdata-view/ibizbookdata-view.vue'
));
Vue
.
component
(
'ibizcustomer-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-view/ibizcustomer-pickup-view.vue'
));
Vue
.
component
(
'ibizuniproduct-index-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-index-pickup-view/ibizuniproduct-index-pickup-view.vue'
));
Vue
.
component
(
'ibizsample0003-sf1-edit-view'
,
()
=>
import
(
'@pages/sample/ibizsample0003-sf1-edit-view/ibizsample0003-sf1-edit-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
e990feaf
...
...
@@ -948,6 +948,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizuniproduct-edit-view/ibizuniproduct-edit-view.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/dataview/:dataview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.dataview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'dataview'
,
parameterName
:
'dataview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookdata-view/ibizbookdata-view.vue'
),
},
{
path
:
'ibizcustomers/:ibizcustomer?/pickupview/:pickupview?'
,
meta
:
{
...
...
@@ -3307,6 +3321,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr3-grid-view/ibizbookusr3-grid-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/dataview/:dataview?'
,
meta
:
{
caption
:
'entities.ibizbook.views.dataview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'dataview'
,
parameterName
:
'dataview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookdata-view/ibizbookdata-view.vue'
),
},
{
path
:
'/ibizsample0003s/:ibizsample0003?/spickupview2/:spickupview2?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
e990feaf
...
...
@@ -163,6 +163,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'dddefe276053bb9682b51318e96b45d6'
,
'b09ceb3081717c0ed4fe19f9986598a0'
,
'875222727b7ab7dcaccc45808fd38b09'
,
'9db924c804154be5b442a9737514a6f9'
,
...
...
@@ -210,8 +211,8 @@ export const viewstate: any = {
'84904c93ceea3ab6551555ee20c41e27'
,
'6b3607e849c8517fd7ae1cab583f7393'
,
'41d3da0d37fb0135ace813f1ba06bd39'
,
'b8ae19200ec9d4e8e588bc31e3f9bcb4'
,
'b1256beac1e95915b675893c61559b59'
,
'b8ae19200ec9d4e8e588bc31e3f9bcb4'
,
'09663b7a4e3dce70524d1b64e02b5e2d'
,
'edca8ee67304eb78c02bbfb9e4cb11bb'
,
'491c2bc6eab0ad313d4b6f06f6a396f5'
,
...
...
@@ -1168,6 +1169,16 @@ export const viewstate: any = {
'b3429ecc4d89a02bc5f5279f1bd7f620'
,
],
},
{
viewtag
:
'dddefe276053bb9682b51318e96b45d6'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKDataView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'b3429ecc4d89a02bc5f5279f1bd7f620'
,
],
},
{
viewtag
:
'df462fabce815005a40debffad2f43e6'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/uiservice/ibizsample0002/ibizsample0002-ui-service-base.ts
浏览文件 @
e990feaf
...
...
@@ -96,6 +96,9 @@ export default class IBIZSample0002UIServiceBase extends UIService {
* @memberof IBIZSample0002UIServiceBase
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editview'
,
srfappde
:
'ibizsample0002s'
,
component
:
'ibizsample0002-edit-view'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'ibizsample0002s'
,
component
:
'ibizsample0002-pickup-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'ibizsample0002s'
,
component
:
'ibizsample0002-pickup-grid-view'
});
}
/**
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
e990feaf
...
...
@@ -521,6 +521,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'Auto81'
:
this
.
clickAuto81
(
item
);
return
;
case
'AppFunc14'
:
this
.
clickAppFunc14
(
item
);
return
;
case
'AppFunc6'
:
this
.
clickAppFunc6
(
item
);
return
;
...
...
@@ -754,6 +757,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 功能名称
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc14
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'dataview'
,
parameterName
:
'dataview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
this
.
$router
.
push
(
path
);
})
}
/**
* 图书实体-表格值规则
*
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
浏览文件 @
e990feaf
...
...
@@ -1053,6 +1053,46 @@ export default class MainMenuModel {
authtag
:
'Web-MainMenu-menuitem66'
,
},
],
},
{
id
:
'5B60F655-6DD8-43A5-922A-B3211EB719A4'
,
name
:
'menuitem87'
,
text
:
'数据视图'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'数据视图'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem87'
,
items
:
[
{
id
:
'A82E08F3-DBC3-4244-92C4-FE96712DECF4'
,
name
:
'menuitem88'
,
text
:
'内置功能'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'内置功能'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc14'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem88'
,
},
],
},
],
},
...
...
app_Web/src/widgets/ibizbook/dataview-dataview/dataview-dataview-base.vue
0 → 100644
浏览文件 @
e990feaf
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/dataview-dataview/dataview-dataview-model.ts
0 → 100644
浏览文件 @
e990feaf
/**
* DataView 部件模型
*
* @export
* @class DataViewModel
*/
export
default
class
DataViewModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DataViewDataViewMode
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfmajortext'
,
prop
:
'ibizbookname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfkey'
,
prop
:
'ibizbookid'
,
dataType
:
'GUID'
,
},
{
name
:
'ibizbook'
,
prop
:
'ibizbookid'
,
dataType
:
'FONTKEY'
,
},
{
name
:
'size'
,
prop
:
'size'
},
{
name
:
'query'
,
prop
:
'query'
},
{
name
:
'sort'
,
prop
:
'sort'
},
{
name
:
'page'
,
prop
:
'page'
},
{
name
:
'srfparentdata'
,
prop
:
'srfparentdata'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/dataview-dataview/dataview-dataview-service.ts
0 → 100644
浏览文件 @
e990feaf
import
{
Http
,
Util
,
Errorlog
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
import
IBIZBOOKService
from
'@/service/ibizbook/ibizbook-service'
;
import
DataViewModel
from
'./dataview-dataview-model'
;
/**
* DataView 部件服务对象
*
* @export
* @class DataViewService
*/
export
default
class
DataViewService
extends
ControlService
{
/**
* 图书服务对象
*
* @type {IBIZBOOKService}
* @memberof DataViewService
*/
public
appEntityService
:
IBIZBOOKService
=
new
IBIZBOOKService
({
$store
:
this
.
getStore
()
});
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof DataViewService
*/
public
setTempMode
(){
this
.
isTempMode
=
false
;
}
/**
* Creates an instance of DataViewService.
*
* @param {*} [opts={}]
* @memberof DataViewService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
model
=
new
DataViewModel
();
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof DataViewService
*/
@
Errorlog
public
search
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
FetchDefault
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 删除数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof DataViewService
*/
@
Errorlog
public
delete
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
remove
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 添加数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof DataViewService
*/
@
Errorlog
public
add
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Create
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
/**
* 修改数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof DataViewService
*/
@
Errorlog
public
update
(
action
:
string
,
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
const
{
data
:
Data
,
context
:
Context
}
=
this
.
handleRequestData
(
action
,
context
,
data
,
true
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
const
_appEntityService
:
any
=
this
.
appEntityService
;
let
result
:
Promise
<
any
>
;
if
(
_appEntityService
[
action
]
&&
_appEntityService
[
action
]
instanceof
Function
)
{
result
=
_appEntityService
[
action
](
Context
,
Data
,
isloading
);
}
else
{
result
=
_appEntityService
.
Update
(
Context
,
Data
,
isloading
);
}
result
.
then
((
response
)
=>
{
this
.
handleResponse
(
action
,
response
);
resolve
(
response
);
}).
catch
(
response
=>
{
reject
(
response
);
});
});
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/dataview-dataview/dataview-dataview.less
0 → 100644
浏览文件 @
e990feaf
.app-data-view {
height: 100%;
overflow-y: auto;
overflow-x: hidden;
position: relative;
// 排序栏样式
.bar-container{
padding: 6px 8px;
background-color: #F1F1F1;
.ivu-row-flex.page-sort-bar{
width: 100%;
height: 30px;
.ivu-col{
user-select: none;
text-align: center;
display: flex;
align-items: flex-end;
padding-bottom: 4px;
background-color: #FFF;
border: 1px solid #CCC;
margin-left: -1px;
.sort-field-text{
margin-left: 7px;
}
.caret-wrapper{
width: 15px;
display: inline-block;
padding-bottom: 2px;
.ivu-icon{
display: block;
line-height: 0.5;
color: #c5c8ce;
}
}
}
// 悬浮样式
.ivu-col:hover{
border:1px solid #82bff7;
position:relative;
z-index:2;
.sort-field-text{
color: #82bff7;
}
}
// 选中样式
.sort-ascending, .sort-descending{
border:1px solid #82bff7;
position:relative;
z-index:2;
.sort-field-text{
color:#82bff7;
font-weight: 800;
}
}
.sort-ascending .caret-wrapper .ivu-icon.ivu-icon-md-arrow-dropup,
.sort-descending .caret-wrapper .ivu-icon.ivu-icon-md-arrow-dropdown{
color: #82bff7;
}
}
}
.data-view-container {
height: calc(100% - 42px);
align-content: start;
.el-collapse{
width: 100%;
.el-collapse-item__content{
display: flex;
}
}
.el-collapse-item__header.is-active{
color: #409eff;
background-color: #ecf5ff;
}
.ivu-col{
padding: 10px;
.el-card__body{
padding: 10px;
}
}
.el-card{
background-color: #f6f6f6;
color: #666666;
box-shadow: 0 2px 12px 0 #909399;
}
.single-card-data{
height: 100%;
width: 100%;
cursor: pointer;
border: 2px solid transparent;
.data-view-item{
.single-card-default {
.ivu-tooltip{
.ivu-tooltip-rel{
width: 150px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
text-align: left;
padding-left: 5px;
font-size: 18px;
font-weight: 800;
}
}
}
.single-card-img {
width: 150px;
height: calc(100% - 32px);
}
}
.data-view-item-action{
button{
margin: 0 3px;
cursor: pointer;
padding:3px;
}
button:hover{
color: #409eff;
}
}
}
.isselected{
border: 2px solid #82bff7;
box-shadow: 5px 5px 12px 0 #82bff7;
.ivu-tooltip{
color: #82bff7;
font-weight: 800;
}
}
.single-card-data:hover{
border: 2px solid #82bff7;
box-shadow: 5px 5px 12px 0 #82bff7;
.ivu-tooltip{
color: #82bff7;
font-weight: 800;
}
}
}
// 空值文本
.app-data-empty {
height: calc(100% - 42px);
color: #909399;
display: flex;
justify-content: center;
align-items: center;
}
.el-backtop {
position: absolute;
}
}
// this is less
app_Web/src/widgets/ibizbook/dataview-dataview/dataview-dataview.vue
0 → 100644
浏览文件 @
e990feaf
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
DataViewBase
from
'./dataview-dataview-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
DataView
extends
DataViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/widgets/ibizsample0001/main4-form/main4-form-base.vue
浏览文件 @
e990feaf
...
...
@@ -971,12 +971,12 @@ export default class Main4Base extends Vue implements ControlInterface {
f27
:
null
,
f28
:
null
,
f29
:
null
,
formitem
:
null
,
ibizsample0001id
:
null
,
f30
:
null
,
f31
:
null
,
f32
:
null
,
f33
:
null
,
ibizsample0001id
:
null
,
formitem
:
null
,
ibizsample0001
:
null
,
};
...
...
@@ -1397,7 +1397,7 @@ export default class Main4Base extends Vue implements ControlInterface {
,
f29
:
new
FormItemModel
({
caption
:
'数据选择(下拉、数据链接)'
,
detailType
:
'FORMITEM'
,
name
:
'f29'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'formitem
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
ibizsample0001id
:
new
FormItemModel
({
caption
:
'值项表单项'
,
detailType
:
'FORMITEM'
,
name
:
'ibizsample0001id
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
f30
:
new
FormItemModel
({
caption
:
'自动填充'
,
detailType
:
'FORMITEM'
,
name
:
'f30'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -1407,7 +1407,7 @@ export default class Main4Base extends Vue implements ControlInterface {
,
f33
:
new
FormItemModel
({
caption
:
'自动填充(只能选择、无按钮)'
,
detailType
:
'FORMITEM'
,
name
:
'f33'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
ibizsample0001id
:
new
FormItemModel
({
caption
:
'IBIZSAMPLE0001标识'
,
detailType
:
'FORMITEM'
,
name
:
'ibizsample0001id
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
formitem
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'formitem
'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
};
...
...
@@ -1964,15 +1964,15 @@ export default class Main4Base extends Vue implements ControlInterface {
}
/**
* 监控表单属性
formitem
值
* 监控表单属性
ibizsample0001id
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main4Base
*/
@
Watch
(
'data.
formitem
'
)
on
Formitem
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
formitem
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
ibizsample0001id
'
)
on
Ibizsample0001id
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
ibizsample0001id
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
...
...
@@ -2024,15 +2024,15 @@ export default class Main4Base extends Vue implements ControlInterface {
}
/**
* 监控表单属性
ibizsample0001id
值
* 监控表单属性
formitem
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main4Base
*/
@
Watch
(
'data.
ibizsample0001id
'
)
on
Ibizsample0001id
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
ibizsample0001id
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
formitem
'
)
on
Formitem
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
formitem
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
...
...
app_Web/src/widgets/ibizsample0001/main4-form/main4-form-model.ts
浏览文件 @
e990feaf
...
...
@@ -215,7 +215,9 @@ export default class Main4Model {
dataType
:
'CODELISTTEXT'
,
},
{
name
:
'formitem'
,
name
:
'ibizsample0001id'
,
prop
:
'ibizsample0001id'
,
dataType
:
'GUID'
,
},
{
name
:
'f30'
,
...
...
@@ -231,9 +233,7 @@ export default class Main4Model {
name
:
'f33'
,
},
{
name
:
'ibizsample0001id'
,
prop
:
'ibizsample0001id'
,
dataType
:
'GUID'
,
name
:
'formitem'
,
},
{
name
:
'ibizsample0001'
,
...
...
demo-core/src/main/java/cn/ibizlab/core/sample/domain/IBIZSample0001.java
浏览文件 @
e990feaf
...
...
@@ -284,6 +284,13 @@ public class IBIZSample0001 extends EntityMP implements Serializable {
@JSONField
(
name
=
"ibizsample0002id"
)
@JsonProperty
(
"ibizsample0002id"
)
private
String
ibizsample0002id
;
/**
* 示例实体02名称
*/
@TableField
(
value
=
"ibizsample0002name"
)
@JSONField
(
name
=
"ibizsample0002name"
)
@JsonProperty
(
"ibizsample0002name"
)
private
String
ibizsample0002name
;
/**
*
...
...
@@ -549,6 +556,14 @@ public class IBIZSample0001 extends EntityMP implements Serializable {
this
.
modify
(
"ibizsample0002id"
,
ibizsample0002id
);
}
/**
* 设置 [示例实体02名称]
*/
public
void
setIbizsample0002name
(
String
ibizsample0002name
)
{
this
.
ibizsample0002name
=
ibizsample0002name
;
this
.
modify
(
"ibizsample0002name"
,
ibizsample0002name
);
}
/**
* 复制当前对象数据到目标对象(粘贴重置)
...
...
demo-core/src/main/java/cn/ibizlab/core/sample/filter/IBIZSample0001SearchContext.java
浏览文件 @
e990feaf
...
...
@@ -55,6 +55,20 @@ public class IBIZSample0001SearchContext extends QueryWrapperContext<IBIZSample0
this
.
getSearchCond
().
eq
(
"ibizsample0002id"
,
n_ibizsample0002id_eq
);
}
}
private
String
n_ibizsample0002name_eq
;
//[示例实体02名称]
public
void
setN_ibizsample0002name_eq
(
String
n_ibizsample0002name_eq
)
{
this
.
n_ibizsample0002name_eq
=
n_ibizsample0002name_eq
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_ibizsample0002name_eq
)){
this
.
getSearchCond
().
eq
(
"ibizsample0002name"
,
n_ibizsample0002name_eq
);
}
}
private
String
n_ibizsample0002name_like
;
//[示例实体02名称]
public
void
setN_ibizsample0002name_like
(
String
n_ibizsample0002name_like
)
{
this
.
n_ibizsample0002name_like
=
n_ibizsample0002name_like
;
if
(!
ObjectUtils
.
isEmpty
(
this
.
n_ibizsample0002name_like
)){
this
.
getSearchCond
().
like
(
"ibizsample0002name"
,
n_ibizsample0002name_like
);
}
}
/**
* 启用快速搜索
...
...
demo-core/src/main/java/cn/ibizlab/core/sample/service/impl/IBIZSample0001ServiceImpl.java
浏览文件 @
e990feaf
...
...
@@ -57,6 +57,7 @@ public class IBIZSample0001ServiceImpl extends ServiceImpl<IBIZSample0001Mapper,
@Override
@Transactional
public
boolean
create
(
IBIZSample0001
et
)
{
fillParentData
(
et
);
if
(!
this
.
retBool
(
this
.
baseMapper
.
insert
(
et
)))
{
return
false
;
}
...
...
@@ -67,12 +68,14 @@ public class IBIZSample0001ServiceImpl extends ServiceImpl<IBIZSample0001Mapper,
@Override
@Transactional
public
void
createBatch
(
List
<
IBIZSample0001
>
list
)
{
list
.
forEach
(
item
->
fillParentData
(
item
));
this
.
saveBatch
(
list
,
batchSize
);
}
@Override
@Transactional
public
boolean
update
(
IBIZSample0001
et
)
{
fillParentData
(
et
);
if
(!
update
(
et
,
(
Wrapper
)
et
.
getUpdateWrapper
(
true
).
eq
(
"ibizsample0001id"
,
et
.
getIbizsample0001id
())))
{
return
false
;
}
...
...
@@ -83,6 +86,7 @@ public class IBIZSample0001ServiceImpl extends ServiceImpl<IBIZSample0001Mapper,
@Override
@Transactional
public
void
updateBatch
(
List
<
IBIZSample0001
>
list
)
{
list
.
forEach
(
item
->
fillParentData
(
item
));
updateBatchById
(
list
,
batchSize
);
}
...
...
@@ -114,6 +118,7 @@ public class IBIZSample0001ServiceImpl extends ServiceImpl<IBIZSample0001Mapper,
@Override
public
IBIZSample0001
getDraft
(
IBIZSample0001
et
)
{
fillParentData
(
et
);
return
et
;
}
...
...
@@ -143,6 +148,7 @@ public class IBIZSample0001ServiceImpl extends ServiceImpl<IBIZSample0001Mapper,
@Override
@Transactional
public
boolean
saveBatch
(
Collection
<
IBIZSample0001
>
list
)
{
list
.
forEach
(
item
->
fillParentData
(
item
));
saveOrUpdateBatch
(
list
,
batchSize
);
return
true
;
}
...
...
@@ -150,6 +156,7 @@ public class IBIZSample0001ServiceImpl extends ServiceImpl<IBIZSample0001Mapper,
@Override
@Transactional
public
void
saveBatch
(
List
<
IBIZSample0001
>
list
)
{
list
.
forEach
(
item
->
fillParentData
(
item
));
saveOrUpdateBatch
(
list
,
batchSize
);
}
...
...
@@ -175,6 +182,22 @@ public class IBIZSample0001ServiceImpl extends ServiceImpl<IBIZSample0001Mapper,
/**
* 为当前实体填充父数据(外键值文本、外键值附加数据)
* @param et
*/
private
void
fillParentData
(
IBIZSample0001
et
){
//实体关系[DER1N_IBIZSAMPLE0001_IBIZSAMPLE0002_IBIZSAMPLE0002ID]
if
(!
ObjectUtils
.
isEmpty
(
et
.
getIbizsample0002id
())){
cn
.
ibizlab
.
core
.
sample
.
domain
.
IBIZSample0002
sample0002Sample00011N
=
et
.
getSample0002Sample00011N
();
if
(
ObjectUtils
.
isEmpty
(
sample0002Sample00011N
)){
cn
.
ibizlab
.
core
.
sample
.
domain
.
IBIZSample0002
majorEntity
=
ibizsample0002Service
.
get
(
et
.
getIbizsample0002id
());
et
.
setSample0002Sample00011N
(
majorEntity
);
sample0002Sample00011N
=
majorEntity
;
}
et
.
setIbizsample0002name
(
sample0002Sample00011N
.
getIbizsample0002name
());
}
}
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
e990feaf
...
...
@@ -415,6 +415,8 @@
</column>
<column
name=
"IBIZSAMPLE0002ID"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"IBIZSAMPLE0002NAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
</createTable>
</changeSet>
...
...
demo-core/src/main/resources/mapper/sample/ibizsample0001/IBIZSample0001Mapper.xml
浏览文件 @
e990feaf
...
...
@@ -59,7 +59,7 @@
</sql>
<!--数据查询[Default]-->
<sql
id=
"Default"
databaseId=
"mysql"
>
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FIELD`, t1.`FIELD01`, t1.`FIELD02`, t1.`FIELD05`, t1.`FIELD06`, t1.`FIELD07`, t1.`FIELD08`, t1.`FIELD09`, t1.`FIELD10`, t1.`FIELD11`, t1.`FIELD12`, t1.`FIELD13`, t1.`FIELD14`, t1.`FIELD15`, t1.`FIELD16`, t1.`FIELD17`, t1.`FIELD18`, t1.`FIELD19`, t1.`FIELD2`, t1.`FIELD20`, t1.`FIELD21`, t1.`FIELD22`, t1.`FIELD24`, t1.`FIELD27`, t1.`IBIZSAMPLE0001ID`, t1.`IBIZSAMPLE0001NAME`, t1.`IBIZSAMPLE0002ID`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZSAMPLE0001` t1
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`FIELD`, t1.`FIELD01`, t1.`FIELD02`, t1.`FIELD05`, t1.`FIELD06`, t1.`FIELD07`, t1.`FIELD08`, t1.`FIELD09`, t1.`FIELD10`, t1.`FIELD11`, t1.`FIELD12`, t1.`FIELD13`, t1.`FIELD14`, t1.`FIELD15`, t1.`FIELD16`, t1.`FIELD17`, t1.`FIELD18`, t1.`FIELD19`, t1.`FIELD2`, t1.`FIELD20`, t1.`FIELD21`, t1.`FIELD22`, t1.`FIELD24`, t1.`FIELD27`, t1.`IBIZSAMPLE0001ID`, t1.`IBIZSAMPLE0001NAME`, t1.`IBIZSAMPLE0002ID`, t1.`
IBIZSAMPLE0002NAME`, t1.`
UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZSAMPLE0001` t1
]]>
</sql>
<!--数据查询[Default]-->
...
...
demo-core/src/main/resources/permission/systemResource.json
浏览文件 @
e990feaf
...
...
@@ -302,7 +302,7 @@
{
"appid"
:
"Web"
,
"appname"
:
"演示应用"
,
"appmenu"
:[{
"menuid"
:
"MainMenu"
,
"menuname"
:
"MainMenu"
,
"menuitem"
:[{
"id"
:
"menuitem1"
,
"name"
:
"工作台"
},{
"id"
:
"menuitem3"
,
"name"
:
"控件"
,
"items"
:[{
"id"
:
"menuitem6"
,
"name"
:
"默认数据类型"
},{
"id"
:
"menuitem7"
,
"name"
:
"默认编辑器类型"
},{
"id"
:
"menuitem15"
,
"name"
:
"基础表单项"
},{
"id"
:
"menuitem72"
,
"name"
:
"编辑器扩展"
}]},{
"id"
:
"menuitem4"
,
"name"
:
"部件"
,
"items"
:[{
"id"
:
"menuitem12"
,
"name"
:
"编辑表单"
,
"items"
:[{
"id"
:
"menuitem47"
,
"name"
:
"默认值"
},{
"id"
:
"menuitem48"
,
"name"
:
"输入提示"
},{
"id"
:
"menuitem49"
,
"name"
:
"辅助输入"
},{
"id"
:
"menuitem50"
,
"name"
:
"自动填充"
},{
"id"
:
"menuitem51"
,
"name"
:
"超链接"
},{
"id"
:
"menuitem52"
,
"name"
:
"值重置"
},{
"id"
:
"menuitem55"
,
"name"
:
"动态显示"
},{
"id"
:
"menuitem53"
,
"name"
:
"动态启用"
},{
"id"
:
"menuitem54"
,
"name"
:
"动态空输入"
},{
"id"
:
"menuitem56"
,
"name"
:
"表单项更新"
}]},{
"id"
:
"menuitem16"
,
"name"
:
"搜索表单"
},{
"id"
:
"menuitem13"
,
"name"
:
"表格"
,
"items"
:[{
"id"
:
"menuitem57"
,
"name"
:
"禁用排序"
},{
"id"
:
"menuitem59"
,
"name"
:
"行操作"
},{
"id"
:
"menuitem58"
,
"name"
:
"行编辑"
},{
"id"
:
"menuitem73"
,
"name"
:
"表格内置功能"
},{
"id"
:
"menuitem74"
,
"name"
:
"表格行编辑"
},{
"id"
:
"menuitem75"
,
"name"
:
"新建默认值"
},{
"id"
:
"menuitem76"
,
"name"
:
"更新默认值"
},{
"id"
:
"menuitem77"
,
"name"
:
"表格值规则"
},{
"id"
:
"menuitem78"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem80"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem81"
,
"name"
:
"当前页聚合"
},{
"id"
:
"menuitem82"
,
"name"
:
"远程聚合"
}]},{
"id"
:
"menuitem83"
,
"name"
:
"列表"
,
"items"
:[{
"id"
:
"menuitem84"
,
"name"
:
"列表内置功能"
},{
"id"
:
"menuitem85"
,
"name"
:
"列表自动分组"
},{
"id"
:
"menuitem86"
,
"name"
:
"代码表分组"
}]},{
"id"
:
"menuitem14"
,
"name"
:
"树视图"
,
"items"
:[{
"id"
:
"menuitem60"
,
"name"
:
"静态节点"
},{
"id"
:
"menuitem61"
,
"name"
:
"动态节点(代码表)"
},{
"id"
:
"menuitem62"
,
"name"
:
"动态节点(实体)"
},{
"id"
:
"menuitem63"
,
"name"
:
"右键操作"
},{
"id"
:
"menuitem64"
,
"name"
:
"动态参数过滤"
}]},{
"id"
:
"menuitem37"
,
"name"
:
"图表"
,
"items"
:[{
"id"
:
"menuitem38"
,
"name"
:
"柱状图"
},{
"id"
:
"menuitem39"
,
"name"
:
"折线图"
},{
"id"
:
"menuitem40"
,
"name"
:
"饼图"
},{
"id"
:
"menuitem41"
,
"name"
:
"区域图"
},{
"id"
:
"menuitem42"
,
"name"
:
"雷达图"
},{
"id"
:
"menuitem43"
,
"name"
:
"仪表盘"
},{
"id"
:
"menuitem44"
,
"name"
:
"K线图"
}]},{
"id"
:
"menuitem17"
,
"name"
:
"向导"
},{
"id"
:
"menuitem18"
,
"name"
:
"界面行为"
,
"items"
:[{
"id"
:
"menuitem65"
,
"name"
:
"前端界面行为"
},{
"id"
:
"menuitem66"
,
"name"
:
"后台界面行为"
}]}]},{
"id"
:
"menuitem5"
,
"name"
:
"视图"
,
"items"
:[{
"id"
:
"menuitem9"
,
"name"
:
"列表视图"
,
"items"
:[{
"id"
:
"menuitem19"
,
"name"
:
"常规表格视图"
},{
"id"
:
"menuitem21"
,
"name"
:
"左右表格视图"
},{
"id"
:
"menuitem20"
,
"name"
:
"嵌入表格视图"
}]},{
"id"
:
"menuitem8"
,
"name"
:
"编辑视图"
,
"items"
:[{
"id"
:
"menuitem22"
,
"name"
:
"常规编辑视图"
},{
"id"
:
"menuitem23"
,
"name"
:
"左右编辑视图"
},{
"id"
:
"menuitem24"
,
"name"
:
"分页编辑视图"
},{
"id"
:
"menuitem25"
,
"name"
:
"嵌入编辑视图"
}]},{
"id"
:
"menuitem26"
,
"name"
:
"选择视图"
,
"items"
:[{
"id"
:
"menuitem27"
,
"name"
:
"单选视图"
},{
"id"
:
"menuitem28"
,
"name"
:
"多选视图"
},{
"id"
:
"menuitem29"
,
"name"
:
"树形选择视图"
},{
"id"
:
"menuitem30"
,
"name"
:
"左右单选视图"
},{
"id"
:
"menuitem31"
,
"name"
:
"左右多选视图"
}]},{
"id"
:
"menuitem10"
,
"name"
:
"导航视图"
,
"items"
:[{
"id"
:
"menuitem32"
,
"name"
:
"常规导航视图"
},{
"id"
:
"menuitem33"
,
"name"
:
"分页导航视图"
},{
"id"
:
"menuitem34"
,
"name"
:
"嵌入导航视图"
}]},{
"id"
:
"menuitem11"
,
"name"
:
"其他视图"
,
"items"
:[{
"id"
:
"menuitem35"
,
"name"
:
"图表视图"
},{
"id"
:
"menuitem36"
,
"name"
:
"报表视图"
}]},{
"id"
:
"menuitem79"
,
"name"
:
"表格视图"
}]},{
"id"
:
"menuitem69"
,
"name"
:
"工作流"
},{
"id"
:
"menuitem2"
,
"name"
:
"更多"
,
"items"
:[{
"id"
:
"menuitem46"
,
"name"
:
"数据导出导入"
},{
"id"
:
"menuitem45"
,
"name"
:
"数据打印"
},{
"id"
:
"menuitem67"
,
"name"
:
"索引实体"
},{
"id"
:
"menuitem68"
,
"name"
:
"继承实体"
},{
"id"
:
"menuitem70"
,
"name"
:
"主状态"
},{
"id"
:
"menuitem71"
,
"name"
:
"多表单"
}]}]
}]
"appmenu"
:[{
"menuid"
:
"MainMenu"
,
"menuname"
:
"MainMenu"
,
"menuitem"
:[{
"id"
:
"menuitem1"
,
"name"
:
"工作台"
},{
"id"
:
"menuitem3"
,
"name"
:
"控件"
,
"items"
:[{
"id"
:
"menuitem6"
,
"name"
:
"默认数据类型"
},{
"id"
:
"menuitem7"
,
"name"
:
"默认编辑器类型"
},{
"id"
:
"menuitem15"
,
"name"
:
"基础表单项"
},{
"id"
:
"menuitem72"
,
"name"
:
"编辑器扩展"
}]},{
"id"
:
"menuitem4"
,
"name"
:
"部件"
,
"items"
:[{
"id"
:
"menuitem12"
,
"name"
:
"编辑表单"
,
"items"
:[{
"id"
:
"menuitem47"
,
"name"
:
"默认值"
},{
"id"
:
"menuitem48"
,
"name"
:
"输入提示"
},{
"id"
:
"menuitem49"
,
"name"
:
"辅助输入"
},{
"id"
:
"menuitem50"
,
"name"
:
"自动填充"
},{
"id"
:
"menuitem51"
,
"name"
:
"超链接"
},{
"id"
:
"menuitem52"
,
"name"
:
"值重置"
},{
"id"
:
"menuitem55"
,
"name"
:
"动态显示"
},{
"id"
:
"menuitem53"
,
"name"
:
"动态启用"
},{
"id"
:
"menuitem54"
,
"name"
:
"动态空输入"
},{
"id"
:
"menuitem56"
,
"name"
:
"表单项更新"
}]},{
"id"
:
"menuitem16"
,
"name"
:
"搜索表单"
},{
"id"
:
"menuitem13"
,
"name"
:
"表格"
,
"items"
:[{
"id"
:
"menuitem57"
,
"name"
:
"禁用排序"
},{
"id"
:
"menuitem59"
,
"name"
:
"行操作"
},{
"id"
:
"menuitem58"
,
"name"
:
"行编辑"
},{
"id"
:
"menuitem73"
,
"name"
:
"表格内置功能"
},{
"id"
:
"menuitem74"
,
"name"
:
"表格行编辑"
},{
"id"
:
"menuitem75"
,
"name"
:
"新建默认值"
},{
"id"
:
"menuitem76"
,
"name"
:
"更新默认值"
},{
"id"
:
"menuitem77"
,
"name"
:
"表格值规则"
},{
"id"
:
"menuitem78"
,
"name"
:
"自动分组"
},{
"id"
:
"menuitem80"
,
"name"
:
"代码表分组"
},{
"id"
:
"menuitem81"
,
"name"
:
"当前页聚合"
},{
"id"
:
"menuitem82"
,
"name"
:
"远程聚合"
}]},{
"id"
:
"menuitem83"
,
"name"
:
"列表"
,
"items"
:[{
"id"
:
"menuitem84"
,
"name"
:
"列表内置功能"
},{
"id"
:
"menuitem85"
,
"name"
:
"列表自动分组"
},{
"id"
:
"menuitem86"
,
"name"
:
"代码表分组"
}]},{
"id"
:
"menuitem14"
,
"name"
:
"树视图"
,
"items"
:[{
"id"
:
"menuitem60"
,
"name"
:
"静态节点"
},{
"id"
:
"menuitem61"
,
"name"
:
"动态节点(代码表)"
},{
"id"
:
"menuitem62"
,
"name"
:
"动态节点(实体)"
},{
"id"
:
"menuitem63"
,
"name"
:
"右键操作"
},{
"id"
:
"menuitem64"
,
"name"
:
"动态参数过滤"
}]},{
"id"
:
"menuitem37"
,
"name"
:
"图表"
,
"items"
:[{
"id"
:
"menuitem38"
,
"name"
:
"柱状图"
},{
"id"
:
"menuitem39"
,
"name"
:
"折线图"
},{
"id"
:
"menuitem40"
,
"name"
:
"饼图"
},{
"id"
:
"menuitem41"
,
"name"
:
"区域图"
},{
"id"
:
"menuitem42"
,
"name"
:
"雷达图"
},{
"id"
:
"menuitem43"
,
"name"
:
"仪表盘"
},{
"id"
:
"menuitem44"
,
"name"
:
"K线图"
}]},{
"id"
:
"menuitem17"
,
"name"
:
"向导"
},{
"id"
:
"menuitem18"
,
"name"
:
"界面行为"
,
"items"
:[{
"id"
:
"menuitem65"
,
"name"
:
"前端界面行为"
},{
"id"
:
"menuitem66"
,
"name"
:
"后台界面行为"
}]}
,{
"id"
:
"menuitem87"
,
"name"
:
"数据视图"
,
"items"
:[{
"id"
:
"menuitem88"
,
"name"
:
"内置功能"
}]}
]},{
"id"
:
"menuitem5"
,
"name"
:
"视图"
,
"items"
:[{
"id"
:
"menuitem9"
,
"name"
:
"列表视图"
,
"items"
:[{
"id"
:
"menuitem19"
,
"name"
:
"常规表格视图"
},{
"id"
:
"menuitem21"
,
"name"
:
"左右表格视图"
},{
"id"
:
"menuitem20"
,
"name"
:
"嵌入表格视图"
}]},{
"id"
:
"menuitem8"
,
"name"
:
"编辑视图"
,
"items"
:[{
"id"
:
"menuitem22"
,
"name"
:
"常规编辑视图"
},{
"id"
:
"menuitem23"
,
"name"
:
"左右编辑视图"
},{
"id"
:
"menuitem24"
,
"name"
:
"分页编辑视图"
},{
"id"
:
"menuitem25"
,
"name"
:
"嵌入编辑视图"
}]},{
"id"
:
"menuitem26"
,
"name"
:
"选择视图"
,
"items"
:[{
"id"
:
"menuitem27"
,
"name"
:
"单选视图"
},{
"id"
:
"menuitem28"
,
"name"
:
"多选视图"
},{
"id"
:
"menuitem29"
,
"name"
:
"树形选择视图"
},{
"id"
:
"menuitem30"
,
"name"
:
"左右单选视图"
},{
"id"
:
"menuitem31"
,
"name"
:
"左右多选视图"
}]},{
"id"
:
"menuitem10"
,
"name"
:
"导航视图"
,
"items"
:[{
"id"
:
"menuitem32"
,
"name"
:
"常规导航视图"
},{
"id"
:
"menuitem33"
,
"name"
:
"分页导航视图"
},{
"id"
:
"menuitem34"
,
"name"
:
"嵌入导航视图"
}]},{
"id"
:
"menuitem11"
,
"name"
:
"其他视图"
,
"items"
:[{
"id"
:
"menuitem35"
,
"name"
:
"图表视图"
},{
"id"
:
"menuitem36"
,
"name"
:
"报表视图"
}]},{
"id"
:
"menuitem79"
,
"name"
:
"表格视图"
}]},{
"id"
:
"menuitem69"
,
"name"
:
"工作流"
},{
"id"
:
"menuitem2"
,
"name"
:
"更多"
,
"items"
:[{
"id"
:
"menuitem46"
,
"name"
:
"数据导出导入"
},{
"id"
:
"menuitem45"
,
"name"
:
"数据打印"
},{
"id"
:
"menuitem67"
,
"name"
:
"索引实体"
},{
"id"
:
"menuitem68"
,
"name"
:
"继承实体"
},{
"id"
:
"menuitem70"
,
"name"
:
"主状态"
},{
"id"
:
"menuitem71"
,
"name"
:
"多表单"
}]}]
}]
}
]
}
demo-core/src/main/resources/sysmodel/DemoSys.json
浏览文件 @
e990feaf
...
...
@@ -2993,6 +2993,24 @@
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
},
{
"fieldname"
:
"IBIZSAMPLE0002NAME"
,
"codename"
:
"IBIZSample0002Name"
,
"field_logic_name"
:
"示例实体02名称"
,
"entity_name"
:
"IBIZSample0001"
,
"ref_de"
:
"IBIZSAMPLE0002"
,
"ref_field_name"
:
"IBIZSAMPLE0002NAME"
,
"relation_name"
:
"DER1N_IBIZSAMPLE0001_IBIZSAMPLE0002_IBIZSAMPLE0002ID"
,
"relation_codename"
:
"SAMPLE0002_SAMPLE0001_1_N"
,
"field_type"
:
"PICKUPTEXT"
,
"nullable"
:
1
,
"physical_field"
:
1
,
"data_type"
:
"VARCHAR"
,
"data_length"
:
200
,
"key_field"
:
0
,
"show_order"
:
1000
,
"major_field"
:
0
}
],
"subEntitys"
:[
...
...
demo-provider/demo-provider-demoapi/src/main/java/cn/ibizlab/demoapi/dto/IBIZSample0001DTO.java
浏览文件 @
e990feaf
...
...
@@ -315,6 +315,15 @@ public class IBIZSample0001DTO extends DTOBase implements Serializable {
@Size
(
min
=
0
,
max
=
100
,
message
=
"内容长度必须小于等于[100]"
)
private
String
ibizsample0002id
;
/**
* 属性 [IBIZSAMPLE0002NAME]
*
*/
@JSONField
(
name
=
"ibizsample0002name"
)
@JsonProperty
(
"ibizsample0002name"
)
@Size
(
min
=
0
,
max
=
200
,
message
=
"内容长度必须小于等于[200]"
)
private
String
ibizsample0002name
;
/**
* 设置 [FIELD01]
...
...
@@ -540,6 +549,14 @@ public class IBIZSample0001DTO extends DTOBase implements Serializable {
this
.
modify
(
"ibizsample0002id"
,
ibizsample0002id
);
}
/**
* 设置 [IBIZSAMPLE0002NAME]
*/
public
void
setIbizsample0002name
(
String
ibizsample0002name
){
this
.
ibizsample0002name
=
ibizsample0002name
;
this
.
modify
(
"ibizsample0002name"
,
ibizsample0002name
);
}
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录