Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
6e8284d3
提交
6e8284d3
编写于
12月 21, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
6c224d99
变更
35
隐藏空白字符变更
内嵌
并排
正在显示
35 个修改的文件
包含
3893 行增加
和
53 行删除
+3893
-53
router.ts
app_Web/src/pages/sample/app-index-view2/router.ts
+28
-0
ibizbookusr2-pickup-tree-view-base.vue
...2-pickup-tree-view/ibizbookusr2-pickup-tree-view-base.vue
+783
-0
ibizbookusr2-pickup-tree-view.scss
...kusr2-pickup-tree-view/ibizbookusr2-pickup-tree-view.scss
+18
-0
ibizbookusr2-pickup-tree-view.vue
...okusr2-pickup-tree-view/ibizbookusr2-pickup-tree-view.vue
+24
-0
ibizbookusr2-pickup-view-base.vue
...bizbookusr2-pickup-view/ibizbookusr2-pickup-view-base.vue
+791
-0
ibizbookusr2-pickup-view.scss
...le/ibizbookusr2-pickup-view/ibizbookusr2-pickup-view.scss
+23
-0
ibizbookusr2-pickup-view.vue
...ple/ibizbookusr2-pickup-view/ibizbookusr2-pickup-view.vue
+24
-0
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+3
-1
router.ts
app_Web/src/pages/sample/index/router.ts
+63
-5
page-register.ts
app_Web/src/pages/ungroup/app-index-view/page-register.ts
+3
-1
router.ts
app_Web/src/pages/ungroup/app-index-view/router.ts
+63
-5
state.ts
app_Web/src/store/modules/view-action/state.ts
+20
-1
ibizbook-ui-service-base.ts
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
+2
-0
guide-borrow-form-form-base.vue
...ok/guide-borrow-form-form/guide-borrow-form-form-base.vue
+5
-5
guide-return-form-form-base.vue
...ok/guide-return-form-form/guide-return-form-form-base.vue
+5
-5
guide-view-form-form-base.vue
...izbook/guide-view-form-form/guide-view-form-form-base.vue
+5
-5
guide-wizardpanel-base.vue
...ets/ibizbook/guide-wizardpanel/guide-wizardpanel-base.vue
+1
-1
inter-func-form-2-form-base.vue
...ok/inter-func-form-2-form/inter-func-form-2-form-base.vue
+1
-1
main-form-base.vue
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
+5
-5
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+2
-2
usr2-pickup-viewpickupviewpanel-pickupviewpanel-base.vue
.../usr2-pickup-viewpickupviewpanel-pickupviewpanel-base.vue
+411
-0
usr2-pickup-viewpickupviewpanel-pickupviewpanel-model.ts
.../usr2-pickup-viewpickupviewpanel-pickupviewpanel-model.ts
+116
-0
usr2-pickup-viewpickupviewpanel-pickupviewpanel-service.ts
...sr2-pickup-viewpickupviewpanel-pickupviewpanel-service.ts
+12
-0
usr2-pickup-viewpickupviewpanel-pickupviewpanel.scss
...anel/usr2-pickup-viewpickupviewpanel-pickupviewpanel.scss
+5
-0
usr2-pickup-viewpickupviewpanel-pickupviewpanel.vue
...panel/usr2-pickup-viewpickupviewpanel-pickupviewpanel.vue
+16
-0
usr4-dataview-model.ts
...src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
+0
-5
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+6
-6
IBIZBOOK.json
...remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json
+16
-0
IBIZBOOK.json
...remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
+8
-0
InterFuncForm_2.json
...b/PSAPPDATAENTITIES/IBIZBOOK/PSFORMS/InterFuncForm_2.json
+2
-2
Treebasics.json
...eb/PSAPPDATAENTITIES/IBIZBOOK/PSTREEVIEWS/Treebasics.json
+1
-1
IBIZBOOKUsr2EditView.json
...odel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2EditView.json
+2
-2
IBIZBOOKUsr2PickupTreeView.json
...SSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2PickupTreeView.json
+663
-0
IBIZBOOKUsr2PickupView.json
...el/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2PickupView.json
+746
-0
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+20
-0
未找到文件。
app_Web/src/pages/sample/app-index-view2/router.ts
浏览文件 @
6e8284d3
...
...
@@ -1066,6 +1066,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-mpickup-view/ibizcustomer-usr2-mpickup-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr2pickupview/:usr2pickupview?'
,
meta
:
{
caption
:
'图书'
,
captionLanResTag
:
'DE.LNAME.IBIZBOOK'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr2pickupview'
,
parameterName
:
'usr2pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr2-pickup-view/ibizbookusr2-pickup-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr2optionview/:usr2optionview?'
,
meta
:
{
...
...
@@ -2784,6 +2798,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-sf7-edit-view/ibizorder-sf7-edit-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr2pickuptreeview/:usr2pickuptreeview?'
,
meta
:
{
caption
:
'图书'
,
captionLanResTag
:
'DE.LNAME.IBIZBOOK'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr2pickuptreeview'
,
parameterName
:
'usr2pickuptreeview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr2-pickup-tree-view/ibizbookusr2-pickup-tree-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/gridview9/:gridview9?'
,
meta
:
{
...
...
app_Web/src/pages/sample/ibizbookusr2-pickup-tree-view/ibizbookusr2-pickup-tree-view-base.vue
0 → 100644
浏览文件 @
6e8284d3
<
template
>
<div
class=
'view-container depickuptreeview ibizbookusr2-pickup-tree-view'
>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:bordered=
"false"
>
<div
class=
'content-container'
>
<div
class=
"search-contant"
>
<i-input
search
@
on-change=
"($event) =>
{ this.srfnodefilter = $event.target.value; }" @on-search="onSearch" placeholder="图书名称" class='pull-left'/>
</div>
<div
class=
"tree-contant"
>
<view
_tree
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:pViewCtx=
"viewCtx"
:showBusyIndicator=
"true"
loadAction=
'Get'
createAction=
'Create'
updateAction=
'Update'
removeAction=
'Remove'
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
@
nodedblclick=
"tree_nodedblclick($event)"
name=
"tree"
ref=
'tree'
@
selectionchange=
"tree_selectionchange($event)"
@
load=
"tree_load($event)"
@
closeview=
"closeView($event)"
>
</view
_tree
>
</div>
</div>
</card>
</div>
</
template
>
// 基于 @VIEW/实体选择树视图(部件视图)/VIEW-BASE.vue.ftl 生成
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Inject
}
from
'vue-property-decorator'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
axios
from
'axios'
;
import
{
AppMessageBox
}
from
'@/utils/app-message-box/app-message-box'
;
import
NavDataService
from
'@/service/app/navdata-service'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
IBIZBOOKService
from
'@/service/ibizbook/ibizbook-service'
;
import
IBIZBOOKAuthService
from
'@/authservice/ibizbook/ibizbook-auth-service'
;
import
PickupTreeViewEngine
from
'@engine/view/pickup-tree-view-engine'
;
import
IBIZBOOKUIService
from
'@/uiservice/ibizbook/ibizbook-ui-service'
;
@
Component
({
components
:
{
},
})
export
default
class
IBIZBOOKUsr2PickupTreeViewBase
extends
Vue
{
/**
* 实体服务对象
*
* @type {IBIZBOOKService}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
appEntityService
:
IBIZBOOKService
=
new
IBIZBOOKService
();
/**
* 实体UI服务对象
*
* @type IBIZBOOKUIService
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
appUIService
:
IBIZBOOKUIService
=
new
IBIZBOOKUIService
();
/**
* 数据变化
*
* @param {*} val
* @returns {*}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
@
Emit
()
public
viewDatasChange
(
val
:
any
):
any
{
return
val
;
}
/**
* 传入视图上下文
*
* @type {string}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
@
Prop
()
public
viewdata
!
:
string
;
/**
* 传入视图参数
*
* @type {string}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
@
Prop
()
public
viewparam
!
:
string
;
/**
* 视图默认使用
*
* @type {boolean}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
@
Prop
({
default
:
true
})
public
viewDefaultUsage
!
:
boolean
;
/**
* 视图默认使用
*
* @type {string}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
@
Inject
({
from
:
'navModel'
,
default
:
'tab'
})
public
navModel
!
:
string
;
/**
* 打开方式
*
* @type {'ROUTE' | 'EMBED' | 'MODAL'}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
@
Prop
({
default
:
'ROUTE'
})
public
openType
!
:
'ROUTE'
|
'EMBED'
|
'MODAL'
;
/**
* 视图标识
*
* @type {string}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
viewtag
:
string
=
'a4a69f429887f43271781be0e37b08b1'
;
/**
* 视图类型
*
* @type {string}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
viewType
:
string
=
'DEPICKUPTREEVIEW'
;
/**
* 自定义视图导航上下文集合
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
customViewNavContexts
:
any
=
{
};
/**
* 自定义视图导航参数集合
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
customViewParams
:
any
=
{
};
/**
* 视图模型数据
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
model
:
any
=
{
srfCaption
:
this
.
$t
(
'DE.LNAME.IBIZBOOK'
,
'图书'
),
srfTitle
:
'图书选择树视图'
,
srfSubTitle
:
''
,
dataInfo
:
''
}
/**
* 视图参数变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
@
Watch
(
'viewparam'
,{
immediate
:
true
,
deep
:
true
})
onParamData
(
newVal
:
any
,
oldVal
:
any
)
{
if
(
newVal
){
this
.
viewparams
=
{};
if
(
typeof
newVal
==
'string'
)
{
Object
.
assign
(
this
.
viewparams
,
JSON
.
parse
(
this
.
viewparam
));
}
else
{
this
.
viewparams
=
Util
.
deepCopy
(
this
.
viewparam
);
}
}
}
/**
* 处理应用上下文变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
@
Watch
(
'viewdata'
)
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
const
_this
:
any
=
this
;
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
();
_this
.
engine
.
load
();
});
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
_this
.
refresh
();
}
}
/**
* 容器模型
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
containerModel
:
any
=
{
view_tree
:
{
name
:
'tree'
,
type
:
'TREEVIEW'
},
};
/**
* 视图操作参数
*
* @type {*}
* @readonly
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
viewCtx
:
any
=
{};
/**
* 视图刷新
*
* @param {*} args
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
refresh
(
args
?:
any
):
void
{
const
refs
:
any
=
this
.
$refs
;
if
(
refs
&&
refs
.
tree
)
{
refs
.
tree
.
refresh
();
}
}
/**
* 计数器刷新
*
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 视图状态订阅对象
*
* @public
* @type {Subject<{action: string, data: any}>}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
viewState
:
Subject
<
ViewState
>
=
new
Subject
();
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
engine
:
PickupTreeViewEngine
=
new
PickupTreeViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
tree
:
this
.
$refs
.
tree
,
keyPSDEField
:
'ibizbook'
,
majorPSDEField
:
'ibizbookname'
,
isLoadDefault
:
true
,
});
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
* 导航服务事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
serviceStateEvent
:
Subscription
|
undefined
;
/**
* 门户部件状态对象
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
@
Prop
()
public
portletState
?:
any
;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
portletStateEvent
:
Subscription
|
undefined
;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
formDruipartEvent
:
Subscription
|
undefined
;
/**
* 应用上下文
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
context
:
any
=
{};
/**
* 视图参数
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
viewparams
:
any
=
{};
/**
* 视图缓存数据
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
viewCacheData
:
any
;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 解析视图参数
*
* @public
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
parseViewParam
(
inputvalue
:
any
=
null
):
void
{
for
(
let
key
in
this
.
context
){
delete
this
.
context
[
key
];
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
if
(
!
this
.
viewDefaultUsage
&&
this
.
viewdata
&&
!
Object
.
is
(
this
.
viewdata
,
''
))
{
if
(
typeof
this
.
viewdata
==
'string'
)
{
Object
.
assign
(
this
.
context
,
JSON
.
parse
(
this
.
viewdata
));
}
if
(
this
.
context
&&
this
.
context
.
srfparentdename
){
Object
.
assign
(
this
.
viewparams
,{
srfparentdename
:
this
.
context
.
srfparentdename
});
}
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
this
.
handleCustomViewData
();
return
;
}
const
path
=
(
this
.
$route
.
matched
[
this
.
$route
.
matched
.
length
-
1
]).
path
;
const
keys
:
Array
<
any
>
=
[];
const
curReg
=
this
.
$pathToRegExp
.
pathToRegexp
(
path
,
keys
);
const
matchArray
=
curReg
.
exec
(
this
.
$route
.
path
);
let
tempValue
:
Object
=
{};
keys
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
if
(
matchArray
[
index
+
1
]){
Object
.
defineProperty
(
tempValue
,
item
.
name
,
{
enumerable
:
true
,
value
:
decodeURIComponent
(
matchArray
[
index
+
1
])
});
}
});
this
.
$viewTool
.
formatRouteParams
(
tempValue
,
this
.
$route
,
this
.
context
,
this
.
viewparams
);
if
(
inputvalue
){
Object
.
assign
(
this
.
context
,{
'ibizbook'
:
inputvalue
});
}
//初始化视图唯一标识
Object
.
assign
(
this
.
context
,{
srfsessionid
:
this
.
$util
.
createUUID
()});
this
.
handleCustomViewData
();
//初始化导航数据
this
.
initNavDataWithRoute
();
}
/**
* 处理自定义视图数据
*
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
handleCustomViewData
(){
if
(
Object
.
keys
(
this
.
customViewNavContexts
).
length
>
0
){
Object
.
keys
(
this
.
customViewNavContexts
).
forEach
((
item
:
any
)
=>
{
let
tempContext
:
any
=
{};
let
curNavContext
:
any
=
this
.
customViewNavContexts
[
item
];
this
.
handleCustomDataLogic
(
curNavContext
,
tempContext
,
item
);
Object
.
assign
(
this
.
context
,
tempContext
);
})
}
if
(
Object
.
keys
(
this
.
customViewParams
).
length
>
0
){
Object
.
keys
(
this
.
customViewParams
).
forEach
((
item
:
any
)
=>
{
let
tempParam
:
any
=
{};
let
curNavParam
:
any
=
this
.
customViewParams
[
item
];
this
.
handleCustomDataLogic
(
curNavParam
,
tempParam
,
item
);
Object
.
assign
(
this
.
viewparams
,
tempParam
);
})
}
}
/**
* 处理自定义视图数据逻辑
*
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
handleCustomDataLogic
(
curNavData
:
any
,
tempData
:
any
,
item
:
string
){
// 直接值直接赋值
if
(
curNavData
.
isRawValue
){
if
(
Object
.
is
(
curNavData
.
value
,
"null"
)
||
Object
.
is
(
curNavData
.
value
,
""
)){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
null
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
curNavData
.
value
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
}
else
{
// 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null
if
(
this
.
context
[(
curNavData
.
value
).
toLowerCase
()]
!=
null
){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
this
.
context
[(
curNavData
.
value
).
toLowerCase
()],
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
if
(
this
.
viewparams
[(
curNavData
.
value
).
toLowerCase
()]
!=
null
){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
this
.
viewparams
[(
curNavData
.
value
).
toLowerCase
()],
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
null
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
}
}
}
/**
* 初始化导航数据(路由模式)
*
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
initNavDataWithRoute
(
data
:
any
=
null
,
isNew
:
boolean
=
false
,
isAlways
:
boolean
=
false
){
if
(
isAlways
||
(
this
.
viewDefaultUsage
&&
Object
.
is
(
this
.
navModel
,
"route"
))
){
this
.
navDataService
.
addNavData
({
id
:
'ibizbookusr2-pickup-tree-view'
,
tag
:
this
.
viewtag
,
srfkey
:
isNew
?
null
:
this
.
context
.
ibizbook
,
title
:
this
.
model
.
srfCaption
,
data
:
data
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
}
}
/**
* 初始化导航数据(分页模式)
*
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
initNavDataWithTab
(
data
:
any
=
null
,
isOnlyAdd
:
boolean
=
true
,
isAlways
:
boolean
=
false
){
if
(
isAlways
||
(
this
.
viewDefaultUsage
&&
!
Object
.
is
(
this
.
navModel
,
"route"
))
){
this
.
navDataService
.
addNavDataByOnly
({
id
:
'ibizbookusr2-pickup-tree-view'
,
tag
:
this
.
viewtag
,
srfkey
:
this
.
context
.
ibizbook
,
title
:
this
.
model
.
srfCaption
,
data
:
data
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
},
isOnlyAdd
);
}
}
/**
* Vue声明周期
*
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
afterCreated
(){
let
_this
:
any
=
this
;
const
secondtag
=
_this
.
$util
.
createUUID
();
_this
.
$store
.
commit
(
'viewaction/createdView'
,
{
viewtag
:
_this
.
viewtag
,
secondtag
:
secondtag
});
_this
.
viewtag
=
secondtag
;
_this
.
parseViewParam
();
_this
.
serviceStateEvent
=
_this
.
navDataService
.
serviceState
.
subscribe
(({
action
,
name
,
data
}:{
action
:
string
,
name
:
any
,
data
:
any
})
=>
{
if
(
!
Object
.
is
(
name
,
'ibizbookusr2-pickup-tree-view'
)){
return
;
}
if
(
Object
.
is
(
action
,
'viewrefresh'
))
{
_this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
(
data
);
if
(
_this
.
engine
){
_this
.
engine
.
load
();
}
});
}
});
if
(
_this
.
portletState
){
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
if
(
!
Object
.
is
(
res
.
name
,
'IBIZBOOKUsr2PickupTreeView'
)){
return
;
}
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
_this
.
refresh
();
}
})
}
_this
.
initViewCtx
();
}
/**
* 初始化视图操作参数
*
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
initViewCtx
()
{
Object
.
assign
(
this
.
viewCtx
,
{
app
:
this
.
$root
,
view
:
this
,
viewGlobal
:
{},
viewNavData
:
{},
viewNavContext
:
this
.
context
,
viewNavParam
:
this
.
viewparams
,
messagebox
:
AppMessageBox
.
getInstance
(),
});
Object
.
assign
(
this
.
viewCtx
,
{
appGlobal
:
this
.
$store
.
getters
.
getAppGlobal
()
});
if
(
this
.
$store
.
getters
.
getRouteViewGlobal
(
this
.
context
.
srfsessionid
))
{
Object
.
assign
(
this
.
viewCtx
,
{
routeViewGlobal
:
this
.
$store
.
getters
.
getRouteViewGlobal
(
this
.
context
.
srfsessionid
)
});
}
else
{
this
.
$store
.
commit
(
'addRouteViewGlobal'
,
{
tag
:
this
.
context
.
srfsessionid
,
param
:
{}
});
Object
.
assign
(
this
.
viewCtx
,
{
routeViewGlobal
:
this
.
$store
.
getters
.
getRouteViewGlobal
(
this
.
context
.
srfsessionid
)
});
}
if
(
!
this
.
viewDefaultUsage
&&
this
.
viewdata
&&
!
Object
.
is
(
this
.
viewdata
,
''
))
{
// 嵌入视图
Object
.
assign
(
this
.
viewCtx
,
{
topview
:
this
.
$store
.
getters
.
getView
(
this
.
context
.
srfsessionid
)
});
}
else
{
// 顶层视图
this
.
$store
.
commit
(
'addView'
,
{
tag
:
this
.
context
.
srfsessionid
,
param
:
this
});
Object
.
assign
(
this
.
viewCtx
,
{
topview
:
this
});
}
}
/**
* 销毁之前
*
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
beforeDestroy
()
{
this
.
$store
.
commit
(
'viewaction/removeView'
,
this
.
viewtag
);
let
_this
:
any
=
this
if
(
_this
.
serviceStateEvent
)
{
_this
.
serviceStateEvent
.
unsubscribe
();
}
if
(
_this
.
portletStateEvent
)
{
_this
.
portletStateEvent
.
unsubscribe
();
}
if
(
_this
.
formDruipartEvent
)
{
_this
.
formDruipartEvent
.
unsubscribe
();
}
if
(
_this
.
engine
)
{
_this
.
engine
.
destroy
();
}
}
/**
* Vue声明周期(组件初始化完毕)
*
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
mounted
()
{
this
.
afterMounted
();
}
/**
* 执行mounted后的逻辑
*
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
afterMounted
(){
const
_this
:
any
=
this
;
_this
.
engineInit
();
if
(
_this
.
loadModel
&&
_this
.
loadModel
instanceof
Function
)
{
_this
.
loadModel
();
}
}
/**
* tree 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
tree_selectionchange
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'tree'
,
'selectionchange'
,
$event
);
}
/**
* tree 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
tree_load
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'tree'
,
'load'
,
$event
);
}
/**
* 关闭视图
*
* @param {any[]} args
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
Array
.
isArray
(
args
)?
args
:[
args
]);
_view
.
$emit
(
'close'
,
Array
.
isArray
(
args
)?
args
:[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
else
{
_view
.
$router
.
back
();
}
}
/**
* 销毁视图回调
*
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
destroyed
(){
this
.
afterDestroyed
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
afterDestroyed
(){
if
(
this
.
viewDefaultUsage
)
{
let
localStoreLength
=
Object
.
keys
(
localStorage
);
if
(
localStoreLength
.
length
>
0
){
localStoreLength
.
forEach
((
item
:
string
)
=>
{
if
(
item
.
startsWith
(
this
.
context
.
srfsessionid
)){
localStorage
.
removeItem
(
item
);
}
})
}
if
(
Object
.
is
(
this
.
navModel
,
"tab"
)){
this
.
navDataService
.
removeNavDataByTag
(
this
.
viewtag
);
}
}
// 销毁计数器定时器
if
(
this
.
counterServiceArray
&&
this
.
counterServiceArray
.
length
>
0
){
this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
destroyCounter
&&
item
.
destroyCounter
instanceof
Function
){
item
.
destroyCounter
();
}
})
}
}
/**
* 选中数据字符串
*
* @type {string}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
@
Prop
()
public
selectedData
?:
string
;
/**
* 是否单选
*
* @type {boolean}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
@
Prop
()
public
isSingleSelect
?:
boolean
;
/**
* 是否显示按钮
*
* @type {boolean}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
@
Prop
({
default
:
true
})
public
isShowButton
!
:
boolean
;
/**
* 节点过滤值
*
* @type {string}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
srfnodefilter
:
string
=
''
;
/**
* 快速搜索
*
* @returns {void}
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
onSearch
():
void
{
if
(
!
this
.
viewState
)
{
return
;
}
this
.
viewState
.
next
({
tag
:
'tree'
,
action
:
'filter'
,
data
:
{
srfnodefilter
:
this
.
srfnodefilter
}
});
}
/**
* tree 部件 nodedblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr2PickupTreeViewBase
*/
public
tree_nodedblclick
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'tree'
,
'nodedblclick'
,
$event
);
}
}
</
script
>
<
style
lang=
'scss'
>
@import
'./ibizbookusr2-pickup-tree-view.scss'
;
</
style
>
\ No newline at end of file
app_Web/src/pages/sample/ibizbookusr2-pickup-tree-view/ibizbookusr2-pickup-tree-view.scss
0 → 100644
浏览文件 @
6e8284d3
// 基于 @VIEW/实体选择树视图(部件视图)/VIEW.scss.ftl 生成
.ibizbookusr2-pickup-tree-view
{
position
:
relative
;
}
.search-contant
{
height
:
40px
;
.ivu-input-wrapper
{
max-width
:
400px
;
padding-top
:
6px
;
}
}
.tree-contant
{
height
:
calc
(
100%
-
40px
);
margin
:
0px
0px
16px
0
;
overflow
:
auto
;
}
app_Web/src/pages/sample/ibizbookusr2-pickup-tree-view/ibizbookusr2-pickup-tree-view.vue
0 → 100644
浏览文件 @
6e8284d3
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKUsr2PickupTreeViewBase
from
'./ibizbookusr2-pickup-tree-view-base.vue'
;
import
view_tree
from
'@widgets/ibizbook/treebasics-treeview/treebasics-treeview.vue'
;
// 基于 @VIEW/实体选择树视图(部件视图)/VIEW.vue.ftl 生成
@
Component
({
components
:
{
view_tree
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
if
(
!
Object
.
is
(
vm
.
navModel
,
"route"
)){
vm
.
initNavDataWithTab
(
vm
.
viewCacheData
);
}
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
IBIZBOOKUsr2PickupTreeView
extends
IBIZBOOKUsr2PickupTreeViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/ibizbookusr2-pickup-view/ibizbookusr2-pickup-view-base.vue
0 → 100644
浏览文件 @
6e8284d3
<
template
>
<app-pickup-view-layout
class=
"view-container depickupview ibizbookusr2-pickup-view"
>
<template
#
headerTop
>
</
template
>
<
template
#
contentTop
>
</
template
>
<
template
>
<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
>
</
template
>
<
template
#
contentBottom
>
</
template
>
<
template
#
footer
v-if=
"isShowButton"
>
<row
:style=
"
{ textAlign: 'right' }" class="footer">
<i-button
type=
"primary"
:disabled=
"viewSelections.length > 0 ? false : true"
@
click=
"onClickOk"
>
{{
containerModel
.
view_okbtn
.
text
}}
</i-button>
<i-button
@
click=
"onClickCancel"
>
{{
containerModel
.
view_cancelbtn
.
text
}}
</i-button>
</row>
</
template
>
</app-pickup-view-layout>
</template>
// 基于 @VIEW/实体数据选择视图/VIEW-BASE.vue.ftl 生成
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Inject
}
from
'vue-property-decorator'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
axios
from
'axios'
;
import
{
AppMessageBox
}
from
'@/utils/app-message-box/app-message-box'
;
import
NavDataService
from
'@/service/app/navdata-service'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
IBIZBOOKService
from
'@/service/ibizbook/ibizbook-service'
;
import
IBIZBOOKAuthService
from
'@/authservice/ibizbook/ibizbook-auth-service'
;
import
PickupViewEngine
from
'@engine/view/pickup-view-engine'
;
import
IBIZBOOKUIService
from
'@/uiservice/ibizbook/ibizbook-ui-service'
;
@
Component
({
components
:
{
},
})
export
default
class
IBIZBOOKUsr2PickupViewBase
extends
Vue
{
/**
* 实体服务对象
*
* @type {IBIZBOOKService}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
appEntityService
:
IBIZBOOKService
=
new
IBIZBOOKService
();
/**
* 实体UI服务对象
*
* @type IBIZBOOKUIService
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
appUIService
:
IBIZBOOKUIService
=
new
IBIZBOOKUIService
();
/**
* 数据变化
*
* @param {*} val
* @returns {*}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
@
Emit
()
public
viewDatasChange
(
val
:
any
):
any
{
return
val
;
}
/**
* 传入视图上下文
*
* @type {string}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
@
Prop
()
public
viewdata
!
:
string
;
/**
* 传入视图参数
*
* @type {string}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
@
Prop
()
public
viewparam
!
:
string
;
/**
* 视图默认使用
*
* @type {boolean}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
@
Prop
({
default
:
true
})
public
viewDefaultUsage
!
:
boolean
;
/**
* 视图默认使用
*
* @type {string}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
@
Inject
({
from
:
'navModel'
,
default
:
'tab'
})
public
navModel
!
:
string
;
/**
* 打开方式
*
* @type {'ROUTE' | 'EMBED' | 'MODAL'}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
@
Prop
({
default
:
'ROUTE'
})
public
openType
!
:
'ROUTE'
|
'EMBED'
|
'MODAL'
;
/**
* 视图标识
*
* @type {string}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
viewtag
:
string
=
'3192b641fa31cbe04d8a901f0992d77d'
;
/**
* 视图类型
*
* @type {string}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
viewType
:
string
=
'DEPICKUPVIEW'
;
/**
* 自定义视图导航上下文集合
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
customViewNavContexts
:
any
=
{
};
/**
* 自定义视图导航参数集合
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
customViewParams
:
any
=
{
};
/**
* 视图模型数据
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
model
:
any
=
{
srfCaption
:
this
.
$t
(
'DE.LNAME.IBIZBOOK'
,
'图书'
),
srfTitle
:
'图书数据选择视图'
,
srfSubTitle
:
''
,
dataInfo
:
''
}
/**
* 视图参数变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZBOOKUsr2PickupViewBase
*/
@
Watch
(
'viewparam'
,{
immediate
:
true
,
deep
:
true
})
onParamData
(
newVal
:
any
,
oldVal
:
any
)
{
if
(
newVal
){
this
.
viewparams
=
{};
if
(
typeof
newVal
==
'string'
)
{
Object
.
assign
(
this
.
viewparams
,
JSON
.
parse
(
this
.
viewparam
));
}
else
{
this
.
viewparams
=
Util
.
deepCopy
(
this
.
viewparam
);
}
if
(
this
.
viewparams
.
selectedData
){
this
.
selectedData
=
JSON
.
stringify
(
this
.
viewparams
.
selectedData
);
}
}
}
/**
* 处理应用上下文变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZBOOKUsr2PickupViewBase
*/
@
Watch
(
'viewdata'
)
onViewData
(
newVal
:
any
,
oldVal
:
any
)
{
const
_this
:
any
=
this
;
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
engine
)
{
this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
();
_this
.
engine
.
load
();
});
}
else
if
(
!
Object
.
is
(
newVal
,
oldVal
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
)
{
_this
.
refresh
();
}
}
/**
* 容器模型
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
containerModel
:
any
=
{
view_pickupviewpanel
:
{
name
:
'pickupviewpanel'
,
type
:
'PICKUPVIEWPANEL'
},
view_okbtn
:
{
name
:
'okbtn'
,
type
:
'button'
,
text
:
'确定'
,
disabled
:
true
},
view_cancelbtn
:
{
name
:
'cancelbtn'
,
type
:
'button'
,
text
:
'取消'
,
disabled
:
false
},
view_leftbtn
:
{
name
:
'leftbtn'
,
type
:
'button'
,
text
:
'左移'
,
disabled
:
true
},
view_rightbtn
:
{
name
:
'rightbtn'
,
type
:
'button'
,
text
:
'右移'
,
disabled
:
true
},
view_allleftbtn
:
{
name
:
'allleftbtn'
,
type
:
'button'
,
text
:
'全部左移'
,
disabled
:
true
},
view_allrightbtn
:
{
name
:
'allrightbtn'
,
type
:
'button'
,
text
:
'全部右移'
,
disabled
:
true
},
};
/**
* 视图操作参数
*
* @type {*}
* @readonly
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
viewCtx
:
any
=
{};
/**
* 计数器刷新
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 视图状态订阅对象
*
* @public
* @type {Subject<{action: string, data: any}>}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
viewState
:
Subject
<
ViewState
>
=
new
Subject
();
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
engine
:
PickupViewEngine
=
new
PickupViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
pickupviewpanel
:
this
.
$refs
.
pickupviewpanel
,
keyPSDEField
:
'ibizbook'
,
majorPSDEField
:
'ibizbookname'
,
isLoadDefault
:
true
,
});
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
* 导航服务事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
serviceStateEvent
:
Subscription
|
undefined
;
/**
* 门户部件状态对象
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
@
Prop
()
public
portletState
?:
any
;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
portletStateEvent
:
Subscription
|
undefined
;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
formDruipartEvent
:
Subscription
|
undefined
;
/**
* 应用上下文
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
context
:
any
=
{};
/**
* 视图参数
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
viewparams
:
any
=
{};
/**
* 视图缓存数据
*
* @type {*}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
viewCacheData
:
any
;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 解析视图参数
*
* @public
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
parseViewParam
(
inputvalue
:
any
=
null
):
void
{
for
(
let
key
in
this
.
context
){
delete
this
.
context
[
key
];
}
if
(
this
.
$store
.
getters
.
getAppData
()
&&
this
.
$store
.
getters
.
getAppData
().
context
){
Object
.
assign
(
this
.
context
,
this
.
$store
.
getters
.
getAppData
().
context
);
}
if
(
!
this
.
viewDefaultUsage
&&
this
.
viewdata
&&
!
Object
.
is
(
this
.
viewdata
,
''
))
{
if
(
typeof
this
.
viewdata
==
'string'
)
{
Object
.
assign
(
this
.
context
,
JSON
.
parse
(
this
.
viewdata
));
}
if
(
this
.
context
&&
this
.
context
.
srfparentdename
){
Object
.
assign
(
this
.
viewparams
,{
srfparentdename
:
this
.
context
.
srfparentdename
});
}
if
(
this
.
context
&&
this
.
context
.
srfparentkey
){
Object
.
assign
(
this
.
viewparams
,{
srfparentkey
:
this
.
context
.
srfparentkey
});
}
this
.
handleCustomViewData
();
return
;
}
const
path
=
(
this
.
$route
.
matched
[
this
.
$route
.
matched
.
length
-
1
]).
path
;
const
keys
:
Array
<
any
>
=
[];
const
curReg
=
this
.
$pathToRegExp
.
pathToRegexp
(
path
,
keys
);
const
matchArray
=
curReg
.
exec
(
this
.
$route
.
path
);
let
tempValue
:
Object
=
{};
keys
.
forEach
((
item
:
any
,
index
:
number
)
=>
{
if
(
matchArray
[
index
+
1
]){
Object
.
defineProperty
(
tempValue
,
item
.
name
,
{
enumerable
:
true
,
value
:
decodeURIComponent
(
matchArray
[
index
+
1
])
});
}
});
this
.
$viewTool
.
formatRouteParams
(
tempValue
,
this
.
$route
,
this
.
context
,
this
.
viewparams
);
if
(
inputvalue
){
Object
.
assign
(
this
.
context
,{
'ibizbook'
:
inputvalue
});
}
//初始化视图唯一标识
Object
.
assign
(
this
.
context
,{
srfsessionid
:
this
.
$util
.
createUUID
()});
this
.
handleCustomViewData
();
//初始化导航数据
this
.
initNavDataWithRoute
();
}
/**
* 处理自定义视图数据
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
handleCustomViewData
(){
if
(
Object
.
keys
(
this
.
customViewNavContexts
).
length
>
0
){
Object
.
keys
(
this
.
customViewNavContexts
).
forEach
((
item
:
any
)
=>
{
let
tempContext
:
any
=
{};
let
curNavContext
:
any
=
this
.
customViewNavContexts
[
item
];
this
.
handleCustomDataLogic
(
curNavContext
,
tempContext
,
item
);
Object
.
assign
(
this
.
context
,
tempContext
);
})
}
if
(
Object
.
keys
(
this
.
customViewParams
).
length
>
0
){
Object
.
keys
(
this
.
customViewParams
).
forEach
((
item
:
any
)
=>
{
let
tempParam
:
any
=
{};
let
curNavParam
:
any
=
this
.
customViewParams
[
item
];
this
.
handleCustomDataLogic
(
curNavParam
,
tempParam
,
item
);
Object
.
assign
(
this
.
viewparams
,
tempParam
);
})
}
}
/**
* 处理自定义视图数据逻辑
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
handleCustomDataLogic
(
curNavData
:
any
,
tempData
:
any
,
item
:
string
){
// 直接值直接赋值
if
(
curNavData
.
isRawValue
){
if
(
Object
.
is
(
curNavData
.
value
,
"null"
)
||
Object
.
is
(
curNavData
.
value
,
""
)){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
null
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
curNavData
.
value
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
}
else
{
// 先从导航上下文取数,没有再从导航参数(URL)取数,如果导航上下文和导航参数都没有则为null
if
(
this
.
context
[(
curNavData
.
value
).
toLowerCase
()]
!=
null
){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
this
.
context
[(
curNavData
.
value
).
toLowerCase
()],
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
if
(
this
.
viewparams
[(
curNavData
.
value
).
toLowerCase
()]
!=
null
){
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
this
.
viewparams
[(
curNavData
.
value
).
toLowerCase
()],
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
else
{
Object
.
defineProperty
(
tempData
,
item
.
toLowerCase
(),
{
value
:
null
,
writable
:
true
,
enumerable
:
true
,
configurable
:
true
});
}
}
}
}
/**
* 初始化导航数据(路由模式)
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
initNavDataWithRoute
(
data
:
any
=
null
,
isNew
:
boolean
=
false
,
isAlways
:
boolean
=
false
){
if
(
isAlways
||
(
this
.
viewDefaultUsage
&&
Object
.
is
(
this
.
navModel
,
"route"
))
){
this
.
navDataService
.
addNavData
({
id
:
'ibizbookusr2-pickup-view'
,
tag
:
this
.
viewtag
,
srfkey
:
isNew
?
null
:
this
.
context
.
ibizbook
,
title
:
this
.
model
.
srfCaption
,
data
:
data
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
}
}
/**
* 初始化导航数据(分页模式)
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
initNavDataWithTab
(
data
:
any
=
null
,
isOnlyAdd
:
boolean
=
true
,
isAlways
:
boolean
=
false
){
if
(
isAlways
||
(
this
.
viewDefaultUsage
&&
!
Object
.
is
(
this
.
navModel
,
"route"
))
){
this
.
navDataService
.
addNavDataByOnly
({
id
:
'ibizbookusr2-pickup-view'
,
tag
:
this
.
viewtag
,
srfkey
:
this
.
context
.
ibizbook
,
title
:
this
.
model
.
srfCaption
,
data
:
data
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
},
isOnlyAdd
);
}
}
/**
* Vue声明周期
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
afterCreated
(){
let
_this
:
any
=
this
;
const
secondtag
=
_this
.
$util
.
createUUID
();
_this
.
$store
.
commit
(
'viewaction/createdView'
,
{
viewtag
:
_this
.
viewtag
,
secondtag
:
secondtag
});
_this
.
viewtag
=
secondtag
;
_this
.
parseViewParam
();
_this
.
serviceStateEvent
=
_this
.
navDataService
.
serviceState
.
subscribe
(({
action
,
name
,
data
}:{
action
:
string
,
name
:
any
,
data
:
any
})
=>
{
if
(
!
Object
.
is
(
name
,
'ibizbookusr2-pickup-view'
)){
return
;
}
if
(
Object
.
is
(
action
,
'viewrefresh'
))
{
_this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
(
data
);
if
(
_this
.
engine
){
_this
.
engine
.
load
();
}
});
}
});
if
(
_this
.
portletState
){
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
if
(
!
Object
.
is
(
res
.
name
,
'IBIZBOOKUsr2PickupView'
)){
return
;
}
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
_this
.
refresh
();
}
})
}
_this
.
initViewCtx
();
}
/**
* 初始化视图操作参数
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
initViewCtx
()
{
Object
.
assign
(
this
.
viewCtx
,
{
app
:
this
.
$root
,
view
:
this
,
viewGlobal
:
{},
viewNavData
:
{},
viewNavContext
:
this
.
context
,
viewNavParam
:
this
.
viewparams
,
messagebox
:
AppMessageBox
.
getInstance
(),
});
Object
.
assign
(
this
.
viewCtx
,
{
appGlobal
:
this
.
$store
.
getters
.
getAppGlobal
()
});
if
(
this
.
$store
.
getters
.
getRouteViewGlobal
(
this
.
context
.
srfsessionid
))
{
Object
.
assign
(
this
.
viewCtx
,
{
routeViewGlobal
:
this
.
$store
.
getters
.
getRouteViewGlobal
(
this
.
context
.
srfsessionid
)
});
}
else
{
this
.
$store
.
commit
(
'addRouteViewGlobal'
,
{
tag
:
this
.
context
.
srfsessionid
,
param
:
{}
});
Object
.
assign
(
this
.
viewCtx
,
{
routeViewGlobal
:
this
.
$store
.
getters
.
getRouteViewGlobal
(
this
.
context
.
srfsessionid
)
});
}
if
(
!
this
.
viewDefaultUsage
&&
this
.
viewdata
&&
!
Object
.
is
(
this
.
viewdata
,
''
))
{
// 嵌入视图
Object
.
assign
(
this
.
viewCtx
,
{
topview
:
this
.
$store
.
getters
.
getView
(
this
.
context
.
srfsessionid
)
});
}
else
{
// 顶层视图
this
.
$store
.
commit
(
'addView'
,
{
tag
:
this
.
context
.
srfsessionid
,
param
:
this
});
Object
.
assign
(
this
.
viewCtx
,
{
topview
:
this
});
}
}
/**
* 销毁之前
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
beforeDestroy
()
{
this
.
$store
.
commit
(
'viewaction/removeView'
,
this
.
viewtag
);
let
_this
:
any
=
this
if
(
_this
.
serviceStateEvent
)
{
_this
.
serviceStateEvent
.
unsubscribe
();
}
if
(
_this
.
portletStateEvent
)
{
_this
.
portletStateEvent
.
unsubscribe
();
}
if
(
_this
.
formDruipartEvent
)
{
_this
.
formDruipartEvent
.
unsubscribe
();
}
if
(
_this
.
engine
)
{
_this
.
engine
.
destroy
();
}
}
/**
* Vue声明周期(组件初始化完毕)
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
mounted
()
{
this
.
afterMounted
();
}
/**
* 执行mounted后的逻辑
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
afterMounted
(){
const
_this
:
any
=
this
;
_this
.
engineInit
();
if
(
_this
.
loadModel
&&
_this
.
loadModel
instanceof
Function
)
{
_this
.
loadModel
();
}
if
(
this
.
viewparams
.
selectedData
){
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'selectionchange'
,
this
.
viewparams
.
selectedData
);
}
}
/**
* pickupviewpanel 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
pickupviewpanel_selectionchange
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'selectionchange'
,
$event
);
}
/**
* pickupviewpanel 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
pickupviewpanel_load
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'load'
,
$event
);
}
/**
* pickupviewpanel 部件 activated 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
pickupviewpanel_activated
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'pickupviewpanel'
,
'activated'
,
$event
);
}
/**
* 关闭视图
*
* @param {any[]} args
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
closeView
(
args
:
any
[]):
void
{
let
_view
:
any
=
this
;
if
(
_view
.
viewdata
)
{
_view
.
$emit
(
'viewdataschange'
,
Array
.
isArray
(
args
)?
args
:[
args
]);
_view
.
$emit
(
'close'
,
Array
.
isArray
(
args
)?
args
:[
args
]);
}
else
if
(
_view
.
$tabPageExp
)
{
_view
.
$tabPageExp
.
onClose
(
_view
.
$route
.
fullPath
);
}
else
{
_view
.
$router
.
back
();
}
}
/**
* 销毁视图回调
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
destroyed
(){
this
.
afterDestroyed
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
afterDestroyed
(){
if
(
this
.
viewDefaultUsage
)
{
let
localStoreLength
=
Object
.
keys
(
localStorage
);
if
(
localStoreLength
.
length
>
0
){
localStoreLength
.
forEach
((
item
:
string
)
=>
{
if
(
item
.
startsWith
(
this
.
context
.
srfsessionid
)){
localStorage
.
removeItem
(
item
);
}
})
}
if
(
Object
.
is
(
this
.
navModel
,
"tab"
)){
this
.
navDataService
.
removeNavDataByTag
(
this
.
viewtag
);
}
}
// 销毁计数器定时器
if
(
this
.
counterServiceArray
&&
this
.
counterServiceArray
.
length
>
0
){
this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
destroyCounter
&&
item
.
destroyCounter
instanceof
Function
){
item
.
destroyCounter
();
}
})
}
}
/**
* 选中数据的字符串
*
* @type {string}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
selectedData
:
string
=
""
;
/**
* 视图选中数据
*
* @type {any[]}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
viewSelections
:
any
[]
=
[];
/**
* 是否显示按钮
*
* @type {boolean}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
@
Prop
({
default
:
true
})
public
isShowButton
!
:
boolean
;
/**
* 是否单选
*
* @type {boolean}
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
isSingleSelect
:
boolean
=
true
;
/**
* 确定
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
onClickOk
():
void
{
this
.
$emit
(
'viewdataschange'
,
this
.
viewSelections
);
this
.
$emit
(
'close'
,
null
);
}
/**
* 取消
*
* @memberof IBIZBOOKUsr2PickupViewBase
*/
public
onClickCancel
():
void
{
this
.
$emit
(
'viewdataschange'
,
null
);
this
.
$emit
(
'close'
,
null
);
}
}
</
script
>
<
style
lang=
'scss'
>
@import
'./ibizbookusr2-pickup-view.scss'
;
</
style
>
\ No newline at end of file
app_Web/src/pages/sample/ibizbookusr2-pickup-view/ibizbookusr2-pickup-view.scss
0 → 100644
浏览文件 @
6e8284d3
// 基于 @VIEW/实体数据选择视图/VIEW.scss.ftl 生成
.ibizbookusr2-pickup-view
{
position
:
relative
;
}
.depickupview
{
.pickupviewpanel
{
flex-grow
:
1
;
display
:
flex
;
justify-content
:
flex-end
;
height
:
100%
;
}
.footer
{
display
:
flex
;
justify-content
:
end
;
>
.ivu-btn
{
margin-left
:
10px
;
}
}
}
app_Web/src/pages/sample/ibizbookusr2-pickup-view/ibizbookusr2-pickup-view.vue
0 → 100644
浏览文件 @
6e8284d3
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZBOOKUsr2PickupViewBase
from
'./ibizbookusr2-pickup-view-base.vue'
;
import
view_pickupviewpanel
from
'@widgets/ibizbook/usr2-pickup-viewpickupviewpanel-pickupviewpanel/usr2-pickup-viewpickupviewpanel-pickupviewpanel.vue'
;
// 基于 @VIEW/实体数据选择视图/VIEW.vue.ftl 生成
@
Component
({
components
:
{
view_pickupviewpanel
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
if
(
!
Object
.
is
(
vm
.
navModel
,
"route"
)){
vm
.
initNavDataWithTab
(
vm
.
viewCacheData
);
}
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
IBIZBOOKUsr2PickupView
extends
IBIZBOOKUsr2PickupViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
6e8284d3
...
...
@@ -194,7 +194,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizorder-detail-grid-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-grid-view9/ibizorder-detail-grid-view9.vue'
));
Vue
.
component
(
'ibizorder-detail-sgrid-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view9/ibizorder-detail-sgrid-view9.vue'
));
Vue
.
component
(
'ibizorder-detail-sgrid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'
));
Vue
.
component
(
'ibiz
customer-usr2-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-pickup-view/ibizcustomer-
usr2-pickup-view.vue'
));
Vue
.
component
(
'ibiz
bookusr2-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr2-pickup-view/ibizbook
usr2-pickup-view.vue'
));
Vue
.
component
(
'ibizcustomer-usr2-mpickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-mpickup-view/ibizcustomer-usr2-mpickup-view.vue'
));
Vue
.
component
(
'ibizbookpickup-view'
,
()
=>
import
(
'@pages/sample/ibizbookpickup-view/ibizbookpickup-view.vue'
));
Vue
.
component
(
'ibizcustomer-intfmpickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-intfmpickup-view/ibizcustomer-intfmpickup-view.vue'
));
...
...
@@ -236,6 +236,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizbookusr6-edit-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr6-edit-view/ibizbookusr6-edit-view.vue'
));
Vue
.
component
(
'ibizbookoption-view-layout'
,
()
=>
import
(
'@pages/sample/ibizbookoption-view-layout/ibizbookoption-view-layout.vue'
));
Vue
.
component
(
'ibizcustomer-usr2-pickup-view-layout'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-pickup-view-layout/ibizcustomer-usr2-pickup-view-layout.vue'
));
Vue
.
component
(
'ibizcustomer-usr2-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-pickup-view/ibizcustomer-usr2-pickup-view.vue'
));
Vue
.
component
(
'ibizcustomer-usr2-mpickup-view-layout'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-mpickup-view-layout/ibizcustomer-usr2-mpickup-view-layout.vue'
));
Vue
.
component
(
'ibizcustomer-pickup-view-layout'
,
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-view-layout/ibizcustomer-pickup-view-layout.vue'
));
Vue
.
component
(
'ibizcustomer-mpickup-view-layout'
,
()
=>
import
(
'@pages/sample/ibizcustomer-mpickup-view-layout/ibizcustomer-mpickup-view-layout.vue'
));
...
...
@@ -252,6 +253,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizuniproduct-pickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'
));
Vue
.
component
(
'ibizorder-detail-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'
));
Vue
.
component
(
'ibizorder-detail-sedit-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'
));
Vue
.
component
(
'ibizbookusr2-pickup-tree-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr2-pickup-tree-view/ibizbookusr2-pickup-tree-view.vue'
));
Vue
.
component
(
'ibizcustomer-pickup-tree-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-tree-view/ibizcustomer-pickup-tree-view.vue'
));
Vue
.
component
(
'ibizbookpickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizbookpickup-grid-view/ibizbookpickup-grid-view.vue'
));
Vue
.
component
(
'ibizcustomer-intfpickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-intfpickup-grid-view/ibizcustomer-intfpickup-grid-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
6e8284d3
...
...
@@ -3162,19 +3162,19 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'
),
},
{
path
:
'ibiz
customers/:ibizcustomer
?/usr2pickupview/:usr2pickupview?'
,
path
:
'ibiz
books/:ibizbook
?/usr2pickupview/:usr2pickupview?'
,
meta
:
{
caption
:
'
客户
'
,
captionLanResTag
:
'DE.LNAME.IBIZ
CUSTOMER
'
,
caption
:
'
图书
'
,
captionLanResTag
:
'DE.LNAME.IBIZ
BOOK
'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibiz
customers'
,
parameterName
:
'ibizcustomer
'
},
{
pathName
:
'ibiz
books'
,
parameterName
:
'ibizbook
'
},
{
pathName
:
'usr2pickupview'
,
parameterName
:
'usr2pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibiz
customer-usr2-pickup-view/ibizcustomer-
usr2-pickup-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
bookusr2-pickup-view/ibizbook
usr2-pickup-view.vue'
),
},
{
path
:
'ibizcustomers/:ibizcustomer?/usr2mpickupview/:usr2mpickupview?'
,
...
...
@@ -3805,6 +3805,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-pickup-view-layout/ibizcustomer-usr2-pickup-view-layout.vue'
),
},
{
path
:
'ibizcustomers/:ibizcustomer?/usr2pickupview/:usr2pickupview?'
,
meta
:
{
caption
:
'客户'
,
captionLanResTag
:
'DE.LNAME.IBIZCUSTOMER'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'usr2pickupview'
,
parameterName
:
'usr2pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-pickup-view/ibizcustomer-usr2-pickup-view.vue'
),
},
{
path
:
'ibizcustomers/:ibizcustomer?/usr2mpickupview_layout/:usr2mpickupview_layout?'
,
meta
:
{
...
...
@@ -4046,6 +4061,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/usr2pickuptreeview/:usr2pickuptreeview?'
,
meta
:
{
caption
:
'图书'
,
captionLanResTag
:
'DE.LNAME.IBIZBOOK'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr2pickuptreeview'
,
parameterName
:
'usr2pickuptreeview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr2-pickup-tree-view/ibizbookusr2-pickup-tree-view.vue'
),
},
{
path
:
'ibizcustomers/:ibizcustomer?/pickuptreeview/:pickuptreeview?'
,
meta
:
{
...
...
@@ -5063,6 +5093,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-mpickup-view/ibizcustomer-usr2-mpickup-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr2pickupview/:usr2pickupview?'
,
meta
:
{
caption
:
'图书'
,
captionLanResTag
:
'DE.LNAME.IBIZBOOK'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr2pickupview'
,
parameterName
:
'usr2pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr2-pickup-view/ibizbookusr2-pickup-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr2optionview/:usr2optionview?'
,
meta
:
{
...
...
@@ -6781,6 +6825,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-sf7-edit-view/ibizorder-sf7-edit-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr2pickuptreeview/:usr2pickuptreeview?'
,
meta
:
{
caption
:
'图书'
,
captionLanResTag
:
'DE.LNAME.IBIZBOOK'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr2pickuptreeview'
,
parameterName
:
'usr2pickuptreeview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr2-pickup-tree-view/ibizbookusr2-pickup-tree-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/gridview9/:gridview9?'
,
meta
:
{
...
...
app_Web/src/pages/ungroup/app-index-view/page-register.ts
浏览文件 @
6e8284d3
...
...
@@ -194,7 +194,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizorder-detail-grid-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-grid-view9/ibizorder-detail-grid-view9.vue'
));
Vue
.
component
(
'ibizorder-detail-sgrid-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view9/ibizorder-detail-sgrid-view9.vue'
));
Vue
.
component
(
'ibizorder-detail-sgrid-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'
));
Vue
.
component
(
'ibiz
customer-usr2-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-pickup-view/ibizcustomer-
usr2-pickup-view.vue'
));
Vue
.
component
(
'ibiz
bookusr2-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr2-pickup-view/ibizbook
usr2-pickup-view.vue'
));
Vue
.
component
(
'ibizcustomer-usr2-mpickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-mpickup-view/ibizcustomer-usr2-mpickup-view.vue'
));
Vue
.
component
(
'ibizbookpickup-view'
,
()
=>
import
(
'@pages/sample/ibizbookpickup-view/ibizbookpickup-view.vue'
));
Vue
.
component
(
'ibizcustomer-intfmpickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-intfmpickup-view/ibizcustomer-intfmpickup-view.vue'
));
...
...
@@ -236,6 +236,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizbookusr6-edit-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr6-edit-view/ibizbookusr6-edit-view.vue'
));
Vue
.
component
(
'ibizbookoption-view-layout'
,
()
=>
import
(
'@pages/sample/ibizbookoption-view-layout/ibizbookoption-view-layout.vue'
));
Vue
.
component
(
'ibizcustomer-usr2-pickup-view-layout'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-pickup-view-layout/ibizcustomer-usr2-pickup-view-layout.vue'
));
Vue
.
component
(
'ibizcustomer-usr2-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-pickup-view/ibizcustomer-usr2-pickup-view.vue'
));
Vue
.
component
(
'ibizcustomer-usr2-mpickup-view-layout'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-mpickup-view-layout/ibizcustomer-usr2-mpickup-view-layout.vue'
));
Vue
.
component
(
'ibizcustomer-pickup-view-layout'
,
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-view-layout/ibizcustomer-pickup-view-layout.vue'
));
Vue
.
component
(
'ibizcustomer-mpickup-view-layout'
,
()
=>
import
(
'@pages/sample/ibizcustomer-mpickup-view-layout/ibizcustomer-mpickup-view-layout.vue'
));
...
...
@@ -252,6 +253,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizuniproduct-pickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'
));
Vue
.
component
(
'ibizorder-detail-edit-view'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'
));
Vue
.
component
(
'ibizorder-detail-sedit-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'
));
Vue
.
component
(
'ibizbookusr2-pickup-tree-view'
,
()
=>
import
(
'@pages/sample/ibizbookusr2-pickup-tree-view/ibizbookusr2-pickup-tree-view.vue'
));
Vue
.
component
(
'ibizcustomer-pickup-tree-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-tree-view/ibizcustomer-pickup-tree-view.vue'
));
Vue
.
component
(
'ibizbookpickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizbookpickup-grid-view/ibizbookpickup-grid-view.vue'
));
Vue
.
component
(
'ibizcustomer-intfpickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-intfpickup-grid-view/ibizcustomer-intfpickup-grid-view.vue'
));
...
...
app_Web/src/pages/ungroup/app-index-view/router.ts
浏览文件 @
6e8284d3
...
...
@@ -3161,19 +3161,19 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sgrid-view/ibizorder-detail-sgrid-view.vue'
),
},
{
path
:
'ibiz
customers/:ibizcustomer
?/usr2pickupview/:usr2pickupview?'
,
path
:
'ibiz
books/:ibizbook
?/usr2pickupview/:usr2pickupview?'
,
meta
:
{
caption
:
'
客户
'
,
captionLanResTag
:
'DE.LNAME.IBIZ
CUSTOMER
'
,
caption
:
'
图书
'
,
captionLanResTag
:
'DE.LNAME.IBIZ
BOOK
'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'ibiz
customers'
,
parameterName
:
'ibizcustomer
'
},
{
pathName
:
'ibiz
books'
,
parameterName
:
'ibizbook
'
},
{
pathName
:
'usr2pickupview'
,
parameterName
:
'usr2pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibiz
customer-usr2-pickup-view/ibizcustomer-
usr2-pickup-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibiz
bookusr2-pickup-view/ibizbook
usr2-pickup-view.vue'
),
},
{
path
:
'ibizcustomers/:ibizcustomer?/usr2mpickupview/:usr2mpickupview?'
,
...
...
@@ -3804,6 +3804,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-pickup-view-layout/ibizcustomer-usr2-pickup-view-layout.vue'
),
},
{
path
:
'ibizcustomers/:ibizcustomer?/usr2pickupview/:usr2pickupview?'
,
meta
:
{
caption
:
'客户'
,
captionLanResTag
:
'DE.LNAME.IBIZCUSTOMER'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'usr2pickupview'
,
parameterName
:
'usr2pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-pickup-view/ibizcustomer-usr2-pickup-view.vue'
),
},
{
path
:
'ibizcustomers/:ibizcustomer?/usr2mpickupview_layout/:usr2mpickupview_layout?'
,
meta
:
{
...
...
@@ -4045,6 +4060,21 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'
),
},
{
path
:
'ibizbooks/:ibizbook?/usr2pickuptreeview/:usr2pickuptreeview?'
,
meta
:
{
caption
:
'图书'
,
captionLanResTag
:
'DE.LNAME.IBIZBOOK'
,
info
:
''
,
parameters
:
[
{
pathName
:
'appindexview'
,
parameterName
:
'appindexview'
},
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr2pickuptreeview'
,
parameterName
:
'usr2pickuptreeview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr2-pickup-tree-view/ibizbookusr2-pickup-tree-view.vue'
),
},
{
path
:
'ibizcustomers/:ibizcustomer?/pickuptreeview/:pickuptreeview?'
,
meta
:
{
...
...
@@ -5062,6 +5092,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-usr2-mpickup-view/ibizcustomer-usr2-mpickup-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr2pickupview/:usr2pickupview?'
,
meta
:
{
caption
:
'图书'
,
captionLanResTag
:
'DE.LNAME.IBIZBOOK'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr2pickupview'
,
parameterName
:
'usr2pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr2-pickup-view/ibizbookusr2-pickup-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr2optionview/:usr2optionview?'
,
meta
:
{
...
...
@@ -6780,6 +6824,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-sf7-edit-view/ibizorder-sf7-edit-view.vue'
),
},
{
path
:
'/ibizbooks/:ibizbook?/usr2pickuptreeview/:usr2pickuptreeview?'
,
meta
:
{
caption
:
'图书'
,
captionLanResTag
:
'DE.LNAME.IBIZBOOK'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizbooks'
,
parameterName
:
'ibizbook'
},
{
pathName
:
'usr2pickuptreeview'
,
parameterName
:
'usr2pickuptreeview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizbookusr2-pickup-tree-view/ibizbookusr2-pickup-tree-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/gridview9/:gridview9?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
6e8284d3
...
...
@@ -573,6 +573,16 @@ export const viewstate: any = {
'6a079bac1a6eeb580654cd04e6b1a8b8'
,
],
},
{
viewtag
:
'3192b641fa31cbe04d8a901f0992d77d'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKUsr2PickupView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'a4a69f429887f43271781be0e37b08b1'
,
],
},
{
viewtag
:
'33e9f40b8b9255757f792baf79a8e309'
,
viewmodule
:
'Sample'
,
...
...
@@ -1939,6 +1949,15 @@ export const viewstate: any = {
'6bc6e690dc5abfc6d89703e4459c785c'
,
],
},
{
viewtag
:
'a4a69f429887f43271781be0e37b08b1'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZBOOKUsr2PickupTreeView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'a5c123887fed6734a6b04952d01f242d'
,
viewmodule
:
'Sample'
,
...
...
@@ -2576,7 +2595,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'
2dd50b1b88cf8062b625ee8b0b4fa9d7
'
,
'
3192b641fa31cbe04d8a901f0992d77d
'
,
'3177e05ee25b4c215c2ce87547fcdc8c'
,
'c00136c9f309c2b6b14f43fcf5a6338e'
,
'681631239002f25ab59d3f72230e6ce5'
,
...
...
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
浏览文件 @
6e8284d3
...
...
@@ -123,6 +123,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2listview'
,
viewType
:
'DELISTVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-list-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr10editview'
,
viewType
:
'DEEDITVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr10-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2editview_layout'
,
viewType
:
'DEEDITVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-edit-view-layout'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2pickupview'
,
viewType
:
'DEPICKUPVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-pickup-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2optionview'
,
viewType
:
'DEOPTVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-option-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'valuerulesgridview'
,
viewType
:
'DEGRIDVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookvalue-rules-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2meditview9'
,
viewType
:
'DEMEDITVIEW9'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-medit-view9'
});
...
...
@@ -161,6 +162,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'meditview9'
,
viewType
:
'DEMEDITVIEW9'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookmedit-view9'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2treeview'
,
viewType
:
'DETREEVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-tree-view'
});
this
.
allViewMap
.
set
(
'REDIRECTVIEW:'
,{
viewname
:
'redirectview'
,
viewType
:
'DEREDIRECTVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookredirect-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2pickuptreeview'
,
viewType
:
'DEPICKUPTREEVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-pickup-tree-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'customview'
,
viewType
:
'DECUSTOMVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookcustom-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr4listview'
,
viewType
:
'DELISTVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr4-list-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'ganttview'
,
viewType
:
'DEGANTTVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookgantt-view'
});
...
...
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-base.vue
浏览文件 @
6e8284d3
...
...
@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -1799,7 +1799,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
6e8284d3
...
...
@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
6e8284d3
...
...
@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-wizardpanel/guide-wizardpanel-base.vue
浏览文件 @
6e8284d3
...
...
@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface {
* @type {Boolean}
* @memberof GuideBase
*/
public
isShowStepBar
:
Boolean
=
fals
e
;
public
isShowStepBar
:
Boolean
=
tru
e
;
/**
* 获取多项数据
...
...
app_Web/src/widgets/ibizbook/inter-func-form-2-form/inter-func-form-2-form-base.vue
浏览文件 @
6e8284d3
...
...
@@ -20,7 +20,7 @@
valueitem='borrowerid'
:value="data.borrower"
editortype="pickup-no-ac"
:pickupView="{ viewname: 'ibiz
customer-usr2-pickup-view', title: $t('DE.LNAME.IBIZCUSTOMER', '客户'), deResParameters: [], parameters: [{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer
' }, { pathName: 'usr2pickupview', parameterName: 'usr2pickupview' } ], placement:'' }"
:pickupView="{ viewname: 'ibiz
bookusr2-pickup-view', title: $t('DE.LNAME.IBIZBOOK', '图书'), deResParameters: [], parameters: [{ pathName: 'ibizbooks', parameterName: 'ibizbook
' }, { pathName: 'usr2pickupview', parameterName: 'usr2pickupview' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
...
...
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
浏览文件 @
6e8284d3
...
...
@@ -1846,7 +1846,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
6
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1898,7 +1898,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
6
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1969,7 +1969,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
6
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -2077,7 +2077,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
6
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -2275,7 +2275,7 @@ export default class MainBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
6
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
6e8284d3
...
...
@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/usr2-pickup-viewpickupviewpanel-pickupviewpanel/usr2-pickup-viewpickupviewpanel-pickupviewpanel-base.vue
0 → 100644
浏览文件 @
6e8284d3
// 基于 @CONTROL/选择视图面板/CONTROL-BASE.vue.ftl 生成
<
template
>
<div
class=
'pickupviewpanel'
>
<component
v-if=
"inited && view.viewname && !Object.is(view.viewname, '')"
:is=
"view.viewname"
class=
"viewcontainer3"
:viewdata=
"viewdata"
:viewparam=
"viewparam"
:viewDefaultUsage=
"false"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
@
viewdataschange=
"onViewDatasChange"
@
viewdatasactivated=
"viewDatasActivated"
@
viewload=
"onViewLoad"
>
</component>
</div>
</
template
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Model
,
Inject
}
from
'vue-property-decorator'
;
import
{
CreateElement
}
from
'vue'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
{
ControlInterface
}
from
'@/interface/control'
;
import
{
UIActionTool
,
Util
,
ViewTool
}
from
'@/utils'
;
import
NavDataService
from
'@/service/app/navdata-service'
;
import
AppCenterService
from
"@service/app/app-center-service"
;
import
IBIZBOOKEntityService
from
'@/service/ibizbook/ibizbook-service'
;
import
Usr2PickupViewpickupviewpanelService
from
'./usr2-pickup-viewpickupviewpanel-pickupviewpanel-service'
;
import
IBIZBOOKUIService
from
'@/uiservice/ibizbook/ibizbook-ui-service'
;
import
Usr2PickupViewpickupviewpanelModel
from
'./usr2-pickup-viewpickupviewpanel-pickupviewpanel-model'
;
@
Component
({
components
:
{
}
})
export
default
class
Usr2PickupViewpickupviewpanelBase
extends
Vue
implements
ControlInterface
{
/**
* 名称
*
* @type {string}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
@
Prop
()
public
name
?:
string
;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
@
Prop
()
public
viewState
!
:
Subject
<
ViewState
>
;
/**
* 应用上下文
*
* @type {*}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
@
Prop
()
public
context
!
:
any
;
/**
* 视图参数
*
* @type {*}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
@
Prop
()
public
viewparams
!
:
any
;
/**
* 视图操作参数(父级)
*
* @type {*}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
@
Prop
()
public
pViewCtx
!
:
any
;
/**
* 视图操作参数
*
* @type {*}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
viewCtx
:
any
=
{};
/**
* 监听视图操作参数变化
*
* @type {*}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
@
Watch
(
'pViewCtx'
,
{
immediate
:
true
})
public
onViewCtxChange
(
newVal
:
any
,
oldVal
:
any
)
{
Object
.
assign
(
this
.
viewCtx
,
newVal
,
{
xData
:
this
,
ctrl
:
this
});
}
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
viewStateEvent
:
Subscription
|
undefined
;
/**
* 获取部件类型
*
* @returns {string}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
getControlType
():
string
{
return
'PICKUPVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {Usr2PickupViewpickupviewpanelService}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
service
:
Usr2PickupViewpickupviewpanelService
=
new
Usr2PickupViewpickupviewpanelService
({
$store
:
this
.
$store
});
/**
* 实体服务对象
*
* @type {IBIZBOOKService}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
appEntityService
:
IBIZBOOKEntityService
=
new
IBIZBOOKEntityService
({
$store
:
this
.
$store
});
/**
* 转化数据
*
* @param {any} args
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
transformData
(
args
:
any
)
{
let
_this
:
any
=
this
;
if
(
_this
.
service
&&
_this
.
service
.
handleRequestData
instanceof
Function
&&
_this
.
service
.
handleRequestData
(
'transform'
,
_this
.
context
,
args
)){
return
_this
.
service
.
handleRequestData
(
'transform'
,
_this
.
context
,
args
)[
'data'
];
}
}
/**
* 关闭视图
*
* @param {any} args
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
closeView
(
args
:
any
):
void
{
let
_this
:
any
=
this
;
_this
.
$emit
(
'closeview'
,
[
args
]);
}
/**
* 计数器刷新
*
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
counterRefresh
(){
const
_this
:
any
=
this
;
if
(
_this
.
counterServiceArray
&&
_this
.
counterServiceArray
.
length
>
0
){
_this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
refreshData
&&
item
.
refreshData
instanceof
Function
){
item
.
refreshData
();
}
})
}
}
/**
* 处理部件事件
*
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
async
handleCtrlEvents
(
eventName
:
string
,
args
:
any
=
{}):
Promise
<
boolean
>
{
const
actionData
=
{
data
:
this
.
getData
()
||
{},
context
:
Util
.
deepCopy
(
this
.
context
),
viewparams
:
Util
.
deepCopy
(
this
.
viewparams
),
xData
:
this
}
let
result
:
boolean
=
true
;
Object
.
assign
(
actionData
,
args
);
if
(
!
result
)
{
return
false
;
}
this
.
$emit
(
eventName
,
actionData
);
return
true
;
}
/**
* 选中数据字符串
*
* @type {string}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
@
Prop
()
public
selectedData
?:
string
;
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
getDatas
():
any
[]
{
return
[];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
getData
():
any
{
return
{};
}
/**
* 视图名称
*
* @type {*}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
view
:
any
=
{
viewname
:
'ibizbookusr2-pickup-tree-view'
,
data
:
{},
}
/**
* 局部上下文
*
* @type {*}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
localContext
:
any
=
null
;
/**
* 局部视图参数
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
localViewParam
:
any
=
null
;
/**
* 视图数据
*
* @type {*}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
viewdata
:
string
=
JSON
.
stringify
(
this
.
context
);
/**
* 视图参数
*
* @type {*}
* @memberof PickupViewpickupviewpanel
*/
public
viewparam
:
string
=
JSON
.
stringify
(
this
.
viewparams
);
/**
* 是否显示按钮
*
* @type {boolean}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
@
Prop
({
default
:
true
})
public
isShowButton
!
:
boolean
;
/**
* 是否单选
*
* @type {boolean}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
@
Prop
()
public
isSingleSelect
?:
boolean
;
/**
* 初始化完成
*
* @type {boolean}
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
inited
:
boolean
=
false
;
/**
* 视图数据变化
*
* @param {*} $event
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
onViewDatasChange
(
$event
:
any
):
void
{
if
(
$event
.
length
>
0
){
$event
.
forEach
((
item
:
any
,
index
:
any
)
=>
{
let
srfmajortext
=
item
.
srfmajortext
?
item
.
srfmajortext
:
item
[
'ibizbookname'
];
if
(
srfmajortext
){
Object
.
assign
(
$event
[
index
],{
srfmajortext
:
srfmajortext
});
}
});
}
this
.
$emit
(
'selectionchange'
,
$event
);
}
/**
* 视图数据被激活
*
* @param {*} $event
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
viewDatasActivated
(
$event
:
any
):
void
{
this
.
$emit
(
'activated'
,
$event
);
}
/**
* 视图加载完成
*
* @param {*} $event
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
onViewLoad
(
$event
:
any
):
void
{
this
.
$emit
(
'load'
,
$event
);
}
/**
* vue 生命周期
*
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
afterCreated
(){
this
.
initNavParam
();
if
(
this
.
viewState
)
{
this
.
viewStateEvent
=
this
.
viewState
.
subscribe
(({
tag
,
action
,
data
})
=>
{
if
(
!
Object
.
is
(
tag
,
this
.
name
))
{
return
;
}
if
(
Object
.
is
(
'load'
,
action
))
{
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
Object
.
assign
(
data
,
this
.
viewparams
));
this
.
inited
=
true
;
}
});
}
}
/**
* 初始化导航参数
*
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
initNavParam
(){
if
(
this
.
localContext
&&
Object
.
keys
(
this
.
localContext
).
length
>
0
){
let
_context
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localContext
);
Object
.
assign
(
this
.
context
,
_context
);
}
if
(
this
.
localViewParam
&&
Object
.
keys
(
this
.
localViewParam
).
length
>
0
){
let
_param
:
any
=
this
.
$util
.
computedNavData
({},
this
.
context
,
this
.
viewparams
,
this
.
localViewParam
);
Object
.
assign
(
this
.
viewparams
,
_param
);
}
this
.
viewdata
=
JSON
.
stringify
(
this
.
context
);
this
.
viewparam
=
JSON
.
stringify
(
this
.
viewparams
);
}
/**
* vue 生命周期
*
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
destroyed
()
{
this
.
afterDestroy
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof Usr2PickupViewpickupviewpanelBase
*/
public
afterDestroy
()
{
if
(
this
.
viewStateEvent
)
{
this
.
viewStateEvent
.
unsubscribe
();
}
}
}
</
script
>
<
style
lang=
'scss'
>
@import
'./usr2-pickup-viewpickupviewpanel-pickupviewpanel.scss'
;
</
style
>
\ No newline at end of file
app_Web/src/widgets/ibizbook/usr2-pickup-viewpickupviewpanel-pickupviewpanel/usr2-pickup-viewpickupviewpanel-pickupviewpanel-model.ts
0 → 100644
浏览文件 @
6e8284d3
// 基于 @CONTROL/选择视图面板/MODEL.ts.ftl 生成
/**
* Usr2PickupViewpickupviewpanel 部件模型
*
* @export
* @class Usr2PickupViewpickupviewpanelModel
*/
export
default
class
Usr2PickupViewpickupviewpanelModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr2PickupViewpickupviewpanelModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'createman'
,
},
{
name
:
'ibizbookname'
,
},
{
name
:
'ibizbook'
,
prop
:
'ibizbookid'
,
},
{
name
:
'createdate'
,
},
{
name
:
'updateman'
,
},
{
name
:
'updatedate'
,
},
{
name
:
'author'
,
},
{
name
:
'price'
,
},
{
name
:
'press'
,
},
{
name
:
'type'
,
},
{
name
:
'booknumber'
,
},
{
name
:
'subtext'
,
},
{
name
:
'lendouttime'
,
},
{
name
:
'returntime'
,
},
{
name
:
'icon'
,
},
{
name
:
'sailstate'
,
},
{
name
:
'borrowstatus'
,
},
{
name
:
'stepstatus'
,
},
{
name
:
'borrower'
,
},
{
name
:
'borrowway'
,
},
{
name
:
'returnlib'
,
},
{
name
:
'borrowerid'
,
},
{
name
:
'borrower1'
,
},
{
name
:
'borrower1_id'
,
},
{
name
:
'borrower2'
,
},
{
name
:
'borrower2_id'
,
},
{
name
:
'borrower3'
,
},
{
name
:
'borrower3_id'
,
},
{
name
:
'tag'
,
},
{
name
:
'orgid'
,
},
{
name
:
'deptid'
,
},
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/usr2-pickup-viewpickupviewpanel-pickupviewpanel/usr2-pickup-viewpickupviewpanel-pickupviewpanel-service.ts
0 → 100644
浏览文件 @
6e8284d3
// 基于 @CONTROL/选择视图面板/SERVICE.ts.ftl 生成
import
{
Http
}
from
'@/utils'
;
import
ControlService
from
'@/widgets/control-service'
;
/**
* Usr2PickupViewpickupviewpanel 部件服务对象
*
* @export
* @class Usr2PickupViewpickupviewpanelService
*/
export
default
class
Usr2PickupViewpickupviewpanelService
extends
ControlService
{
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/usr2-pickup-viewpickupviewpanel-pickupviewpanel/usr2-pickup-viewpickupviewpanel-pickupviewpanel.scss
0 → 100644
浏览文件 @
6e8284d3
// 基于 @CONTROL/选择视图面板/CONTROL.scss.ftl 生成
// this is scss
.pickupviewpanel
{
width
:
100%
;
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/usr2-pickup-viewpickupviewpanel-pickupviewpanel/usr2-pickup-viewpickupviewpanel-pickupviewpanel.vue
0 → 100644
浏览文件 @
6e8284d3
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
Usr2PickupViewpickupviewpanelBase
from
'./usr2-pickup-viewpickupviewpanel-pickupviewpanel-base.vue'
;
// 基于 @CONTROL/选择视图面板/CONTROL.vue.ftl 生成
@
Component
({
components
:
{
}
})
export
default
class
Usr2PickupViewpickupviewpanel
extends
Usr2PickupViewpickupviewpanelBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
浏览文件 @
6e8284d3
...
...
@@ -70,11 +70,6 @@ export default class Usr4Model {
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
...
...
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
6e8284d3
...
...
@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
fetchAction
)
{
this
.
$Notice
.
error
({
title
:
this
.
$t
(
"app.commonWords.wrong"
)
as
string
,
desc
:
"IBIZOrderDetail
SGridView
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
desc
:
"IBIZOrderDetail
GridView9
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
});
return
;
}
...
...
@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
removeAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
...
...
@@ -1187,7 +1187,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
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2082,7 +2082,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
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2091,7 +2091,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
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json
浏览文件 @
6e8284d3
...
...
@@ -5117,6 +5117,14 @@
"rTMOSFilePath"
:
"psmodeldata$psdataentities/GridExpView"
,
"realModelSubType"
:
"DEGRIDEXPVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"Usr2PickupView"
,
"logicName"
:
"树选择"
,
"mOSFilePath"
:
"psmodeldata$psdataentities/Usr2PickupView"
,
"name"
:
"树选择"
,
"rTMOSFilePath"
:
"psmodeldata$psdataentities/Usr2PickupView"
,
"realModelSubType"
:
"DEPICKUPVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"Usr2CustomView"
,
"logicName"
:
"图书实体自定义视图(布局面板测试)"
,
...
...
@@ -5293,6 +5301,14 @@
"rTMOSFilePath"
:
"psmodeldata$psdataentities/Usr5CalendarView"
,
"realModelSubType"
:
"DECALENDARVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"Usr2PickupTreeView"
,
"logicName"
:
"选择树视图"
,
"mOSFilePath"
:
"psmodeldata$psdataentities/Usr2PickupTreeView"
,
"name"
:
"选择树视图"
,
"rTMOSFilePath"
:
"psmodeldata$psdataentities/Usr2PickupTreeView"
,
"realModelSubType"
:
"DEPICKUPTREEVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"Usr2TreeView"
,
"logicName"
:
"实体树视图"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
浏览文件 @
6e8284d3
...
...
@@ -7619,6 +7619,10 @@
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2EditView_layout.json"
,
"viewType"
:
"DEEDITVIEW"
},
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2PickupView.json"
,
"viewType"
:
"DEPICKUPVIEW"
},
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2OptionView.json"
,
...
...
@@ -7771,6 +7775,10 @@
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKRedirectView.json"
,
"viewType"
:
"DEREDIRECTVIEW"
},
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2PickupTreeView.json"
,
"viewType"
:
"DEPICKUPTREEVIEW"
},
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKCustomView.json"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSFORMS/InterFuncForm_2.json
浏览文件 @
6e8284d3
...
...
@@ -224,13 +224,13 @@
"handlerType"
:
"PickupText"
,
"getLinkPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZ
Customer
Usr2PickupView.json"
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZ
BOOK
Usr2PickupView.json"
,
"viewType"
:
"DEPICKUPVIEW"
},
"name"
:
"borrower"
,
"getPickupPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZ
Customer
Usr2PickupView.json"
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZ
BOOK
Usr2PickupView.json"
,
"viewType"
:
"DEPICKUPVIEW"
},
"valueItemName"
:
"borrowerid"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEVIEWS/Treebasics.json
浏览文件 @
6e8284d3
...
...
@@ -506,7 +506,7 @@
"selected"
:
false
,
"id"
:
"ROOT"
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr
3
TreeView/psappviewctrls/tree"
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr
2Pickup
TreeView/psappviewctrls/tree"
,
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"remove"
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2EditView.json
浏览文件 @
6e8284d3
...
...
@@ -744,13 +744,13 @@
"handlerType"
:
"PickupText"
,
"getLinkPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZ
Customer
Usr2PickupView.json"
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZ
BOOK
Usr2PickupView.json"
,
"viewType"
:
"DEPICKUPVIEW"
},
"name"
:
"borrower"
,
"getPickupPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZ
Customer
Usr2PickupView.json"
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZ
BOOK
Usr2PickupView.json"
,
"viewType"
:
"DEPICKUPVIEW"
},
"valueItemName"
:
"borrowerid"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2PickupTreeView.json
0 → 100644
浏览文件 @
6e8284d3
{
"accUserMode"
:
2
,
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DE.LNAME.IBIZBOOK"
,
"mOSFilePath"
:
"pslanguageres/Auto395"
,
"rTMOSFilePath"
:
"pslanguageres/Auto395"
},
"caption"
:
"图书"
,
"codeName"
:
"IBIZBOOKUsr2PickupTreeView"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2PickupTreeView.json"
,
"mDCtrlActiveMode"
:
2
,
"mOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupTreeView"
,
"name"
:
"IBIZBOOKUsr2PickupTreeView"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppModule"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPMODULES/Sample.json"
},
"getPSAppViewEngines"
:
[
{
"engineCat"
:
"VIEW"
,
"engineType"
:
"PickupTreeView"
,
"mOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupTreeView/psappviewengines/engine"
,
"name"
:
"engine"
,
"getPSUIEngineParams"
:
[
{
"ctrlName"
:
"tree"
,
"name"
:
"TREE"
,
"paramType"
:
"CTRL"
}
]
}
],
"getPSControls"
:
[
{
"codeName"
:
"Treebasics"
,
"controlType"
:
"TREEVIEW"
,
"getCreatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"create"
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEVIEWS/Treebasics.json"
,
"getFetchPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"fetch"
},
"getGetPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"load"
},
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
],
"logicName"
:
"树基础功能"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZBOOK/psdetreeviews/Treebasics"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlHandler"
:
{
"getPSHandlerActions"
:
[
{
"actionName"
:
"Get"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"READ"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Create"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionName"
:
"Update"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"name"
:
"update"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Update"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionName"
:
"Remove"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"DELETE"
,
"name"
:
"remove"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Remove"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionType"
:
"DEDATASET"
,
"name"
:
"fetch"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}
],
"userDRAction"
:
"READ"
,
"enableDEFieldPrivilege"
:
false
,
"id"
:
"树视图处理器"
},
"getPSControlLogics"
:
[
{
"eventNames"
:
"SELECTIONCHANGE;LOAD"
,
"logicTag"
:
"tree"
,
"logicType"
:
"APPVIEWENGINE"
,
"name"
:
"engine_tree"
,
"getPSAppViewEngine"
:
{
"modelref"
:
true
,
"id"
:
"engine"
}
}
],
"getPSControlParam"
:
{
"autoLoad"
:
true
,
"showBusyIndicator"
:
true
,
"id"
:
"TREE"
},
"getPSDEDataImport"
:
{
"modelref"
:
true
,
"id"
:
"DataImport"
},
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"bookcodelist"
},
"name"
:
"代码表节点 - 图书状态代码表"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"codelistNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"codelistNodes"
},
"name"
:
"默认根节点 - 代码表节点"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"bookEntity"
},
"name"
:
"实体节点 - 图书实体"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"entityNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"book"
},
"name"
:
"静态节点 - 图书"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"staticNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchshow"
},
"name"
:
"搜索节点 - 搜索时显示"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
1
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"staticNodes"
},
"name"
:
"默认根节点 - 静态节点"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"nosearchshow"
},
"name"
:
"搜索节点 - 无搜索时显示"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
2
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"book3"
},
"name"
:
"静态节点 - 图书3"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"staticNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"book2"
},
"name"
:
"静态节点 - 图书2"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"staticNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"entityNodes"
},
"name"
:
"默认根节点 - 实体节点"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchNodes"
},
"name"
:
"默认根节点 - 搜索节点"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
}
],
"getPSDETreeNodes"
:
[
{
"counterMode"
:
0
,
"name"
:
"实体节点"
,
"nodeType"
:
"entityNodes"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"实体节点"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"entityNodes"
},
{
"counterMode"
:
0
,
"name"
:
"图书2"
,
"nodeType"
:
"book2"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSSysCss"
:
{
"cssName"
:
"redToolBar"
},
"text"
:
"图书2"
,
"tooltip"
:
"提示信息1111"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"allowDrag"
:
true
,
"allowDrop"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"book2"
},
{
"counterMode"
:
0
,
"name"
:
"图书"
,
"nodeType"
:
"book"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"图书"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"allowDrag"
:
true
,
"allowDrop"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"book"
},
{
"counterMode"
:
0
,
"name"
:
"代码表节点"
,
"nodeType"
:
"codelistNodes"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"代码表节点"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"codelistNodes"
},
{
"counterMode"
:
0
,
"name"
:
"搜索节点"
,
"nodeType"
:
"searchNodes"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"搜索节点"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"searchNodes"
},
{
"counterMode"
:
0
,
"name"
:
"搜索时显示"
,
"nodeType"
:
"searchshow"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"搜索时显示"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"searchshow"
},
{
"counterMode"
:
0
,
"getIdPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
},
"maxSize"
:
-1
,
"name"
:
"图书实体"
,
"nodeType"
:
"bookEntity"
,
"getPSAppDEDataSet"
:
{
"modelref"
:
true
,
"id"
:
"FetchDefault"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getTextPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
},
"treeNodeType"
:
"DE"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"bookEntity"
},
{
"counterMode"
:
0
,
"name"
:
"静态节点"
,
"nodeType"
:
"staticNodes"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"静态节点"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
true
,
"allowDrag"
:
true
,
"allowDrop"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
true
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"staticNodes"
},
{
"counterMode"
:
0
,
"name"
:
"图书3"
,
"nodeType"
:
"book3"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"图书3"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"allowDrag"
:
true
,
"allowDrop"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"book3"
},
{
"counterMode"
:
0
,
"name"
:
"图书状态代码表"
,
"nodeType"
:
"bookcodelist"
,
"getPSCodeList"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPCODELISTS/Bookgroup.json"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"treeNodeType"
:
"CODELIST"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendCaption"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"bookcodelist"
},
{
"counterMode"
:
0
,
"name"
:
"无搜索时显示"
,
"nodeType"
:
"nosearchshow"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"无搜索时显示"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"nosearchshow"
},
{
"counterMode"
:
0
,
"name"
:
"默认根节点"
,
"nodeType"
:
"ROOT"
,
"nodeValue"
:
"root"
,
"text"
:
"默认根节点"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
true
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"ROOT"
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupTreeView/psappviewctrls/tree"
,
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"remove"
},
"treeGridMode"
:
0
,
"getUpdatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"update"
},
"enableRootSelect"
:
false
,
"outputIconDefault"
:
true
,
"rootVisible"
:
false
,
"name"
:
"tree"
,
"modelid"
:
"B1DA785F-0F5B-46A9-A04C-D304273AC45B"
,
"modeltype"
:
"PSDETREEVIEW"
}
],
"getPSDEViewCodeName"
:
"Usr2PickupTreeView"
,
"getPSDEViewId"
:
"7CE1186D-A975-43BD-B180-848D1129F037"
,
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Layoutpanel"
,
"controlStyle"
:
"APPDEPICKUPTREEVIEW"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZBOOK/pssysviewlayoutpanels/Layoutpanel"
,
"name"
:
"layoutpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam"
:
{
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupTreeView/psappviewctrls/layoutpanel"
,
"layoutBodyOnly"
:
true
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
true
},
"getQuickGroupPSCodeList"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPCODELISTS/Bookgroup.json"
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupTreeView"
,
"title"
:
"图书选择树视图"
,
"viewStyle"
:
"DEFAULT"
,
"viewType"
:
"DEPICKUPTREEVIEW"
,
"xDataControlName"
:
"tree"
,
"enableDP"
:
true
,
"enableFilter"
:
false
,
"enableQuickGroup"
:
true
,
"enableQuickSearch"
:
true
,
"expandSearchForm"
:
true
,
"pickupMode"
:
true
,
"modelid"
:
"a4a69f429887f43271781be0e37b08b1"
,
"modeltype"
:
"PSAPPDEVIEW"
}
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2PickupView.json
0 → 100644
浏览文件 @
6e8284d3
{
"accUserMode"
:
2
,
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DE.LNAME.IBIZBOOK"
,
"mOSFilePath"
:
"pslanguageres/Auto395"
,
"rTMOSFilePath"
:
"pslanguageres/Auto395"
},
"caption"
:
"图书"
,
"codeName"
:
"IBIZBOOKUsr2PickupView"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2PickupView.json"
,
"mOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupView"
,
"name"
:
"IBIZBOOKUsr2PickupView"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppModule"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPMODULES/Sample.json"
},
"getPSAppViewEngines"
:
[
{
"engineCat"
:
"VIEW"
,
"engineType"
:
"PickupView"
,
"mOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupView/psappviewengines/engine"
,
"name"
:
"engine"
,
"getPSUIEngineParams"
:
[
{
"ctrlName"
:
"pickupviewpanel"
,
"name"
:
"PICKUPVIEWPANEL"
,
"paramType"
:
"CTRL"
}
]
}
],
"getPSControls"
:
[
{
"codeName"
:
"Usr2PickupViewpickupviewpanel"
,
"controlType"
:
"PICKUPVIEWPANEL"
,
"getEmbeddedPSAppDEView"
:
{
"accUserMode"
:
2
,
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DE.LNAME.IBIZBOOK"
,
"mOSFilePath"
:
"pslanguageres/Auto395"
,
"rTMOSFilePath"
:
"pslanguageres/Auto395"
},
"caption"
:
"图书"
,
"codeName"
:
"IBIZBOOKUsr2PickupTreeView"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2PickupTreeView.json"
,
"mDCtrlActiveMode"
:
2
,
"mOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupTreeView"
,
"name"
:
"IBIZBOOKUsr2PickupTreeView"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppModule"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPMODULES/Sample.json"
},
"getPSAppViewEngines"
:
[
{
"engineCat"
:
"VIEW"
,
"engineType"
:
"PickupTreeView"
,
"mOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupTreeView/psappviewengines/engine"
,
"name"
:
"engine"
,
"getPSUIEngineParams"
:
[
{
"ctrlName"
:
"tree"
,
"name"
:
"TREE"
,
"paramType"
:
"CTRL"
}
]
}
],
"getPSControls"
:
[
{
"codeName"
:
"Treebasics"
,
"controlType"
:
"TREEVIEW"
,
"getCreatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"create"
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEVIEWS/Treebasics.json"
,
"getFetchPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"fetch"
},
"getGetPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"load"
},
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
],
"logicName"
:
"树基础功能"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZBOOK/psdetreeviews/Treebasics"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlHandler"
:
{
"getPSHandlerActions"
:
[
{
"actionName"
:
"Get"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"READ"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Create"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionName"
:
"Update"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"name"
:
"update"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Update"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionName"
:
"Remove"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"DELETE"
,
"name"
:
"remove"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Remove"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionType"
:
"DEDATASET"
,
"name"
:
"fetch"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}
],
"userDRAction"
:
"READ"
,
"enableDEFieldPrivilege"
:
false
,
"id"
:
"树视图处理器"
},
"getPSControlLogics"
:
[
{
"eventNames"
:
"SELECTIONCHANGE;LOAD"
,
"logicTag"
:
"tree"
,
"logicType"
:
"APPVIEWENGINE"
,
"name"
:
"engine_tree"
,
"getPSAppViewEngine"
:
{
"modelref"
:
true
,
"id"
:
"engine"
}
}
],
"getPSControlParam"
:
{
"autoLoad"
:
true
,
"showBusyIndicator"
:
true
,
"id"
:
"TREE"
},
"getPSDEDataImport"
:
{
"modelref"
:
true
,
"id"
:
"DataImport"
},
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"bookcodelist"
},
"name"
:
"代码表节点 - 图书状态代码表"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"codelistNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"codelistNodes"
},
"name"
:
"默认根节点 - 代码表节点"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"bookEntity"
},
"name"
:
"实体节点 - 图书实体"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"entityNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"book"
},
"name"
:
"静态节点 - 图书"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"staticNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchshow"
},
"name"
:
"搜索节点 - 搜索时显示"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
1
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"staticNodes"
},
"name"
:
"默认根节点 - 静态节点"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"nosearchshow"
},
"name"
:
"搜索节点 - 无搜索时显示"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
2
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"book3"
},
"name"
:
"静态节点 - 图书3"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"staticNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"book2"
},
"name"
:
"静态节点 - 图书2"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"staticNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"entityNodes"
},
"name"
:
"默认根节点 - 实体节点"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchNodes"
},
"name"
:
"默认根节点 - 搜索节点"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
}
],
"getPSDETreeNodes"
:
[
{
"counterMode"
:
0
,
"name"
:
"实体节点"
,
"nodeType"
:
"entityNodes"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"实体节点"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"entityNodes"
},
{
"counterMode"
:
0
,
"name"
:
"图书2"
,
"nodeType"
:
"book2"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSSysCss"
:
{
"cssName"
:
"redToolBar"
},
"text"
:
"图书2"
,
"tooltip"
:
"提示信息1111"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"allowDrag"
:
true
,
"allowDrop"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"book2"
},
{
"counterMode"
:
0
,
"name"
:
"图书"
,
"nodeType"
:
"book"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"图书"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"allowDrag"
:
true
,
"allowDrop"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"book"
},
{
"counterMode"
:
0
,
"name"
:
"代码表节点"
,
"nodeType"
:
"codelistNodes"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"代码表节点"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"codelistNodes"
},
{
"counterMode"
:
0
,
"name"
:
"搜索节点"
,
"nodeType"
:
"searchNodes"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"搜索节点"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"searchNodes"
},
{
"counterMode"
:
0
,
"name"
:
"搜索时显示"
,
"nodeType"
:
"searchshow"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"搜索时显示"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"searchshow"
},
{
"counterMode"
:
0
,
"getIdPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
},
"maxSize"
:
-1
,
"name"
:
"图书实体"
,
"nodeType"
:
"bookEntity"
,
"getPSAppDEDataSet"
:
{
"modelref"
:
true
,
"id"
:
"FetchDefault"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getTextPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
},
"treeNodeType"
:
"DE"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"bookEntity"
},
{
"counterMode"
:
0
,
"name"
:
"静态节点"
,
"nodeType"
:
"staticNodes"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"静态节点"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
true
,
"allowDrag"
:
true
,
"allowDrop"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
true
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"staticNodes"
},
{
"counterMode"
:
0
,
"name"
:
"图书3"
,
"nodeType"
:
"book3"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"图书3"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"allowDrag"
:
true
,
"allowDrop"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"book3"
},
{
"counterMode"
:
0
,
"name"
:
"图书状态代码表"
,
"nodeType"
:
"bookcodelist"
,
"getPSCodeList"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPCODELISTS/Bookgroup.json"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"treeNodeType"
:
"CODELIST"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendCaption"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"bookcodelist"
},
{
"counterMode"
:
0
,
"name"
:
"无搜索时显示"
,
"nodeType"
:
"nosearchshow"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"无搜索时显示"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"nosearchshow"
},
{
"counterMode"
:
0
,
"name"
:
"默认根节点"
,
"nodeType"
:
"ROOT"
,
"nodeValue"
:
"root"
,
"text"
:
"默认根节点"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
true
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"ROOT"
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupTreeView/psappviewctrls/tree"
,
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"remove"
},
"treeGridMode"
:
0
,
"getUpdatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"update"
},
"enableRootSelect"
:
false
,
"outputIconDefault"
:
true
,
"rootVisible"
:
false
,
"name"
:
"tree"
,
"modelid"
:
"B1DA785F-0F5B-46A9-A04C-D304273AC45B"
,
"modeltype"
:
"PSDETREEVIEW"
}
],
"getPSDEViewCodeName"
:
"Usr2PickupTreeView"
,
"getPSDEViewId"
:
"7CE1186D-A975-43BD-B180-848D1129F037"
,
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Layoutpanel"
,
"controlStyle"
:
"APPDEPICKUPTREEVIEW"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZBOOK/pssysviewlayoutpanels/Layoutpanel"
,
"name"
:
"layoutpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam"
:
{
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupTreeView/psappviewctrls/layoutpanel"
,
"layoutBodyOnly"
:
true
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
true
},
"getQuickGroupPSCodeList"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPCODELISTS/Bookgroup.json"
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupTreeView"
,
"title"
:
"图书选择树视图"
,
"viewStyle"
:
"DEFAULT"
,
"viewType"
:
"DEPICKUPTREEVIEW"
,
"xDataControlName"
:
"tree"
,
"enableDP"
:
true
,
"enableFilter"
:
false
,
"enableQuickGroup"
:
true
,
"enableQuickSearch"
:
true
,
"expandSearchForm"
:
true
,
"pickupMode"
:
true
,
"modelid"
:
"a4a69f429887f43271781be0e37b08b1"
,
"modeltype"
:
"PSAPPDEVIEW"
},
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
,
"ACTIVATED"
],
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZBOOK/psviewpanels/Usr2PickupViewpickupviewpanel"
,
"name"
:
"pickupviewpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics"
:
[
{
"eventNames"
:
"SELECTIONCHANGE;LOAD;ACTIVATED"
,
"logicTag"
:
"pickupviewpanel"
,
"logicType"
:
"APPVIEWENGINE"
,
"name"
:
"engine_pickupviewpanel"
,
"getPSAppViewEngine"
:
{
"modelref"
:
true
,
"id"
:
"engine"
}
}
],
"getPSControlParam"
:
{
"id"
:
"PICKUPVIEWPANEL"
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupView/psappviewctrls/pickupviewpanel"
}
],
"getPSDEViewCodeName"
:
"Usr2PickupView"
,
"getPSDEViewId"
:
"4C6EFE0F-B513-48BF-AC07-CD9F9F8EBA20"
,
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Layoutpanel"
,
"controlStyle"
:
"APPDEPICKUPVIEW"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZBOOK/pssysviewlayoutpanels/Layoutpanel"
,
"name"
:
"layoutpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam"
:
{
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupView/psappviewctrls/layoutpanel"
,
"layoutBodyOnly"
:
true
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
true
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr2PickupView"
,
"title"
:
"图书数据选择视图"
,
"viewStyle"
:
"DEFAULT"
,
"viewType"
:
"DEPICKUPVIEW"
,
"enableDP"
:
true
,
"showCaptionBar"
:
false
,
"modelid"
:
"3192b641fa31cbe04d8a901f0992d77d"
,
"modeltype"
:
"PSAPPDEVIEW"
}
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
6e8284d3
...
...
@@ -16608,6 +16608,12 @@
"viewType" : "DEMPICKUPVIEW",
"resource" : "IBIZCustomer",
"view" : "Usr2MPickupView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2PickupView.json",
"viewType" : "DEPICKUPVIEW",
"resource" : "IBIZBOOK",
"view" : "Usr2PickupView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderSF15GridView.json",
...
...
@@ -17517,6 +17523,12 @@
"viewType" : "DEEDITVIEW",
"resource" : "IBIZOrder",
"view" : "SF7EditView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2PickupTreeView.json",
"viewType" : "DEPICKUPTREEVIEW",
"resource" : "IBIZBOOK",
"view" : "Usr2PickupTreeView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderDetailGridView9.json",
...
...
@@ -36936,6 +36948,10 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2EditView_layout.json",
"viewType" : "DEEDITVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2PickupView.json",
"viewType" : "DEPICKUPVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2OptionView.json",
...
...
@@ -37088,6 +37104,10 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKRedirectView.json",
"viewType" : "DEREDIRECTVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2PickupTreeView.json",
"viewType" : "DEPICKUPTREEVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKCustomView.json",
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录