Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
7531d16d
提交
7531d16d
编写于
11月 09, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
a449e5f2
变更
27
隐藏空白字符变更
内嵌
并排
正在显示
27 个修改的文件
包含
1467 行增加
和
359 行删除
+1467
-359
view-config.json
app_Web/public/assets/json/view-config.json
+8
-0
ibizcustomer_BO_CN_base.ts
...e/lanres/entities/ibizcustomer/ibizcustomer_BO_CN_base.ts
+4
-0
ibizcustomer_en_US_base.ts
...e/lanres/entities/ibizcustomer/ibizcustomer_en_US_base.ts
+4
-0
ibizcustomer_zh_CN_base.ts
...e/lanres/entities/ibizcustomer/ibizcustomer_zh_CN_base.ts
+4
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+8
-0
ibizcustomer-pickup-tree-view-layout-base.vue
...view-layout/ibizcustomer-pickup-tree-view-layout-base.vue
+781
-0
ibizcustomer-pickup-tree-view-layout.less
...ree-view-layout/ibizcustomer-pickup-tree-view-layout.less
+17
-0
ibizcustomer-pickup-tree-view-layout.vue
...tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue
+22
-0
page-register.ts
app_Web/src/pages/sample/index/page-register.ts
+1
-0
router.ts
app_Web/src/pages/sample/index/router.ts
+27
-0
router.ts
app_Web/src/pages/ungroup/app-index-view/router.ts
+13
-0
state.ts
app_Web/src/store/modules/view-action/state.ts
+10
-1
ibizcustomer-ui-service-base.ts
...rc/uiservice/ibizcustomer/ibizcustomer-ui-service-base.ts
+1
-0
default-searchform-base.vue
...zappeditor/default-searchform/default-searchform-base.vue
+2
-2
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
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
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+4
-4
usr2-dataview-base.vue
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
+26
-26
usr2-dataview-model.ts
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
+1
-12
usr2-pickup-view-layoutpickupviewpanel-pickupviewpanel-base.vue
...ickup-view-layoutpickupviewpanel-pickupviewpanel-base.vue
+1
-1
IBIZCustomerPickupTreeView_layout.json
...S/Web/PSAPPDEVIEWS/IBIZCustomerPickupTreeView_layout.json
+284
-0
IBIZCustomerUsr2PickupView_layout.json
...S/Web/PSAPPDEVIEWS/IBIZCustomerUsr2PickupView_layout.json
+224
-294
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+6
-0
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
view.xml
demo-core/src/main/resources/liquibase/view.xml
+1
-1
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
7531d16d
...
@@ -95,6 +95,14 @@
...
@@ -95,6 +95,14 @@
"viewname"
:
"IBIZCustomerPickupGridView"
,
"viewname"
:
"IBIZCustomerPickupGridView"
,
"viewtag"
:
"0870b1a6221a37e2994f515dbe77509c"
"viewtag"
:
"0870b1a6221a37e2994f515dbe77509c"
},
},
"ibizcustomerpickuptreeview_layout"
:
{
"title"
:
"客户选择树视图"
,
"caption"
:
"客户"
,
"viewtype"
:
"DEPICKUPTREEVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZCustomerPickupTreeView_layout"
,
"viewtag"
:
"091e4dfadeea5cf542e5e01a758a3b93"
},
"ibizappvieweditview"
:
{
"ibizappvieweditview"
:
{
"title"
:
"应用视图编辑视图"
,
"title"
:
"应用视图编辑视图"
,
"caption"
:
"应用视图"
,
"caption"
:
"应用视图"
,
...
...
app_Web/src/locale/lanres/entities/ibizcustomer/ibizcustomer_BO_CN_base.ts
浏览文件 @
7531d16d
...
@@ -22,6 +22,10 @@ function getLocaleResourceBase(){
...
@@ -22,6 +22,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户选择表格视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户选择表格视图"
,
null
),
},
},
pickuptreeview_layout
:
{
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户选择树视图"
,
null
),
},
usr2editview
:
{
usr2editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户编辑视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户编辑视图"
,
null
),
...
...
app_Web/src/locale/lanres/entities/ibizcustomer/ibizcustomer_en_US_base.ts
浏览文件 @
7531d16d
...
@@ -22,6 +22,10 @@ function getLocaleResourceBase(){
...
@@ -22,6 +22,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户选择表格视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户选择表格视图"
,
null
),
},
},
pickuptreeview_layout
:
{
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户选择树视图"
,
null
),
},
usr2editview
:
{
usr2editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户编辑视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户编辑视图"
,
null
),
...
...
app_Web/src/locale/lanres/entities/ibizcustomer/ibizcustomer_zh_CN_base.ts
浏览文件 @
7531d16d
...
@@ -22,6 +22,10 @@ function getLocaleResourceBase(){
...
@@ -22,6 +22,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户选择表格视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户选择表格视图"
,
null
),
},
},
pickuptreeview_layout
:
{
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户选择树视图"
,
null
),
},
usr2editview
:
{
usr2editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户编辑视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户编辑视图"
,
null
),
...
...
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
7531d16d
...
@@ -103,6 +103,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
...
@@ -103,6 +103,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZCustomerPickupGridView"
,
"viewname"
:
"IBIZCustomerPickupGridView"
,
"viewtag"
:
"0870b1a6221a37e2994f515dbe77509c"
"viewtag"
:
"0870b1a6221a37e2994f515dbe77509c"
},
},
"ibizcustomerpickuptreeview_layout"
:
{
"title"
:
"客户选择树视图"
,
"caption"
:
"客户"
,
"viewtype"
:
"DEPICKUPTREEVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZCustomerPickupTreeView_layout"
,
"viewtag"
:
"091e4dfadeea5cf542e5e01a758a3b93"
},
"ibizappvieweditview"
:
{
"ibizappvieweditview"
:
{
"title"
:
"应用视图编辑视图"
,
"title"
:
"应用视图编辑视图"
,
"caption"
:
"应用视图"
,
"caption"
:
"应用视图"
,
...
...
app_Web/src/pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout-base.vue
0 → 100644
浏览文件 @
7531d16d
<
template
>
<div
class=
'view-container depickuptreeview ibizcustomer-pickup-tree-view-layout'
>
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizcustomerpickuptreeview_layout"
></app-studioaction>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:bordered=
"false"
>
<div
class=
'content-container'
>
<div
class=
"tree-contant"
>
<view
_tree
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:viewCtx=
"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
>
<
script
lang=
'tsx'
>
import
{
Vue
,
Component
,
Prop
,
Provide
,
Emit
,
Watch
,
Inject
}
from
'vue-property-decorator'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
{
AppMessageBox
}
from
'@/utils/app-message-box/app-message-box'
;
import
NavDataService
from
'@/service/app/navdata-service'
;
import
{
Subject
,
Subscription
}
from
'rxjs'
;
import
IBIZCustomerService
from
'@/service/ibizcustomer/ibizcustomer-service'
;
import
IBIZCustomerAuthService
from
'@/authservice/ibizcustomer/ibizcustomer-auth-service'
;
import
PickupTreeViewEngine
from
'@engine/view/pickup-tree-view-engine'
;
import
IBIZCustomerUIService
from
'@/uiservice/ibizcustomer/ibizcustomer-ui-service'
;
@
Component
({
components
:
{
},
})
export
default
class
IBIZCustomerPickupTreeView_layoutBase
extends
Vue
{
/**
* 实体服务对象
*
* @type {IBIZCustomerService}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
appEntityService
:
IBIZCustomerService
=
new
IBIZCustomerService
;
/**
* 实体UI服务对象
*
* @type IBIZCustomerUIService
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
appUIService
:
IBIZCustomerUIService
=
new
IBIZCustomerUIService
();
/**
* 数据变化
*
* @param {*} val
* @returns {*}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
@
Emit
()
public
viewDatasChange
(
val
:
any
):
any
{
return
val
;
}
/**
* 传入视图上下文
*
* @type {string}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
@
Prop
()
public
viewdata
!
:
string
;
/**
* 传入视图参数
*
* @type {string}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
@
Prop
()
public
viewparam
!
:
string
;
/**
* 视图默认使用
*
* @type {boolean}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
@
Prop
({
default
:
true
})
public
viewDefaultUsage
!
:
boolean
;
/**
* 视图默认使用
*
* @type {string}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
@
Inject
({
from
:
'navModel'
,
default
:
'tab'
})
public
navModel
!
:
string
;
/**
* 视图标识
*
* @type {string}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
viewtag
:
string
=
'091e4dfadeea5cf542e5e01a758a3b93'
;
/**
* 视图类型
*
* @type {string}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
viewType
:
string
=
'DEPICKUPTREEVIEW'
;
/**
* 自定义视图导航上下文集合
*
* @type {*}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
customViewNavContexts
:
any
=
{
};
/**
* 自定义视图导航参数集合
*
* @type {*}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
customViewParams
:
any
=
{
};
/**
* 视图模型数据
*
* @type {*}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
model
:
any
=
{
srfCaption
:
'entities.ibizcustomer.views.pickuptreeview_layout.caption'
,
srfTitle
:
'entities.ibizcustomer.views.pickuptreeview_layout.title'
,
srfSubTitle
:
'entities.ibizcustomer.views.pickuptreeview_layout.subtitle'
,
dataInfo
:
''
}
/**
* 视图参数变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
@
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 IBIZCustomerPickupTreeView_layoutBase
*/
@
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 IBIZCustomerPickupTreeView_layoutBase
*/
public
containerModel
:
any
=
{
view_tree
:
{
name
:
'tree'
,
type
:
'TREEVIEW'
},
};
/**
* 视图操作参数
*
* @type {*}
* @readonly
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
viewCtx
:
any
=
{};
/**
* 视图刷新
*
* @param {*} args
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
refresh
(
args
?:
any
):
void
{
const
refs
:
any
=
this
.
$refs
;
if
(
refs
&&
refs
.
tree
)
{
refs
.
tree
.
refresh
();
}
}
/**
* 计数器刷新
*
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
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 IBIZCustomerPickupTreeView_layoutBase
*/
public
viewState
:
Subject
<
ViewState
>
=
new
Subject
();
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
engine
:
PickupTreeViewEngine
=
new
PickupTreeViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
tree
:
this
.
$refs
.
tree
,
keyPSDEField
:
'ibizcustomer'
,
majorPSDEField
:
'ibizcustomername'
,
isLoadDefault
:
true
,
});
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
* 导航服务事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
serviceStateEvent
:
Subscription
|
undefined
;
/**
* 门户部件状态对象
*
* @type {*}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
@
Prop
()
public
portletState
?:
any
;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
portletStateEvent
:
Subscription
|
undefined
;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
formDruipartEvent
:
Subscription
|
undefined
;
/**
* 应用上下文
*
* @type {*}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
context
:
any
=
{};
/**
* 视图参数
*
* @type {*}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
viewparams
:
any
=
{};
/**
* 视图缓存数据
*
* @type {*}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
viewCacheData
:
any
;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 解析视图参数
*
* @public
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
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
,{
'ibizcustomer'
:
inputvalue
});
}
//初始化视图唯一标识
Object
.
assign
(
this
.
context
,{
srfsessionid
:
this
.
$util
.
createUUID
()});
this
.
handleCustomViewData
();
//初始化导航数据
this
.
initNavDataWithRoute
();
}
/**
* 处理自定义视图数据
*
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
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 IBIZCustomerPickupTreeView_layoutBase
*/
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 IBIZCustomerPickupTreeView_layoutBase
*/
public
initNavDataWithRoute
(
data
:
any
=
null
,
isNew
:
boolean
=
false
,
isAlways
:
boolean
=
false
){
if
(
isAlways
||
(
this
.
viewDefaultUsage
&&
Object
.
is
(
this
.
navModel
,
"route"
))
){
this
.
navDataService
.
addNavData
({
id
:
'ibizcustomer-pickup-tree-view-layout'
,
tag
:
this
.
viewtag
,
srfkey
:
isNew
?
null
:
this
.
context
.
ibizcustomer
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
data
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
}
}
/**
* 初始化导航数据(分页模式)
*
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
initNavDataWithTab
(
data
:
any
=
null
,
isOnlyAdd
:
boolean
=
true
,
isAlways
:
boolean
=
false
){
if
(
isAlways
||
(
this
.
viewDefaultUsage
&&
!
Object
.
is
(
this
.
navModel
,
"route"
))
){
this
.
navDataService
.
addNavDataByOnly
({
id
:
'ibizcustomer-pickup-tree-view-layout'
,
tag
:
this
.
viewtag
,
srfkey
:
this
.
context
.
ibizcustomer
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
data
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
},
isOnlyAdd
);
}
}
/**
* Vue声明周期
*
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
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
,
'ibizcustomer-pickup-tree-view-layout'
)){
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
,
'IBIZCustomerPickupTreeView_layout'
)){
return
;
}
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
_this
.
refresh
();
}
})
}
_this
.
initViewCtx
();
}
/**
* 初始化视图操作参数
*
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
initViewCtx
()
{
Object
.
assign
(
this
.
viewCtx
,
{
app
:
this
.
$router
,
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 IBIZCustomerPickupTreeView_layoutBase
*/
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
.
engine
)
{
_this
.
engine
.
destroy
();
}
}
/**
* Vue声明周期(组件初始化完毕)
*
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
mounted
()
{
this
.
afterMounted
();
}
/**
* 执行mounted后的逻辑
*
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
afterMounted
(){
const
_this
:
any
=
this
;
_this
.
engineInit
();
if
(
_this
.
loadModel
&&
_this
.
loadModel
instanceof
Function
)
{
_this
.
loadModel
();
}
}
/**
* tree 部件 selectionchange 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
tree_selectionchange
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'tree'
,
'selectionchange'
,
$event
);
}
/**
* tree 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
tree_load
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'tree'
,
'load'
,
$event
);
}
/**
* 关闭视图
*
* @param {any[]} args
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
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
);
}
}
/**
* 销毁视图回调
*
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
destroyed
(){
this
.
afterDestroyed
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
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
.
serviceStateEvent
)
{
this
.
serviceStateEvent
.
unsubscribe
();
}
// 销毁计数器定时器
if
(
this
.
counterServiceArray
&&
this
.
counterServiceArray
.
length
>
0
){
this
.
counterServiceArray
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
destroyCounter
&&
item
.
destroyCounter
instanceof
Function
){
item
.
destroyCounter
();
}
})
}
if
(
this
.
portletStateEvent
){
this
.
portletStateEvent
.
unsubscribe
();
}
if
(
this
.
formDruipartEvent
)
{
this
.
formDruipartEvent
.
unsubscribe
();
}
this
.
viewState
.
complete
();
}
/**
* 选中数据字符串
*
* @type {string}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
@
Prop
()
public
selectedData
?:
string
;
/**
* 是否单选
*
* @type {boolean}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
@
Prop
()
public
isSingleSelect
?:
boolean
;
/**
* 是否显示按钮
*
* @type {boolean}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
@
Prop
({
default
:
true
})
public
isShowButton
!
:
boolean
;
/**
* 节点过滤值
*
* @type {string}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
public
srfnodefilter
:
string
=
''
;
/**
* 快速搜索
*
* @returns {void}
* @memberof IBIZCustomerPickupTreeView_layoutBase
*/
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 IBIZCustomerPickupTreeView_layoutBase
*/
public
tree_nodedblclick
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'tree'
,
'nodedblclick'
,
$event
);
}
}
</
script
>
<
style
lang=
'less'
>
@import './ibizcustomer-pickup-tree-view-layout.less';
</
style
>
\ No newline at end of file
app_Web/src/pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.less
0 → 100644
浏览文件 @
7531d16d
.ibizcustomer-pickup-tree-view-layout{
position: relative;
}
.search-contant {
height: 40px;
.ivu-input-wrapper {
max-width: 400px;
padding-top: 6px;
}
}
.tree-contant {
height: 100%;
margin: 0px 0px 16px 0;
overflow: auto;
}
app_Web/src/pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue
0 → 100644
浏览文件 @
7531d16d
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZCustomerPickupTreeView_layoutBase
from
'./ibizcustomer-pickup-tree-view-layout-base.vue'
;
import
view_tree
from
'@widgets/ibizcustomer/usr-treeview/usr-treeview.vue'
;
@
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
IBIZCustomerPickupTreeView_layout
extends
IBIZCustomerPickupTreeView_layoutBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
7531d16d
...
@@ -206,6 +206,7 @@ export const PageComponents = {
...
@@ -206,6 +206,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizuniproduct-pickup-grid-view'
,
()
=>
import
(
'@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'
));
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-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
(
'ibizorder-detail-sedit-view9'
,
()
=>
import
(
'@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'
));
Vue
.
component
(
'ibizcustomer-pickup-tree-view-layout'
,
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue'
));
Vue
.
component
(
'ibizcustomer-pickup-tree-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-tree-view/ibizcustomer-pickup-tree-view.vue'
));
Vue
.
component
(
'ibizcustomer-pickup-tree-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-tree-view/ibizcustomer-pickup-tree-view.vue'
));
Vue
.
component
(
'ibizhardware-index-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizhardware-index-pickup-view/ibizhardware-index-pickup-view.vue'
));
Vue
.
component
(
'ibizhardware-index-pickup-view'
,
()
=>
import
(
'@pages/sample/ibizhardware-index-pickup-view/ibizhardware-index-pickup-view.vue'
));
Vue
.
component
(
'ibizcpuedit-view'
,
()
=>
import
(
'@pages/sample/ibizcpuedit-view/ibizcpuedit-view.vue'
));
Vue
.
component
(
'ibizcpuedit-view'
,
()
=>
import
(
'@pages/sample/ibizcpuedit-view/ibizcpuedit-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
7531d16d
...
@@ -3156,6 +3156,20 @@ const router = new Router({
...
@@ -3156,6 +3156,20 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'
),
},
},
{
path
:
'ibizcustomers/:ibizcustomer?/pickuptreeview_layout/:pickuptreeview_layout?'
,
meta
:
{
caption
:
'entities.ibizcustomer.views.pickuptreeview_layout.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'pickuptreeview_layout'
,
parameterName
:
'pickuptreeview_layout'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue'
),
},
{
{
path
:
'ibizcustomers/:ibizcustomer?/pickuptreeview/:pickuptreeview?'
,
path
:
'ibizcustomers/:ibizcustomer?/pickuptreeview/:pickuptreeview?'
,
meta
:
{
meta
:
{
...
@@ -3418,6 +3432,19 @@ const router = new Router({
...
@@ -3418,6 +3432,19 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'
),
},
},
{
path
:
'/ibizcustomers/:ibizcustomer?/pickuptreeview_layout/:pickuptreeview_layout?'
,
meta
:
{
caption
:
'entities.ibizcustomer.views.pickuptreeview_layout.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'pickuptreeview_layout'
,
parameterName
:
'pickuptreeview_layout'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue'
),
},
{
{
path
:
'/ibizappviews/:ibizappview?/editview/:editview?'
,
path
:
'/ibizappviews/:ibizappview?/editview/:editview?'
,
meta
:
{
meta
:
{
...
...
app_Web/src/pages/ungroup/app-index-view/router.ts
浏览文件 @
7531d16d
...
@@ -170,6 +170,19 @@ const router = new Router({
...
@@ -170,6 +170,19 @@ const router = new Router({
},
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'
),
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'
),
},
},
{
path
:
'/ibizcustomers/:ibizcustomer?/pickuptreeview_layout/:pickuptreeview_layout?'
,
meta
:
{
caption
:
'entities.ibizcustomer.views.pickuptreeview_layout.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'pickuptreeview_layout'
,
parameterName
:
'pickuptreeview_layout'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue'
),
},
{
{
path
:
'/ibizappviews/:ibizappview?/editview/:editview?'
,
path
:
'/ibizappviews/:ibizappview?/editview/:editview?'
,
meta
:
{
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
7531d16d
...
@@ -95,6 +95,15 @@ export const viewstate: any = {
...
@@ -95,6 +95,15 @@ export const viewstate: any = {
refviews
:
[
refviews
:
[
],
],
},
},
{
viewtag
:
'091e4dfadeea5cf542e5e01a758a3b93'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZCustomerPickupTreeView_layout'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
{
viewtag
:
'0a96057cbca72b445776fb056be79ea8'
,
viewtag
:
'0a96057cbca72b445776fb056be79ea8'
,
viewmodule
:
'Sample'
,
viewmodule
:
'Sample'
,
...
@@ -2133,7 +2142,7 @@ export const viewstate: any = {
...
@@ -2133,7 +2142,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewaction
:
''
,
viewdatachange
:
false
,
viewdatachange
:
false
,
refviews
:
[
refviews
:
[
'
2dd50b1b88cf8062b625ee8b0b4fa9d7
'
,
'
091e4dfadeea5cf542e5e01a758a3b93
'
,
],
],
},
},
{
{
...
...
app_Web/src/uiservice/ibizcustomer/ibizcustomer-ui-service-base.ts
浏览文件 @
7531d16d
...
@@ -98,6 +98,7 @@ export default class IBIZCustomerUIServiceBase extends UIService {
...
@@ -98,6 +98,7 @@ export default class IBIZCustomerUIServiceBase extends UIService {
public
initViewMap
(){
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2gridview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2gridview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-pickup-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-pickup-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickuptreeview_layout'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-pickup-tree-view-layout'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2editview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2editview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2pickupview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-pickup-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2pickupview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-pickup-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2mpickupview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-mpickup-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2mpickupview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-mpickup-view'
});
...
...
app_Web/src/widgets/ibizappeditor/default-searchform/default-searchform-base.vue
浏览文件 @
7531d16d
...
@@ -598,7 +598,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -598,7 +598,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -634,7 +634,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -634,7 +634,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
7531d16d
...
@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
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
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
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
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-base.vue
浏览文件 @
7531d16d
...
@@ -1308,7 +1308,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1308,7 +1308,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1343,7 +1343,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1343,7 +1343,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1404,7 +1404,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1404,7 +1404,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1512,7 +1512,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1512,7 +1512,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1586,7 +1586,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1586,7 +1586,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
7531d16d
...
@@ -1274,7 +1274,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1274,7 +1274,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1309,7 +1309,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1309,7 +1309,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1370,7 +1370,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1370,7 +1370,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1478,7 +1478,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1478,7 +1478,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1552,7 +1552,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1552,7 +1552,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
7531d16d
...
@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
...
@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
7531d16d
<
template
>
<
template
>
<i-form
:model=
"this.data"
class=
'app-search-form'
ref=
'
quick
searchform'
style=
""
>
<i-form
:model=
"this.data"
class=
'app-search-form'
ref=
'searchform'
style=
""
>
<input
style=
"display:none;"
/>
<input
style=
"display:none;"
/>
<row>
<row>
<i-col
span=
"20"
class=
"form-content"
>
<i-col
span=
"20"
class=
"form-content"
>
...
@@ -475,7 +475,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
...
@@ -475,7 +475,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
* @memberof QUICKSEARCHFORMBase
* @memberof QUICKSEARCHFORMBase
*/
*/
public
formValidateStatus
():
boolean
{
public
formValidateStatus
():
boolean
{
const
form
:
any
=
this
.
$refs
.
quick
searchform
;
const
form
:
any
=
this
.
$refs
.
searchform
;
let
validatestate
:
boolean
=
true
;
let
validatestate
:
boolean
=
true
;
form
.
validate
((
valid
:
boolean
)
=>
{
form
.
validate
((
valid
:
boolean
)
=>
{
validatestate
=
valid
?
true
:
false
;
validatestate
=
valid
?
true
:
false
;
...
@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
...
@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
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
Usr5List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
...
@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
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
Usr5List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
7531d16d
...
@@ -48,18 +48,18 @@
...
@@ -48,18 +48,18 @@
<div
v-show=
"flag"
class=
"batch-toolbar"
>
<div
v-show=
"flag"
class=
"batch-toolbar"
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
usr2dataviewdataview_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"usr2dataviewdataview_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"
dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i-button
v-show=
"
dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"dataviewexpbar_
dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i
class=
'fa fa-edit'
></i>
<i
class=
'fa fa-edit'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
usr2dataviewdataview_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"usr2dataviewdataview_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"
dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i-button
v-show=
"
dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"dataviewexpbar_
dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i
class=
'fa fa-remove'
></i>
<i
class=
'fa fa-remove'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
</i-button>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
</tooltip>
</tooltip>
</div>
</div>
</div>
</div>
...
@@ -182,18 +182,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -182,18 +182,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
public
appEntityService
:
IBIZBOOKEntityService
=
new
IBIZBOOKEntityService
({
$store
:
this
.
$store
});
public
appEntityService
:
IBIZBOOKEntityService
=
new
IBIZBOOKEntityService
({
$store
:
this
.
$store
});
/**
/**
* dataview_batchtoolbar 部件 click 事件
* dataview
expbar_dataview
_batchtoolbar 部件 click 事件
*
*
* @param {*} [args={}]
* @param {*} [args={}]
* @param {*} $event
* @param {*} $event
* @memberof Usr2Base
* @memberof Usr2Base
*/
*/
public
dataview_batchtoolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
dataview
expbar_dataview
_batchtoolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
dataview
_batchtoolbar_deuiaction1_click
(
null
,
'
dataview_batchtoolbar'
,
$event2
);
this
.
dataview
expbar_dataview_batchtoolbar_deuiaction1_click
(
null
,
'dataviewexpbar_
dataview_batchtoolbar'
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction2'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction2'
))
{
this
.
dataview
_batchtoolbar_deuiaction2_click
(
null
,
'
dataview_batchtoolbar'
,
$event2
);
this
.
dataview
expbar_dataview_batchtoolbar_deuiaction2_click
(
null
,
'dataviewexpbar_
dataview_batchtoolbar'
,
$event2
);
}
}
}
}
...
@@ -206,7 +206,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -206,7 +206,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
dataview_batchtoolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview
expbar_dataview
_batchtoolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 参数
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
...
@@ -234,7 +234,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -234,7 +234,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
dataview_batchtoolbar_deuiaction2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview
expbar_dataview
_batchtoolbar_deuiaction2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 参数
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
...
@@ -262,7 +262,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -262,7 +262,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
dataview_memo1_u37f11a8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview
expbar_dataview
_memo1_u37f11a8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
let
xData
:
any
=
null
;
...
@@ -289,7 +289,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -289,7 +289,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @param {*} [$event]
* @memberof
* @memberof
*/
*/
public
dataview_memo1_uc365542_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview
expbar_dataview
_memo1_uc365542_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
// 取数
let
datas
:
any
[]
=
[];
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
let
xData
:
any
=
null
;
...
@@ -317,7 +317,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -317,7 +317,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
Usr2Data
ViewBase
* @memberof IBIZBOOK
DataViewExp
ViewBase
*/
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
if
(
args
.
length
===
0
)
{
...
@@ -343,7 +343,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -343,7 +343,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
Usr2Data
ViewBase
* @memberof IBIZBOOK
DataViewExp
ViewBase
*/
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
...
@@ -637,9 +637,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -637,9 +637,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
* 工具栏模型
* 工具栏模型
*
*
* @type {*}
* @type {*}
* @memberof IBIZBOOK
Usr2Data
View
* @memberof IBIZBOOK
DataViewExp
View
*/
*/
public
usr2dataview
dataview_batchtoolbarModels
:
any
=
{
public
dataviewexpviewdataviewexpbar_
dataview_batchtoolbarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
deuiaction2
:
{
name
:
'deuiaction2'
,
actiontarget
:
'NONE'
,
caption
:
'删除'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
}
},
deuiaction2
:
{
name
:
'deuiaction2'
,
actiontarget
:
'NONE'
,
caption
:
'删除'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
}
},
...
@@ -964,7 +964,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -964,7 +964,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
void
{
public
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{...
opt
};
const
arg
:
any
=
{...
opt
};
...
@@ -1044,7 +1044,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1044,7 +1044,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
return
;
}
}
let
_datas
:
any
[]
=
[];
let
_datas
:
any
[]
=
[];
...
@@ -1154,7 +1154,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1154,7 +1154,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
try
{
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
@@ -1162,7 +1162,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1162,7 +1162,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
}
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
if
(
item
.
ibizbook
){
...
@@ -1253,16 +1253,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
...
@@ -1253,16 +1253,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
public
uiAction
(
data
:
any
,
tag
:
any
,
$event
:
any
)
{
public
uiAction
(
data
:
any
,
tag
:
any
,
$event
:
any
)
{
$event
.
stopPropagation
();
$event
.
stopPropagation
();
if
(
Object
.
is
(
'Edit'
,
tag
))
{
if
(
Object
.
is
(
'Edit'
,
tag
))
{
this
.
dataview_batchtoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
this
.
dataview
expbar_dataview
_batchtoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
}
}
if
(
Object
.
is
(
'Remove'
,
tag
))
{
if
(
Object
.
is
(
'Remove'
,
tag
))
{
this
.
dataview_batchtoolbar_deuiaction2_click
(
data
,
tag
,
$event
);
this
.
dataview
expbar_dataview
_batchtoolbar_deuiaction2_click
(
data
,
tag
,
$event
);
}
}
if
(
Object
.
is
(
'Edit'
,
tag
))
{
if
(
Object
.
is
(
'Edit'
,
tag
))
{
this
.
dataview_memo1_u37f11a8_click
(
data
,
tag
,
$event
);
this
.
dataview
expbar_dataview
_memo1_u37f11a8_click
(
data
,
tag
,
$event
);
}
}
if
(
Object
.
is
(
'Remove'
,
tag
))
{
if
(
Object
.
is
(
'Remove'
,
tag
))
{
this
.
dataview_memo1_uc365542_click
(
data
,
tag
,
$event
);
this
.
dataview
expbar_dataview
_memo1_uc365542_click
(
data
,
tag
,
$event
);
}
}
}
}
...
...
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
浏览文件 @
7531d16d
...
@@ -10,7 +10,7 @@ export default class Usr2Model {
...
@@ -10,7 +10,7 @@ export default class Usr2Model {
* 获取数据项集合
* 获取数据项集合
*
*
* @returns {any[]}
* @returns {any[]}
* @memberof Usr2Data
V
iewMode
* @memberof Usr2Data
viewexpbar_datav
iewMode
*/
*/
public
getDataItems
():
any
[]
{
public
getDataItems
():
any
[]
{
return
[
return
[
...
@@ -39,17 +39,6 @@ export default class Usr2Model {
...
@@ -39,17 +39,6 @@ export default class Usr2Model {
dataType
:
'FONTKEY'
,
dataType
:
'FONTKEY'
,
},
},
{
name
:
'n_ibizbookname_like'
,
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
{
name
:
'size'
,
name
:
'size'
,
...
...
app_Web/src/widgets/ibizcustomer/usr2-pickup-view-layoutpickupviewpanel-pickupviewpanel/usr2-pickup-view-layoutpickupviewpanel-pickupviewpanel-base.vue
浏览文件 @
7531d16d
...
@@ -195,7 +195,7 @@ export default class Usr2PickupView_layoutpickupviewpanelBase extends Vue implem
...
@@ -195,7 +195,7 @@ export default class Usr2PickupView_layoutpickupviewpanelBase extends Vue implem
* @memberof Usr2PickupView_layoutpickupviewpanelBase
* @memberof Usr2PickupView_layoutpickupviewpanelBase
*/
*/
public
view
:
any
=
{
public
view
:
any
=
{
viewname
:
'ibizcustomer-
usr2-pickup-view
'
,
viewname
:
'ibizcustomer-
pickup-tree-view-layout
'
,
data
:
{},
data
:
{},
}
}
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerPickupTreeView_layout.json
0 → 100644
浏览文件 @
7531d16d
{
"accUserMode"
:
2
,
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DE.LNAME.IBIZCUSTOMER"
},
"caption"
:
"客户"
,
"codeName"
:
"IBIZCustomerPickupTreeView_layout"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerPickupTreeView_layout.json"
,
"height"
:
500
,
"mDCtrlActiveMode"
:
2
,
"name"
:
"IBIZCustomerPickupTreeView_layout"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSAppViewEngines"
:
[
{
"engineCat"
:
"VIEW"
,
"engineType"
:
"PickupTreeView"
,
"name"
:
"engine"
,
"getPSUIEngineParams"
:
[
{
"ctrlName"
:
"tree"
,
"name"
:
"TREE"
,
"paramType"
:
"CTRL"
}
]
}
],
"getPSControls"
:
[
{
"codeName"
:
"Usr"
,
"controlType"
:
"TREEVIEW"
,
"getCreatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"create"
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer/PSTREEVIEWS/Usr.json"
,
"getFetchPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"fetch"
},
"getGetPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"load"
},
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
],
"logicName"
:
"选择树"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSControlHandler"
:
{
"getPSHandlerActions"
:
[
{
"actionName"
:
"Get"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"READ"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
},
{
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Create"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
},
{
"actionName"
:
"Update"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"name"
:
"update"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Update"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
},
{
"actionName"
:
"Remove"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"DELETE"
,
"name"
:
"remove"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Remove"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
},
{
"actionType"
:
"DEDATASET"
,
"name"
:
"fetch"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.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"
},
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"personname"
},
"name"
:
"默认根节点 - 客户名称"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"persondata"
},
"name"
:
"客户名称 - 客户数据"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"personname"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
}
],
"getPSDETreeNodes"
:
[
{
"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"
},
{
"counterMode"
:
0
,
"name"
:
"客户名称"
,
"nodeType"
:
"personname"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.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"
:
"personname"
},
{
"counterMode"
:
0
,
"getIdPSAppDEField"
:
{
"name"
:
"IBIZCUSTOMERID"
,
"codeName"
:
"IBIZCustomerId"
},
"maxSize"
:
-1
,
"name"
:
"客户数据"
,
"nodeType"
:
"persondata"
,
"getPSAppDEDataSet"
:
{
"modelref"
:
true
,
"id"
:
"FetchDefault"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getTextPSAppDEField"
:
{
"name"
:
"IBIZCUSTOMERNAME"
,
"codeName"
:
"IBIZCustomerName"
},
"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"
:
"persondata"
}
],
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"remove"
},
"treeGridMode"
:
0
,
"getUpdatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"update"
},
"enableRootSelect"
:
false
,
"outputIconDefault"
:
true
,
"rootVisible"
:
false
,
"name"
:
"tree"
,
"modelid"
:
"9315d1e615ea222d35c5444c302d3a77"
,
"modeltype"
:
"PSDETREEVIEW"
}
],
"getPSDEViewCodeName"
:
"PickupTreeView_layout"
,
"getPSDEViewId"
:
"9B091CA1-EE0B-4D85-BC03-6D1C379E4203"
,
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Layoutpanel"
,
"controlStyle"
:
"APPDEPICKUPTREEVIEW"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"name"
:
"layoutpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSControlParam"
:
{
},
"layoutBodyOnly"
:
true
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
true
},
"title"
:
"客户选择树视图"
,
"viewStyle"
:
"DEFAULT"
,
"viewType"
:
"DEPICKUPTREEVIEW"
,
"width"
:
500
,
"xDataControlName"
:
"tree"
,
"enableDP"
:
true
,
"enableFilter"
:
false
,
"expandSearchForm"
:
true
,
"pickupMode"
:
true
,
"modelid"
:
"091e4dfadeea5cf542e5e01a758a3b93"
,
"modeltype"
:
"PSAPPDEVIEW"
}
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr2PickupView_layout.json
浏览文件 @
7531d16d
...
@@ -30,335 +30,261 @@
...
@@ -30,335 +30,261 @@
"lanResTag"
:
"DE.LNAME.IBIZCUSTOMER"
"lanResTag"
:
"DE.LNAME.IBIZCUSTOMER"
},
},
"caption"
:
"客户"
,
"caption"
:
"客户"
,
"codeName"
:
"IBIZCustomerUsr2PickupView"
,
"codeName"
:
"IBIZCustomerPickupTreeView_layout"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr2PickupView.json"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerPickupTreeView_layout.json"
,
"name"
:
"IBIZCustomerUsr2PickupView"
,
"height"
:
500
,
"mDCtrlActiveMode"
:
2
,
"name"
:
"IBIZCustomerPickupTreeView_layout"
,
"getPSAppDataEntity"
:
{
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
},
"getPSAppViewEngines"
:
[
{
"getPSAppViewEngines"
:
[
{
"engineCat"
:
"VIEW"
,
"engineCat"
:
"VIEW"
,
"engineType"
:
"PickupView"
,
"engineType"
:
"Pickup
Tree
View"
,
"name"
:
"engine"
,
"name"
:
"engine"
,
"getPSUIEngineParams"
:
[
{
"getPSUIEngineParams"
:
[
{
"ctrlName"
:
"
pickupviewpanel
"
,
"ctrlName"
:
"
tree
"
,
"name"
:
"
PICKUPVIEWPANEL
"
,
"name"
:
"
TREE
"
,
"paramType"
:
"CTRL"
"paramType"
:
"CTRL"
}
]
}
]
}
],
}
],
"getPSControls"
:
[
{
"getPSControls"
:
[
{
"codeName"
:
"Usr2PickupViewpickupviewpanel"
,
"codeName"
:
"Usr"
,
"controlType"
:
"PICKUPVIEWPANEL"
,
"controlType"
:
"TREEVIEW"
,
"getEmbeddedPSAppDEView"
:
{
"getCreatePSControlAction"
:
{
"accUserMode"
:
2
,
"modelref"
:
true
,
"getCapPSLanguageRes"
:
{
"id"
:
"create"
"lanResTag"
:
"DE.LNAME.IBIZCUSTOMER"
},
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer/PSTREEVIEWS/Usr.json"
,
"caption"
:
"客户"
,
"getFetchPSControlAction"
:
{
"codeName"
:
"IBIZCustomerPickupTreeView"
,
"modelref"
:
true
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerPickupTreeView.json"
,
"id"
:
"fetch"
"height"
:
500
,
},
"mDCtrlActiveMode"
:
2
,
"getGetPSControlAction"
:
{
"name"
:
"IBIZCustomerPickupTreeView"
,
"modelref"
:
true
,
"getPSAppDataEntity"
:
{
"id"
:
"load"
"modelref"
:
true
,
},
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
],
},
"logicName"
:
"选择树"
,
"getPSAppViewEngines"
:
[
{
"getPSAppDataEntity"
:
{
"engineCat"
:
"VIEW"
,
"modelref"
:
true
,
"engineType"
:
"PickupTreeView"
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
"name"
:
"engine"
,
},
"getPSUIEngineParams"
:
[
{
"getPSControlHandler"
:
{
"ctrlName"
:
"tree"
,
"getPSHandlerActions"
:
[
{
"name"
:
"TREE"
,
"actionName"
:
"Get"
,
"paramType"
:
"CTRL"
"actionType"
:
"DEACTION"
,
}
]
"dataAccessAction"
:
"READ"
,
}
],
"name"
:
"load"
,
"getPSControls"
:
[
{
"getPSAppDEMethod"
:
{
"codeName"
:
"Usr"
,
"controlType"
:
"TREEVIEW"
,
"getCreatePSControlAction"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"
create
"
"id"
:
"
Get
"
},
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer/PSTREEVIEWS/Usr.json"
,
"getPSAppDataEntity"
:
{
"getFetchPSControlAction"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"fetch"
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
}
"getGetPSControlAction"
:
{
},
{
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"
load
"
"id"
:
"
Create
"
},
},
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
],
"logicName"
:
"选择树"
,
"getPSAppDataEntity"
:
{
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
}
"getPSControlHandler"
:
{
},
{
"getPSHandlerActions"
:
[
{
"actionName"
:
"Update"
,
"actionName"
:
"Get"
,
"actionType"
:
"DEACTION"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"dataAccessAction"
:
"READ"
,
"name"
:
"update"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
},
{
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Create"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
},
{
"actionName"
:
"Update"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"name"
:
"update"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Update"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
},
{
"actionName"
:
"Remove"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"DELETE"
,
"name"
:
"remove"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Remove"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
},
{
"actionType"
:
"DEDATASET"
,
"name"
:
"fetch"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.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"
},
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"personname"
},
"name"
:
"默认根节点 - 客户名称"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"persondata"
},
"name"
:
"客户名称 - 客户数据"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"personname"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
}
],
"getPSDETreeNodes"
:
[
{
"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"
},
{
"counterMode"
:
0
,
"name"
:
"客户名称"
,
"nodeType"
:
"personname"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.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"
:
"personname"
},
{
"counterMode"
:
0
,
"getIdPSAppDEField"
:
{
"name"
:
"IBIZCUSTOMERID"
,
"codeName"
:
"IBIZCustomerId"
},
"maxSize"
:
-1
,
"name"
:
"客户数据"
,
"nodeType"
:
"persondata"
,
"getPSAppDEDataSet"
:
{
"modelref"
:
true
,
"id"
:
"FetchDefault"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getTextPSAppDEField"
:
{
"name"
:
"IBIZCUSTOMERNAME"
,
"codeName"
:
"IBIZCustomerName"
},
"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"
:
"persondata"
}
],
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"
remov
e"
"id"
:
"
Updat
e"
},
},
"treeGridMode"
:
0
,
"getPSAppDataEntity"
:
{
"getUpdatePSControlAction"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
},
{
"actionName"
:
"Remove"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"DELETE"
,
"name"
:
"remove"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"
updat
e"
"id"
:
"
Remov
e"
},
},
"enableRootSelect"
:
false
,
"outputIconDefault"
:
true
,
"rootVisible"
:
false
,
"name"
:
"tree"
,
"modelid"
:
"9315d1e615ea222d35c5444c302d3a77"
,
"modeltype"
:
"PSDETREEVIEW"
}
],
"getPSDEViewCodeName"
:
"PickupTreeView"
,
"getPSDEViewId"
:
"702f3e21fa6fff77cb54ea007059d37f"
,
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Layoutpanel"
,
"controlStyle"
:
"APPDEPICKUPTREEVIEW"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"name"
:
"layoutpanel"
,
"getPSAppDataEntity"
:
{
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
}
"getPSControlParam"
:
{
},
},
{
"layoutBodyOnly"
:
true
,
"actionType"
:
"DEDATASET"
,
"layoutPanel"
:
true
,
"name"
:
"fetch"
,
"useDefaultLayout"
:
true
"getPSAppDataEntity"
:
{
},
"modelref"
:
true
,
"title"
:
"客户选择树视图"
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
"viewStyle"
:
"DEFAULT"
,
}
"viewType"
:
"DEPICKUPTREEVIEW"
,
}
],
"width"
:
500
,
"userDRAction"
:
"READ"
,
"xDataControlName"
:
"tree"
,
"enableDEFieldPrivilege"
:
false
,
"enableDP"
:
true
,
"id"
:
"树视图处理器"
"enableFilter"
:
false
,
"expandSearchForm"
:
true
,
"pickupMode"
:
true
,
"modelid"
:
"6a079bac1a6eeb580654cd04e6b1a8b8"
,
"modeltype"
:
"PSAPPDEVIEW"
},
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
,
"ACTIVATED"
],
"name"
:
"pickupviewpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
},
"getPSControlLogics"
:
[
{
"getPSControlLogics"
:
[
{
"eventNames"
:
"SELECTIONCHANGE;LOAD
;ACTIVATED
"
,
"eventNames"
:
"SELECTIONCHANGE;LOAD"
,
"logicTag"
:
"
pickupviewpanel
"
,
"logicTag"
:
"
tree
"
,
"logicType"
:
"APPVIEWENGINE"
,
"logicType"
:
"APPVIEWENGINE"
,
"name"
:
"engine_
pickupviewpanel
"
,
"name"
:
"engine_
tree
"
,
"getPSAppViewEngine"
:
{
"getPSAppViewEngine"
:
{
"modelref"
:
true
,
"modelref"
:
true
,
"id"
:
"engine"
"id"
:
"engine"
}
}
}
],
}
],
"getPSControlParam"
:
{
"getPSControlParam"
:
{
"id"
:
"PICKUPVIEWPANEL"
"autoLoad"
:
true
,
}
"showBusyIndicator"
:
true
,
"id"
:
"TREE"
},
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"personname"
},
"name"
:
"默认根节点 - 客户名称"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"persondata"
},
"name"
:
"客户名称 - 客户数据"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"personname"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
}
],
"getPSDETreeNodes"
:
[
{
"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"
},
{
"counterMode"
:
0
,
"name"
:
"客户名称"
,
"nodeType"
:
"personname"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.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"
:
"personname"
},
{
"counterMode"
:
0
,
"getIdPSAppDEField"
:
{
"name"
:
"IBIZCUSTOMERID"
,
"codeName"
:
"IBIZCustomerId"
},
"maxSize"
:
-1
,
"name"
:
"客户数据"
,
"nodeType"
:
"persondata"
,
"getPSAppDEDataSet"
:
{
"modelref"
:
true
,
"id"
:
"FetchDefault"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getTextPSAppDEField"
:
{
"name"
:
"IBIZCUSTOMERNAME"
,
"codeName"
:
"IBIZCustomerName"
},
"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"
:
"persondata"
}
],
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"remove"
},
"treeGridMode"
:
0
,
"getUpdatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"update"
},
"enableRootSelect"
:
false
,
"outputIconDefault"
:
true
,
"rootVisible"
:
false
,
"name"
:
"tree"
,
"modelid"
:
"9315d1e615ea222d35c5444c302d3a77"
,
"modeltype"
:
"PSDETREEVIEW"
}
],
}
],
"getPSDEViewCodeName"
:
"
Usr2PickupView
"
,
"getPSDEViewCodeName"
:
"
PickupTreeView_layout
"
,
"getPSDEViewId"
:
"
3cec9e89ad2bef1ce183afa656480c70
"
,
"getPSDEViewId"
:
"
9B091CA1-EE0B-4D85-BC03-6D1C379E4203
"
,
"getPSViewLayoutPanel"
:
{
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Layoutpanel"
,
"codeName"
:
"Layoutpanel"
,
"controlStyle"
:
"APPDEPICKUPVIEW"
,
"controlStyle"
:
"APPDEPICKUP
TREE
VIEW"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"name"
:
"layoutpanel"
,
"name"
:
"layoutpanel"
,
"getPSAppDataEntity"
:
{
"getPSAppDataEntity"
:
{
...
@@ -370,12 +296,16 @@
...
@@ -370,12 +296,16 @@
"layoutPanel"
:
true
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
true
"useDefaultLayout"
:
true
},
},
"title"
:
"客户
实体数据选择视图(树视图)
"
,
"title"
:
"客户
选择树视图
"
,
"viewStyle"
:
"DEFAULT"
,
"viewStyle"
:
"DEFAULT"
,
"viewType"
:
"DEPICKUPVIEW"
,
"viewType"
:
"DEPICKUPTREEVIEW"
,
"width"
:
500
,
"xDataControlName"
:
"tree"
,
"enableDP"
:
true
,
"enableDP"
:
true
,
"showCaptionBar"
:
false
,
"enableFilter"
:
false
,
"modelid"
:
"2dd50b1b88cf8062b625ee8b0b4fa9d7"
,
"expandSearchForm"
:
true
,
"pickupMode"
:
true
,
"modelid"
:
"091e4dfadeea5cf542e5e01a758a3b93"
,
"modeltype"
:
"PSAPPDEVIEW"
"modeltype"
:
"PSAPPDEVIEW"
},
},
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
,
"ACTIVATED"
],
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
,
"ACTIVATED"
],
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
7531d16d
...
@@ -13221,6 +13221,12 @@
...
@@ -13221,6 +13221,12 @@
"viewType"
:
"DEPICKUPGRIDVIEW"
,
"viewType"
:
"DEPICKUPGRIDVIEW"
,
"resource"
:
"IBIZCustomer"
,
"resource"
:
"IBIZCustomer"
,
"view"
:
"PickupGridView"
"view"
:
"PickupGridView"
},
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerPickupTreeView_layout.json"
,
"viewType"
:
"DEPICKUPTREEVIEW"
,
"resource"
:
"IBIZCustomer"
,
"view"
:
"PickupTreeView_layout"
},
{
},
{
"modelref"
:
true
,
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZAPPVIEWEditView.json"
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZAPPVIEWEditView.json"
,
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
7531d16d
...
@@ -278,7 +278,7 @@
...
@@ -278,7 +278,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizcustomer-16
5
-10"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizcustomer-16
8
-10"
>
<createTable
tableName=
"T_IBIZCUSTOMER"
>
<createTable
tableName=
"T_IBIZCUSTOMER"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
7531d16d
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</createView>
</createView>
</changeSet>
</changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizcustomer-16
5
-4"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizcustomer-16
8
-4"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZCUSTOMER"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZCUSTOMER"
>
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView>
</createView>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录