Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
a93d736b
提交
a93d736b
编写于
11月 09, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
22d0cbe7
变更
24
隐藏空白字符变更
内嵌
并排
正在显示
24 个修改的文件
包含
1119 行增加
和
50 行删除
+1119
-50
view-config.json
app_Web/public/assets/json/view-config.json
+8
-0
ibizbook_BO_CN_base.ts
...rc/locale/lanres/entities/ibizbook/ibizbook_BO_CN_base.ts
+14
-10
ibizbook_en_US_base.ts
...rc/locale/lanres/entities/ibizbook/ibizbook_en_US_base.ts
+14
-10
ibizbook_zh_CN_base.ts
...rc/locale/lanres/entities/ibizbook/ibizbook_zh_CN_base.ts
+14
-10
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+8
-0
ibizbookusr2-edit-view-layout-base.vue
...2-edit-view-layout/ibizbookusr2-edit-view-layout-base.vue
+1
-1
ibizbookusr2-edit-view-base.vue
...le/ibizbookusr2-edit-view/ibizbookusr2-edit-view-base.vue
+1
-1
ibizorder-usr2-grid-view-base.vue
...bizorder-usr2-grid-view/ibizorder-usr2-grid-view-base.vue
+3
-3
ibizcustomer-service-base.ts
...Web/src/service/ibizcustomer/ibizcustomer-service-base.ts
+3
-3
custom-edit-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/custom-edit-ui-logic-base.ts
+112
-0
custom-edit-ui-logic.ts
app_Web/src/uiservice/ibizbook/custom-edit-ui-logic.ts
+46
-0
custom-view-grid-load-ui-logic-base.ts
...uiservice/ibizbook/custom-view-grid-load-ui-logic-base.ts
+112
-0
custom-view-grid-load-ui-logic.ts
.../src/uiservice/ibizbook/custom-view-grid-load-ui-logic.ts
+46
-0
ibizbook-ui-service-base.ts
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
+9
-0
list-exp-list-base.vue
...rc/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
+4
-4
IBIZBOOK.json
...remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json
+6
-0
IBIZBOOK.json
...remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
+44
-0
IBIZBOOKGridLoadCustomView.json
...SSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGridLoadCustomView.json
+662
-0
IBIZBOOKUsr2EditView.json
...odel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2EditView.json
+0
-1
IBIZBOOKUsr2EditView_layout.json
...SYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2EditView_layout.json
+0
-1
IBIZOrderUsr2GridView.json
...del/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderUsr2GridView.json
+3
-3
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+6
-0
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+2
-2
view.xml
demo-core/src/main/resources/liquibase/view.xml
+1
-1
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
a93d736b
...
...
@@ -55,6 +55,14 @@
"viewname"
:
"IBIZBOOKGridExpView"
,
"viewtag"
:
"04dcaa66b007842529e5ef5e2e341b55"
},
"ibizbookgridloadcustomview"
:
{
"title"
:
"界面逻辑加载与跳转"
,
"caption"
:
"界面逻辑加载与跳转"
,
"viewtype"
:
"DECUSTOMVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZBOOKGridLoadCustomView"
,
"viewtag"
:
"05879876-B0D0-4102-991F-61A0C4608489"
},
"ibizbookhaspanelkanbanview"
:
{
"title"
:
"图书看板视图(嵌入视图面板)"
,
"caption"
:
"图书"
,
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_BO_CN_base.ts
浏览文件 @
a93d736b
...
...
@@ -46,6 +46,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书表格导航视图"
,
null
),
},
gridloadcustomview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"界面逻辑加载与跳转"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"界面逻辑加载与跳转"
,
null
),
},
haspanelkanbanview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书看板视图(嵌入视图面板)"
,
null
),
...
...
@@ -602,6 +606,16 @@ function getLocaleResourceBase(){
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
ibizbookname
:
commonLogic
.
appcommonhandle
(
"图书名称"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
main6_grid
:
{
columns
:
{
ibizbookname
:
commonLogic
.
appcommonhandle
(
"图书名称"
,
null
),
...
...
@@ -715,16 +729,6 @@ function getLocaleResourceBase(){
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
ibizbookname
:
commonLogic
.
appcommonhandle
(
"图书名称"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
main2_grid
:
{
columns
:
{
type
:
commonLogic
.
appcommonhandle
(
"图书类型"
,
null
),
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US_base.ts
浏览文件 @
a93d736b
...
...
@@ -46,6 +46,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书表格导航视图"
,
null
),
},
gridloadcustomview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"界面逻辑加载与跳转"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"界面逻辑加载与跳转"
,
null
),
},
haspanelkanbanview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Item Layout Panel"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书看板视图(嵌入视图面板)"
,
null
),
...
...
@@ -602,6 +606,16 @@ function getLocaleResourceBase(){
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
ibizbookname
:
commonLogic
.
appcommonhandle
(
"图书名称"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
main6_grid
:
{
columns
:
{
ibizbookname
:
commonLogic
.
appcommonhandle
(
"图书名称"
,
null
),
...
...
@@ -715,16 +729,6 @@ function getLocaleResourceBase(){
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
ibizbookname
:
commonLogic
.
appcommonhandle
(
"图书名称"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
main2_grid
:
{
columns
:
{
type
:
commonLogic
.
appcommonhandle
(
"图书类型"
,
null
),
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN_base.ts
浏览文件 @
a93d736b
...
...
@@ -46,6 +46,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书表格导航视图"
,
null
),
},
gridloadcustomview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"界面逻辑加载与跳转"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"界面逻辑加载与跳转"
,
null
),
},
haspanelkanbanview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书看板视图(嵌入视图面板)"
,
null
),
...
...
@@ -602,6 +606,16 @@ function getLocaleResourceBase(){
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
ibizbookname
:
commonLogic
.
appcommonhandle
(
"图书名称"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
main6_grid
:
{
columns
:
{
ibizbookname
:
commonLogic
.
appcommonhandle
(
"图书名称"
,
null
),
...
...
@@ -715,16 +729,6 @@ function getLocaleResourceBase(){
uiactions
:
{
},
},
main_grid
:
{
columns
:
{
ibizbookname
:
commonLogic
.
appcommonhandle
(
"图书名称"
,
null
),
updateman
:
commonLogic
.
appcommonhandle
(
"更新人"
,
null
),
updatedate
:
commonLogic
.
appcommonhandle
(
"更新时间"
,
null
),
},
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
},
},
main2_grid
:
{
columns
:
{
type
:
commonLogic
.
appcommonhandle
(
"图书类型"
,
null
),
...
...
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
a93d736b
...
...
@@ -63,6 +63,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZBOOKGridExpView"
,
"viewtag"
:
"04dcaa66b007842529e5ef5e2e341b55"
},
"ibizbookgridloadcustomview"
:
{
"title"
:
"界面逻辑加载与跳转"
,
"caption"
:
"界面逻辑加载与跳转"
,
"viewtype"
:
"DECUSTOMVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZBOOKGridLoadCustomView"
,
"viewtag"
:
"05879876-B0D0-4102-991F-61A0C4608489"
},
"ibizbookhaspanelkanbanview"
:
{
"title"
:
"图书看板视图(嵌入视图面板)"
,
"caption"
:
"图书"
,
...
...
app_Web/src/pages/sample/ibizbookusr2-edit-view-layout/ibizbookusr2-edit-view-layout-base.vue
浏览文件 @
a93d736b
...
...
@@ -347,7 +347,7 @@ export default class IBIZBOOKUsr2EditView_layoutBase extends Vue {
container_scroll_main1
:{
name
:
'container_scroll_main1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
'CENTER'
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll1'
,
panel
:
this
,
details
:[
'form'
]
,
dataRegionType
:
'INHERIT'
},
view_pagecaption
:{
name
:
'view_pagecaption'
,
type
:
'VIEWLAYOUT'
,
caption
:
'页面标题'
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'FIELD'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'LEFT'
,
vAlignSelf
:
'MIDDLE'
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container2'
,
panel
:
this
,
fieldState
:
'0'
,
predefinedType
:
'VIEW_PAGECAPTION'
,
renderMode
:
'HEADING1'
,
dataItemName
:
''
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
container2
:{
name
:
'container2'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
3
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid2'
,
panel
:
this
,
details
:[
'view_pagecaption'
]
,
dataRegionType
:
'INHERIT'
},
toolbar
:{
name
:
'toolbar'
,
type
:
'VIEWLAYOUT'
,
caption
:
'TOOLBAR'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CTRLPOS'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
'
FULL
'
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'RIGHT'
,
vAlignSelf
:
'MIDDLE'
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container4'
,
panel
:
this
},
toolbar
:{
name
:
'toolbar'
,
type
:
'VIEWLAYOUT'
,
caption
:
'TOOLBAR'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CTRLPOS'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'RIGHT'
,
vAlignSelf
:
'MIDDLE'
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container4'
,
panel
:
this
},
container4
:{
name
:
'container4'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
9
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid2'
,
panel
:
this
,
details
:[
'toolbar'
]
,
dataRegionType
:
'INHERIT'
},
container_grid2
:{
name
:
'container_grid2'
,
type
:
'VIEWLAYOUT'
,
caption
:
'栅格容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
'CENTER'
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll_header1'
,
panel
:
this
,
details
:[
'container2'
,
'container4'
]
,
dataRegionType
:
'INHERIT'
},
container_scroll_header1
:{
name
:
'container_scroll_header1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
'NORTH'
,
layoutHeight
:
50
,
heightMode
:
'PX'
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll1'
,
panel
:
this
,
details
:[
'container_grid2'
]
,
dataRegionType
:
'INHERIT'
},
...
...
app_Web/src/pages/sample/ibizbookusr2-edit-view/ibizbookusr2-edit-view-base.vue
浏览文件 @
a93d736b
...
...
@@ -347,7 +347,7 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue {
container_scroll_main1
:{
name
:
'container_scroll_main1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
'CENTER'
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll1'
,
panel
:
this
,
details
:[
'form'
]
,
dataRegionType
:
'INHERIT'
},
view_pagecaption
:{
name
:
'view_pagecaption'
,
type
:
'VIEWLAYOUT'
,
caption
:
'页面标题'
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'FIELD'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'LEFT'
,
vAlignSelf
:
'MIDDLE'
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container2'
,
panel
:
this
,
fieldState
:
'0'
,
predefinedType
:
'VIEW_PAGECAPTION'
,
renderMode
:
'HEADING1'
,
dataItemName
:
''
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
container2
:{
name
:
'container2'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
3
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid2'
,
panel
:
this
,
details
:[
'view_pagecaption'
]
,
dataRegionType
:
'INHERIT'
},
toolbar
:{
name
:
'toolbar'
,
type
:
'VIEWLAYOUT'
,
caption
:
'TOOLBAR'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CTRLPOS'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
'
FULL
'
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'RIGHT'
,
vAlignSelf
:
'MIDDLE'
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container4'
,
panel
:
this
},
toolbar
:{
name
:
'toolbar'
,
type
:
'VIEWLAYOUT'
,
caption
:
'TOOLBAR'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CTRLPOS'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'RIGHT'
,
vAlignSelf
:
'MIDDLE'
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container4'
,
panel
:
this
},
container4
:{
name
:
'container4'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
9
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid2'
,
panel
:
this
,
details
:[
'toolbar'
]
,
dataRegionType
:
'INHERIT'
},
container_grid2
:{
name
:
'container_grid2'
,
type
:
'VIEWLAYOUT'
,
caption
:
'栅格容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
'CENTER'
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll_header1'
,
panel
:
this
,
details
:[
'container2'
,
'container4'
]
,
dataRegionType
:
'INHERIT'
},
container_scroll_header1
:{
name
:
'container_scroll_header1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
'NORTH'
,
layoutHeight
:
50
,
heightMode
:
'PX'
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll1'
,
panel
:
this
,
details
:[
'container_grid2'
]
,
dataRegionType
:
'INHERIT'
},
...
...
app_Web/src/pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view-base.vue
浏览文件 @
a93d736b
...
...
@@ -483,11 +483,11 @@ export default class IBIZOrderUsr2GridViewBase extends Vue {
grid
:{
name
:
'grid'
,
type
:
'VIEWLAYOUT'
,
caption
:
'表格'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CTRLPOS'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
'CENTER'
,
layoutHeight
:
0
,
heightMode
:
'FULL'
,
layoutWidth
:
0
,
widthMode
:
'FULL'
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll_main1'
,
panel
:
this
},
container_scroll_main1
:{
name
:
'container_scroll_main1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
'CENTER'
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll1'
,
panel
:
this
,
details
:[
'searchform'
,
'grid'
]
,
dataRegionType
:
'INHERIT'
},
view_pagecaption
:{
name
:
'view_pagecaption'
,
type
:
'VIEWLAYOUT'
,
caption
:
'页面标题'
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'FIELD'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'LEFT'
,
vAlignSelf
:
'MIDDLE'
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container1'
,
panel
:
this
,
fieldState
:
'0'
,
predefinedType
:
'VIEW_PAGECAPTION'
,
renderMode
:
'HEADING1'
,
dataItemName
:
''
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
container1
:{
name
:
'container1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid1'
,
panel
:
this
,
details
:[
'view_pagecaption'
]
,
dataRegionType
:
'INHERIT'
},
container1
:{
name
:
'container1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
3
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid1'
,
panel
:
this
,
details
:[
'view_pagecaption'
]
,
dataRegionType
:
'INHERIT'
},
quicksearchbar
:{
name
:
'quicksearchbar'
,
type
:
'VIEWLAYOUT'
,
caption
:
'QUICKSEARCHBAR部件'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CTRLPOS'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'RIGHT'
,
vAlignSelf
:
'MIDDLE'
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container3'
,
panel
:
this
},
container3
:{
name
:
'container3'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid1'
,
panel
:
this
,
details
:[
'quicksearchbar'
]
,
dataRegionType
:
'INHERIT'
},
container3
:{
name
:
'container3'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
3
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid1'
,
panel
:
this
,
details
:[
'quicksearchbar'
]
,
dataRegionType
:
'INHERIT'
},
toolbar
:{
name
:
'toolbar'
,
type
:
'VIEWLAYOUT'
,
caption
:
'工具栏'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CTRLPOS'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'RIGHT'
,
vAlignSelf
:
'MIDDLE'
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container2'
,
panel
:
this
},
container2
:{
name
:
'container2'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid1'
,
panel
:
this
,
details
:[
'toolbar'
]
,
dataRegionType
:
'INHERIT'
},
container2
:{
name
:
'container2'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
6
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid1'
,
panel
:
this
,
details
:[
'toolbar'
]
,
dataRegionType
:
'INHERIT'
},
container_grid1
:{
name
:
'container_grid1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'栅格容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
'CENTER'
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll_header1'
,
panel
:
this
,
details
:[
'container1'
,
'container3'
,
'container2'
]
,
dataRegionType
:
'INHERIT'
},
container_scroll_header1
:{
name
:
'container_scroll_header1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
'NORTH'
,
layoutHeight
:
50
,
heightMode
:
'PX'
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll1'
,
panel
:
this
,
details
:[
'container_grid1'
]
,
dataRegionType
:
'INHERIT'
},
container_scroll1
:{
name
:
'container_scroll1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'滚动条容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[
'container_scroll_main1'
,
'container_scroll_header1'
]
,
dataRegionType
:
'INHERIT'
}
...
...
app_Web/src/service/ibizcustomer/ibizcustomer-service-base.ts
浏览文件 @
a93d736b
...
...
@@ -136,10 +136,10 @@ export default class IBIZCustomerServiceBase extends EntityService {
return
await
Http
.
getInstance
().
post
(
`/ibizcustomers/getdynacarouselbatch`
,
tempData
,
isloading
);
}
public
async
GetDynaImg
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
console
.
log
(
"这里要返回模拟动态图片数据:"
,
data
)
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
tempData
[
'field_image'
]
=
'assets/img/logo2.png'
return
{
"status"
:
200
,
"data"
:
tempData
};
}
}
/**
* Remove接口方法
...
...
app_Web/src/uiservice/ibizbook/custom-edit-ui-logic-base.ts
0 → 100644
浏览文件 @
a93d736b
import
{
UIActionContext
}
from
"@/logic/ui-logic"
;
import
{
LogicReturnType
}
from
"@/logic/const/logic-return-type"
;
import
{
UILogicParamType
}
from
"@/logic/const/ui-logic-param-type"
;
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
/**
* 编辑
*
* @export
* @class CustomEditUILogicBase
*/
export
default
class
CustomEditUILogicBase
{
/**
* Creates an instance of CustomEditBase.
*
* @param {*} [opts={}]
* @memberof CustomEditUILogicBase
*/
constructor
(
opts
:
any
=
{})
{
}
/**
* 逻辑参数
*
* @protected
* @type {any[]}
* @memberof CustomEditUILogicBase
*/
protected
logicParams
:
any
[]
=
[
{
name
:
'传入变量'
,
codeName
:
'Default'
,
default
:
true
,
entityParam
:
true
,
},
];
/**
* 执行前
*
* @param {*} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actioncontext]
* @param {string} [srfParentDeName]
* @return {*}
* @memberof CustomEditUILogicBase
*/
public
beforeExecute
(
args
:
any
,
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actioncontext
?:
any
,
srfParentDeName
?:
string
)
{
return
new
UIActionContext
(
this
.
logicParams
,
args
,
context
,
params
,
$event
,
xData
,
actioncontext
,
srfParentDeName
)
}
/**
* 执行
*
* @param {any[]} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actionContext]
* @param {string} [srfParentDeName]
* @memberof CustomEditUILogicBase
*/
async
execute
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actioncontext
?:
any
,
srfParentDeName
?:
string
)
{
try
{
const
actionContext
=
this
.
beforeExecute
(
args
,
context
,
params
,
$event
,
xData
,
actioncontext
,
srfParentDeName
);
await
this
.
execute_begin_node
(
actionContext
);
return
actionContext
.
getResult
();
}
catch
(
error
:
any
)
{
throw
new
Error
(
`
${
error
&&
error
.
message
?
error
.
message
:
'发生未知错误!'
}
`
);
}
}
/**
* 获取条件参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @param {string} param 节点参数
* @param {string} property 参数属性
* @return {*}
* @memberof CustomEditUILogicBase
*/
public
getCondParam
(
actionContext
:
UIActionContext
,
param
:
string
,
property
:
string
)
{
const
resultParam
=
actionContext
.
getParam
(
param
).
getReal
();
// 当不存在参数属性时,返回直接值
if
(
property
===
''
)
{
return
resultParam
;
}
if
(
resultParam
&&
resultParam
.
hasOwnProperty
(
property
))
{
return
resultParam
[
property
];
}
return
null
;
}
/**
* 开始
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomEditUILogicBase
*/
protected
async
execute_begin_node
(
actionContext
:
UIActionContext
)
{
actionContext
.
setResult
(
actionContext
.
defaultParam
.
getReal
());
console
.
log
(
'已完成执行 开始 节点'
);
}
}
\ No newline at end of file
app_Web/src/uiservice/ibizbook/custom-edit-ui-logic.ts
0 → 100644
浏览文件 @
a93d736b
import
{
Http
,
Util
}
from
'@/utils'
;
import
CustomEditUILogicBase
from
'./custom-edit-ui-logic-base'
;
/**
* 编辑
*
* @export
* @class CustomEditUILogic
*/
export
default
class
CustomEditUILogic
extends
CustomEditUILogicBase
{
/**
* 编辑 逻辑实例对象
*
* @private
* @static
* @type {CustomEditUILogic}
* @memberof CustomEditUILogic
*/
private
static
instance
:
CustomEditUILogic
;
/**
* 获取 编辑 逻辑实例对象
*
* @static
* @return {*} {CustomEditUILogic}
* @memberof CustomEditUILogic
*/
static
getInstance
():
CustomEditUILogic
{
if
(
!
this
.
instance
)
{
this
.
instance
=
new
CustomEditUILogic
();
}
return
this
.
instance
;
}
/**
* Creates an instance of CustomEditUILogic
*
* @param {*} [opts={}]
* @memberof CustomEditUILogic
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_Web/src/uiservice/ibizbook/custom-view-grid-load-ui-logic-base.ts
0 → 100644
浏览文件 @
a93d736b
import
{
UIActionContext
}
from
"@/logic/ui-logic"
;
import
{
LogicReturnType
}
from
"@/logic/const/logic-return-type"
;
import
{
UILogicParamType
}
from
"@/logic/const/ui-logic-param-type"
;
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
/**
* 自定义视图表格加载
*
* @export
* @class CustomViewGridLoadUILogicBase
*/
export
default
class
CustomViewGridLoadUILogicBase
{
/**
* Creates an instance of CustomViewGridLoadBase.
*
* @param {*} [opts={}]
* @memberof CustomViewGridLoadUILogicBase
*/
constructor
(
opts
:
any
=
{})
{
}
/**
* 逻辑参数
*
* @protected
* @type {any[]}
* @memberof CustomViewGridLoadUILogicBase
*/
protected
logicParams
:
any
[]
=
[
{
name
:
'传入变量'
,
codeName
:
'Default'
,
default
:
true
,
entityParam
:
true
,
},
];
/**
* 执行前
*
* @param {*} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actioncontext]
* @param {string} [srfParentDeName]
* @return {*}
* @memberof CustomViewGridLoadUILogicBase
*/
public
beforeExecute
(
args
:
any
,
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actioncontext
?:
any
,
srfParentDeName
?:
string
)
{
return
new
UIActionContext
(
this
.
logicParams
,
args
,
context
,
params
,
$event
,
xData
,
actioncontext
,
srfParentDeName
)
}
/**
* 执行
*
* @param {any[]} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actionContext]
* @param {string} [srfParentDeName]
* @memberof CustomViewGridLoadUILogicBase
*/
async
execute
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actioncontext
?:
any
,
srfParentDeName
?:
string
)
{
try
{
const
actionContext
=
this
.
beforeExecute
(
args
,
context
,
params
,
$event
,
xData
,
actioncontext
,
srfParentDeName
);
await
this
.
execute_begin_node
(
actionContext
);
return
actionContext
.
getResult
();
}
catch
(
error
:
any
)
{
throw
new
Error
(
`
${
error
&&
error
.
message
?
error
.
message
:
'发生未知错误!'
}
`
);
}
}
/**
* 获取条件参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @param {string} param 节点参数
* @param {string} property 参数属性
* @return {*}
* @memberof CustomViewGridLoadUILogicBase
*/
public
getCondParam
(
actionContext
:
UIActionContext
,
param
:
string
,
property
:
string
)
{
const
resultParam
=
actionContext
.
getParam
(
param
).
getReal
();
// 当不存在参数属性时,返回直接值
if
(
property
===
''
)
{
return
resultParam
;
}
if
(
resultParam
&&
resultParam
.
hasOwnProperty
(
property
))
{
return
resultParam
[
property
];
}
return
null
;
}
/**
* 开始
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected
async
execute_begin_node
(
actionContext
:
UIActionContext
)
{
actionContext
.
setResult
(
actionContext
.
defaultParam
.
getReal
());
console
.
log
(
'已完成执行 开始 节点'
);
}
}
\ No newline at end of file
app_Web/src/uiservice/ibizbook/custom-view-grid-load-ui-logic.ts
0 → 100644
浏览文件 @
a93d736b
import
{
Http
,
Util
}
from
'@/utils'
;
import
CustomViewGridLoadUILogicBase
from
'./custom-view-grid-load-ui-logic-base'
;
/**
* 自定义视图表格加载
*
* @export
* @class CustomViewGridLoadUILogic
*/
export
default
class
CustomViewGridLoadUILogic
extends
CustomViewGridLoadUILogicBase
{
/**
* 自定义视图表格加载 逻辑实例对象
*
* @private
* @static
* @type {CustomViewGridLoadUILogic}
* @memberof CustomViewGridLoadUILogic
*/
private
static
instance
:
CustomViewGridLoadUILogic
;
/**
* 获取 自定义视图表格加载 逻辑实例对象
*
* @static
* @return {*} {CustomViewGridLoadUILogic}
* @memberof CustomViewGridLoadUILogic
*/
static
getInstance
():
CustomViewGridLoadUILogic
{
if
(
!
this
.
instance
)
{
this
.
instance
=
new
CustomViewGridLoadUILogic
();
}
return
this
.
instance
;
}
/**
* Creates an instance of CustomViewGridLoadUILogic
*
* @param {*} [opts={}]
* @memberof CustomViewGridLoadUILogic
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
浏览文件 @
a93d736b
...
...
@@ -4,6 +4,8 @@ import UIService from '../ui-service';
import
{
Subject
}
from
'rxjs'
;
import
IBIZBOOKService
from
'@/service/ibizbook/ibizbook-service'
;
import
IBIZBOOKAuthService
from
'@/authservice/ibizbook/ibizbook-auth-service'
;
import
CustomEditUILogic
from
'./custom-edit-ui-logic'
;
import
CustomViewGridLoadUILogic
from
'./custom-view-grid-load-ui-logic'
;
import
FormLoadUILogic
from
'./form-load-ui-logic'
;
import
GridLoadUILogic
from
'./grid-load-ui-logic'
;
import
PrintParamsUILogic
from
'./print-params-ui-logic'
;
...
...
@@ -102,6 +104,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'treeview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbooktree-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'internalfuncgridview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookinternal-func-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'gridexpview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookgrid-exp-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'gridloadcustomview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookgrid-load-custom-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'haspanelkanbanview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookhas-panel-kan-ban-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'testcldataview'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbooktest-cldata-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr6gridview_layout'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr6-grid-view-layout'
});
...
...
@@ -608,6 +611,12 @@ export default class IBIZBOOKUIServiceBase extends UIService {
* @memberof UIService
*/
public
async
executeUILogic
(
name
:
string
,
args
:
any
[],
context
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
|
undefined
):
Promise
<
any
>
{
if
(
name
===
'CustomEdit'
)
{
return
await
CustomEditUILogic
.
getInstance
().
execute
(
args
,
context
,
params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
if
(
name
===
'CustomViewGridLoad'
)
{
return
await
CustomViewGridLoadUILogic
.
getInstance
().
execute
(
args
,
context
,
params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
if
(
name
===
'FormLoad'
)
{
return
await
FormLoadUILogic
.
getInstance
().
execute
(
args
,
context
,
params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
...
...
app_Web/src/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
浏览文件 @
a93d736b
...
...
@@ -530,7 +530,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -646,7 +646,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
return
;
}
if
(
datas
.
length
===
0
)
{
...
...
@@ -741,7 +741,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -749,7 +749,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json
浏览文件 @
a93d736b
...
...
@@ -4074,6 +4074,12 @@
"name"
:
"测试日历视图布局面板"
,
"realModelSubType"
:
"DECALENDARVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"GridLoadCustomView"
,
"logicName"
:
"界面逻辑加载与跳转"
,
"name"
:
"界面逻辑加载与跳转"
,
"realModelSubType"
:
"DECUSTOMVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"Usr2DataView"
,
"logicName"
:
"图书实体数据视图(自动分组)"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
浏览文件 @
a93d736b
...
...
@@ -2071,6 +2071,50 @@
"id"
:
"toolbar_CustomView_layouttoolbar_deuiaction1_click@IBIZBOOK"
}
],
"getAllPSAppDEUILogics"
:
[
{
"codeName"
:
"CustomEdit"
,
"defaultParamName"
:
"Default"
,
"logicName"
:
"编辑"
,
"name"
:
"编辑"
,
"getPSDEUILogicNodes"
:
[
{
"codeName"
:
"Begin"
,
"logicNodeType"
:
"BEGIN"
,
"name"
:
"开始"
,
"parallelOutput"
:
true
}
],
"getPSDEUILogicParams"
:
[
{
"codeName"
:
"Default"
,
"logicName"
:
"传入变量"
,
"name"
:
"传入变量"
,
"default"
:
true
,
"entityParam"
:
true
}
],
"getStartPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
}
},
{
"codeName"
:
"CustomViewGridLoad"
,
"defaultParamName"
:
"Default"
,
"logicName"
:
"自定义视图表格加载"
,
"name"
:
"自定义视图表格加载"
,
"getPSDEUILogicNodes"
:
[
{
"codeName"
:
"Begin"
,
"logicNodeType"
:
"BEGIN"
,
"name"
:
"开始"
,
"parallelOutput"
:
true
}
],
"getPSDEUILogicParams"
:
[
{
"codeName"
:
"Default"
,
"logicName"
:
"传入变量"
,
"name"
:
"传入变量"
,
"default"
:
true
,
"entityParam"
:
true
}
],
"getStartPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"Begin"
}
},
{
"codeName"
:
"FormLoad"
,
"defaultParamName"
:
"Default"
,
"logicName"
:
"表单加载"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGridLoadCustomView.json
0 → 100644
浏览文件 @
a93d736b
{
"accUserMode"
:
2
,
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DE.LNAME.IBIZBOOK"
},
"caption"
:
"界面逻辑加载与跳转"
,
"codeName"
:
"IBIZBOOKGridLoadCustomView"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGridLoadCustomView.json"
,
"name"
:
"IBIZBOOKGridLoadCustomView"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppViewLogics"
:
[
{
"eventNames"
:
"onViewMounted"
,
"logicTrigger"
:
"VIEWEVENT"
,
"logicType"
:
"DEUILOGIC"
,
"name"
:
"VIEWLOAD"
,
"getPSAppDEUILogic"
:
{
"modelref"
:
true
,
"id"
:
"CustomViewGridLoad"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}
],
"getPSControls"
:
[
{
"codeName"
:
"Default"
,
"controlType"
:
"SEARCHFORM"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSSEARCHFORMS/Default.json"
,
"logicName"
:
"默认搜索表单"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlHandler"
:
{
"getPSHandlerActions"
:
[
{
"actionType"
:
"FILTERACTION"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"FilterGet"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionType"
:
"FILTERACTION"
,
"name"
:
"loaddraft"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"FilterGetDraft"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionType"
:
"FILTERACTION"
,
"name"
:
"search"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"FilterSearch"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}
],
"enableDEFieldPrivilege"
:
false
,
"id"
:
"搜索表单处理器"
},
"getPSControlParam"
:
{
"autoLoad"
:
true
,
"showBusyIndicator"
:
true
,
"id"
:
"SEARCHFORM"
},
"getPSDEFormItems"
:
[
{
"id"
:
"n_ibizbookname_like"
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
}
},
{
"id"
:
"n_price_gtandeq"
,
"dataType"
:
7
,
"getPSAppDEField"
:
{
"name"
:
"PRICE"
,
"codeName"
:
"Price"
}
}
],
"getPSDEFormPages"
:
[
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"CONTROL.DEFORM.IBIZBOOK.DEFAULT.FORMPAGE.FORMPAGE1"
},
"caption"
:
"常规条件"
,
"codeName"
:
"formpage1"
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMPAGE"
,
"name"
:
"formpage1"
,
"getPSDEFormDetails"
:
[
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE"
},
"caption"
:
"图书名称(%)"
,
"codeName"
:
"n_ibizbookname_like"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"n_ibizbookname_like"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"editorWidth"
:
100.0
,
"name"
:
"n_ibizbookname_like"
},
"getPSLayoutPos"
:
{
"colLG"
:
12
,
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ"
},
"caption"
:
"图书价格(>=)"
,
"codeName"
:
"n_price_gtandeq"
,
"dataType"
:
7
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"n_price_gtandeq"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"PRICE"
,
"codeName"
:
"Price"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"editorWidth"
:
100.0
,
"name"
:
"n_price_gtandeq"
},
"getPSLayoutPos"
:
{
"colLG"
:
12
,
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"infoGroupMode"
:
false
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"searchButtonStyle"
:
"DEFAULT"
,
"tabHeaderPos"
:
"TOP"
,
"enableAdvanceSearch"
:
false
,
"enableAutoSearch"
:
false
,
"enableFilterSave"
:
false
,
"noTabHeader"
:
true
,
"name"
:
"searchform"
,
"modelid"
:
"643b7d93870f8f5842b663af83ba85ae"
,
"modeltype"
:
"PSDEFORM_SEARCHFORM"
},
{
"aggMode"
:
"NONE"
,
"codeName"
:
"Main"
,
"columnEnableLink"
:
2
,
"controlType"
:
"GRID"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGRIDS/Main.json"
,
"getFetchPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"fetch"
},
"groupMode"
:
"NONE"
,
"logicName"
:
"主表格"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlHandler"
:
{
"getPSHandlerActions"
:
[
{
"actionName"
:
"Get"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"READ"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Create"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionName"
:
"Update"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"name"
:
"update"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Update"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionName"
:
"Remove"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"DELETE"
,
"name"
:
"remove"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Remove"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionName"
:
"GetDraft"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraft"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"GetDraft"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionType"
:
"DEDATASET"
,
"name"
:
"fetch"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"FetchDefault"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}
],
"userDRAction"
:
"READ"
,
"enableDEFieldPrivilege"
:
false
,
"id"
:
"数据表格处理器"
},
"getPSControlParam"
:
{
"autoLoad"
:
true
,
"showBusyIndicator"
:
true
,
"id"
:
"GRID"
},
"getPSDEDataImport"
:
{
"modelref"
:
true
,
"id"
:
"DataImport"
},
"getPSDEGridColumns"
:
[
{
"align"
:
"LEFT"
,
"cLConvertMode"
:
"NONE"
,
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DEF.LNAME.IBIZBOOKNAME"
},
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"excelCaption"
:
"图书名称"
,
"name"
:
"ibizbookname"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
},
"width"
:
150
,
"widthUnit"
:
"PX"
,
"enableSort"
:
true
},
{
"align"
:
"LEFT"
,
"cLConvertMode"
:
"FRONT"
,
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DEF.LNAME.UPDATEMAN"
},
"caption"
:
"更新人"
,
"codeName"
:
"updateman"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"updateman"
,
"excelCaption"
:
"更新人"
,
"name"
:
"updateman"
,
"noPrivDisplayMode"
:
1
,
"getPSAppCodeList"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPCODELISTS/SysOperator.json"
},
"getPSAppDEField"
:
{
"name"
:
"UPDATEMAN"
,
"codeName"
:
"UpdateMan"
},
"width"
:
150
,
"widthUnit"
:
"PX"
,
"enableSort"
:
true
},
{
"align"
:
"LEFT"
,
"cLConvertMode"
:
"NONE"
,
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DEF.LNAME.UPDATEDATE"
},
"caption"
:
"更新时间"
,
"codeName"
:
"updatedate"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"updatedate"
,
"excelCaption"
:
"更新时间"
,
"name"
:
"updatedate"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"UPDATEDATE"
,
"codeName"
:
"UpdateDate"
},
"valueFormat"
:
"YYYY-MM-DD HH:mm:ss"
,
"width"
:
150
,
"widthUnit"
:
"PX"
,
"enableSort"
:
true
}
],
"getPSDEGridDataItems"
:
[
{
"dataType"
:
25
,
"name"
:
"ibizbookname"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
}
},
{
"dataType"
:
25
,
"name"
:
"updateman"
,
"getPSAppDEField"
:
{
"name"
:
"UPDATEMAN"
,
"codeName"
:
"UpdateMan"
}
},
{
"format"
:
"YYYY-MM-DD HH:mm:ss"
,
"dataType"
:
5
,
"name"
:
"updatedate"
,
"getPSAppDEField"
:
{
"name"
:
"UPDATEDATE"
,
"codeName"
:
"UpdateDate"
}
},
{
"dataType"
:
25
,
"name"
:
"ibizbookid"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
}
},
{
"dataType"
:
25
,
"name"
:
"srfkey"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
}
},
{
"dataType"
:
25
,
"name"
:
"srfdataaccaction"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
},
"dataAccessAction"
:
true
},
{
"dataType"
:
25
,
"name"
:
"srfmajortext"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
}
},
{
"dataType"
:
25
,
"name"
:
"srfmstag"
}
],
"getPSDEGridEditItems"
:
[
{
"caption"
:
"图书标识"
,
"codeName"
:
"srfkey"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"name"
:
"srfkey"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
},
"getPSEditor"
:
{
"editorType"
:
"HIDDEN"
,
"name"
:
"srfkey"
},
"allowEmpty"
:
true
}
],
"pagingSize"
:
20
,
"getRemovePSControlAction"
:
{
"actionName"
:
"Remove"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"DELETE"
,
"name"
:
"remove"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Remove"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
"sortMode"
:
"REMOTE"
,
"hasWFDataItems"
:
false
,
"enableColFilter"
:
false
,
"enableCustomized"
:
true
,
"enableGroup"
:
false
,
"enablePagingBar"
:
true
,
"enableRowEdit"
:
false
,
"enableRowEditOrder"
:
false
,
"enableRowNew"
:
false
,
"forceFit"
:
false
,
"hideHeader"
:
false
,
"noSort"
:
false
,
"singleSelect"
:
false
,
"name"
:
"grid"
,
"modelid"
:
"6cd11a010cbbb4d2bad5e1aad7e8020a"
,
"modeltype"
:
"PSDEGRID"
}
],
"getPSDEViewCodeName"
:
"GridLoadCustomView"
,
"getPSDEViewId"
:
"6BE9BAA4-DBEA-4DAB-B7CD-7E03AA158A9E"
,
"getPSViewLayoutPanel"
:
{
"getAllPSPanelFields"
:
[
{
"id"
:
"view_pagecaption"
}
],
"codeName"
:
"Usr1109586119"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"layoutMode"
:
"TABLE_24COL"
,
"logicName"
:
"界面逻辑加载与跳转布局面板"
,
"name"
:
"layoutpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam"
:
{
},
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getRootPSPanelItems"
:
[
{
"caption"
:
"滚动条容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSPanelItems"
:
[
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_main1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"getPSPanelItems"
:
[
{
"caption"
:
"滚动条容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll2"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"getPSPanelItems"
:
[
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_main2"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"getPSPanelItems"
:
[
{
"caption"
:
"表格"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"grid"
,
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"showCaption"
:
true
}
],
"showCaption"
:
true
},
{
"caption"
:
"面板容器"
,
"contentHeight"
:
60.0
,
"height"
:
60.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_header2"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"height"
:
60
,
"heightMode"
:
"PX"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"NORTH"
},
"getPSPanelItems"
:
[
{
"caption"
:
"搜索表单"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"searchform"
,
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"showCaption"
:
true
}
],
"showCaption"
:
true
}
]
}
],
"showCaption"
:
true
},
{
"caption"
:
"面板容器"
,
"contentHeight"
:
60.0
,
"height"
:
60.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_header1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"height"
:
60
,
"heightMode"
:
"PX"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"NORTH"
},
"getPSPanelItems"
:
[
{
"caption"
:
"栅格容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_grid1"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"getPSPanelItems"
:
[
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container1"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
3
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"页面标题"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"view_pagecaption"
,
"getPSEditor"
:
{
"editorType"
:
"SPAN"
,
"name"
:
"view_pagecaption"
,
"predefinedType"
:
"VIEW_PAGECAPTION"
,
"renderMode"
:
"HEADING1"
,
"enableLinkView"
:
false
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container2"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
9
,
"layout"
:
"SIMPLEFLEX"
}
}
]
}
],
"showCaption"
:
true
}
]
}
],
"layoutBodyOnly"
:
false
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
false
,
"modelid"
:
"303AA2BF-FCF5-40ED-BB25-127D23613CF5"
,
"modeltype"
:
"PSSYSVIEWLAYOUTPANEL"
},
"title"
:
"界面逻辑加载与跳转"
,
"viewStyle"
:
"DEFAULT"
,
"viewType"
:
"DECUSTOMVIEW"
,
"enableDP"
:
true
,
"modelid"
:
"05879876-B0D0-4102-991F-61A0C4608489"
,
"modeltype"
:
"PSAPPDEVIEW"
}
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2EditView.json
浏览文件 @
a93d736b
...
...
@@ -164,7 +164,6 @@
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"RIGHT"
,
"heightMode"
:
"FULL"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2EditView_layout.json
浏览文件 @
a93d736b
...
...
@@ -164,7 +164,6 @@
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"RIGHT"
,
"heightMode"
:
"FULL"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderUsr2GridView.json
浏览文件 @
a93d736b
...
...
@@ -1703,7 +1703,7 @@
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"grow"
:
3
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
...
...
@@ -1736,7 +1736,7 @@
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"grow"
:
3
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
...
...
@@ -1761,7 +1761,7 @@
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"grow"
:
6
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
a93d736b
...
...
@@ -13175,6 +13175,12 @@
"viewType"
:
"DEGRIDEXPVIEW"
,
"resource"
:
"IBIZBOOK"
,
"view"
:
"GridExpView"
},
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGridLoadCustomView.json"
,
"viewType"
:
"DECUSTOMVIEW"
,
"resource"
:
"IBIZBOOK"
,
"view"
:
"GridLoadCustomView"
},
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKHasPanelKanBanView.json"
,
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
a93d736b
...
...
@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-
489
-7"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-
508
-7"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
@@ -340,7 +340,7 @@
<!--输出实体[IBIZORDER]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-54
3
-14"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-54
7
-14"
>
<createTable
tableName=
"T_IBIZORDER"
>
<column
name=
"TP"
remarks=
""
type=
"TEXT(1048576)"
>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
a93d736b
...
...
@@ -37,7 +37,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-54
3
-8"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-54
7
-8"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZORDER"
>
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录