Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
22d0cbe7
提交
22d0cbe7
编写于
11月 09, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
9569383d
变更
19
隐藏空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
430 行增加
和
878 行删除
+430
-878
ibizbookusr2-edit-view-layout-base.vue
...2-edit-view-layout/ibizbookusr2-edit-view-layout-base.vue
+52
-47
ibizbookusr2-edit-view-base.vue
...le/ibizbookusr2-edit-view/ibizbookusr2-edit-view-base.vue
+52
-47
ibizcustomer-usr2-pickup-view-layout-base.vue
...view-layout/ibizcustomer-usr2-pickup-view-layout-base.vue
+29
-323
ibizcustomer-usr2-pickup-view-layout.less
...kup-view-layout/ibizcustomer-usr2-pickup-view-layout.less
+16
-2
default-searchform-base.vue
...zappeditor/default-searchform/default-searchform-base.vue
+2
-2
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
list-exp-list-base.vue
...rc/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
+4
-4
main-grid-base.vue
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
+21
-7
main-grid-model.ts
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
+15
-0
Usr.json
...SSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
+14
-14
TreeTable.json
.../PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
+8
-8
IBIZCustomer.json
...temodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json
+0
-29
IBIZBOOKGanttView.json
...temodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
+14
-14
IBIZBOOKTreeGridExView.json
...el/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
+8
-8
IBIZBOOKUsr2EditView.json
...odel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2EditView.json
+94
-79
IBIZBOOKUsr2EditView_layout.json
...SYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2EditView_layout.json
+94
-79
IBIZCustomerUsr2PickupView_layout.json
...S/Web/PSAPPDEVIEWS/IBIZCustomerUsr2PickupView_layout.json
+2
-210
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/src/pages/sample/ibizbookusr2-edit-view-layout/ibizbookusr2-edit-view-layout-base.vue
浏览文件 @
22d0cbe7
<
template
>
<div
class=
"app-view-layout ibizbookusr2-edit-view-layout"
v-loading=
"isLayoutLoadding"
:style=
"
{height: '100%', width: '100%','display': 'flex', 'flex-direction': 'column'}">
<template
v-show=
"!isLayoutLoadding"
>
<app-standard-container
name=
"page_container"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container_grid1
>
<app-simpleflex-container
name=
"container_grid1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container1
>
<app-simpleflex-container
name=
"container1"
:layoutModelDetails=
"layoutModelDetails"
>
<app-scroll-container
name=
"container_scroll1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container_scroll_main1
>
<app-scroll-container
name=
"container_scroll_main1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
form
>
<app-ctrl-pos
name=
"form"
:layoutModelDetails=
"layoutModelDetails"
>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:viewCtx=
"viewCtx"
:autosave=
"false"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"form"
ref=
'form'
@
load=
"form_load($event)"
@
save=
"form_save($event)"
@
remove=
"form_remove($event)"
@
closeview=
"closeView($event)"
>
</view
_form
>
</app-ctrl-pos>
</
template
>
</app-scroll-container>
</template>
<
template
#
container_scroll_header1
>
<app-scroll-container
name=
"container_scroll_header1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container_grid2
>
<app-simpleflex-container
name=
"container_grid2"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container2
>
<app-simpleflex-container
name=
"container2"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
view_pagecaption
>
<app-preset-caption
name=
"view_pagecaption"
:layoutModelDetails=
"layoutModelDetails"
>
实体数据选择视图
</app-preset-caption>
</
template
>
</app-simpleflex-container>
</template>
<
template
#
container
_2
>
<app-simpleflex-container
name=
"container
_2
"
:layoutModelDetails=
"layoutModelDetails"
>
<
template
#
container
4
>
<app-simpleflex-container
name=
"container
4
"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
toolbar
>
<app-ctrl-pos
name=
"toolbar"
:layoutModelDetails=
"layoutModelDetails"
>
<div
class=
'toolbar-container'
>
...
...
@@ -44,38 +77,9 @@
</template>
</app-simpleflex-container>
</template>
<
template
#
container3
>
<app-standard-container
name=
"container3"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
form
>
<app-ctrl-pos
name=
"form"
:layoutModelDetails=
"layoutModelDetails"
>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:viewCtx=
"viewCtx"
:autosave=
"false"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"form"
ref=
'form'
@
load=
"form_load($event)"
@
save=
"form_save($event)"
@
remove=
"form_remove($event)"
@
closeview=
"closeView($event)"
>
</view
_form
>
</app-ctrl-pos>
</
template
>
</app-standard-container>
</app-scroll-container>
</template>
</app-s
tandard
-container>
</app-s
croll
-container>
</template>
</div>
</template>
...
...
@@ -330,7 +334,7 @@ export default class IBIZBOOKUsr2EditView_layoutBase extends Vue {
* @public
* @memberof IBIZBOOKUsr2EditView_layoutBase
*/
public
rootLayoutDetailNames
:
string
[]
=
[
'
page_container
'
];
public
rootLayoutDetailNames
:
string
[]
=
[
'
container_scroll1
'
];
/**
* 视图布局面板项模型对象
...
...
@@ -339,14 +343,15 @@ export default class IBIZBOOKUsr2EditView_layoutBase extends Vue {
* @memberof IBIZBOOKUsr2EditView_layoutBase
*/
public
layoutItems
:
any
=
{
view_pagecaption
:{
name
:
'view_pagecaption'
,
type
:
'VIEWLAYOUT'
,
caption
:
'页面标题'
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'FIELD'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
'FULL'
,
layoutWidth
:
0
,
widthMode
:
'FULL'
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'LEFT'
,
vAlignSelf
:
''
,
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
:
6
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid1'
,
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
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_2'
,
panel
:
this
},
container_2
:{
name
:
'container_2'
,
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'
},
container_grid1
:{
name
:
'container_grid1'
,
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
:
'page_container'
,
panel
:
this
,
details
:[
'container1'
,
'container_2'
]
,
dataRegionType
:
'INHERIT'
},
form
:{
name
:
'form'
,
type
:
'VIEWLAYOUT'
,
caption
:
'FORM'
,
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
:
''
,
vAlignSelf
:
''
,
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
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
100
,
heightMode
:
'PERCENTAGE'
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'page_container'
,
panel
:
this
,
details
:[
'form'
]
,
dataRegionType
:
'INHERIT'
},
page_container
:{
name
:
'page_container'
,
type
:
'VIEWLAYOUT'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
'column'
,
vAlign
:
''
},
panel
:
this
,
details
:[
'container_grid1'
,
'container3'
]
,
dataRegionType
:
'INHERIT'
}
form
:{
name
:
'form'
,
type
:
'VIEWLAYOUT'
,
caption
:
'FORM'
,
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
:[
'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
},
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'
},
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
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[
'container_scroll_main1'
,
'container_scroll_header1'
]
,
dataRegionType
:
'INHERIT'
}
};
/**
...
...
app_Web/src/pages/sample/ibizbookusr2-edit-view/ibizbookusr2-edit-view-base.vue
浏览文件 @
22d0cbe7
<
template
>
<div
class=
"app-view-layout ibizbookusr2-edit-view"
v-loading=
"isLayoutLoadding"
:style=
"
{height: '100%', width: '100%','display': 'flex', 'flex-direction': 'column'}">
<template
v-show=
"!isLayoutLoadding"
>
<app-standard-container
name=
"page_container"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container_grid1
>
<app-simpleflex-container
name=
"container_grid1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container1
>
<app-simpleflex-container
name=
"container1"
:layoutModelDetails=
"layoutModelDetails"
>
<app-scroll-container
name=
"container_scroll1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container_scroll_main1
>
<app-scroll-container
name=
"container_scroll_main1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
form
>
<app-ctrl-pos
name=
"form"
:layoutModelDetails=
"layoutModelDetails"
>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:viewCtx=
"viewCtx"
:autosave=
"false"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"form"
ref=
'form'
@
load=
"form_load($event)"
@
save=
"form_save($event)"
@
remove=
"form_remove($event)"
@
closeview=
"closeView($event)"
>
</view
_form
>
</app-ctrl-pos>
</
template
>
</app-scroll-container>
</template>
<
template
#
container_scroll_header1
>
<app-scroll-container
name=
"container_scroll_header1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container_grid2
>
<app-simpleflex-container
name=
"container_grid2"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container2
>
<app-simpleflex-container
name=
"container2"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
view_pagecaption
>
<app-preset-caption
name=
"view_pagecaption"
:layoutModelDetails=
"layoutModelDetails"
>
实体数据选择视图
</app-preset-caption>
</
template
>
</app-simpleflex-container>
</template>
<
template
#
container
_2
>
<app-simpleflex-container
name=
"container
_2
"
:layoutModelDetails=
"layoutModelDetails"
>
<
template
#
container
4
>
<app-simpleflex-container
name=
"container
4
"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
toolbar
>
<app-ctrl-pos
name=
"toolbar"
:layoutModelDetails=
"layoutModelDetails"
>
<div
class=
'toolbar-container'
>
...
...
@@ -44,38 +77,9 @@
</template>
</app-simpleflex-container>
</template>
<
template
#
container3
>
<app-standard-container
name=
"container3"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
form
>
<app-ctrl-pos
name=
"form"
:layoutModelDetails=
"layoutModelDetails"
>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:viewCtx=
"viewCtx"
:autosave=
"false"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"form"
ref=
'form'
@
load=
"form_load($event)"
@
save=
"form_save($event)"
@
remove=
"form_remove($event)"
@
closeview=
"closeView($event)"
>
</view
_form
>
</app-ctrl-pos>
</
template
>
</app-standard-container>
</app-scroll-container>
</template>
</app-s
tandard
-container>
</app-s
croll
-container>
</template>
</div>
</template>
...
...
@@ -330,7 +334,7 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue {
* @public
* @memberof IBIZBOOKUsr2EditViewBase
*/
public
rootLayoutDetailNames
:
string
[]
=
[
'
page_container
'
];
public
rootLayoutDetailNames
:
string
[]
=
[
'
container_scroll1
'
];
/**
* 视图布局面板项模型对象
...
...
@@ -339,14 +343,15 @@ export default class IBIZBOOKUsr2EditViewBase extends Vue {
* @memberof IBIZBOOKUsr2EditViewBase
*/
public
layoutItems
:
any
=
{
view_pagecaption
:{
name
:
'view_pagecaption'
,
type
:
'VIEWLAYOUT'
,
caption
:
'页面标题'
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'FIELD'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
'FULL'
,
layoutWidth
:
0
,
widthMode
:
'FULL'
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'LEFT'
,
vAlignSelf
:
''
,
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
:
6
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid1'
,
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
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_2'
,
panel
:
this
},
container_2
:{
name
:
'container_2'
,
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'
},
container_grid1
:{
name
:
'container_grid1'
,
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
:
'page_container'
,
panel
:
this
,
details
:[
'container1'
,
'container_2'
]
,
dataRegionType
:
'INHERIT'
},
form
:{
name
:
'form'
,
type
:
'VIEWLAYOUT'
,
caption
:
'FORM'
,
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
:
''
,
vAlignSelf
:
''
,
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
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
100
,
heightMode
:
'PERCENTAGE'
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'page_container'
,
panel
:
this
,
details
:[
'form'
]
,
dataRegionType
:
'INHERIT'
},
page_container
:{
name
:
'page_container'
,
type
:
'VIEWLAYOUT'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
'column'
,
vAlign
:
''
},
panel
:
this
,
details
:[
'container_grid1'
,
'container3'
]
,
dataRegionType
:
'INHERIT'
}
form
:{
name
:
'form'
,
type
:
'VIEWLAYOUT'
,
caption
:
'FORM'
,
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
:[
'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
},
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'
},
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
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[
'container_scroll_main1'
,
'container_scroll_header1'
]
,
dataRegionType
:
'INHERIT'
}
};
/**
...
...
app_Web/src/pages/sample/ibizcustomer-usr2-pickup-view-layout/ibizcustomer-usr2-pickup-view-layout-base.vue
浏览文件 @
22d0cbe7
<
template
>
<div
class=
"app-view-layout ibizcustomer-usr2-pickup-view-layout"
v-loading=
"isLayoutLoadding"
:style=
"
{height: '100%', width: '100%', overflow: 'auto'}">
<template
v-show=
"!isLayoutLoadding"
>
<app-scroll-container
name=
"container_scroll1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container_scroll_main1
>
<app-scroll-container
name=
"container_scroll_main1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
pickupviewpanel
>
<app-ctrl-pos
name=
"pickupviewpanel"
:layoutModelDetails=
"layoutModelDetails"
>
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
</app-ctrl-pos>
</
template
>
</app-scroll-container>
</template>
<
template
#
container_scroll_bottom1
>
<app-scroll-container
name=
"container_scroll_bottom1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container1
>
<app-standard-container
name=
"container1"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
button_calluilogic1
>
<app-preset-button
name=
"button_calluilogic1"
:layoutModelDetails=
"layoutModelDetails"
caption=
"确认"
tooltip=
""
@
itemClick=
"handleButtonClick"
/>
</
template
>
<
template
#
button_calluilogic2
>
<app-login-button
class=
"app-reset-button"
name=
"button_calluilogic2"
:layoutModelDetails=
"layoutModelDetails"
defaultStyle=
'success'
@
itemClick=
"handleButtonClick"
/>
</
template
>
</app-standard-container>
</template>
</app-scroll-container>
</template>
</app-scroll-container>
</template>
</div>
<div
class=
"view-container depickupview ibizcustomer-usr2-pickup-view-layout"
>
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizcustomerusr2pickupview_layout"
></app-studioaction>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<div
class=
"content-container pickup-view"
>
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
<card
v-if=
"isShowButton"
:dis-hover=
"true"
:bordered=
"false"
class=
"footer"
>
<row
:style=
"
{ textAlign: 'right' }">
<i-button
type=
"primary"
:disabled=
"this.viewSelections.length > 0 ? false : true"
@
click=
"onClickOk"
>
{{
this
.
containerModel
.
view_okbtn
.
text
}}
</i-button>
<i-button
@
click=
"onClickCancel"
>
{{
this
.
containerModel
.
view_cancelbtn
.
text
}}
</i-button>
</row>
</card>
</div>
</card>
</div>
</
template
>
...
...
@@ -56,7 +42,6 @@ import IBIZCustomerAuthService from '@/authservice/ibizcustomer/ibizcustomer-aut
import
PickupViewEngine
from
'@engine/view/pickup-view-engine'
;
import
IBIZCustomerUIService
from
'@/uiservice/ibizcustomer/ibizcustomer-ui-service'
;
import
{
PanelContainerModel
,
PanelRawitemModel
,
PanelFieldModel
,
PanelControlModel
,
PanelButtonModel
,
PanelUserControlModel
,
PanelTabPanelModel
,
PanelTabPageModel
,
PanelCtrlPosModel
}
from
'@/model/panel-detail'
;
@
Component
({
...
...
@@ -267,282 +252,6 @@ export default class IBIZCustomerUsr2PickupView_layoutBase extends Vue {
*/
public
viewState
:
Subject
<
ViewState
>
=
new
Subject
();
/**
* 视图布局顶级成员名称
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public
rootLayoutDetailNames
:
string
[]
=
[
'container_scroll1'
];
/**
* 视图布局面板项模型对象
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public
layoutItems
:
any
=
{
pickupviewpanel
:{
name
:
'pickupviewpanel'
,
type
:
'VIEWLAYOUT'
,
caption
:
'PICKUPVIEWPANEL部件'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CTRLPOS'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
'CENTER'
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
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
:[
'pickupviewpanel'
]
,
dataRegionType
:
'INHERIT'
},
button_calluilogic1
:{
name
:
'button_calluilogic1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'确认'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'BUTTON'
,
itemStyle
:
'PRIMARY'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
32
,
heightMode
:
'PX'
,
layoutWidth
:
60
,
widthMode
:
'PX'
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
'OUTERSMALL'
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container1'
,
panel
:
this
,
buttonStyle
:
'PRIMARY'
,
borderStyle
:
''
,
iconAlign
:
''
,
predefinedType
:
'DATA_SAVECHANGES'
,
renderMode
:
''
,
},
button_calluilogic2
:{
name
:
'button_calluilogic2'
,
type
:
'VIEWLAYOUT'
,
caption
:
'取消'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'BUTTON'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
32
,
heightMode
:
'PX'
,
layoutWidth
:
60
,
widthMode
:
'PX'
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container1'
,
panel
:
this
,
buttonStyle
:
'DEFAULT'
,
borderStyle
:
''
,
iconAlign
:
''
,
predefinedType
:
'DATA_CANCELCHANGES'
,
renderMode
:
''
,
},
container1
:{
name
:
'container1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
'CENTER'
,
layoutHeight
:
0
,
heightMode
:
'FULL'
,
layoutWidth
:
0
,
widthMode
:
'FULL'
,
spacingBottom
:
'INNERMEDIUM'
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
'INNERMEDIUM'
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
'flex-end'
,
dir
:
'row'
,
vAlign
:
'center'
},
parentName
:
'container_scroll_bottom1'
,
panel
:
this
,
details
:[
'button_calluilogic1'
,
'button_calluilogic2'
]
,
dataRegionType
:
'INHERIT'
},
container_scroll_bottom1
:{
name
:
'container_scroll_bottom1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
'SOUTH'
,
layoutHeight
:
64
,
heightMode
:
'PX'
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll1'
,
panel
:
this
,
details
:[
'container1'
]
,
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_bottom1'
]
,
dataRegionType
:
'INHERIT'
}
};
/**
* 视图布局是否加载
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public
isLayoutLoadding
:
boolean
=
true
;
/**
* 视图布局数据
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public
layoutData
:
any
=
{};
/**
* 视图布局面板模型对象
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public
layoutModelDetails
:
any
=
{};
/**
* 初始化布局
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public
async
initLayout
()
{
if
(
this
.
rootLayoutDetailNames
.
length
>
0
)
{
for
(
let
i
=
0
;
i
<
this
.
rootLayoutDetailNames
.
length
;
i
++
)
{
const
name
=
this
.
rootLayoutDetailNames
[
i
];
const
rootItem
=
this
.
layoutItems
[
name
];
if
(
!
rootItem
)
{
return
;
}
await
this
.
initLayoutItem
(
rootItem
);
}
}
return
true
;
}
/**
* 初始化布局项
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public
async
initLayoutItem
(
layoutModelItem
:
any
,
index
:
number
=
0
)
{
const
{
name
}
=
layoutModelItem
;
const
layoutModelDetail
=
Util
.
getLayoutItemInstance
(
layoutModelItem
);
if
(
!
index
)
{
await
layoutModelDetail
.
load
(
this
.
context
,
this
.
viewparams
);
this
.
$set
(
this
.
layoutModelDetails
,
name
,
layoutModelDetail
);
this
.
$set
(
this
.
layoutData
,
name
,
layoutModelDetail
.
getData
());
}
else
{
layoutModelDetail
.
setIndex
(
index
);
await
layoutModelDetail
.
load
(
this
.
context
,
this
.
viewparams
);
this
.
$set
(
this
.
layoutModelDetails
,
`
${
name
}
_
${
index
}
`
,
layoutModelDetail
);
this
.
$set
(
this
.
layoutData
,
`
${
name
}
_
${
index
}
`
,
layoutModelDetail
.
getData
());
}
if
(
layoutModelDetail
&&
layoutModelDetail
.
details
)
{
if
(
layoutModelDetail
.
dataRegionType
===
'MULTIDATA'
)
{
const
multiData
=
layoutModelDetail
.
getData
();
if
(
multiData
&&
multiData
.
length
>
0
)
{
for
(
let
i
=
0
;
i
<
multiData
.
length
;
i
++
)
{
for
(
let
j
=
0
;
j
<
layoutModelDetail
.
details
.
length
;
j
++
)
{
const
key
=
layoutModelDetail
.
details
[
j
];
if
(
this
.
layoutItems
[
key
])
{
await
this
.
initLayoutItem
(
this
.
layoutItems
[
key
],
i
);
}
}
}
}
}
else
{
for
(
let
i
=
0
;
i
<
layoutModelDetail
.
details
.
length
;
i
++
)
{
const
key
=
layoutModelDetail
.
details
[
i
];
if
(
this
.
layoutItems
[
key
])
{
await
this
.
initLayoutItem
(
this
.
layoutItems
[
key
],
index
);
}
}
}
}
}
/**
* 处理值改变
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public
handleValueChange
(
args
:
{
name
:
string
,
value
:
any
})
{
if
(
!
args
||
!
args
.
name
||
Object
.
is
(
args
.
name
,
''
)
||
!
this
.
layoutData
.
hasOwnProperty
(
args
.
name
))
{
return
;
}
const
{
name
,
value
}
=
args
;
this
.
layoutData
[
name
]
=
value
;
this
.
layoutModelDetails
[
name
].
setData
(
value
);
this
.
panelLogic
(
name
);
}
/**
* 面板逻辑
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public
panelLogic
(
name
:
string
):
void
{
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public
getButtonXData
(
name
:
string
):
any
{
let
xData
=
null
;
let
curLayoutModel
=
null
;
Object
.
values
(
this
.
layoutModelDetails
).
forEach
((
layoutModel
:
any
)
=>
{
if
(
layoutModel
.
name
==
name
)
{
curLayoutModel
=
layoutModel
;
}
})
// 获取数据容器
if
(
curLayoutModel
)
{
const
getDataArea
=
(
cLayoutModel
:
any
):
any
=>
{
let
dataArea
=
null
;
let
parentLayoutModel
=
null
;
Object
.
values
(
this
.
layoutModelDetails
).
forEach
((
pLayoutModel
:
any
)
=>
{
if
(
pLayoutModel
.
name
==
cLayoutModel
.
parentName
)
{
parentLayoutModel
=
pLayoutModel
;
if
(
parentLayoutModel
.
dataRegionType
==
'SINGLEDATA'
||
parentLayoutModel
.
dataRegionType
==
'MULTIDATA'
)
{
dataArea
=
parentLayoutModel
;
}
}
})
if
(
!
dataArea
&&
parentLayoutModel
)
{
dataArea
=
getDataArea
(
parentLayoutModel
);
}
return
dataArea
;
}
xData
=
getDataArea
(
curLayoutModel
);
}
// 获取当前视图
if
(
!
xData
)
{
xData
=
this
;
}
return
xData
;
}
/**
* 处理按钮点击
*
* @public
* @memberof IBIZCustomerUsr2PickupView_layoutBase
*/
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
const
datas
:
any
[]
=
[
this
.
layoutData
];
const
xData
:
any
=
this
.
getButtonXData
(
name
);
const
paramJO
:
any
=
{};
const
contextJO
:
any
=
{};
const
_this
:
any
=
this
;
if
(
Object
.
is
(
name
,
'button_calluilogic1'
))
{
_this
.
panel_Layoutpanel_button_calluilogic1_click
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
if
(
Object
.
is
(
name
,
'button_calluilogic2'
))
{
_this
.
panel_Layoutpanel_button_calluilogic2_click
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
}
/**
* 确认
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
*/
public
panel_Layoutpanel_button_calluilogic1_click
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
appEntityService
:
any
=
new
IBIZCustomerService
();
const
key
=
appEntityService
.
APPDEKEY
.
toLowerCase
();
const
name
=
appEntityService
.
APPDENAME
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
)
||
data
.
hasOwnProperty
(
name
))
{
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
context
,
{
[
name
]:
data
[
key
]
});
}
else
{
Object
.
assign
(
context
,
{
[
name
]:
data
[
name
]
});
}
action
=
'Update'
;
}
else
{
action
=
'Create'
;
}
try
{
if
(
action
)
{
appEntityService
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
})
}
else
{
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
catch
(
error
:
any
)
{
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
/**
* 取消
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
*/
public
panel_Layoutpanel_button_calluilogic2_click
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
actionContext
.
viewType
===
'APPLOGINVIEW'
)
{
const
length
=
Object
.
keys
(
actionContext
.
layoutData
).
length
;
for
(
let
i
=
length
-
1
;
i
>=
0
;
i
--
)
{
const
name
=
Object
.
keys
(
actionContext
.
layoutData
)[
i
];
if
(
actionContext
.
layoutData
.
hasOwnProperty
(
name
)
&&
!
Object
.
is
(
actionContext
.
layoutModelDetails
[
name
].
itemType
,
'CONTAINER'
))
{
actionContext
.
handleValueChange
({
name
,
value
:
null
});
}
}
actionContext
.
$nextTick
(()
=>
{
actionContext
.
$forceUpdate
();
})
}
else
{
const
parentRef
=
actionContext
.
$parent
;
if
(
parentRef
.
closeView
&&
(
parentRef
.
closeView
instanceof
Function
))
{
parentRef
.
closeView
(
args
);
}
else
if
(
actionContext
.
closeView
&&
(
actionContext
.
closeView
instanceof
Function
))
{
actionContext
.
closeView
(
args
);
}
}
}
/**
...
...
@@ -911,16 +620,13 @@ export default class IBIZCustomerUsr2PickupView_layoutBase extends Vue {
*/
public
afterMounted
(){
const
_this
:
any
=
this
;
_this
.
initLayout
().
then
((
result
:
any
)
=>
{
_this
.
isLayoutLoadding
=
false
;
_this
.
engineInit
();
_this
.
engineInit
();
if
(
_this
.
loadModel
&&
_this
.
loadModel
instanceof
Function
)
{
_this
.
loadModel
();
}
if
(
this
.
viewparams
.
selectedData
){
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'selectionchange'
,
this
.
viewparams
.
selectedData
);
}
})
}
...
...
app_Web/src/pages/sample/ibizcustomer-usr2-pickup-view-layout/ibizcustomer-usr2-pickup-view-layout.less
浏览文件 @
22d0cbe7
.ibizcustomer-usr2-pickup-view-layout {
display: block;
.ibizcustomer-usr2-pickup-view-layout{
position: relative;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
app_Web/src/widgets/ibizappeditor/default-searchform/default-searchform-base.vue
浏览文件 @
22d0cbe7
...
...
@@ -598,7 +598,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -634,7 +634,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
22d0cbe7
...
...
@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
浏览文件 @
22d0cbe7
...
...
@@ -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'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
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'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
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'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
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'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
浏览文件 @
22d0cbe7
...
...
@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrder
Pickup
GridViewBase
* @memberof IBIZOrder
SF1
GridViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -421,6 +421,20 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
opendata
:
any
;
/**
* 是否嵌入关系界面
...
...
@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
pageReset
){
...
...
@@ -1048,7 +1062,7 @@ export default class MainBase 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
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1154,7 +1168,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2071,7 +2085,7 @@ export default class MainBase 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
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.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
);
...
...
@@ -2079,7 +2093,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
newRow
(
args
:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
let
_this
=
this
;
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
浏览文件 @
22d0cbe7
...
...
@@ -104,6 +104,21 @@ export default class MainModel {
prop
:
'n_ibizordername_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_orderstate_eq'
,
prop
:
'n_orderstate_eq'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_gt'
,
prop
:
'n_ordertime_gt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_lt'
,
prop
:
'n_ordertime_lt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
浏览文件 @
22d0cbe7
...
...
@@ -11,11 +11,11 @@
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"
作者
"
,
"codeName"
:
"
author
"
,
"caption"
:
"
图书名称
"
,
"codeName"
:
"
ibizbookname
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
author
"
,
"name"
:
"
author
"
,
"dataItemName"
:
"
ibizbookname
"
,
"name"
:
"
ibizbookname
"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
...
...
@@ -30,16 +30,6 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"name"
:
"ibizbookname"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"出版社"
,
"codeName"
:
"press"
,
...
...
@@ -60,6 +50,16 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"name"
:
"author"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
浏览文件 @
22d0cbe7
...
...
@@ -19,21 +19,21 @@
}
}
],
"getPSDETreeColumns"
:
[
{
"caption"
:
"图书
名称
"
,
"codeName"
:
"
ibizbookname
"
,
"caption"
:
"图书
描述
"
,
"codeName"
:
"
subtext
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
ibizbookname
"
,
"name"
:
"
ibizbookname
"
,
"dataItemName"
:
"
subtext
"
,
"name"
:
"
subtext
"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书
描述
"
,
"codeName"
:
"
subtext
"
,
"caption"
:
"图书
名称
"
,
"codeName"
:
"
ibizbookname
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
subtext
"
,
"name"
:
"
subtext
"
,
"dataItemName"
:
"
ibizbookname
"
,
"name"
:
"
ibizbookname
"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json
浏览文件 @
22d0cbe7
...
...
@@ -828,35 +828,6 @@
"requestPath"
:
"/select"
,
"builtinMethod"
:
false
}
],
"getAllPSAppDEUIActions"
:
[
{
"caption"
:
"确认"
,
"codeName"
:
"panel_Layoutpanel_button_calluilogic1_click"
,
"fullCodeName"
:
"panel_Layoutpanel_button_calluilogic1_click"
,
"name"
:
"确认"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType"
:
"DATA_SAVECHANGES"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"panel_Layoutpanel_button_calluilogic1_click"
,
"uIActionType"
:
"DEUIACTION"
},
{
"caption"
:
"取消"
,
"codeName"
:
"panel_Layoutpanel_button_calluilogic2_click"
,
"fullCodeName"
:
"panel_Layoutpanel_button_calluilogic2_click"
,
"name"
:
"取消"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType"
:
"DATA_CANCELCHANGES"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"panel_Layoutpanel_button_calluilogic2_click"
,
"uIActionType"
:
"DEUIACTION"
}
],
"getAllPSDEOPPrivs"
:
[
{
"logicName"
:
"建立"
,
"name"
:
"CREATE"
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
浏览文件 @
22d0cbe7
...
...
@@ -34,11 +34,11 @@
"id"
:
"GANTT"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"
作者
"
,
"codeName"
:
"
author
"
,
"caption"
:
"
图书名称
"
,
"codeName"
:
"
ibizbookname
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
author
"
,
"name"
:
"
author
"
,
"dataItemName"
:
"
ibizbookname
"
,
"name"
:
"
ibizbookname
"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
...
...
@@ -53,16 +53,6 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"name"
:
"ibizbookname"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"出版社"
,
"codeName"
:
"press"
,
...
...
@@ -83,6 +73,16 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"name"
:
"author"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
浏览文件 @
22d0cbe7
...
...
@@ -75,21 +75,21 @@
"id"
:
"TREEGRIDEX"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"图书
名称
"
,
"codeName"
:
"
ibizbookname
"
,
"caption"
:
"图书
描述
"
,
"codeName"
:
"
subtext
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
ibizbookname
"
,
"name"
:
"
ibizbookname
"
,
"dataItemName"
:
"
subtext
"
,
"name"
:
"
subtext
"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书
描述
"
,
"codeName"
:
"
subtext
"
,
"caption"
:
"图书
名称
"
,
"codeName"
:
"
ibizbookname
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
subtext
"
,
"name"
:
"
subtext
"
,
"dataItemName"
:
"
ibizbookname
"
,
"name"
:
"
ibizbookname
"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2EditView.json
浏览文件 @
22d0cbe7
...
...
@@ -46,118 +46,133 @@
"layout"
:
"FLEX"
},
"getRootPSPanelItems"
:
[
{
"caption"
:
"容器"
,
"caption"
:
"
滚动条
容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"
page_container
"
,
"name"
:
"
container_scroll1
"
,
"getPSLayout"
:
{
"dir"
:
"column"
,
"layout"
:
"FLEX"
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"栅格容器"
,
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_main1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"getPSPanelItems"
:
[
{
"caption"
:
"FORM"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"form"
,
"getPSLayoutPos"
:
{
"heightMode"
:
"FULL"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
,
"widthMode"
:
"FULL"
},
"showCaption"
:
true
}
],
"showCaption"
:
true
},
{
"caption"
:
"面板容器"
,
"contentHeight"
:
50.0
,
"height"
:
50.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_
grid
1"
,
"name"
:
"container_
scroll_header
1"
,
"getPSLayout"
:
{
"layout"
:
"
SIMPLEFLEX
"
"layout"
:
"
BORDER
"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
"height"
:
50
,
"heightMode"
:
"PX"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"NORTH"
},
"getPSPanelItems"
:
[
{
"caption"
:
"
面板
容器"
,
"caption"
:
"
栅格
容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container
1
"
,
"name"
:
"container
_grid2
"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"
grow"
:
6
,
"layout
"
:
"SIMPLEFLEX
"
"
layout"
:
"BORDER"
,
"layout
Pos"
:
"CENTER
"
},
"getPSPanelItems"
:
[
{
"caption"
:
"
页面标题
"
,
"caption"
:
"
面板容器
"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"view_pagecaption"
,
"getPSEditor"
:
{
"editorType"
:
"SPAN"
,
"name"
:
"view_pagecaption"
,
"predefinedType"
:
"VIEW_PAGECAPTION"
,
"renderMode"
:
"HEADING1"
,
"enableLinkView"
:
false
"itemType"
:
"CONTAINER"
,
"name"
:
"container2"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"LEFT"
,
"heightMode"
:
"FULL"
,
"layout"
:
"SIMPLEFLEX"
,
"widthMode"
:
"FULL"
"grow"
:
3
,
"layout"
:
"SIMPLEFLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_2"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"TOOLBAR"
,
"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
,
"hAlignSelf"
:
"LEFT"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"toolbar"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container4"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"RIGHT"
,
"heightMode"
:
"FULL"
,
"grow"
:
9
,
"layout"
:
"SIMPLEFLEX"
},
"showCaption"
:
true
"getPSPanelItems"
:
[
{
"caption"
:
"TOOLBAR"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"toolbar"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"RIGHT"
,
"heightMode"
:
"FULL"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
"showCaption"
:
true
}
]
}
]
}
]
},
{
"caption"
:
"容器"
,
"contentHeight"
:
100.0
,
"height"
:
100.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container3"
,
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"height"
:
100
,
"heightMode"
:
"PERCENTAGE"
,
"layout"
:
"FLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"FORM"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"form"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"heightMode"
:
"FULL"
,
"layout"
:
"FLEX"
},
"showCaption"
:
true
}
]
}
],
"showCaption"
:
true
}
]
}
],
"layoutBodyOnly"
:
false
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2EditView_layout.json
浏览文件 @
22d0cbe7
...
...
@@ -46,118 +46,133 @@
"layout"
:
"FLEX"
},
"getRootPSPanelItems"
:
[
{
"caption"
:
"容器"
,
"caption"
:
"
滚动条
容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"
page_container
"
,
"name"
:
"
container_scroll1
"
,
"getPSLayout"
:
{
"dir"
:
"column"
,
"layout"
:
"FLEX"
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"栅格容器"
,
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_main1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"getPSPanelItems"
:
[
{
"caption"
:
"FORM"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"form"
,
"getPSLayoutPos"
:
{
"heightMode"
:
"FULL"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
,
"widthMode"
:
"FULL"
},
"showCaption"
:
true
}
],
"showCaption"
:
true
},
{
"caption"
:
"面板容器"
,
"contentHeight"
:
50.0
,
"height"
:
50.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_
grid
1"
,
"name"
:
"container_
scroll_header
1"
,
"getPSLayout"
:
{
"layout"
:
"
SIMPLEFLEX
"
"layout"
:
"
BORDER
"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
"height"
:
50
,
"heightMode"
:
"PX"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"NORTH"
},
"getPSPanelItems"
:
[
{
"caption"
:
"
面板
容器"
,
"caption"
:
"
栅格
容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container
1
"
,
"name"
:
"container
_grid2
"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"
grow"
:
6
,
"layout
"
:
"SIMPLEFLEX
"
"
layout"
:
"BORDER"
,
"layout
Pos"
:
"CENTER
"
},
"getPSPanelItems"
:
[
{
"caption"
:
"
页面标题
"
,
"caption"
:
"
面板容器
"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"view_pagecaption"
,
"getPSEditor"
:
{
"editorType"
:
"SPAN"
,
"name"
:
"view_pagecaption"
,
"predefinedType"
:
"VIEW_PAGECAPTION"
,
"renderMode"
:
"HEADING1"
,
"enableLinkView"
:
false
"itemType"
:
"CONTAINER"
,
"name"
:
"container2"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"LEFT"
,
"heightMode"
:
"FULL"
,
"layout"
:
"SIMPLEFLEX"
,
"widthMode"
:
"FULL"
"grow"
:
3
,
"layout"
:
"SIMPLEFLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_2"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"TOOLBAR"
,
"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
,
"hAlignSelf"
:
"LEFT"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"toolbar"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container4"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"RIGHT"
,
"heightMode"
:
"FULL"
,
"grow"
:
9
,
"layout"
:
"SIMPLEFLEX"
},
"showCaption"
:
true
"getPSPanelItems"
:
[
{
"caption"
:
"TOOLBAR"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"toolbar"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"RIGHT"
,
"heightMode"
:
"FULL"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
"showCaption"
:
true
}
]
}
]
}
]
},
{
"caption"
:
"容器"
,
"contentHeight"
:
100.0
,
"height"
:
100.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container3"
,
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"height"
:
100
,
"heightMode"
:
"PERCENTAGE"
,
"layout"
:
"FLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"FORM"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"form"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"heightMode"
:
"FULL"
,
"layout"
:
"FLEX"
},
"showCaption"
:
true
}
]
}
],
"showCaption"
:
true
}
]
}
],
"layoutBodyOnly"
:
false
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr2PickupView_layout.json
浏览文件 @
22d0cbe7
...
...
@@ -53,225 +53,17 @@
"getPSDEViewId"
:
"77A182D2-AD26-4B9C-A10C-D30A863D3131"
,
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Layoutpanel"
,
"controlStyle"
:
"APPDEPICKUPVIEW"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"layoutMode"
:
"TABLE_24COL"
,
"logicName"
:
"选择视图面板"
,
"name"
:
"layoutpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"layoutpanel_button_calluilogic1_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"layoutpanel_button_calluilogic1"
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"layoutpanel_button_calluilogic2_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"layoutpanel_button_calluilogic2"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"layoutpanel_button_calluilogic1"
,
"getPSUIAction"
:
{
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"modelref"
:
true
,
"id"
:
"panel_Layoutpanel_button_calluilogic1_click"
},
"xDataControlName"
:
"layoutpanel"
},
{
"name"
:
"layoutpanel_button_calluilogic2"
,
"getPSUIAction"
:
{
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"modelref"
:
true
,
"id"
:
"panel_Layoutpanel_button_calluilogic2_click"
},
"xDataControlName"
:
"layoutpanel"
}
],
"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"
:
"PICKUPVIEWPANEL部件"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"pickupviewpanel"
,
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"showCaption"
:
true
}
],
"showCaption"
:
true
},
{
"caption"
:
"面板容器"
,
"contentHeight"
:
64.0
,
"height"
:
64.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_bottom1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"height"
:
64
,
"heightMode"
:
"PX"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"SOUTH"
},
"getPSPanelItems"
:
[
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container1"
,
"getPSLayout"
:
{
"align"
:
"flex-end"
,
"dir"
:
"row"
,
"layout"
:
"FLEX"
,
"vAlign"
:
"center"
},
"getPSLayoutPos"
:
{
"heightMode"
:
"FULL"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
,
"spacingBottom"
:
"INNERMEDIUM"
,
"spacingTop"
:
"INNERMEDIUM"
,
"widthMode"
:
"FULL"
},
"getPSPanelItems"
:
[
{
"actionType"
:
"UIACTION"
,
"buttonHeight"
:
32.0
,
"buttonStyle"
:
"PRIMARY"
,
"buttonWidth"
:
60.0
,
"caption"
:
"确认"
,
"contentHeight"
:
32.0
,
"contentWidth"
:
60.0
,
"height"
:
32.0
,
"itemStyle"
:
"PRIMARY"
,
"itemType"
:
"BUTTON"
,
"name"
:
"button_calluilogic1"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"layoutpanel_button_calluilogic1"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"height"
:
32
,
"heightMode"
:
"PX"
,
"layout"
:
"FLEX"
,
"spacingRight"
:
"OUTERSMALL"
,
"width"
:
60
,
"widthMode"
:
"PX"
},
"getPSUIAction"
:
{
"caption"
:
"确认"
,
"codeName"
:
"panel_Layoutpanel_button_calluilogic1_click"
,
"fullCodeName"
:
"panel_Layoutpanel_button_calluilogic1_click"
,
"name"
:
"确认"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType"
:
"DATA_SAVECHANGES"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"panel_Layoutpanel_button_calluilogic1_click"
,
"uIActionType"
:
"DEUIACTION"
},
"tooltip"
:
"确认"
,
"width"
:
60.0
,
"showCaption"
:
true
},
{
"actionType"
:
"UIACTION"
,
"buttonHeight"
:
32.0
,
"buttonStyle"
:
"DEFAULT"
,
"buttonWidth"
:
60.0
,
"caption"
:
"取消"
,
"contentHeight"
:
32.0
,
"contentWidth"
:
60.0
,
"height"
:
32.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"BUTTON"
,
"name"
:
"button_calluilogic2"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"layoutpanel_button_calluilogic2"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"height"
:
32
,
"heightMode"
:
"PX"
,
"layout"
:
"FLEX"
,
"width"
:
60
,
"widthMode"
:
"PX"
},
"getPSUIAction"
:
{
"caption"
:
"取消"
,
"codeName"
:
"panel_Layoutpanel_button_calluilogic2_click"
,
"fullCodeName"
:
"panel_Layoutpanel_button_calluilogic2_click"
,
"name"
:
"取消"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType"
:
"DATA_CANCELCHANGES"
,
"timeout"
:
60000
,
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"panel_Layoutpanel_button_calluilogic2_click"
,
"uIActionType"
:
"DEUIACTION"
},
"tooltip"
:
"取消"
,
"width"
:
60.0
,
"showCaption"
:
true
}
]
}
],
"showCaption"
:
true
}
]
}
],
"layoutBodyOnly"
:
true
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
false
,
"modelid"
:
"C8C35576-88F9-41A0-A10A-60DAD8AF6CBB"
,
"modeltype"
:
"PSSYSVIEWLAYOUTPANEL"
"useDefaultLayout"
:
true
},
"title"
:
"客户实体数据选择视图(树视图)"
,
"viewStyle"
:
"DEFAULT"
,
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
22d0cbe7
...
...
@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-48
5
-7"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-48
9
-7"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
@@ -278,7 +278,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizcustomer-1
46
-10"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizcustomer-1
50
-10"
>
<createTable
tableName=
"T_IBIZCUSTOMER"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
22d0cbe7
...
...
@@ -19,7 +19,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizcustomer-1
46
-4"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizcustomer-1
50
-4"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZCUSTOMER"
>
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录