Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
4d88d53d
提交
4d88d53d
编写于
2年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
d1cc4f1d
变更
7
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
6023 行增加
和
6641 行删除
+6023
-6641
index-base.vue
app_Web/src/pages/sample/index/index-base.vue
+47
-264
index.less
app_Web/src/pages/sample/index/index.less
+141
-1
usr2-dataview-base.vue
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
+56
-26
usr2-dataview-model.ts
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
+1
-12
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+6
-6
index.json
...atic/remotemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json
+2877
-3157
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+2895
-3175
未找到文件。
app_Web/src/pages/sample/index/index-base.vue
浏览文件 @
4d88d53d
<
template
>
<
template
>
<div
class=
"app-view-layout app-view-layout__appindexview index"
v-loading=
"isLayoutLoadding"
:style=
"
{height: '100%', width: '100%','display': 'flex', 'flex-direction': 'column'}">
<div
class=
"index_view index"
>
<div
v-show=
"!isLayoutLoadding"
:style=
"
{height: '100%', width: '100%'}">
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"index"
></app-studioaction>
<app-scroll-container
name=
"container_scroll1"
:layoutModelDetails=
"layoutModelDetails"
>
<layout
:class=
"themeClasses"
:style=
"themeStyle"
>
<template
#
container_scroll_main1
>
<layout
id=
"movebox"
>
<app-scroll-container
name=
"container_scroll_main1"
:layoutModelDetails=
"layoutModelDetails"
>
<sider
class=
"index_sider"
:width=
"collapseChange ? 64 : 200"
hide-trigger
v-model=
"collapseChange"
id=
"left_move"
>
<template
#
container_scroll2
>
<div
class=
"sider-top"
>
<app-scroll-container
name=
"container_scroll2"
:layoutModelDetails=
"layoutModelDetails"
>
<div
class=
"page-logo"
>
<template
#
container_scroll_main2
>
<img
v-show=
"collapseChange"
v-if=
"isEnableAppSwitch"
src=
"../../../assets/img/logo2.png"
height=
"16"
@
click=
"contextMenuDragVisiable=!contextMenuDragVisiable"
/>
<app-scroll-container
name=
"container_scroll_main2"
:layoutModelDetails=
"layoutModelDetails"
>
<span
v-show=
"!collapseChange"
style=
"overflow-x: hidden;text-overflow: ellipsis;white-space: nowrap;display: block;text-align: center;font-weight: 300;font-size: 20px;"
>
{{
$t
(
model
.
srfCaption
)
}}
</span>
<template
#
nav_pos1
>
</div>
<app-nav-pos
name=
"nav_pos1"
:layoutModelDetails=
"layoutModelDetails"
:navData=
"layoutModelDetails['nav_pos1'].navData"
/>
</div>
</
template
>
</app-scroll-container>
</template>
<
template
#
container_scroll_header2
>
<app-scroll-container
name=
"container_scroll_header2"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
nav_tabs2
>
<app-index-nav-tabs
name=
"nav_tabs2"
:layoutModelDetails=
"layoutModelDetails"
/>
</
template
>
</app-scroll-container>
</template>
</app-scroll-container>
</template>
</app-scroll-container>
</template>
<
template
#
container_scroll_left1
>
<app-scroll-container
name=
"container_scroll_left1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
appmenu
>
<app-ctrl-pos
name=
"appmenu"
:layoutModelDetails=
"layoutModelDetails"
>
<view
_appmenu
<view
_appmenu
:viewState=
"viewState"
:viewState=
"viewState"
:viewparams=
"viewparams"
:viewparams=
"viewparams"
...
@@ -46,42 +28,40 @@
...
@@ -46,42 +28,40 @@
ref=
'appmenu'
ref=
'appmenu'
@
closeview=
"closeView($event)"
>
@
closeview=
"closeView($event)"
>
</view
_appmenu
>
</view
_appmenu
>
</app-ctrl-pos>
<context-menu-drag
v-if=
"isEnableAppSwitch"
:contextMenuDragVisiable=
"contextMenuDragVisiable"
></context-menu-drag>
</
template
>
</sider>
</app-scroll-container>
<div
v-show=
"!collapseChange"
id=
"move_axis"
></div>
</template>
<layout
id=
"right_move"
>
<
template
#
container_scroll_header1
>
<header
class=
"index_header"
>
<app-scroll-container
name=
"container_scroll_header1"
:layoutModelDetails=
"layoutModelDetails"
>
<div
class=
"header-left"
>
<template
#
container_grid1
>
<div
class=
"page-logo"
>
<app-simpleflex-container
name=
"container_grid1"
:layoutModelDetails=
"layoutModelDetails"
>
<i
v-show=
"!collapseChange"
class=
"ivu-icon el-icon-s-fold"
@
click=
"handleClick"
></i>
<template
#
container1
>
<i
v-show=
"collapseChange"
class=
"ivu-icon el-icon-s-unfold"
@
click=
"handleClick"
></i>
<app-simpleflex-container
name=
"container1"
:layoutModelDetails=
"layoutModelDetails"
>
<app-breadcrumb
:navModel=
"navModel"
indexViewTag=
"index"
></app-breadcrumb>
<template
#
app_apptitle
>
<app-preset-title
name=
"app_apptitle"
:layoutModelDetails=
"layoutModelDetails"
/>
</
template
>
</app-simpleflex-container>
</template>
<
template
#
container2
>
<app-simpleflex-container
name=
"container2"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
nav_breadcrumb1
>
<app-index-nav-breadcrumb
name=
"nav_breadcrumb1"
:layoutModelDetails=
"layoutModelDetails"
indexViewTag=
"index"
/>
</
template
>
</app-simpleflex-container>
</template>
<
template
#
container3
>
<app-simpleflex-container
name=
"container3"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
auth_userinfo1
>
<app-index-user-info
name=
"auth_userinfo1"
:layoutModelDetails=
"layoutModelDetails"
/>
</
template
>
</app-simpleflex-container>
</template>
</app-simpleflex-container>
</template>
</app-scroll-container>
</template>
</app-scroll-container>
</div>
</div>
</div>
</div>
<div
class=
"header-right"
style=
"display: flex;align-items: center;justify-content: space-between;"
>
<app-header-menus
/>
<app-lang
style=
'font-size: 15px;padding: 0 10px;'
></app-lang>
<app-orgsector></app-orgsector>
<app-user></app-user>
<app-message-popover></app-message-popover>
<app-lock-scren
/>
<app-full-scren
/>
<app-theme
style=
"width:45px;display: flex;justify-content: center;"
></app-theme>
</div>
</header>
<content
:class=
"
{'index_content':true,'index_tab_content':Object.is(navModel,'tab')?true:false,'index_route_content':Object.is(navModel,'route')?true:false}" @click="contextMenuDragVisiable=false">
<tab-page-exp
v-if=
"Object.is(navModel,'tab')"
></tab-page-exp>
<app-keep-alive
:routerList=
"getRouterList"
>
<router-view
:key=
"getRouterViewKey"
></router-view>
</app-keep-alive>
</content>
</layout>
</layout>
</layout>
</div>
</
template
>
</
template
>
// 基于 @VIEW/应用首页视图/VIEW-BASE.vue.ftl 生成
// 基于 @VIEW/应用首页视图/VIEW-BASE.vue.ftl 生成
...
@@ -94,7 +74,6 @@ import NavDataService from '@/service/app/navdata-service';
...
@@ -94,7 +74,6 @@ import NavDataService from '@/service/app/navdata-service';
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
PanelContainerModel
,
PanelRawitemModel
,
PanelFieldModel
,
PanelControlModel
,
PanelButtonModel
,
PanelUserControlModel
,
PanelTabPanelModel
,
PanelTabPageModel
,
PanelCtrlPosModel
}
from
'@/model/panel-detail'
;
import
{
appConfig
}
from
'@/config/appConfig'
;
import
{
appConfig
}
from
'@/config/appConfig'
;
...
@@ -274,199 +253,6 @@ export default class IndexBase extends Vue {
...
@@ -274,199 +253,6 @@ export default class IndexBase extends Vue {
*/
*/
public
viewState
:
Subject
<
ViewState
>
=
new
Subject
();
public
viewState
:
Subject
<
ViewState
>
=
new
Subject
();
/**
* 视图布局顶级成员名称
*
* @public
* @memberof IndexBase
*/
public
rootLayoutDetailNames
:
string
[]
=
[
'container_scroll1'
];
/**
* 视图布局面板项模型对象
*
* @public
* @memberof IndexBase
*/
public
layoutItems
:
any
=
{
nav_pos1
:{
name
:
'nav_pos1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'导航区占位'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'RAWITEM'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
'CENTER'
,
layoutHeight
:
0
,
heightMode
:
'FULL'
,
layoutWidth
:
0
,
widthMode
:
'FULL'
,
spacingBottom
:
'INNERMEDIUM'
,
spacingLeft
:
'INNERMEDIUM'
,
spacingRight
:
'INNERMEDIUM'
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll_main2'
,
panel
:
this
,
viewType
:
'APPINDEXVIEW'
,
predefinedType
:
'NAV_POS'
,
contentType
:
''
,
contentStyle
:
''
,
rawContent
:
''
,
htmlContent
:
''
,
},
container_scroll_main2
:{
name
:
'container_scroll_main2'
,
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_scroll2'
,
panel
:
this
,
details
:[
'nav_pos1'
]
,
dataRegionType
:
'INHERIT'
},
nav_tabs2
:{
name
:
'nav_tabs2'
,
type
:
'VIEWLAYOUT'
,
caption
:
'标签页导航栏'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'RAWITEM'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
'CENTER'
,
layoutHeight
:
0
,
heightMode
:
'FULL'
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
'INNERSMALL'
,
spacingLeft
:
'INNERMEDIUM'
,
spacingRight
:
''
,
spacingTop
:
'INNERSMALL'
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll_header2'
,
panel
:
this
,
viewType
:
'APPINDEXVIEW'
,
predefinedType
:
'NAV_TABS'
,
contentType
:
''
,
contentStyle
:
''
,
rawContent
:
''
,
htmlContent
:
''
,
},
container_scroll_header2
:{
name
:
'container_scroll_header2'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
'NORTH'
,
layoutHeight
:
56
,
heightMode
:
'PX'
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'LEFT'
,
vAlignSelf
:
'MIDDLE'
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll2'
,
panel
:
this
,
details
:[
'nav_tabs2'
]
,
dataRegionType
:
'INHERIT'
},
container_scroll2
:{
name
:
'container_scroll2'
,
type
:
'VIEWLAYOUT'
,
caption
:
'滚动条容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
'CENTER'
,
layoutHeight
:
100
,
heightMode
:
'FULL'
,
layoutWidth
:
0
,
widthMode
:
'FULL'
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll_main1'
,
panel
:
this
,
details
:[
'container_scroll_main2'
,
'container_scroll_header2'
]
,
dataRegionType
:
'INHERIT'
},
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
:[
'container_scroll2'
]
,
dataRegionType
:
'INHERIT'
},
appmenu
:{
name
:
'appmenu'
,
type
:
'VIEWLAYOUT'
,
caption
:
'首页菜单'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CTRLPOS'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
'CENTER'
,
layoutHeight
:
100
,
heightMode
:
'FULL'
,
layoutWidth
:
0
,
widthMode
:
'FULL'
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll_left1'
,
panel
:
this
},
container_scroll_left1
:{
name
:
'container_scroll_left1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
'WEST'
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
15
,
widthMode
:
'PERCENTAGE'
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll1'
,
panel
:
this
,
details
:[
'appmenu'
]
,
dataRegionType
:
'INHERIT'
},
app_apptitle
:{
name
:
'app_apptitle'
,
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
:
'CENTER'
,
vAlignSelf
:
'MIDDLE'
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container1'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'APP_APPTITLE'
,
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
:[
'app_apptitle'
]
,
dataRegionType
:
'INHERIT'
},
nav_breadcrumb1
:{
name
:
'nav_breadcrumb1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面包屑导航'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'RAWITEM'
,
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
,
viewType
:
'APPINDEXVIEW'
,
predefinedType
:
'NAV_BREADCRUMB'
,
contentType
:
''
,
contentStyle
:
''
,
rawContent
:
''
,
htmlContent
:
''
,
},
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
:
7
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid1'
,
panel
:
this
,
details
:[
'nav_breadcrumb1'
]
,
dataRegionType
:
'INHERIT'
},
auth_userinfo1
:{
name
:
'auth_userinfo1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'用户信息'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'RAWITEM'
,
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
,
viewType
:
'APPINDEXVIEW'
,
predefinedType
:
'AUTH_USERINFO'
,
contentType
:
''
,
contentStyle
:
''
,
rawContent
:
''
,
htmlContent
:
''
,
},
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
:
4
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_grid1'
,
panel
:
this
,
details
:[
'auth_userinfo1'
]
,
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'
,
'container2'
,
'container3'
]
,
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
:
65
,
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
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[
'container_scroll_main1'
,
'container_scroll_left1'
,
'container_scroll_header1'
]
,
dataRegionType
:
'INHERIT'
}
}
/**
* 布局面板是否加载
*
* @public
* @memberof IndexBase
*/
public
isLayoutLoadding
:
boolean
=
true
;
/**
* 布局面板数据
*
* @public
* @memberof IndexBase
*/
public
layoutData
:
any
=
{};
/**
* 布局面板模型对象
*
* @public
* @memberof IndexBase
*/
public
layoutModelDetails
:
any
=
{};
/**
* 初始化布局
*
* @public
* @memberof IndexBase
*/
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 IndexBase
*/
public
async
initLayoutItem
(
layoutModelItem
:
any
,
index
?:
number
)
{
const
{
name
}
=
layoutModelItem
;
const
layoutModelDetail
=
Util
.
getLayoutItemInstance
(
layoutModelItem
);
if
(
!
(
index
||
index
===
0
))
{
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 IndexBase
*/
public
computeButtonAuthState
()
{
Object
.
values
(
this
.
layoutModelDetails
).
forEach
((
layoutModel
:
any
)
=>
{
if
(
layoutModel
.
itemType
==
'BUTTON'
)
{
layoutModel
.
computeActionAuthState
();
}
})
}
/**
* 处理值改变
*
* @public
* @params args 改变数据
* @params index 多数据容器下标
* @memberof IndexBase
*/
public
handleValueChange
(
args
:
{
name
:
string
,
value
:
any
},
index
?:
number
)
{
const
{
name
,
value
}
=
args
;
let
fullName
=
(
index
||
index
===
0
)
?
`
${
name
}
_
${
index
}
`
:
name
;
if
(
!
fullName
||
!
this
.
layoutData
.
hasOwnProperty
(
fullName
))
{
return
;
}
this
.
layoutData
[
fullName
]
=
value
;
this
.
layoutModelDetails
[
fullName
].
setData
(
value
);
this
.
panelLogic
(
name
,
index
);
this
.
computeButtonAuthState
();
}
/**
* 面板逻辑
*
* @public
* @params name 改变项名称
* @params index 多数据容器下标
* @memberof IndexBase
*/
public
panelLogic
(
name
:
string
,
index
?:
number
):
void
{
}
/**
* 处理按钮点击
*
* @public
* @params name 按钮项名称
* @params index 多数据容器下标
* @memberof IndexBase
*/
public
handleButtonClick
(
name
:
string
,
index
?:
number
)
{
let
datas
:
any
[]
=
[];
let
fullName
=
(
index
||
index
===
0
)
?
`
${
name
}
_
${
index
}
`
:
name
;
const
data
:
any
=
this
.
layoutModelDetails
[
fullName
].
getData
();
if
(
data
)
{
if
(
data
instanceof
Array
)
{
datas
=
[...
data
];
}
else
{
datas
=
[
data
];
}
}
const
xData
:
any
=
this
.
layoutModelDetails
[
fullName
].
getDataArea
();
const
paramJO
:
any
=
{};
const
contextJO
:
any
=
{};
const
_this
:
any
=
this
;
}
...
@@ -818,8 +604,6 @@ export default class IndexBase extends Vue {
...
@@ -818,8 +604,6 @@ export default class IndexBase extends Vue {
*/
*/
public
afterMounted
(){
public
afterMounted
(){
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
_this
.
initLayout
().
then
((
result
:
any
)
=>
{
_this
.
isLayoutLoadding
=
false
;
_this
.
engineInit
();
_this
.
engineInit
();
if
(
_this
.
loadModel
&&
_this
.
loadModel
instanceof
Function
)
{
if
(
_this
.
loadModel
&&
_this
.
loadModel
instanceof
Function
)
{
_this
.
loadModel
();
_this
.
loadModel
();
...
@@ -828,7 +612,6 @@ export default class IndexBase extends Vue {
...
@@ -828,7 +612,6 @@ export default class IndexBase extends Vue {
this
.
$viewTool
.
setIndexParameters
([{
pathName
:
'index'
,
parameterName
:
'index'
}]);
this
.
$viewTool
.
setIndexParameters
([{
pathName
:
'index'
,
parameterName
:
'index'
}]);
this
.
$viewTool
.
setIndexViewParam
(
this
.
context
);
this
.
$viewTool
.
setIndexViewParam
(
this
.
context
);
this
.
mouse_move
();
this
.
mouse_move
();
})
}
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/pages/sample/index/index.less
浏览文件 @
4d88d53d
// 基于 @VIEW/应用首页视图/VIEW.less.ftl 生成
// 基于 @VIEW/应用首页视图/VIEW.less.ftl 生成
.index{
.index{
position: relative;
}
.index{
position: relative;
}
.index_view{
margin-bottom: 1px;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
overflow: hidden;
color:#303133;
background-color: #fff;
.app-horizontal-layout{
.view-container{
height: calc(100% - 32px);
margin: 12px;
}
}
.index_header{
height:65px;
padding:0 20px;
display: flex;
align-items: center;
justify-content: space-between;
background-color: #fff;
.page-logo{
display: flex;
align-items: center;
}
.header-left{
i{
color:#b4bcc8;
}
i:hover{
color:#1890ff;
}
> .app-breadcrumb{
> span .el-breadcrumb__item .el-breadcrumb__inner{
a{
color:#606d80 !important;
cursor: pointer !important;
}
a:last-child:hover{
color:#1890ff !important;
}
}
}
.ivu-icon{
font-size: 20px;
padding: 4px;
margin-top: -2px;
cursor: pointer;
}
display: flex;
align-items: center;
justify-content: space-between;
.el-menu.el-menu--horizontal{
border-bottom: none;
.el-submenu{
border-top: none;
}
}
}
> div {
line-height: 49px;
}
}
.index_content{
background-color:#F0F2F5;
height:calc(100vh - 50px);
overflow-x: hidden;
overflow-y: hidden;
}
>.ivu-layout {
>.ivu-layout {
height: calc(100vh - 50px);
}
}
.ivu-layout .ivu-layout-sider .ivu-layout-sider-children .sider-top{
margin-top: -2px;
line-height: 58px;
text-align: center;
font-size: 20px;
cursor: pointer;
}
.sider-top{
padding: 0px;
margin-bottom: 1px;
height:65px;
box-shadow: 0 1px 2px 0 rgba(0,0,0,.15);
> .page-logo{
display: flex;
align-items: center;
height: 100%;
justify-content: center;
>.menuicon{
display: block;
display: block;
text-align: center;
font-weight: 300;
font-size: 28px;
width:64px;
height:100%;
}
}
}
}
#move_axis{
position: absolute;
left: 195px;
width: 5px;
height: 100%;
cursor: w-resize;
background-color: rgba(255,255,255,0);
}
.index_sider{
flex: none!important;
max-width: none !important;
transition: none 0s ease 0s;
}
/*** BRGIN:滚动条样式 ***/
::-webkit-scrollbar {
background: transparent;
width: 4px;
height: 4px;
}
::-webkit-scrollbar-thumb {
border-radius: 0;
box-shadow: none;
border: 0;
background-color: #cecece;
}
::-webkit-scrollbar-track {
border-radius: 0;
box-shadow: none;
border: 0;
}
}
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
4d88d53d
...
@@ -48,18 +48,18 @@
...
@@ -48,18 +48,18 @@
<div
v-show=
"flag"
class=
"batch-toolbar"
>
<div
v-show=
"flag"
class=
"batch-toolbar"
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
usr2dataviewdataview_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"usr2dataviewdataview_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"
dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i-button
v-show=
"
dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"dataviewexpbar_
dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i
class=
'fa fa-edit'
></i>
<i
class=
'fa fa-edit'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
usr2dataviewdataview_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"usr2dataviewdataview_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"
dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i-button
v-show=
"
dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"dataviewexpbar_
dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i
class=
'fa fa-remove'
></i>
<i
class=
'fa fa-remove'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
</i-button>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
</tooltip>
</tooltip>
</div>
</div>
</div>
</div>
...
@@ -202,18 +202,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -202,18 +202,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
public
appEntityService
:
IBIZBOOKEntityService
=
new
IBIZBOOKEntityService
({
$store
:
this
.
$store
});
public
appEntityService
:
IBIZBOOKEntityService
=
new
IBIZBOOKEntityService
({
$store
:
this
.
$store
});
/**
/**
* dataview_batchtoolbar 部件 click 事件
* dataview
expbar_dataview
_batchtoolbar 部件 click 事件
*
*
* @param {*} [args={}]
* @param {*} [args={}]
* @param {*} $event
* @param {*} $event
* @memberof Usr2Base
* @memberof Usr2Base
*/
*/
public
dataview_batchtoolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
dataview
expbar_dataview
_batchtoolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
dataview
_batchtoolbar_deuiaction1_click
(
null
,
'
dataview_batchtoolbar'
,
$event2
);
this
.
dataview
expbar_dataview_batchtoolbar_deuiaction1_click
(
null
,
'dataviewexpbar_
dataview_batchtoolbar'
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction2'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction2'
))
{
this
.
dataview
_batchtoolbar_deuiaction2_click
(
null
,
'
dataview_batchtoolbar'
,
$event2
);
this
.
dataview
expbar_dataview_batchtoolbar_deuiaction2_click
(
null
,
'dataviewexpbar_
dataview_batchtoolbar'
,
$event2
);
}
}
}
}
...
@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
dataview_batchtoolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview
expbar_dataview
_batchtoolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 参数
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
...
@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
dataview_batchtoolbar_deuiaction2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview
expbar_dataview
_batchtoolbar_deuiaction2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 参数
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
...
@@ -282,7 +282,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -282,7 +282,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
dataview_memo1_u37f11a8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview
expbar_dataview
_memo1_u37f11a8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
let
xData
:
any
=
null
;
...
@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
dataview_memo1_uc365542_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview
expbar_dataview
_memo1_uc365542_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
let
xData
:
any
=
null
;
...
@@ -337,7 +337,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -337,7 +337,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
Usr2Data
ViewBase
* @memberof IBIZBOOK
DataViewExp
ViewBase
*/
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
if
(
args
.
length
===
0
)
{
...
@@ -363,7 +363,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -363,7 +363,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
Usr2Data
ViewBase
* @memberof IBIZBOOK
DataViewExp
ViewBase
*/
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
...
@@ -427,6 +427,12 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -427,6 +427,12 @@ export default class Usr2Base extends Vue implements ControlInterface {
}
}
let
result
:
boolean
=
true
;
let
result
:
boolean
=
true
;
Object
.
assign
(
actionData
,
args
);
Object
.
assign
(
actionData
,
args
);
if
(
'selectionchange'
.
indexOf
(
eventName
)
!==
-
1
)
{
result
=
await
this
.
execute_dataviewexpbar_selectionchange_ctrl_logic
(
actionData
)
&&
result
;
}
if
(
'load'
.
indexOf
(
eventName
)
!==
-
1
)
{
result
=
await
this
.
execute_dataviewexpbar_load_ctrl_logic
(
actionData
)
&&
result
;
}
if
(
!
result
)
{
if
(
!
result
)
{
return
false
;
return
false
;
}
}
...
@@ -434,6 +440,30 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -434,6 +440,30 @@ export default class Usr2Base extends Vue implements ControlInterface {
return
true
;
return
true
;
}
}
/**
* 部件逻辑 -- dataviewexpbar_selectionchange
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public
async
execute_dataviewexpbar_selectionchange_ctrl_logic
(
actionData
:
any
):
Promise
<
boolean
>
{
console
.
log
(
'暂未支持 CUSTOM 类型'
);
return
true
;
}
/**
* 部件逻辑 -- dataviewexpbar_load
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public
async
execute_dataviewexpbar_load_ctrl_logic
(
actionData
:
any
):
Promise
<
boolean
>
{
console
.
log
(
'暂未支持 CUSTOM 类型'
);
return
true
;
}
...
@@ -678,9 +708,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -678,9 +708,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
* 工具栏模型
* 工具栏模型
*
*
* @type {*}
* @type {*}
* @memberof IBIZBOOK
Usr2Data
View
* @memberof IBIZBOOK
DataViewExp
View
*/
*/
public
usr2dataview
dataview_batchtoolbarModels
:
any
=
{
public
dataviewexpviewdataviewexpbar_
dataview_batchtoolbarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
deuiaction2
:
{
name
:
'deuiaction2'
,
actiontarget
:
'NONE'
,
caption
:
'删除'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
}
},
deuiaction2
:
{
name
:
'deuiaction2'
,
actiontarget
:
'NONE'
,
caption
:
'删除'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
}
},
...
@@ -1005,7 +1035,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1005,7 +1035,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{...
opt
};
const
arg
:
any
=
{...
opt
};
...
@@ -1100,7 +1130,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1100,7 +1130,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
return
;
}
}
let
_datas
:
any
[]
=
[];
let
_datas
:
any
[]
=
[];
...
@@ -1217,7 +1247,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1217,7 +1247,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
try
{
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
@@ -1225,7 +1255,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1225,7 +1255,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
}
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
if
(
item
.
ibizbook
){
...
@@ -1327,16 +1357,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1327,16 +1357,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
public
uiAction
(
data
:
any
,
tag
:
any
,
$event
:
any
)
{
public
uiAction
(
data
:
any
,
tag
:
any
,
$event
:
any
)
{
$event
.
stopPropagation
();
$event
.
stopPropagation
();
if
(
Object
.
is
(
'Edit'
,
tag
))
{
if
(
Object
.
is
(
'Edit'
,
tag
))
{
this
.
dataview_batchtoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
this
.
dataview
expbar_dataview
_batchtoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
}
}
if
(
Object
.
is
(
'Remove'
,
tag
))
{
if
(
Object
.
is
(
'Remove'
,
tag
))
{
this
.
dataview_batchtoolbar_deuiaction2_click
(
data
,
tag
,
$event
);
this
.
dataview
expbar_dataview
_batchtoolbar_deuiaction2_click
(
data
,
tag
,
$event
);
}
}
if
(
Object
.
is
(
'Edit'
,
tag
))
{
if
(
Object
.
is
(
'Edit'
,
tag
))
{
this
.
dataview_memo1_u37f11a8_click
(
data
,
tag
,
$event
);
this
.
dataview
expbar_dataview
_memo1_u37f11a8_click
(
data
,
tag
,
$event
);
}
}
if
(
Object
.
is
(
'Remove'
,
tag
))
{
if
(
Object
.
is
(
'Remove'
,
tag
))
{
this
.
dataview_memo1_uc365542_click
(
data
,
tag
,
$event
);
this
.
dataview
expbar_dataview
_memo1_uc365542_click
(
data
,
tag
,
$event
);
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
浏览文件 @
4d88d53d
...
@@ -11,7 +11,7 @@ export default class Usr2Model {
...
@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合
* 获取数据项集合
*
*
* @returns {any[]}
* @returns {any[]}
* @memberof Usr2Data
V
iewMode
* @memberof Usr2Data
viewexpbar_datav
iewMode
*/
*/
public
getDataItems
():
any
[]
{
public
getDataItems
():
any
[]
{
return
[
return
[
...
@@ -40,17 +40,6 @@ export default class Usr2Model {
...
@@ -40,17 +40,6 @@ export default class Usr2Model {
dataType
:
'FONTKEY'
,
dataType
:
'FONTKEY'
,
},
},
{
name
:
'n_ibizbookname_like'
,
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
{
name
:
'size'
,
name
:
'size'
,
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
4d88d53d
...
@@ -957,7 +957,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -957,7 +957,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
fetchAction
)
{
if
(
!
this
.
fetchAction
)
{
this
.
$Notice
.
error
({
this
.
$Notice
.
error
({
title
:
this
.
$t
(
"app.commonWords.wrong"
)
as
string
,
title
:
this
.
$t
(
"app.commonWords.wrong"
)
as
string
,
desc
:
"IBIZOrderDetailSGridView
9
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
desc
:
"IBIZOrderDetailSGridView"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
});
});
return
;
return
;
}
}
...
@@ -1086,7 +1086,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1086,7 +1086,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
removeAction
)
{
if
(
!
this
.
removeAction
)
{
this
.
$Notice
.
error
({
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
});
return
;
return
;
}
}
...
@@ -1200,7 +1200,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1200,7 +1200,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
if
(
!
arg
){
if
(
!
arg
){
...
@@ -2094,7 +2094,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2094,7 +2094,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
))
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
))
{
if
(
!
this
.
createAction
)
{
if
(
!
this
.
createAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
@@ -2103,7 +2103,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2103,7 +2103,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
)
{
if
(
!
this
.
updateAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
@@ -2179,7 +2179,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2179,7 +2179,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
});
return
;
return
;
}
}
...
...
This diff is collapsed.
Click to expand it.
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json
浏览文件 @
4d88d53d
...
@@ -14,295 +14,6 @@
...
@@ -14,295 +14,6 @@
},
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json"
,
"name"
:
"index"
,
"name"
:
"index"
,
"getPSViewLayoutPanel"
:
{
"getAllPSPanelFields"
:
[
{
"id"
:
"app_apptitle"
}
],
"codeName"
:
"Usr1101864241"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"layoutMode"
:
"FLEX"
,
"logicName"
:
"index"
,
"name"
:
"layoutpanel"
,
"getPSControlParam"
:
{
},
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"getRootPSPanelItems"
:
[
{
"caption"
:
"滚动条容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_main1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"getPSPanelItems"
:
[
{
"caption"
:
"滚动条容器"
,
"contentHeight"
:
100.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll2"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"height"
:
100
,
"heightMode"
:
"FULL"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
,
"widthMode"
:
"FULL"
},
"getPSPanelItems"
:
[
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_main2"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"getPSPanelItems"
:
[
{
"caption"
:
"导航区占位"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"nav_pos1"
,
"getPSLayoutPos"
:
{
"heightMode"
:
"FULL"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
,
"spacingBottom"
:
"INNERMEDIUM"
,
"spacingLeft"
:
"INNERMEDIUM"
,
"spacingRight"
:
"INNERMEDIUM"
,
"widthMode"
:
"FULL"
},
"getPSRawItem"
:
{
"name"
:
"nav_pos1"
,
"predefinedType"
:
"NAV_POS"
},
"showCaption"
:
true
}
],
"showCaption"
:
true
},
{
"caption"
:
"面板容器"
,
"contentHeight"
:
56.0
,
"height"
:
56.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_header2"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"hAlignSelf"
:
"LEFT"
,
"height"
:
56
,
"heightMode"
:
"PX"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"NORTH"
,
"vAlignSelf"
:
"MIDDLE"
},
"getPSPanelItems"
:
[
{
"caption"
:
"标签页导航栏"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"nav_tabs2"
,
"getPSLayoutPos"
:
{
"heightMode"
:
"FULL"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
,
"spacingBottom"
:
"INNERSMALL"
,
"spacingLeft"
:
"INNERMEDIUM"
,
"spacingTop"
:
"INNERSMALL"
},
"getPSRawItem"
:
{
"name"
:
"nav_tabs2"
,
"predefinedType"
:
"NAV_TABS"
},
"showCaption"
:
true
}
],
"showCaption"
:
true
}
]
}
],
"showCaption"
:
true
},
{
"caption"
:
"面板容器"
,
"contentWidth"
:
15.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_left1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"WEST"
,
"width"
:
15
,
"widthMode"
:
"PERCENTAGE"
},
"getPSPanelItems"
:
[
{
"caption"
:
"首页菜单"
,
"contentHeight"
:
100.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"appmenu"
,
"getPSLayoutPos"
:
{
"height"
:
100
,
"heightMode"
:
"FULL"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
,
"widthMode"
:
"FULL"
},
"showCaption"
:
true
}
],
"width"
:
15.0
,
"showCaption"
:
true
},
{
"caption"
:
"面板容器"
,
"contentHeight"
:
65.0
,
"height"
:
65.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_header1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"height"
:
65
,
"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"
:
1
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"应用标题"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"app_apptitle"
,
"getPSEditor"
:
{
"editorType"
:
"SPAN"
,
"name"
:
"app_apptitle"
,
"predefinedType"
:
"APP_APPTITLE"
,
"renderMode"
:
"HEADING1"
,
"enableLinkView"
:
false
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"CENTER"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container2"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
7
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"面包屑导航"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"nav_breadcrumb1"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"LEFT"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
"getPSRawItem"
:
{
"name"
:
"nav_breadcrumb1"
,
"predefinedType"
:
"NAV_BREADCRUMB"
},
"showCaption"
:
true
}
]
},
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container3"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
4
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"用户信息"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"auth_userinfo1"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"RIGHT"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
"getPSRawItem"
:
{
"name"
:
"auth_userinfo1"
,
"predefinedType"
:
"AUTH_USERINFO"
},
"showCaption"
:
true
}
]
}
]
}
],
"showCaption"
:
true
}
]
}
],
"layoutBodyOnly"
:
false
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
false
,
"viewProxyMode"
:
true
,
"modelid"
:
"23665E7A-D424-4E64-A21B-804894E0F4E7"
,
"modeltype"
:
"PSSYSVIEWLAYOUTPANEL"
,
"getPSControls"
:
[
{
"getPSControls"
:
[
{
"codeName"
:
"MainMenu"
,
"codeName"
:
"MainMenu"
,
"controlType"
:
"APPMENU"
,
"controlType"
:
"APPMENU"
,
...
@@ -4432,7 +4143,16 @@
...
@@ -4432,7 +4143,16 @@
"enableCustomize"
:
false
,
"enableCustomize"
:
false
,
"modelid"
:
"f67e43415bde47c95cad04d98dde9e00"
,
"modelid"
:
"f67e43415bde47c95cad04d98dde9e00"
,
"modeltype"
:
"PSAPPMENU"
"modeltype"
:
"PSAPPMENU"
}
]
}
],
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Layoutpanel"
,
"controlStyle"
:
"APPINDEXVIEW"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"name"
:
"layoutpanel"
,
"getPSControlParam"
:
{
},
"layoutBodyOnly"
:
true
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
true
},
},
"viewStyle"
:
"DEFAULT"
,
"viewStyle"
:
"DEFAULT"
,
"viewType"
:
"APPINDEXVIEW"
,
"viewType"
:
"APPINDEXVIEW"
,
...
...
This diff is collapsed.
Click to expand it.
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
4d88d53d
...
@@ -15163,295 +15163,6 @@
...
@@ -15163,295 +15163,6 @@
},
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json"
,
"name"
:
"index"
,
"name"
:
"index"
,
"getPSViewLayoutPanel"
:
{
"getAllPSPanelFields"
:
[
{
"id"
:
"app_apptitle"
}
],
"codeName"
:
"Usr1101864241"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"layoutMode"
:
"FLEX"
,
"logicName"
:
"index"
,
"name"
:
"layoutpanel"
,
"getPSControlParam"
:
{
},
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"getRootPSPanelItems"
:
[
{
"caption"
:
"滚动条容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_main1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"getPSPanelItems"
:
[
{
"caption"
:
"滚动条容器"
,
"contentHeight"
:
100.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll2"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"height"
:
100
,
"heightMode"
:
"FULL"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
,
"widthMode"
:
"FULL"
},
"getPSPanelItems"
:
[
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_main2"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"getPSPanelItems"
:
[
{
"caption"
:
"导航区占位"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"nav_pos1"
,
"getPSLayoutPos"
:
{
"heightMode"
:
"FULL"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
,
"spacingBottom"
:
"INNERMEDIUM"
,
"spacingLeft"
:
"INNERMEDIUM"
,
"spacingRight"
:
"INNERMEDIUM"
,
"widthMode"
:
"FULL"
},
"getPSRawItem"
:
{
"name"
:
"nav_pos1"
,
"predefinedType"
:
"NAV_POS"
},
"showCaption"
:
true
}
],
"showCaption"
:
true
},
{
"caption"
:
"面板容器"
,
"contentHeight"
:
56.0
,
"height"
:
56.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_header2"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"hAlignSelf"
:
"LEFT"
,
"height"
:
56
,
"heightMode"
:
"PX"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"NORTH"
,
"vAlignSelf"
:
"MIDDLE"
},
"getPSPanelItems"
:
[
{
"caption"
:
"标签页导航栏"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"nav_tabs2"
,
"getPSLayoutPos"
:
{
"heightMode"
:
"FULL"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
,
"spacingBottom"
:
"INNERSMALL"
,
"spacingLeft"
:
"INNERMEDIUM"
,
"spacingTop"
:
"INNERSMALL"
},
"getPSRawItem"
:
{
"name"
:
"nav_tabs2"
,
"predefinedType"
:
"NAV_TABS"
},
"showCaption"
:
true
}
],
"showCaption"
:
true
}
]
}
],
"showCaption"
:
true
},
{
"caption"
:
"面板容器"
,
"contentWidth"
:
15.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_left1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"WEST"
,
"width"
:
15
,
"widthMode"
:
"PERCENTAGE"
},
"getPSPanelItems"
:
[
{
"caption"
:
"首页菜单"
,
"contentHeight"
:
100.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"appmenu"
,
"getPSLayoutPos"
:
{
"height"
:
100
,
"heightMode"
:
"FULL"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
,
"widthMode"
:
"FULL"
},
"showCaption"
:
true
}
],
"width"
:
15.0
,
"showCaption"
:
true
},
{
"caption"
:
"面板容器"
,
"contentHeight"
:
65.0
,
"height"
:
65.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_header1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"height"
:
65
,
"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"
:
1
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"应用标题"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"app_apptitle"
,
"getPSEditor"
:
{
"editorType"
:
"SPAN"
,
"name"
:
"app_apptitle"
,
"predefinedType"
:
"APP_APPTITLE"
,
"renderMode"
:
"HEADING1"
,
"enableLinkView"
:
false
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"CENTER"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container2"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
7
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"面包屑导航"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"nav_breadcrumb1"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"LEFT"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
"getPSRawItem"
:
{
"name"
:
"nav_breadcrumb1"
,
"predefinedType"
:
"NAV_BREADCRUMB"
},
"showCaption"
:
true
}
]
},
{
"caption"
:
"面板容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container3"
,
"getPSLayout"
:
{
"layout"
:
"SIMPLEFLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
4
,
"layout"
:
"SIMPLEFLEX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"用户信息"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"auth_userinfo1"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"hAlignSelf"
:
"RIGHT"
,
"layout"
:
"SIMPLEFLEX"
,
"vAlignSelf"
:
"MIDDLE"
},
"getPSRawItem"
:
{
"name"
:
"auth_userinfo1"
,
"predefinedType"
:
"AUTH_USERINFO"
},
"showCaption"
:
true
}
]
}
]
}
],
"showCaption"
:
true
}
]
}
],
"layoutBodyOnly"
:
false
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
false
,
"viewProxyMode"
:
true
,
"modelid"
:
"23665E7A-D424-4E64-A21B-804894E0F4E7"
,
"modeltype"
:
"PSSYSVIEWLAYOUTPANEL"
,
"getPSControls"
:
[
{
"getPSControls"
:
[
{
"codeName"
:
"MainMenu"
,
"codeName"
:
"MainMenu"
,
"controlType"
:
"APPMENU"
,
"controlType"
:
"APPMENU"
,
...
@@ -19581,7 +19292,16 @@
...
@@ -19581,7 +19292,16 @@
"enableCustomize"
:
false
,
"enableCustomize"
:
false
,
"modelid"
:
"f67e43415bde47c95cad04d98dde9e00"
,
"modelid"
:
"f67e43415bde47c95cad04d98dde9e00"
,
"modeltype"
:
"PSAPPMENU"
"modeltype"
:
"PSAPPMENU"
}
]
}
],
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Layoutpanel"
,
"controlStyle"
:
"APPINDEXVIEW"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"name"
:
"layoutpanel"
,
"getPSControlParam"
:
{
},
"layoutBodyOnly"
:
true
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
true
},
},
"viewStyle"
:
"DEFAULT"
,
"viewStyle"
:
"DEFAULT"
,
"viewType"
:
"APPINDEXVIEW"
,
"viewType"
:
"APPINDEXVIEW"
,
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录