Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
792d89ff
提交
792d89ff
编写于
11月 09, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
423f53d2
变更
29
隐藏空白字符变更
内嵌
并排
正在显示
29 个修改的文件
包含
2229 行增加
和
22 行删除
+2229
-22
view-config.json
app_Web/public/assets/json/view-config.json
+8
-0
BO-CN-base.ts
app_Web/src/locale/lang/BO-CN-base.ts
+1
-0
en-US-base.ts
app_Web/src/locale/lang/en-US-base.ts
+1
-0
zh-CN-base.ts
app_Web/src/locale/lang/zh-CN-base.ts
+1
-0
ibizcustomer_BO_CN_base.ts
...e/lanres/entities/ibizcustomer/ibizcustomer_BO_CN_base.ts
+18
-0
ibizcustomer_en_US_base.ts
...e/lanres/entities/ibizcustomer/ibizcustomer_en_US_base.ts
+18
-0
ibizcustomer_zh_CN_base.ts
...e/lanres/entities/ibizcustomer/ibizcustomer_zh_CN_base.ts
+18
-0
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+18
-0
viewconfig.ts
app_Web/src/mock/viewconfig/viewconfig.ts
+8
-0
ibizcustomer-usr3-edit-view-base.vue
...tomer-usr3-edit-view/ibizcustomer-usr3-edit-view-base.vue
+1162
-0
ibizcustomer-usr3-edit-view.less
...zcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.less
+28
-0
ibizcustomer-usr3-edit-view.vue
...izcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.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
-0
ibizcustomer-ui-service-base.ts
...rc/uiservice/ibizcustomer/ibizcustomer-ui-service-base.ts
+1
-0
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+26
-0
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+31
-0
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
add-data-form-form-base.vue
...izcustomer/add-data-form-form/add-data-form-form-base.vue
+5
-5
IBIZCustomer.json
...temodel/PSMODULES/Sample/PSDATAENTITIES/IBIZCustomer.json
+6
-0
IBIZCustomerUsr3EditView.json
.../PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr3EditView.json
+727
-0
index.json
...atic/remotemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json
+18
-0
MainMenu.json
...static/remotemodel/PSSYSAPPS/Web/PSAPPMENUS/MainMenu.json
+10
-0
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+34
-0
未找到文件。
app_Web/public/assets/json/view-config.json
浏览文件 @
792d89ff
...
...
@@ -1319,6 +1319,14 @@
"viewname"
:
"IBIZSoftwareSuitEditView"
,
"viewtag"
:
"88ca61cdf39cd0f97cf3863e9a6974b3"
},
"ibizcustomerusr3editview"
:
{
"title"
:
"客户编辑视图"
,
"caption"
:
"按钮测试编辑视图"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZCustomerUsr3EditView"
,
"viewtag"
:
"89f50fe0180852e47ffbb486cdfaf305"
},
"ibizordercalendarexpview_layout"
:
{
"title"
:
"实体日历导航视图"
,
"caption"
:
"实体日历导航视图"
,
...
...
app_Web/src/locale/lang/BO-CN-base.ts
浏览文件 @
792d89ff
...
...
@@ -413,6 +413,7 @@ function getAppLocale(){
menuitem227
:
commonLogic
.
appcommonhandle
(
"其他视图"
,
null
),
menuitem230
:
commonLogic
.
appcommonhandle
(
"自定义视图"
,
null
),
menuitem201
:
commonLogic
.
appcommonhandle
(
"测试界面逻辑"
,
null
),
menuitem212
:
commonLogic
.
appcommonhandle
(
"按钮测试"
,
null
),
},
},
formpage
:{
...
...
app_Web/src/locale/lang/en-US-base.ts
浏览文件 @
792d89ff
...
...
@@ -413,6 +413,7 @@ function getAppLocale(){
menuitem227
:
commonLogic
.
appcommonhandle
(
"其他视图"
,
null
),
menuitem230
:
commonLogic
.
appcommonhandle
(
"自定义视图"
,
null
),
menuitem201
:
commonLogic
.
appcommonhandle
(
"测试界面逻辑"
,
null
),
menuitem212
:
commonLogic
.
appcommonhandle
(
"按钮测试"
,
null
),
},
},
formpage
:{
...
...
app_Web/src/locale/lang/zh-CN-base.ts
浏览文件 @
792d89ff
...
...
@@ -413,6 +413,7 @@ function getAppLocale(){
menuitem227
:
commonLogic
.
appcommonhandle
(
"其他视图"
,
null
),
menuitem230
:
commonLogic
.
appcommonhandle
(
"自定义视图"
,
null
),
menuitem201
:
commonLogic
.
appcommonhandle
(
"测试界面逻辑"
,
null
),
menuitem212
:
commonLogic
.
appcommonhandle
(
"按钮测试"
,
null
),
},
},
formpage
:{
...
...
app_Web/src/locale/lanres/entities/ibizcustomer/ibizcustomer_BO_CN_base.ts
浏览文件 @
792d89ff
...
...
@@ -58,6 +58,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户实体数据多项选择视图(树视图)"
,
null
),
},
usr3editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"按钮测试编辑视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户编辑视图"
,
null
),
},
pickupview_layout
:
{
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户数据选择视图"
,
null
),
...
...
@@ -241,6 +245,20 @@ function getLocaleResourceBase(){
tip
:
commonLogic
.
appcommonhandle
(
"保存并关闭"
,
null
),
},
},
usr3editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
},
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"保存"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"保存"
,
null
),
},
tbitem5
:
{
caption
:
commonLogic
.
appcommonhandle
(
"保存并关闭"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"保存并关闭"
,
null
),
},
},
usr_treeview
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodes
:
{
...
...
app_Web/src/locale/lanres/entities/ibizcustomer/ibizcustomer_en_US_base.ts
浏览文件 @
792d89ff
...
...
@@ -58,6 +58,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户实体数据多项选择视图(树视图)"
,
null
),
},
usr3editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"按钮测试编辑视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户编辑视图"
,
null
),
},
pickupview_layout
:
{
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户数据选择视图"
,
null
),
...
...
@@ -241,6 +245,20 @@ function getLocaleResourceBase(){
tip
:
commonLogic
.
appcommonhandle
(
"Save And Close Window"
,
null
),
},
},
usr3editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"New"
,
null
),
},
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Save"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Save"
,
null
),
},
tbitem5
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Save And Close"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"Save And Close Window"
,
null
),
},
},
usr_treeview
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodes
:
{
...
...
app_Web/src/locale/lanres/entities/ibizcustomer/ibizcustomer_zh_CN_base.ts
浏览文件 @
792d89ff
...
...
@@ -58,6 +58,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户实体数据多项选择视图(树视图)"
,
null
),
},
usr3editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"按钮测试编辑视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户编辑视图"
,
null
),
},
pickupview_layout
:
{
caption
:
commonLogic
.
appcommonhandle
(
"客户"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"客户数据选择视图"
,
null
),
...
...
@@ -241,6 +245,20 @@ function getLocaleResourceBase(){
tip
:
commonLogic
.
appcommonhandle
(
"保存并关闭"
,
null
),
},
},
usr3editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"新建"
,
null
),
},
tbitem3
:
{
caption
:
commonLogic
.
appcommonhandle
(
"保存"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"保存"
,
null
),
},
tbitem5
:
{
caption
:
commonLogic
.
appcommonhandle
(
"保存并关闭"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"保存并关闭"
,
null
),
},
},
usr_treeview
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodes
:
{
...
...
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
792d89ff
...
...
@@ -3759,6 +3759,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
'UsrAppFunc1108357066'
,
resourcetag
:
''
,
},
{
id
:
'5BE483A5-EC51-4813-A577-DCDC2ED3DADC'
,
name
:
'menuitem212'
,
text
:
'按钮测试'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'按钮测试'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc126'
,
resourcetag
:
''
,
},
],
},
...
...
app_Web/src/mock/viewconfig/viewconfig.ts
浏览文件 @
792d89ff
...
...
@@ -1327,6 +1327,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"IBIZSoftwareSuitEditView"
,
"viewtag"
:
"88ca61cdf39cd0f97cf3863e9a6974b3"
},
"ibizcustomerusr3editview"
:
{
"title"
:
"客户编辑视图"
,
"caption"
:
"按钮测试编辑视图"
,
"viewtype"
:
"DEEDITVIEW"
,
"viewmodule"
:
"Sample"
,
"viewname"
:
"IBIZCustomerUsr3EditView"
,
"viewtag"
:
"89f50fe0180852e47ffbb486cdfaf305"
},
"ibizordercalendarexpview_layout"
:
{
"title"
:
"实体日历导航视图"
,
"caption"
:
"实体日历导航视图"
,
...
...
app_Web/src/pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view-base.vue
0 → 100644
浏览文件 @
792d89ff
<
template
>
<div
class=
"view-container deeditview ibizcustomer-usr3-edit-view"
>
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizcustomerusr3editview"
></app-studioaction>
<card
class=
'view-card '
:disHover=
"true"
:bordered=
"false"
>
<div
slot=
'title'
class=
"header-container"
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfCaption
)
}}
</span>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.deuiaction1.visabled"
:disabled=
"toolBarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"toolbar_click(
{ tag: 'deuiaction1' }, $event)">
<i
class=
'fa fa-file-text-o'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibizcustomer.usr3editviewtoolbar_toolbar.deuiaction1.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibizcustomer.usr3editviewtoolbar_toolbar.deuiaction1.tip'
)
}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem3.visabled"
:disabled=
"toolBarModels.tbitem3.disabled"
class=
' deepskyblueToolBar'
v-button-loading:i-button
@
click=
"toolbar_click(
{ tag: 'tbitem3' }, $event)">
<i
class=
'fa fa-save'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibizcustomer.usr3editviewtoolbar_toolbar.tbitem3.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibizcustomer.usr3editviewtoolbar_toolbar.tbitem3.tip'
)
}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem5.visabled"
:disabled=
"toolBarModels.tbitem5.disabled"
class=
''
v-button-loading:i-button
@
click=
"toolbar_click(
{ tag: 'tbitem5' }, $event)">
<i
class=
'sx-tb-saveandclose'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibizcustomer.usr3editviewtoolbar_toolbar.tbitem5.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibizcustomer.usr3editviewtoolbar_toolbar.tbitem5.tip'
)
}}
</div>
</tooltip>
</div>
</div>
<div
class=
"content-container"
>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:viewCtx=
"viewCtx"
:autosave=
"false"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"form"
ref=
'form'
@
load=
"form_load($event)"
@
save=
"form_save($event)"
@
remove=
"form_remove($event)"
@
closeview=
"closeView($event)"
>
</view
_form
>
</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
EditViewEngine
from
'@engine/view/edit-view-engine'
;
import
IBIZCustomerUIService
from
'@/uiservice/ibizcustomer/ibizcustomer-ui-service'
;
@
Component
({
components
:
{
},
})
export
default
class
IBIZCustomerUsr3EditViewBase
extends
Vue
{
/**
* 实体服务对象
*
* @type {IBIZCustomerService}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
appEntityService
:
IBIZCustomerService
=
new
IBIZCustomerService
;
/**
* 实体UI服务对象
*
* @type IBIZCustomerUIService
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
appUIService
:
IBIZCustomerUIService
=
new
IBIZCustomerUIService
();
/**
* 数据变化
*
* @param {*} val
* @returns {*}
* @memberof IBIZCustomerUsr3EditViewBase
*/
@
Emit
()
public
viewDatasChange
(
val
:
any
):
any
{
return
val
;
}
/**
* 传入视图上下文
*
* @type {string}
* @memberof IBIZCustomerUsr3EditViewBase
*/
@
Prop
()
public
viewdata
!
:
string
;
/**
* 传入视图参数
*
* @type {string}
* @memberof IBIZCustomerUsr3EditViewBase
*/
@
Prop
()
public
viewparam
!
:
string
;
/**
* 视图默认使用
*
* @type {boolean}
* @memberof IBIZCustomerUsr3EditViewBase
*/
@
Prop
({
default
:
true
})
public
viewDefaultUsage
!
:
boolean
;
/**
* 视图默认使用
*
* @type {string}
* @memberof IBIZCustomerUsr3EditViewBase
*/
@
Inject
({
from
:
'navModel'
,
default
:
'tab'
})
public
navModel
!
:
string
;
/**
* 视图标识
*
* @type {string}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
viewtag
:
string
=
'89f50fe0180852e47ffbb486cdfaf305'
;
/**
* 视图类型
*
* @type {string}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
viewType
:
string
=
'DEEDITVIEW'
;
/**
* 自定义视图导航上下文集合
*
* @type {*}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
customViewNavContexts
:
any
=
{
};
/**
* 自定义视图导航参数集合
*
* @type {*}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
customViewParams
:
any
=
{
};
/**
* 视图模型数据
*
* @type {*}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
model
:
any
=
{
srfCaption
:
'entities.ibizcustomer.views.usr3editview.caption'
,
srfTitle
:
'entities.ibizcustomer.views.usr3editview.title'
,
srfSubTitle
:
'entities.ibizcustomer.views.usr3editview.subtitle'
,
dataInfo
:
''
}
/**
* 视图参数变化
*
* @param {*} newVal
* @param {*} oldVal
* @memberof IBIZCustomerUsr3EditViewBase
*/
@
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 IBIZCustomerUsr3EditViewBase
*/
@
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 IBIZCustomerUsr3EditViewBase
*/
public
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_form
:
{
name
:
'form'
,
type
:
'FORM'
},
};
/**
* 视图操作参数
*
* @type {*}
* @readonly
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
viewCtx
:
any
=
{};
/**
* 视图刷新
*
* @param {*} args
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
refresh
(
args
?:
any
):
void
{
const
refs
:
any
=
this
.
$refs
;
if
(
refs
&&
refs
.
form
)
{
refs
.
form
.
refresh
();
}
}
/**
* 计数器刷新
*
* @memberof IBIZCustomerUsr3EditViewBase
*/
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 IBIZCustomerUsr3EditViewBase
*/
public
viewState
:
Subject
<
ViewState
>
=
new
Subject
();
/**
* 工具栏模型
*
* @type {*}
* @memberof IBIZCustomerUsr3EditView
*/
public
toolBarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
tbitem3
:
{
name
:
'tbitem3'
,
actiontarget
:
'NONE'
,
caption
:
'保存'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Save'
,
target
:
''
}
},
tbitem5
:
{
name
:
'tbitem5'
,
actiontarget
:
'NONE'
,
caption
:
'保存并关闭'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'SaveAndExit'
,
target
:
''
}
},
};
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
engine
:
EditViewEngine
=
new
EditViewEngine
();
/**
* 引擎初始化
*
* @public
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
engineInit
():
void
{
this
.
engine
.
init
({
view
:
this
,
form
:
this
.
$refs
.
form
,
p2k
:
'0'
,
keyPSDEField
:
'ibizcustomer'
,
majorPSDEField
:
'ibizcustomername'
,
isLoadDefault
:
true
,
});
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
* 导航服务事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
serviceStateEvent
:
Subscription
|
undefined
;
/**
* 门户部件状态对象
*
* @type {*}
* @memberof IBIZCustomerUsr3EditViewBase
*/
@
Prop
()
public
portletState
?:
any
;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
portletStateEvent
:
Subscription
|
undefined
;
/**
* 门户部件状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
formDruipartEvent
:
Subscription
|
undefined
;
/**
* 应用上下文
*
* @type {*}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
context
:
any
=
{};
/**
* 视图参数
*
* @type {*}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
viewparams
:
any
=
{};
/**
* 视图缓存数据
*
* @type {*}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
viewCacheData
:
any
;
/**
* 计数器服务对象集合
*
* @type {Array<*>}
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
counterServiceArray
:
Array
<
any
>
=
[];
/**
* 解析视图参数
*
* @public
* @memberof IBIZCustomerUsr3EditViewBase
*/
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 IBIZCustomerUsr3EditViewBase
*/
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 IBIZCustomerUsr3EditViewBase
*/
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 IBIZCustomerUsr3EditViewBase
*/
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-usr3-edit-view'
,
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 IBIZCustomerUsr3EditViewBase
*/
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-usr3-edit-view'
,
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 IBIZCustomerUsr3EditViewBase
*/
public
created
()
{
this
.
afterCreated
();
}
/**
* 执行created后的逻辑
*
* @memberof IBIZCustomerUsr3EditViewBase
*/
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-usr3-edit-view'
)){
return
;
}
if
(
Object
.
is
(
action
,
'viewrefresh'
))
{
_this
.
$nextTick
(()
=>
{
_this
.
parseViewParam
(
data
);
if
(
_this
.
engine
){
_this
.
engine
.
load
();
}
});
}
});
if
(
_this
.
portletState
){
_this
.
portletStateEvent
=
_this
.
portletState
.
subscribe
((
res
:
any
)
=>
{
if
(
!
Object
.
is
(
res
.
name
,
'IBIZCustomerUsr3EditView'
)){
return
;
}
if
(
Object
.
is
(
res
.
action
,
'refresh'
)
&&
_this
.
refresh
&&
_this
.
refresh
instanceof
Function
){
_this
.
refresh
();
}
})
}
_this
.
initViewCtx
();
}
/**
* 初始化视图操作参数
*
* @memberof IBIZCustomerUsr3EditViewBase
*/
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 IBIZCustomerUsr3EditViewBase
*/
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 IBIZCustomerUsr3EditViewBase
*/
public
mounted
()
{
this
.
afterMounted
();
}
/**
* 执行mounted后的逻辑
*
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
afterMounted
(){
const
_this
:
any
=
this
;
_this
.
engineInit
();
if
(
_this
.
loadModel
&&
_this
.
loadModel
instanceof
Function
)
{
_this
.
loadModel
();
}
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
this
.
toolbar_tbitem9_click
(
null
,
''
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
}
/**
* form 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
form_load
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'load'
,
$event
);
}
/**
* form 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
form_save
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'save'
,
$event
);
}
/**
* form 部件 remove 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
form_remove
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'form'
,
'remove'
,
$event
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZCustomer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem3_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZCustomer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem5_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZCustomer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem9_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZCustomer"
);
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
toolbar_tbitem15_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
.
$refs
.
form
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZCustomer"
);
}
/**
* 新建
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
newdata
&&
_this
.
newdata
instanceof
Function
)
{
const
data
:
any
=
{};
_this
.
newdata
([{
...
data
}],[{
...
data
}],
params
,
$event
,
xData
);
}
else
{
_this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'newdata 视图处理逻辑不存在,请添加!'
});
}
}
/**
* 保存
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
Save
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 界面行为容器对象 _this
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
save
instanceof
Function
)
{
xData
.
save
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
_this
.
$emit
(
'viewdataschange'
,
[{
...
response
.
data
}]);
});
}
else
if
(
_this
.
save
&&
_this
.
save
instanceof
Function
)
{
_this
.
save
();
}
}
/**
* 保存并关闭
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
SaveAndExit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
xData
&&
xData
.
saveAndExit
instanceof
Function
)
{
xData
.
saveAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
});
}
else
if
(
_this
.
saveAndExit
&&
_this
.
saveAndExit
instanceof
Function
)
{
_this
.
saveAndExit
().
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
if
(
window
.
parent
){
window
.
parent
.
postMessage
([{
...
response
.
data
}],
'*'
);
}
});
}
}
/**
* 开始流程
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
SaveAndStart
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
that
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
wfstart
instanceof
Function
))
{
return
;
}
let
validateStatus
:
boolean
=
true
;
if
(
xData
.
formValidateStatus
&&
xData
.
formValidateStatus
instanceof
Function
)
{
validateStatus
=
xData
.
formValidateStatus
();
}
if
(
!
validateStatus
)
{
return
;
}
const
startWorkFlow
:
Function
=
(
param
:
any
,
localdata
:
any
)
=>
{
xData
.
wfstart
(
args
).
then
((
response
:
any
)
=>
{
if
(
!
response
||
response
.
status
!==
200
)
{
return
;
}
const
{
data
:
_data
}
=
response
;
that
.
closeView
(
_data
);
});
}
const
openStartView
:
Function
=
async
(
item
:
any
,
localdata
:
any
)
=>
{
if
(
item
[
'wfversion'
])
{
const
targetView
:
any
=
that
.
viewRefData
?
that
.
viewRefData
[
`WFSTART@
${
item
[
'wfversion'
]}
`
]
:
null
;
if
(
targetView
)
{
const
tempContext
=
Util
.
deepCopy
(
that
.
context
);
const
tempViewParams
=
{
actionView
:
`WFSTART@
${
item
[
'wfversion'
]}
`
,
actionForm
:
item
[
'process-form'
]
};
const
container
:
Subject
<
any
>
=
that
.
$appmodal
.
openModal
(
targetView
,
tempContext
,
tempViewParams
);
container
.
subscribe
((
result
:
any
)
=>
{
if
(
!
result
||
!
Object
.
is
(
result
.
ret
,
'OK'
))
{
return
;
}
const
tempSubmitData
:
any
=
Util
.
deepCopy
(
args
[
0
]);
if
(
result
.
datas
&&
result
.
datas
[
0
])
{
const
resultData
:
any
=
result
.
datas
[
0
];
if
(
Object
.
keys
(
resultData
).
length
>
0
)
{
let
tempData
:
any
=
{};
Object
.
keys
(
resultData
).
forEach
((
key
:
any
)
=>
{
if
(
resultData
[
key
]
||
(
resultData
[
key
]
===
0
)
||
(
resultData
[
key
]
===
false
))
{
tempData
[
key
]
=
resultData
[
key
];
}
})
Object
.
assign
(
tempSubmitData
,
tempData
);
}
}
startWorkFlow
([
tempSubmitData
],
localdata
);
})
}
else
{
startWorkFlow
(
args
,
localdata
);
}
}
else
{
startWorkFlow
(
args
,
localdata
);
}
}
let
localData
:
any
;
const
localContext
=
Util
.
deepCopy
(
that
.
context
);
const
requestResult
:
Promise
<
any
>
=
that
.
appEntityService
.
getStandWorkflow
(
localContext
);
requestResult
.
then
((
response
:
any
)
=>
{
const
{
data
:
targetData
,
status
}
=
response
;
if
(
status
!==
200
||
targetData
.
length
===
0
)
{
return
;
}
if
(
targetData
&&
targetData
.
length
>
1
)
{
const
h
=
that
.
$createElement
;
targetData
.
forEach
((
element
:
any
)
=>
{
Object
.
assign
(
element
,
{
value
:
element
.
definitionkey
,
label
:
element
.
definitionname
});
})
that
.
$msgbox
({
title
:
'请选择流程版本'
,
message
:
h
(
'i-select'
,
{
key
:
Util
.
createUUID
(),
props
:
{
value
:
localData
,
placeholder
:
"请选择流程版本..."
,
transfer
:
true
,
transferClassName
:
"start-workflow-select-wraper"
},
on
:
{
'on-change'
:
(
$event
:
any
)
=>
{
localData
=
{
processDefinitionKey
:
$event
};
}
}
},
targetData
.
map
((
item
:
any
)
=>
{
return
h
(
'i-option'
,
{
key
:
item
.
value
,
props
:
{
value
:
item
.
value
,
label
:
item
.
label
}
})
})),
showCancelButton
:
true
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
}).
then
((
action
:
string
)
=>
{
if
(
Object
.
is
(
action
,
'confirm'
)
&&
localData
&&
Object
.
keys
(
localData
).
length
>
0
)
{
let
targetItem
:
any
=
targetData
.
find
((
item
:
any
)
=>
{
return
item
.
definitionkey
===
localData
.
processDefinitionKey
;
})
openStartView
(
targetItem
,
localData
);
}
})
}
else
{
localData
=
{
processDefinitionKey
:
targetData
[
0
][
'definitionkey'
]
}
targetData
[
0
][
'process-view'
]
=
"WFSTART@1"
;
openStartView
(
targetData
[
0
],
localData
);
}
})
}
/**
* 打印
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZCustomerUsr3EditViewBase
*/
public
Print
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
_this
:
any
=
this
;
if
(
!
xData
||
!
(
xData
.
print
instanceof
Function
)
||
!
$event
)
{
return
;
}
xData
.
print
();
}
/**
* 关闭视图
*
* @param {any[]} args
* @memberof IBIZCustomerUsr3EditViewBase
*/
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 IBIZCustomerUsr3EditViewBase
*/
public
destroyed
(){
this
.
afterDestroyed
();
}
/**
* 执行destroyed后的逻辑
*
* @memberof IBIZCustomerUsr3EditViewBase
*/
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
();
}
}
</
script
>
<
style
lang=
'less'
>
@import './ibizcustomer-usr3-edit-view.less';
</
style
>
\ No newline at end of file
app_Web/src/pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.less
0 → 100644
浏览文件 @
792d89ff
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizcustomer-usr3-edit-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
app_Web/src/pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.vue
0 → 100644
浏览文件 @
792d89ff
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
IBIZCustomerUsr3EditViewBase
from
'./ibizcustomer-usr3-edit-view-base.vue'
;
import
view_form
from
'@widgets/ibizcustomer/add-data-form-form/add-data-form-form.vue'
;
@
Component
({
components
:
{
view_form
,
},
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
IBIZCustomerUsr3EditView
extends
IBIZCustomerUsr3EditViewBase
{
}
</
script
>
\ No newline at end of file
app_Web/src/pages/sample/index/page-register.ts
浏览文件 @
792d89ff
...
...
@@ -141,6 +141,7 @@ export const PageComponents = {
Vue
.
component
(
'ibizsample0021-wfdyna-action-view-layout'
,
()
=>
import
(
'@pages/sample/ibizsample0021-wfdyna-action-view-layout/ibizsample0021-wfdyna-action-view-layout.vue'
));
Vue
.
component
(
'ibizbookcustom-view-layout'
,
()
=>
import
(
'@pages/sample/ibizbookcustom-view-layout/ibizbookcustom-view-layout.vue'
));
Vue
.
component
(
'ibizbooktest-logic-custom-view'
,
()
=>
import
(
'@pages/sample/ibizbooktest-logic-custom-view/ibizbooktest-logic-custom-view.vue'
));
Vue
.
component
(
'ibizcustomer-usr3-edit-view'
,
()
=>
import
(
'@pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.vue'
));
Vue
.
component
(
'ibizappviewgrid-view'
,
()
=>
import
(
'@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'
));
Vue
.
component
(
'ibizappviewlist-view'
,
()
=>
import
(
'@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'
));
Vue
.
component
(
'ibizappctrlgrid-view'
,
()
=>
import
(
'@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'
));
...
...
app_Web/src/pages/sample/index/router.ts
浏览文件 @
792d89ff
...
...
@@ -2140,6 +2140,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizbooktest-logic-custom-view/ibizbooktest-logic-custom-view.vue'
),
},
{
path
:
'ibizcustomers/:ibizcustomer?/usr3editview/:usr3editview?'
,
meta
:
{
caption
:
'entities.ibizcustomer.views.usr3editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'index'
,
parameterName
:
'index'
},
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'usr3editview'
,
parameterName
:
'usr3editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.vue'
),
},
{
path
:
'ibizappviews/:ibizappview?/gridview/:gridview?'
,
meta
:
{
...
...
@@ -5017,6 +5031,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'
),
},
{
path
:
'/ibizcustomers/:ibizcustomer?/usr3editview/:usr3editview?'
,
meta
:
{
caption
:
'entities.ibizcustomer.views.usr3editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'usr3editview'
,
parameterName
:
'usr3editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/calendarexpview_layout/:calendarexpview_layout?'
,
meta
:
{
...
...
app_Web/src/pages/ungroup/app-index-view/router.ts
浏览文件 @
792d89ff
...
...
@@ -1713,6 +1713,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'
),
},
{
path
:
'/ibizcustomers/:ibizcustomer?/usr3editview/:usr3editview?'
,
meta
:
{
caption
:
'entities.ibizcustomer.views.usr3editview.caption'
,
info
:
''
,
parameters
:
[
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'usr3editview'
,
parameterName
:
'usr3editview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.vue'
),
},
{
path
:
'/ibizorders/:ibizorder?/calendarexpview_layout/:calendarexpview_layout?'
,
meta
:
{
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
792d89ff
...
...
@@ -954,6 +954,7 @@ export const viewstate: any = {
'a6d2ee3618dcfb23c3db981c9dbc4340'
,
'fa2731c1873f3c86aa065e73cff4667b'
,
'E74D4E6C-CFF5-4CBA-8195-FD943B3B910F'
,
'89f50fe0180852e47ffbb486cdfaf305'
,
],
},
{
...
...
@@ -1400,6 +1401,15 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'89f50fe0180852e47ffbb486cdfaf305'
,
viewmodule
:
'Sample'
,
viewname
:
'IBIZCustomerUsr3EditView'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'8a29ee094e2f26c928d26ef24d29401f'
,
viewmodule
:
'Sample'
,
...
...
app_Web/src/uiservice/ibizcustomer/ibizcustomer-ui-service-base.ts
浏览文件 @
792d89ff
...
...
@@ -107,6 +107,7 @@ export default class IBIZCustomerUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickuptreeview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-pickup-tree-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'mediatesteditview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-media-test-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2mpickupview_layout'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-mpickup-view-layout'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr3editview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr3-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupview_layout'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-pickup-view-layout'
});
this
.
allViewMap
.
set
(
'MPICKUPVIEW:'
,{
viewname
:
'mpickupview'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-mpickup-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2pickupview_layout'
,
srfappde
:
'ibizcustomers'
,
component
:
'ibizcustomer-usr2-pickup-view-layout'
});
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
792d89ff
...
...
@@ -1035,6 +1035,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case
'UsrAppFunc1108357066'
:
this
.
clickUsrAppFunc1108357066
(
item
);
return
;
case
'AppFunc126'
:
this
.
clickAppFunc126
(
item
);
return
;
default
:
console
.
warn
(
'未指定应用功能'
);
}
...
...
@@ -4328,6 +4331,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
this
.
$router
.
push
(
path
);
})
}
/**
* 按钮测试
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public
clickAppFunc126
(
item
:
any
=
{})
{
const
viewparam
:
any
=
{};
Object
.
assign
(
viewparam
,
{});
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'usr3editview'
,
parameterName
:
'usr3editview'
},
];
const
path
:
string
=
this
.
$viewTool
.
buildUpRoutePath
(
this
.
$route
,
{},
deResParameters
,
parameters
,
[],
viewparam
);
if
(
Object
.
is
(
this
.
$route
.
fullPath
,
path
)){
return
;
}
this
.
$nextTick
(
function
(){
this
.
$router
.
push
(
path
);
})
}
/**
* 数据加载
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
浏览文件 @
792d89ff
...
...
@@ -3967,6 +3967,25 @@ export default class MainMenuModel {
appfunctag
:
'UsrAppFunc1108357066'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem201'
,
},
{
id
:
'5BE483A5-EC51-4813-A577-DCDC2ED3DADC'
,
name
:
'menuitem212'
,
text
:
'按钮测试'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'按钮测试'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
'AppFunc126'
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem212'
,
},
],
},
...
...
@@ -5689,6 +5708,18 @@ export default class MainMenuModel {
{
pathName
:
'testlogiccustomview'
,
parameterName
:
'testlogiccustomview'
},
],
},
{
appfunctag
:
'AppFunc126'
,
appfuncyype
:
'APPVIEW'
,
openmode
:
''
,
codename
:
'ibizcustomerusr3editview'
,
deResParameters
:
[],
routepath
:
'/index/:index?/ibizcustomers/:ibizcustomer?/usr3editview/:usr3editview?'
,
parameters
:
[
{
pathName
:
'ibizcustomers'
,
parameterName
:
'ibizcustomer'
},
{
pathName
:
'usr3editview'
,
parameterName
:
'usr3editview'
},
],
},
];
/**
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
792d89ff
...
...
@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr3GridView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr3GridView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-base.vue
浏览文件 @
792d89ff
...
...
@@ -1308,7 +1308,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1343,7 +1343,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1404,7 +1404,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1512,7 +1512,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1586,7 +1586,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
792d89ff
...
...
@@ -1274,7 +1274,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1309,7 +1309,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1370,7 +1370,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1478,7 +1478,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1552,7 +1552,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
792d89ff
...
...
@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizcustomer/add-data-form-form/add-data-form-form-base.vue
浏览文件 @
792d89ff
...
...
@@ -1274,7 +1274,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
MediaTest
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
Usr3
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1309,7 +1309,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
MediaTest
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
Usr3
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1370,7 +1370,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
MediaTest
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
Usr3
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1478,7 +1478,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
MediaTest
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
Usr3
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1555,7 +1555,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
MediaTest
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
Usr3
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZCustomer.json
浏览文件 @
792d89ff
...
...
@@ -1272,6 +1272,12 @@
"name"
:
"客户实体数据多项选择视图(树视图)"
,
"realModelSubType"
:
"DEMPICKUPVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"Usr3EditView"
,
"logicName"
:
"按钮测试编辑视图"
,
"name"
:
"按钮测试编辑视图"
,
"realModelSubType"
:
"DEEDITVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"MPickupView_layout"
,
"logicName"
:
"客户实体数据多项选择视图(布局面板)"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr3EditView.json
0 → 100644
浏览文件 @
792d89ff
{
"accUserMode"
:
2
,
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DE.LNAME.IBIZCUSTOMER"
},
"caption"
:
"按钮测试编辑视图"
,
"codeName"
:
"IBIZCustomerUsr3EditView"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr3EditView.json"
,
"name"
:
"IBIZCustomerUsr3EditView"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSAppViewEngines"
:
[
{
"engineCat"
:
"VIEW"
,
"engineType"
:
"EditView"
,
"name"
:
"engine"
,
"getPSUIEngineParams"
:
[
{
"ctrlName"
:
"form"
,
"name"
:
"FORM"
,
"paramType"
:
"CTRL"
},
{
"name"
:
"P2K"
,
"paramType"
:
"VALUE"
,
"value"
:
0
}
]
}
],
"getPSAppViewLogics"
:
[
{
"eventArg"
:
"deuiaction1"
,
"eventNames"
:
"CLICK"
,
"logicTrigger"
:
"CTRLEVENT"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"toolbar_deuiaction1_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_deuiaction1"
},
"getPSViewCtrlName"
:
"toolbar"
},
{
"eventArg"
:
"tbitem3"
,
"eventNames"
:
"CLICK"
,
"logicTrigger"
:
"CTRLEVENT"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"toolbar_tbitem3_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_tbitem3"
},
"getPSViewCtrlName"
:
"toolbar"
},
{
"eventArg"
:
"tbitem5"
,
"eventNames"
:
"CLICK"
,
"logicTrigger"
:
"CTRLEVENT"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"toolbar_tbitem5_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_tbitem5"
},
"getPSViewCtrlName"
:
"toolbar"
},
{
"eventArg"
:
"tbitem9"
,
"eventNames"
:
"CLICK"
,
"logicTrigger"
:
"CTRLEVENT"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"toolbar_tbitem9_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_tbitem9"
},
"getPSViewCtrlName"
:
"toolbar"
},
{
"eventArg"
:
"tbitem15"
,
"eventNames"
:
"CLICK"
,
"logicTrigger"
:
"CTRLEVENT"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"toolbar_tbitem15_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_tbitem15"
},
"getPSViewCtrlName"
:
"toolbar"
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"toolbar_deuiaction1"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"New"
},
"xDataControlName"
:
"form"
},
{
"name"
:
"toolbar_tbitem3"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Save"
},
"xDataControlName"
:
"form"
},
{
"name"
:
"toolbar_tbitem5"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"SaveAndExit"
},
"xDataControlName"
:
"form"
},
{
"name"
:
"toolbar_tbitem9"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"SaveAndStart"
},
"xDataControlName"
:
"form"
},
{
"name"
:
"toolbar_tbitem15"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"Print"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"form"
}
],
"getPSControls"
:
[
{
"codeName"
:
"Usr3EditViewtoolbar"
,
"controlType"
:
"TOOLBAR"
,
"hookEventNames"
:
[
"CLICK"
],
"logicName"
:
"工具栏模板(默认编辑界面)"
,
"name"
:
"toolbar"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSControlLogics"
:
[
{
"eventArg"
:
"deuiaction1"
,
"eventNames"
:
"CLICK"
,
"logicTag"
:
"toolbar"
,
"logicType"
:
"APPVIEWLOGIC"
,
"name"
:
"toolbar_deuiaction1_click"
,
"getPSAppViewLogic"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_deuiaction1_click"
}
},
{
"eventArg"
:
"tbitem3"
,
"eventNames"
:
"CLICK"
,
"logicTag"
:
"toolbar"
,
"logicType"
:
"APPVIEWLOGIC"
,
"name"
:
"toolbar_tbitem3_click"
,
"getPSAppViewLogic"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_tbitem3_click"
}
},
{
"eventArg"
:
"tbitem5"
,
"eventNames"
:
"CLICK"
,
"logicTag"
:
"toolbar"
,
"logicType"
:
"APPVIEWLOGIC"
,
"name"
:
"toolbar_tbitem5_click"
,
"getPSAppViewLogic"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_tbitem5_click"
}
},
{
"eventArg"
:
"tbitem9"
,
"eventNames"
:
"CLICK"
,
"logicTag"
:
"toolbar"
,
"logicType"
:
"APPVIEWLOGIC"
,
"name"
:
"toolbar_tbitem9_click"
,
"getPSAppViewLogic"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_tbitem9_click"
}
},
{
"eventArg"
:
"tbitem15"
,
"eventNames"
:
"CLICK"
,
"logicTag"
:
"toolbar"
,
"logicType"
:
"APPVIEWLOGIC"
,
"name"
:
"toolbar_tbitem15_click"
,
"getPSAppViewLogic"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_tbitem15_click"
}
}
],
"getPSControlParam"
:
{
"id"
:
"TOOLBAR"
},
"getPSDEToolbarItems"
:
[
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TEXT.*.NEW"
},
"caption"
:
"新建"
,
"groupExtractMode"
:
"ITEM"
,
"itemType"
:
"DEUIACTION"
,
"name"
:
"deuiaction1"
,
"noPrivDisplayMode"
:
2
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_deuiaction1"
},
"getPSSysImage"
:
{
"glyph"
:
"xf0f6@FontAwesome"
,
"cssClass"
:
"fa fa-file-text-o"
},
"getPSUIAction"
:
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TEXT.*.NEW"
},
"caption"
:
"新建"
,
"codeName"
:
"New"
,
"fullCodeName"
:
"New"
,
"name"
:
"编辑界面_新建操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0f6@FontAwesome"
,
"cssClass"
:
"fa fa-file-text-o"
},
"predefinedType"
:
"EDITVIEW_NEWACTION"
,
"timeout"
:
60000
,
"getTooltipPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TOOLTIP.*.NEW"
},
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"New"
,
"uIActionType"
:
"DEUIACTION"
},
"tooltip"
:
"新建"
,
"getTooltipPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TOOLTIP.*.NEW"
},
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TEXT.*.SAVE"
},
"caption"
:
"保存"
,
"groupExtractMode"
:
"ITEM"
,
"itemType"
:
"DEUIACTION"
,
"name"
:
"tbitem3"
,
"noPrivDisplayMode"
:
2
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_tbitem3"
},
"getPSSysCss"
:
{
"cssName"
:
"deepskyblueToolBar"
},
"getPSSysImage"
:
{
"glyph"
:
"xf0c7@FontAwesome"
,
"cssClass"
:
"fa fa-save"
},
"getPSUIAction"
:
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TEXT.*.SAVE"
},
"caption"
:
"保存"
,
"codeName"
:
"Save"
,
"fullCodeName"
:
"Save"
,
"name"
:
"编辑界面_保存操作"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0c7@FontAwesome"
,
"cssClass"
:
"fa fa-save"
},
"predefinedType"
:
"EDITVIEW_SAVEACTION"
,
"timeout"
:
60000
,
"getTooltipPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TOOLTIP.*.SAVE"
},
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"Save"
,
"uIActionType"
:
"DEUIACTION"
},
"tooltip"
:
"保存"
,
"getTooltipPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TOOLTIP.*.SAVE"
},
"showCaption"
:
true
,
"showIcon"
:
true
},
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TEXT.EDITVIEW.SAVEANDCLOSE"
},
"caption"
:
"保存并关闭"
,
"groupExtractMode"
:
"ITEM"
,
"itemType"
:
"DEUIACTION"
,
"name"
:
"tbitem5"
,
"noPrivDisplayMode"
:
2
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_tbitem5"
},
"getPSSysImage"
:
{
"cssClass"
:
"sx-tb-saveandclose"
},
"getPSUIAction"
:
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TEXT.EDITVIEW.SAVEANDCLOSE"
},
"caption"
:
"保存并关闭"
,
"codeName"
:
"SaveAndExit"
,
"fullCodeName"
:
"SaveAndExit"
,
"name"
:
"编辑界面_保存并退出操作"
,
"getPSSysImage"
:
{
"cssClass"
:
"sx-tb-saveandclose"
},
"predefinedType"
:
"EDITVIEW_SAVEANDEXITACTION"
,
"timeout"
:
60000
,
"getTooltipPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE"
},
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"SaveAndExit"
,
"uIActionType"
:
"DEUIACTION"
},
"tooltip"
:
"保存并关闭"
,
"getTooltipPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE"
},
"showCaption"
:
true
,
"showIcon"
:
true
}
],
"modelid"
:
"b912ff540f5614f63914a38067d84728"
,
"modeltype"
:
"PSDETOOLBAR"
},
{
"codeName"
:
"AddDataForm"
,
"controlType"
:
"FORM"
,
"getCreatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"create"
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer/PSFORMS/AddDataForm.json"
,
"getGetDraftFromPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"loaddraftfrom"
},
"getGetDraftPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"loaddraft"
},
"getGetPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"load"
},
"hookEventNames"
:
[
"LOAD"
,
"SAVE"
,
"REMOVE"
],
"logicName"
:
"主编辑表单(数据补充)"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSControlHandler"
:
{
"getPSHandlerActions"
:
[
{
"actionName"
:
"GetDraft"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraft"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"GetDraft"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
},
{
"actionName"
:
"GETDRAFTFROM"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"loaddraftfrom"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
}
},
{
"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"
}
}
],
"enableDEFieldPrivilege"
:
false
,
"id"
:
"编辑表单处理器"
},
"getPSControlLogics"
:
[
{
"eventNames"
:
"LOAD;SAVE;REMOVE"
,
"logicTag"
:
"form"
,
"logicType"
:
"APPVIEWENGINE"
,
"name"
:
"engine_form"
,
"getPSAppViewEngine"
:
{
"modelref"
:
true
,
"id"
:
"engine"
}
}
],
"getPSControlParam"
:
{
"autoLoad"
:
true
,
"showBusyIndicator"
:
true
,
"id"
:
"FORM"
},
"getPSDEFormItems"
:
[
{
"id"
:
"srfupdatedate"
,
"hidden"
:
true
,
"dataType"
:
5
,
"getPSAppDEField"
:
{
"name"
:
"UPDATEDATE"
,
"codeName"
:
"UpdateDate"
}
},
{
"id"
:
"srforikey"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfkey"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"IBIZCUSTOMERID"
,
"codeName"
:
"IBIZCustomerId"
}
},
{
"id"
:
"srfmajortext"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"IBIZCUSTOMERNAME"
,
"codeName"
:
"IBIZCustomerName"
}
},
{
"id"
:
"srftempmode"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfuf"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfdeid"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"srfsourcekey"
,
"hidden"
:
true
,
"dataType"
:
25
},
{
"id"
:
"ibizcustomername"
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"IBIZCUSTOMERNAME"
,
"codeName"
:
"IBIZCustomerName"
}
},
{
"id"
:
"address"
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"ADDRESS"
,
"codeName"
:
"Address"
}
},
{
"id"
:
"ibizcustomerid"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"IBIZCUSTOMERID"
,
"codeName"
:
"IBIZCustomerId"
}
},
{
"id"
:
"customeruid"
,
"hidden"
:
true
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"CUSTOMERUID"
,
"codeName"
:
"CustomerUID"
}
}
],
"getPSDEFormPages"
:
[
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"CONTROL.DEFORM.IBIZCUSTOMER.MAIN.FORMPAGE.FORMPAGE1"
},
"caption"
:
"基本信息"
,
"codeName"
:
"formpage1"
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMPAGE"
,
"name"
:
"formpage1"
,
"getPSDEFormDetails"
:
[
{
"actionGroupExtractMode"
:
"ITEM"
,
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"CONTROL.DEFORM.IBIZCUSTOMER.MAIN.GROUPPANEL.GROUP1"
},
"caption"
:
"客户基本信息"
,
"codeName"
:
"group1"
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"GROUPPANEL"
,
"name"
:
"group1"
,
"getPSDEFormDetails"
:
[
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DEF.LNAME.IBIZCUSTOMERNAME"
},
"caption"
:
"客户名称"
,
"codeName"
:
"ibizcustomername"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"ibizcustomername"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"IBIZCUSTOMERNAME"
,
"codeName"
:
"IBIZCustomerName"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"maxLength"
:
200
,
"name"
:
"ibizcustomername"
},
"getPSLayoutPos"
:
{
"colLG"
:
12
,
"colMD"
:
12
,
"colSM"
:
12
,
"colXS"
:
12
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DEF.LNAME.ADDRESS"
},
"caption"
:
"公司地址"
,
"codeName"
:
"address"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"address"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"ADDRESS"
,
"codeName"
:
"Address"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"maxLength"
:
100
,
"name"
:
"address"
},
"getPSLayoutPos"
:
{
"colLG"
:
12
,
"colMD"
:
12
,
"colSM"
:
12
,
"colXS"
:
12
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"showCaption"
:
true
},
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DEF.LNAME.IBIZCUSTOMERID"
},
"caption"
:
"客户标识"
,
"codeName"
:
"ibizcustomerid"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"ibizcustomerid"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"IBIZCUSTOMERID"
,
"codeName"
:
"IBIZCustomerId"
},
"getPSEditor"
:
{
"editorType"
:
"HIDDEN"
,
"name"
:
"ibizcustomerid"
},
"getPSLayoutPos"
:
{
"colLG"
:
6
,
"colMD"
:
6
,
"colSM"
:
6
,
"colXS"
:
6
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"hidden"
:
true
,
"showCaption"
:
true
},
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DEF.LNAME.CUSTOMERUID"
},
"caption"
:
"客户编号"
,
"codeName"
:
"customeruid"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"name"
:
"customeruid"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"CUSTOMERUID"
,
"codeName"
:
"CustomerUID"
},
"getPSEditor"
:
{
"editorType"
:
"HIDDEN"
,
"name"
:
"customeruid"
},
"getPSLayoutPos"
:
{
"colLG"
:
6
,
"colMD"
:
6
,
"colSM"
:
6
,
"colXS"
:
6
,
"layout"
:
"TABLE_24COL"
},
"allowEmpty"
:
true
,
"hidden"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"infoGroupMode"
:
false
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"infoGroupMode"
:
false
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"remove"
},
"tabHeaderPos"
:
"TOP"
,
"getUpdatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"update"
},
"noTabHeader"
:
true
,
"name"
:
"form"
,
"modelid"
:
"144ae39bc8dd3883dc9de47e77311669"
,
"modeltype"
:
"PSDEFORM_EDITFORM"
}
],
"getPSDEViewCodeName"
:
"Usr3EditView"
,
"getPSDEViewId"
:
"CA5E9C34-54D6-40DA-A97C-BB80464AA4C8"
,
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Layoutpanel"
,
"controlStyle"
:
"APPDEEDITVIEW"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"name"
:
"layoutpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSControlParam"
:
{
},
"layoutBodyOnly"
:
true
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
true
},
"title"
:
"客户编辑视图"
,
"viewStyle"
:
"DEFAULT"
,
"viewType"
:
"DEEDITVIEW"
,
"xDataControlName"
:
"form"
,
"enableDP"
:
true
,
"showDataInfoBar"
:
true
,
"modelid"
:
"89f50fe0180852e47ffbb486cdfaf305"
,
"modeltype"
:
"PSAPPDEVIEW"
}
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/index.json
浏览文件 @
792d89ff
...
...
@@ -4356,6 +4356,24 @@
"layout"
:
"TABLE_24COL"
},
"tooltip"
:
"测试界面逻辑"
},
{
"accUserMode"
:
2
,
"caption"
:
"按钮测试"
,
"itemType"
:
"MENUITEM"
,
"name"
:
"menuitem212"
,
"getPSAppFunc"
:
{
"modelref"
:
true
,
"id"
:
"AppFunc126"
},
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"tooltip"
:
"按钮测试"
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPMENUS/MainMenu.json
浏览文件 @
792d89ff
...
...
@@ -2426,6 +2426,16 @@
"id"
:
"UsrAppFunc1108357066"
},
"tooltip"
:
"测试界面逻辑"
},
{
"accUserMode"
:
2
,
"caption"
:
"按钮测试"
,
"itemType"
:
"MENUITEM"
,
"name"
:
"menuitem212"
,
"getPSAppFunc"
:
{
"modelref"
:
true
,
"id"
:
"AppFunc126"
},
"tooltip"
:
"按钮测试"
}
],
"tooltip"
:
"视图布局面板测试"
}
],
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
792d89ff
...
...
@@ -2097,6 +2097,16 @@
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderBarChartView.json"
,
"viewType"
:
"DECHARTVIEW"
}
},
{
"appFuncType"
:
"APPVIEW"
,
"codeName"
:
"AppFunc126"
,
"name"
:
"按钮测试"
,
"openMode"
:
"INDEXVIEWTAB"
,
"getPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr3EditView.json"
,
"viewType"
:
"DEEDITVIEW"
}
},
{
"appFuncType"
:
"APPVIEW"
,
"codeName"
:
"AppFunc115"
,
...
...
@@ -14156,6 +14166,12 @@
"viewType"
:
"DEEDITVIEW"
,
"resource"
:
"IBIZSoftwareSuit"
,
"view"
:
"EditView"
},
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr3EditView.json"
,
"viewType"
:
"DEEDITVIEW"
,
"resource"
:
"IBIZCustomer"
,
"view"
:
"Usr3EditView"
},
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderCalendarExpView_layout.json"
,
...
...
@@ -19398,6 +19414,24 @@
"layout"
:
"TABLE_24COL"
},
"tooltip"
:
"测试界面逻辑"
},
{
"accUserMode"
:
2
,
"caption"
:
"按钮测试"
,
"itemType"
:
"MENUITEM"
,
"name"
:
"menuitem212"
,
"getPSAppFunc"
:
{
"modelref"
:
true
,
"id"
:
"AppFunc126"
},
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"tooltip"
:
"按钮测试"
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录