Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
9eac873e
提交
9eac873e
编写于
12月 13, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
0fa6c4d6
变更
31
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
31 个修改的文件
包含
9379 行增加
和
207 行删除
+9379
-207
app-register.ts
app_Web/src/app-register.ts
+2
-2
app-ey-mpicker.scss
app_Web/src/components/app-ey-mpicker/app-ey-mpicker.scss
+33
-0
app-ey-mpicker.vue
app_Web/src/components/app-ey-mpicker/app-ey-mpicker.vue
+62
-35
ibizbook_BO_CN_base.ts
...rc/locale/lanres/entities/ibizbook/ibizbook_BO_CN_base.ts
+56
-0
ibizbook_en_US_base.ts
...rc/locale/lanres/entities/ibizbook/ibizbook_en_US_base.ts
+56
-0
ibizbook_zh_CN_base.ts
...rc/locale/lanres/entities/ibizbook/ibizbook_zh_CN_base.ts
+56
-0
actiontest-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/actiontest-ui-logic-base.ts
+322
-0
actiontest-ui-logic.ts
app_Web/src/uiservice/ibizbook/actiontest-ui-logic.ts
+46
-0
entity-dataset-ui-logic-base.ts
...eb/src/uiservice/ibizbook/entity-dataset-ui-logic-base.ts
+254
-0
entity-dataset-ui-logic.ts
app_Web/src/uiservice/ibizbook/entity-dataset-ui-logic.ts
+46
-0
event-test-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/event-test-ui-logic-base.ts
+290
-0
event-test-ui-logic.ts
app_Web/src/uiservice/ibizbook/event-test-ui-logic.ts
+46
-0
ibizbook-ui-service-base.ts
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
+97
-0
params-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/params-ui-logic-base.ts
+233
-0
params-ui-logic.ts
app_Web/src/uiservice/ibizbook/params-ui-logic.ts
+46
-0
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
lnternal-func-list-list-base.vue
.../lnternal-func-list-list/lnternal-func-list-list-base.vue
+20
-20
usr2-dataview-base.vue
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
+26
-56
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+6
-6
IBIZBOOK.json
...remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json
+40
-0
IBIZBOOK.json
...remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
+867
-41
TreeTable.json
.../PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
+12
-12
Logictree.json
...Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEVIEWS/Logictree.json
+251
-0
IBIZBOOKTreeExpView.json
...model/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeExpView.json
+477
-0
IBIZBOOKTreeGridExView.json
...el/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
+12
-12
IBIZBOOKUsr6EditView.json
...odel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr6EditView.json
+1286
-0
IBIZBOOKUsr7EditView.json
...odel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr7EditView.json
+1286
-0
IBIZBOOKUsr8EditView.json
...odel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr8EditView.json
+1286
-0
IBIZBOOKUsr9EditView.json
...odel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr9EditView.json
+1286
-0
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+876
-20
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
未找到文件。
app_Web/src/app-register.ts
浏览文件 @
9eac873e
...
...
@@ -142,7 +142,7 @@ import AppTodoList from './components/app-todo-list/app-todo-list.vue';
import
AppGridPagination
from
'./components/app-grid-pagination/app-grid-pagination.vue'
;
import
AppSearchbar
from
'./components/app-searchbar/app-searchbar.vue'
;
import
AppEYUpload
from
'./components/app-ey-upload/app-ey-upload.vue'
;
import
AppEYM
p
icker
from
'./components/app-ey-mpicker/app-ey-mpicker.vue'
;
import
AppEYM
P
icker
from
'./components/app-ey-mpicker/app-ey-mpicker.vue'
;
import
ExtendActionTimeline
from
'./components/extend-action-timeline/extend-action-timeline.vue'
;
import
AppAddressCascader
from
'./components/app-address-cascader/app-address-cascader.vue'
;
// 布局组件
...
...
@@ -316,7 +316,7 @@ export const AppComponents = {
v
.
component
(
'app-grid-pagination'
,
AppGridPagination
);
v
.
component
(
'app-searchbar'
,
AppSearchbar
);
v
.
component
(
'app-ey-upload'
,
AppEYUpload
);
v
.
component
(
'app-ey-mpicker'
,
AppEYM
p
icker
);
v
.
component
(
'app-ey-mpicker'
,
AppEYM
P
icker
);
v
.
component
(
'extend-action-timeline'
,
ExtendActionTimeline
);
v
.
component
(
'app-pickup-view-layout'
,
AppPickUpViewLayout
);
v
.
component
(
'app-mpickup-view-layout'
,
AppMPickUpViewLayout
);
...
...
app_Web/src/components/app-ey-mpicker/app-ey-mpicker.scss
浏览文件 @
9eac873e
.app-ey-mpicker
{
display
:
flex
;
flex-direction
:
column
;
gap
:
10px
;
.el-select
{
width
:
100%
;
}
.app-ey-mpicker__item
{
width
:
100%
;
position
:
relative
;
padding-right
:
30px
;
.app-ey-mpicker__search
{
height
:
34px
;
position
:
absolute
;
top
:
0
;
right
:
40px
;
color
:
var
(
--
ey-color-gray-200
);
font-size
:
16px
;
}
.app-ey-mpicker__button
{
height
:
34px
;
position
:
absolute
;
top
:
0
;
right
:
4px
;
display
:
flex
;
align-items
:
center
;
img
{
height
:
20px
;
width
:
20px
;
}
}
}
}
\ No newline at end of file
app_Web/src/components/app-ey-mpicker/app-ey-mpicker.vue
浏览文件 @
9eac873e
<
template
>
<div
class=
"app-ey-mpicker"
>
多选
<div
class=
"app-ey-mpicker__item"
v-for=
"count in selectCount"
:key=
"count"
>
<el-select
:value=
"getSelectLabel(count-1)"
filterable
remote
:remote-method=
"onSearch"
size=
"small"
@
change=
"onSelect"
:disabled=
"disabled"
>
<template
v-if=
"!valueItems[count-1]"
>
<el-option
v-for=
"(item, index) in items"
:key=
"index"
:label=
"item[deMajorField]"
:value=
"item[deKeyField]"
></el-option>
</
template
>
</el-select>
<span
class=
"app-ey-mpicker__search"
>
<i
class=
"el-icon-search"
@
click=
"openView(valueItems[count-1])"
></i>
</span>
<div
class=
"app-ey-mpicker__button"
>
<img
v-if=
"count === selectCount"
src=
"assets/img/ic_add_circle.svg"
@
click=
"selectCount++"
>
<img
v-else
src=
"assets/img/remove_circle.svg"
@
click=
"onRemove(valueItems[count-1])"
>
</div>
</div>
</div>
</template>
<
script
lang =
'ts'
>
...
...
@@ -9,7 +22,7 @@ import { Subject } from 'rxjs';
@
Component
({
})
export
default
class
AppEYM
p
icker
extends
Vue
{
export
default
class
AppEYM
P
icker
extends
Vue
{
/**
* 传入url
...
...
@@ -45,7 +58,7 @@ export default class AppEYMpicker extends Vue {
* 局部上下文导航参数
*
* @type {any}
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
@
Prop
()
public
localContext
!
:
any
;
...
...
@@ -53,7 +66,7 @@ export default class AppEYMpicker extends Vue {
* 局部导航参数
*
* @type {any}
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
@
Prop
()
public
localParam
!
:
any
;
...
...
@@ -66,7 +79,7 @@ export default class AppEYMpicker extends Vue {
* 视图上下文
*
* @type {*}
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
@
Prop
()
public
context
!
:
any
;
...
...
@@ -74,7 +87,7 @@ export default class AppEYMpicker extends Vue {
* 视图参数
*
* @type {*}
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
@
Prop
()
public
viewparams
!
:
any
;
...
...
@@ -82,7 +95,7 @@ export default class AppEYMpicker extends Vue {
* AC参数
*
* @type {*}
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
@
Prop
({
default
:
()
=>
{}})
public
acParams
?:
any
;
...
...
@@ -90,7 +103,7 @@ export default class AppEYMpicker extends Vue {
* 应用实体主信息属性名称
*
* @type {string}
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
@
Prop
({
default
:
'srfmajortext'
})
public
deMajorField
!
:
string
;
...
...
@@ -98,7 +111,7 @@ export default class AppEYMpicker extends Vue {
* 应用实体主键属性名称
*
* @type {string}
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
@
Prop
({
default
:
'srfkey'
})
public
deKeyField
!
:
string
;
...
...
@@ -106,7 +119,7 @@ export default class AppEYMpicker extends Vue {
* 表单服务
*
* @type {*}
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
@
Prop
()
public
service
?:
any
;
...
...
@@ -118,7 +131,7 @@ export default class AppEYMpicker extends Vue {
/**
* 当前表单项绑定值key的集合
*/
public
value
:
any
=
[];
public
value
Items
:
any
=
[];
/**
* 所有操作过的下拉选选项
...
...
@@ -131,6 +144,23 @@ export default class AppEYMpicker extends Vue {
*/
public
selectItems
:
Array
<
any
>
=
[];
/**
* 选项框数量
*
*/
public
selectCount
:
number
=
1
;
/**
* 获取选中label
*
*/
public
getSelectLabel
(
index
:
number
)
{
const
selection
=
this
.
selectItems
[
index
];
if
(
selection
)
{
return
selection
[
this
.
deMajorField
];
}
}
/**
* 监听curvalue值
* @param newVal
...
...
@@ -138,17 +168,13 @@ export default class AppEYMpicker extends Vue {
*/
@
Watch
(
'curvalue'
,
{
immediate
:
true
,
deep
:
true
})
oncurvalueChange
(
newVal
:
any
,
val
:
any
)
{
this
.
value
=
[];
this
.
value
Items
=
[];
this
.
selectItems
=
[];
if
(
newVal
)
{
try
{
this
.
selectItems
=
this
.
parseValue
(
JSON
.
parse
(
newVal
));
this
.
selectItems
.
forEach
((
item
:
any
)
=>
{
this
.
value
.
push
(
item
[
this
.
deKeyField
]);
let
index
=
this
.
items
.
findIndex
((
i
)
=>
Object
.
is
(
i
[
this
.
deKeyField
],
item
[
this
.
deKeyField
]));
if
(
index
<
0
)
{
this
.
items
.
push
({
[
this
.
deMajorField
]:
item
[
this
.
deMajorField
],
[
this
.
deKeyField
]:
item
[
this
.
deKeyField
]
});
}
this
.
valueItems
.
push
(
item
[
this
.
deKeyField
]);
});
}
catch
(
error
)
{
if
((
error
as
any
).
name
===
'SyntaxError'
){
...
...
@@ -159,12 +185,8 @@ export default class AppEYMpicker extends Vue {
}
if
(
srfkeys
.
length
&&
srfkeys
.
length
>
0
&&
srfmajortexts
.
length
&&
srfmajortexts
.
length
>
0
&&
srfkeys
.
length
==
srfmajortexts
.
length
){
srfkeys
.
forEach
((
id
:
any
,
index
:
number
)
=>
{
this
.
value
.
push
(
id
);
this
.
value
Items
.
push
(
id
);
this
.
selectItems
.
push
({[
this
.
deKeyField
]:
id
,
[
this
.
deMajorField
]:
srfmajortexts
[
index
]});
let
_index
=
this
.
items
.
findIndex
((
i
)
=>
Object
.
is
(
i
[
this
.
deKeyField
],
id
));
if
(
_index
<
0
)
{
this
.
items
.
push
({[
this
.
deKeyField
]:
id
,
[
this
.
deMajorField
]:
srfmajortexts
[
index
]});
}
});
}
}
...
...
@@ -177,7 +199,7 @@ export default class AppEYMpicker extends Vue {
* 远程执行搜索
*
* @param {*} query
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
public
onSearch
(
query
:
any
)
{
// 公共参数处理
...
...
@@ -220,7 +242,7 @@ export default class AppEYMpicker extends Vue {
* 下拉选中回调
*
* @param {*} selects
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
public
onSelect
(
selects
:
any
)
{
let
val
:
Array
<
any
>
=
[];
...
...
@@ -247,7 +269,7 @@ export default class AppEYMpicker extends Vue {
* 移除标签回调
*
* @param {*} tag
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
public
onRemove
(
tag
:
any
)
{
let
index
=
this
.
selectItems
.
findIndex
((
item
:
any
)
=>
Object
.
is
(
item
[
this
.
deKeyField
],
tag
));
...
...
@@ -256,6 +278,7 @@ export default class AppEYMpicker extends Vue {
let
value
=
this
.
selectItems
.
length
>
0
?
JSON
.
stringify
(
this
.
formatValue
(
this
.
selectItems
))
:
''
;
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
name
,
value
:
value
});
}
this
.
selectCount
--
;
}
/**
...
...
@@ -263,7 +286,7 @@ export default class AppEYMpicker extends Vue {
*
* @param {*} arg
* @returns
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
public
handlePublicParams
(
arg
:
any
):
boolean
{
if
(
!
this
.
activeData
)
{
...
...
@@ -289,9 +312,9 @@ export default class AppEYMpicker extends Vue {
* 打开视图
*
* @returns
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
public
openView
()
{
public
openView
(
value
:
string
)
{
if
(
this
.
disabled
)
{
return
;
}
...
...
@@ -325,14 +348,18 @@ export default class AppEYMpicker extends Vue {
if
(
result
.
datas
&&
Array
.
isArray
(
result
.
datas
))
{
result
.
datas
.
forEach
((
select
:
any
)
=>
{
selects
.
push
({
[
this
.
deKeyField
]:
select
[
this
.
deKeyField
],
[
this
.
deMajorField
]:
select
[
this
.
deMajorField
]
});
let
index
=
this
.
items
.
findIndex
((
item
)
=>
Object
.
is
(
item
[
this
.
deKeyField
],
select
[
this
.
deKeyField
]));
if
(
index
<
0
)
{
this
.
items
.
push
({
[
this
.
deMajorField
]:
select
[
this
.
deMajorField
],
[
this
.
deKeyField
]:
select
[
this
.
deKeyField
]
});
}
});
}
if
(
value
)
{
const
index
=
this
.
selectItems
.
findIndex
((
item
:
any
)
=>
Object
.
is
(
item
[
this
.
deKeyField
],
value
));
if
(
index
!=
-
1
)
{
this
.
selectItems
.
splice
(
index
,
1
,
...
selects
);
}
}
else
{
this
.
selectItems
.
push
(...
selects
);
}
if
(
this
.
name
&&
this
.
activeData
)
{
let
value
=
selects
.
length
>
0
?
JSON
.
stringify
(
this
.
formatValue
(
select
s
))
:
''
;
let
value
=
this
.
selectItems
.
length
>
0
?
JSON
.
stringify
(
this
.
formatValue
(
this
.
selectItem
s
))
:
''
;
this
.
$emit
(
'formitemvaluechange'
,
{
name
:
this
.
name
,
value
:
value
});
}
})
...
...
@@ -343,7 +370,7 @@ export default class AppEYMpicker extends Vue {
* 解析值,把srfkey和srfmajortext解析成实体属性名
*
* @param {any[]} value 需要转换的数组
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
public
parseValue
(
value
:
any
[]){
let
result
=
[];
...
...
@@ -361,7 +388,7 @@ export default class AppEYMpicker extends Vue {
* 格式化值,把实体属性名格式化成srfkey和srfmajortext
*
* @param {any[]} value 需要转换的数组
* @memberof App
Mp
icker
* @memberof App
EYMP
icker
*/
public
formatValue
(
value
:
any
[]){
let
result
=
[];
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_BO_CN_base.ts
浏览文件 @
9eac873e
...
...
@@ -124,6 +124,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"编辑视图插件测试-底部工具栏"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"编辑视图插件测试-底部工具栏"
,
null
),
},
usr7editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书编辑视图"
,
null
),
},
usr4calendarview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书日历视图(自定义插件)"
,
null
),
...
...
@@ -344,6 +348,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"选择视图插件(vue3)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"选择视图插件(vue3)"
,
null
),
},
usr8editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书编辑视图"
,
null
),
},
listview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书列表视图(内置功能)"
,
null
),
...
...
@@ -408,6 +416,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"行为插件(vue3)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"行为插件(vue3)"
,
null
),
},
treeexpview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书树导航视图"
,
null
),
},
customview_layout
:
{
caption
:
commonLogic
.
appcommonhandle
(
"实体自定义视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"实体自定义视图"
,
null
),
...
...
@@ -420,6 +432,14 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"实体数据看板视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"实体数据看板视图"
,
null
),
},
usr9editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书编辑视图"
,
null
),
},
usr6editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书编辑视图"
,
null
),
},
},
majorstateform_form
:
{
details
:
{
...
...
@@ -2972,6 +2992,30 @@ function getLocaleResourceBase(){
},
usr5dataviewtoolbar_toolbar
:
{
},
usr7editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"实体行为与界面行为"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"实体行为与界面行为"
,
null
),
},
},
usr8editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"事件调用与事件触发"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"事件调用与事件触发"
,
null
),
},
},
usr9editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"实体数据集或异常"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"实体数据集或异常"
,
null
),
},
},
usr6editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"准备参数"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"准备参数"
,
null
),
},
},
treemajorstate_treeview
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodes
:
{
...
...
@@ -3009,6 +3053,18 @@ function getLocaleResourceBase(){
uiactions
:
{
},
},
logictree_treeview
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodes
:
{
action
:
commonLogic
.
appcommonhandle
(
"实体行为与界面行为"
,
null
),
root
:
commonLogic
.
appcommonhandle
(
"默认根节点"
,
null
),
event
:
commonLogic
.
appcommonhandle
(
"部件调用与事件触发"
,
null
),
entitydataset
:
commonLogic
.
appcommonhandle
(
"实体数据集与异常"
,
null
),
params
:
commonLogic
.
appcommonhandle
(
"准备参数"
,
null
),
},
uiactions
:
{
},
},
ibizbookpanel_calendar
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US_base.ts
浏览文件 @
9eac873e
...
...
@@ -124,6 +124,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"编辑视图插件测试-底部工具栏"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"编辑视图插件测试-底部工具栏"
,
null
),
},
usr7editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书编辑视图"
,
null
),
},
usr4calendarview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Custom Plug In"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书日历视图(自定义插件)"
,
null
),
...
...
@@ -344,6 +348,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"选择视图插件(vue3)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"选择视图插件(vue3)"
,
null
),
},
usr8editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书编辑视图"
,
null
),
},
listview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Built In Features"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书列表视图(内置功能)"
,
null
),
...
...
@@ -408,6 +416,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"行为插件(vue3)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"行为插件(vue3)"
,
null
),
},
treeexpview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书树导航视图"
,
null
),
},
customview_layout
:
{
caption
:
commonLogic
.
appcommonhandle
(
"Custom View"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"实体自定义视图"
,
null
),
...
...
@@ -420,6 +432,14 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"Entity Data Kanban View"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"实体数据看板视图"
,
null
),
},
usr9editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书编辑视图"
,
null
),
},
usr6editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书编辑视图"
,
null
),
},
},
majorstateform_form
:
{
details
:
{
...
...
@@ -2972,6 +2992,30 @@ function getLocaleResourceBase(){
},
usr5dataviewtoolbar_toolbar
:
{
},
usr7editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"实体行为与界面行为"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"实体行为与界面行为"
,
null
),
},
},
usr8editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"事件调用与事件触发"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"事件调用与事件触发"
,
null
),
},
},
usr9editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"实体数据集或异常"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"实体数据集或异常"
,
null
),
},
},
usr6editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"准备参数"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"准备参数"
,
null
),
},
},
treemajorstate_treeview
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodes
:
{
...
...
@@ -3009,6 +3053,18 @@ function getLocaleResourceBase(){
uiactions
:
{
},
},
logictree_treeview
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodes
:
{
action
:
commonLogic
.
appcommonhandle
(
"实体行为与界面行为"
,
null
),
root
:
commonLogic
.
appcommonhandle
(
"默认根节点"
,
null
),
event
:
commonLogic
.
appcommonhandle
(
"部件调用与事件触发"
,
null
),
entitydataset
:
commonLogic
.
appcommonhandle
(
"实体数据集与异常"
,
null
),
params
:
commonLogic
.
appcommonhandle
(
"准备参数"
,
null
),
},
uiactions
:
{
},
},
ibizbookpanel_calendar
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN_base.ts
浏览文件 @
9eac873e
...
...
@@ -124,6 +124,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"编辑视图插件测试-底部工具栏"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"编辑视图插件测试-底部工具栏"
,
null
),
},
usr7editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书编辑视图"
,
null
),
},
usr4calendarview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书日历视图(自定义插件)"
,
null
),
...
...
@@ -344,6 +348,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"选择视图插件(vue3)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"选择视图插件(vue3)"
,
null
),
},
usr8editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书编辑视图"
,
null
),
},
listview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书列表视图(内置功能)"
,
null
),
...
...
@@ -408,6 +416,10 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"行为插件(vue3)"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"行为插件(vue3)"
,
null
),
},
treeexpview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书树导航视图"
,
null
),
},
customview_layout
:
{
caption
:
commonLogic
.
appcommonhandle
(
"实体自定义视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"实体自定义视图"
,
null
),
...
...
@@ -420,6 +432,14 @@ function getLocaleResourceBase(){
caption
:
commonLogic
.
appcommonhandle
(
"实体数据看板视图"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"实体数据看板视图"
,
null
),
},
usr9editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书编辑视图"
,
null
),
},
usr6editview
:
{
caption
:
commonLogic
.
appcommonhandle
(
"图书"
,
null
),
title
:
commonLogic
.
appcommonhandle
(
"图书编辑视图"
,
null
),
},
},
majorstateform_form
:
{
details
:
{
...
...
@@ -2972,6 +2992,30 @@ function getLocaleResourceBase(){
},
usr5dataviewtoolbar_toolbar
:
{
},
usr7editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"实体行为与界面行为"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"实体行为与界面行为"
,
null
),
},
},
usr8editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"事件调用与事件触发"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"事件调用与事件触发"
,
null
),
},
},
usr9editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"实体数据集或异常"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"实体数据集或异常"
,
null
),
},
},
usr6editviewtoolbar_toolbar
:
{
deuiaction1
:
{
caption
:
commonLogic
.
appcommonhandle
(
"准备参数"
,
null
),
tip
:
commonLogic
.
appcommonhandle
(
"准备参数"
,
null
),
},
},
treemajorstate_treeview
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodes
:
{
...
...
@@ -3009,6 +3053,18 @@ function getLocaleResourceBase(){
uiactions
:
{
},
},
logictree_treeview
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
nodes
:
{
action
:
commonLogic
.
appcommonhandle
(
"实体行为与界面行为"
,
null
),
root
:
commonLogic
.
appcommonhandle
(
"默认根节点"
,
null
),
event
:
commonLogic
.
appcommonhandle
(
"部件调用与事件触发"
,
null
),
entitydataset
:
commonLogic
.
appcommonhandle
(
"实体数据集与异常"
,
null
),
params
:
commonLogic
.
appcommonhandle
(
"准备参数"
,
null
),
},
uiactions
:
{
},
},
ibizbookpanel_calendar
:
{
nodata
:
commonLogic
.
appcommonhandle
(
""
,
null
),
uiactions
:
{
...
...
app_Web/src/uiservice/ibizbook/actiontest-ui-logic-base.ts
0 → 100644
浏览文件 @
9eac873e
此差异已折叠。
点击以展开。
app_Web/src/uiservice/ibizbook/actiontest-ui-logic.ts
0 → 100644
浏览文件 @
9eac873e
import
{
Http
,
Util
}
from
'@/utils'
;
import
ActiontestUILogicBase
from
'./actiontest-ui-logic-base'
;
/**
* 实体行为与界面行为
* 基于 APP/src/uiservice/%DE_PKGPATH%/%APP_DEUILOGIC%-ui-logic.ts.ftl 生成
* @export
* @class ActiontestUILogic
*/
export
default
class
ActiontestUILogic
extends
ActiontestUILogicBase
{
/**
* 实体行为与界面行为 逻辑实例对象
*
* @private
* @static
* @type {ActiontestUILogic}
* @memberof ActiontestUILogic
*/
private
static
instance
:
ActiontestUILogic
;
/**
* 获取 实体行为与界面行为 逻辑实例对象
*
* @static
* @return {*} {ActiontestUILogic}
* @memberof ActiontestUILogic
*/
static
getInstance
():
ActiontestUILogic
{
if
(
!
this
.
instance
)
{
this
.
instance
=
new
ActiontestUILogic
();
}
return
this
.
instance
;
}
/**
* Creates an instance of ActiontestUILogic
*
* @param {*} [opts={}]
* @memberof ActiontestUILogic
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_Web/src/uiservice/ibizbook/entity-dataset-ui-logic-base.ts
0 → 100644
浏览文件 @
9eac873e
import
{
UIActionContext
}
from
"@/logic/ui-logic"
;
import
{
LogicReturnType
}
from
"@/logic/const/logic-return-type"
;
import
{
UILogicParamType
}
from
"@/logic/const/ui-logic-param-type"
;
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Environment
}
from
"@/environments/environment"
;
/**
* 实体数据集或异常
* 基于 APP/src/uiservice/%DE_PKGPATH%/%APP_DEUILOGIC%-ui-logic-base.ts.ftl 生成
* @export
* @class EntityDatasetUILogicBase
*/
export
default
class
EntityDatasetUILogicBase
{
/**
* Creates an instance of entityDatasetBase.
*
* @param {*} [opts={}]
* @memberof EntityDatasetUILogicBase
*/
constructor
(
opts
:
any
=
{})
{
}
/**
* 逻辑参数
*
* @protected
* @type {any[]}
* @memberof EntityDatasetUILogicBase
*/
protected
logicParams
:
any
[]
=
[
{
name
:
'过滤参数'
,
codeName
:
'filter'
,
filterParam
:
true
,
},
{
name
:
'传入变量'
,
codeName
:
'Default'
,
default
:
true
,
entityParam
:
true
,
},
{
name
:
'消息框返回值'
,
codeName
:
'msgReturn'
,
simpleParam
:
true
,
},
];
/**
* 执行前
*
* @param {*} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actioncontext]
* @param {string} [srfParentDeName]
* @return {*}
* @memberof EntityDatasetUILogicBase
*/
public
beforeExecute
(
args
:
any
,
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actioncontext
?:
any
,
srfParentDeName
?:
string
)
{
return
new
UIActionContext
(
this
.
logicParams
,
args
,
context
,
params
,
$event
,
xData
,
actioncontext
,
srfParentDeName
)
}
/**
* 执行
*
* @param {any[]} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actionContext]
* @param {string} [srfParentDeName]
* @memberof EntityDatasetUILogicBase
*/
async
execute
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actioncontext
?:
any
,
srfParentDeName
?:
string
)
{
try
{
const
actionContext
=
this
.
beforeExecute
(
args
,
context
,
params
,
$event
,
xData
,
actioncontext
,
srfParentDeName
);
await
this
.
execute_begin_node
(
actionContext
);
return
actionContext
.
getResult
();
}
catch
(
error
:
any
)
{
throw
new
Error
(
`
${
error
&&
error
.
message
?
error
.
message
:
'发生未知错误!'
}
`
);
}
}
/**
* 获取条件参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @param {string} param 节点参数
* @param {string} property 参数属性
* @return {*}
* @memberof EntityDatasetUILogicBase
*/
public
getCondParam
(
actionContext
:
UIActionContext
,
param
:
string
,
property
:
string
)
{
const
resultParam
=
actionContext
.
getParam
(
param
).
getReal
();
// 当不存在参数属性时,返回直接值
if
(
property
===
''
)
{
return
resultParam
;
}
if
(
resultParam
&&
resultParam
.
hasOwnProperty
(
property
))
{
return
resultParam
[
property
];
}
return
null
;
}
/**
* 开始
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof EntityDatasetUILogicBase
*/
protected
async
execute_begin_node
(
actionContext
:
UIActionContext
)
{
actionContext
.
setResult
(
actionContext
.
defaultParam
.
getReal
());
console
.
log
(
`已完成执行开始节点,操作参数数据如下:`
);
if
(
actionContext
.
paramsMap
&&
(
actionContext
.
paramsMap
.
size
>
0
))
{
for
(
let
[
key
,
value
]
of
actionContext
.
paramsMap
)
{
console
.
log
(
key
,
Util
.
deepCopy
(
value
.
getReal
()));
}
}
console
.
log
(
`即将执行消息弹窗节点`
);
await
this
.
execute_msgbox1_node
(
actionContext
);
}
/**
* 实体数据集
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof EntityDatasetUILogicBase
*/
protected
async
execute_dedataset1_node
(
actionContext
:
UIActionContext
)
{
const
dstParam
=
actionContext
.
getParam
(
'filter'
);
if
(
!
Object
.
is
(
dstParam
.
logicParamType
,
UILogicParamType
.
filterParam
))
{
throw
new
Error
(
`传入参数 filter 类型不正确,必须为过滤器对象`
);
}
try
{
const
service
:
any
=
await
window
.
entityServiceRegister
.
getService
(
'ibizbook'
);
const
res
=
await
service
[
'FetchDefault'
](
actionContext
.
context
,
dstParam
.
getReal
()
?
dstParam
.
getReal
()
:
{});
if
(
res
&&
res
.
status
===
200
&&
res
.
data
)
{
// 返回值绑定逻辑参数对象
throw
new
Error
(
`查询实体数据集失败`
);
}
catch
(
error
:
any
)
{
throw
new
Error
(
`
${
error
.
message
?
error
.
message
:
error
.
data
&&
error
.
data
.
message
?
error
.
data
.
message
:
'查询实体数据集失败'
}
`
);
}
console
.
log
(
`已完成执行实体数据集节点,操作参数数据如下:`
);
if
(
actionContext
.
paramsMap
&&
(
actionContext
.
paramsMap
.
size
>
0
))
{
for
(
let
[
key
,
value
]
of
actionContext
.
paramsMap
)
{
console
.
log
(
key
,
Util
.
deepCopy
(
value
.
getReal
()));
}
}
console
.
log
(
`即将执行结束节点`
);
await
this
.
execute_end1_node
(
actionContext
);
}
/**
* 抛出异常
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof EntityDatasetUILogicBase
*/
protected
async
execute_throwexception1_node
(
actionContext
:
UIActionContext
)
{
actionContext
.
actionContainer
.
$throw
(
'异常信息测试'
);
actionContext
.
bindLastReturnParam
(
null
);
console
.
log
(
`已完成执行抛出异常节点,操作参数数据如下:`
);
if
(
actionContext
.
paramsMap
&&
(
actionContext
.
paramsMap
.
size
>
0
))
{
for
(
let
[
key
,
value
]
of
actionContext
.
paramsMap
)
{
console
.
log
(
key
,
Util
.
deepCopy
(
value
.
getReal
()));
}
}
}
/**
* 结束
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof EntityDatasetUILogicBase
*/
protected
async
execute_end1_node
(
actionContext
:
UIActionContext
)
{
const
strReturnType
:
string
=
''
;
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
NONEVALUE
)
||
Object
.
is
(
strReturnType
,
LogicReturnType
.
NULLVALUE
))
{
actionContext
.
setResult
(
null
);
}
else
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
SRCVALUE
))
{
actionContext
.
setResult
(
''
);
}
else
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
BREAK
))
{
actionContext
.
setResult
(
LogicReturnType
.
BREAK
);
}
else
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
LOGICPARAM
)
||
Object
.
is
(
strReturnType
,
LogicReturnType
.
LOGICPARAMFIELD
))
{
const
returnParam
=
actionContext
.
getParam
(
''
);
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
LOGICPARAM
))
{
actionContext
.
setResult
(
returnParam
.
getReal
());
}
else
{
actionContext
.
setResult
(
returnParam
.
get
(
''
));
}
}
else
{
throw
new
Error
(
`无法识别的返回值类型
${
strReturnType
}
`
);
}
console
.
log
(
`已完成执行结束节点,操作参数数据如下:`
);
if
(
actionContext
.
paramsMap
&&
(
actionContext
.
paramsMap
.
size
>
0
))
{
for
(
let
[
key
,
value
]
of
actionContext
.
paramsMap
)
{
console
.
log
(
key
,
Util
.
deepCopy
(
value
.
getReal
()));
}
}
}
/**
* 消息弹窗
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof EntityDatasetUILogicBase
*/
protected
async
execute_msgbox1_node
(
actionContext
:
UIActionContext
)
{
return
new
Promise
<
void
>
((
resolve
:
any
)
=>
{
const
msgBoxParam
:
any
=
actionContext
.
getParam
(
'msgReturn'
);
const
data
=
msgBoxParam
?
msgBoxParam
.
getReal
()
:
{};
const
options
=
{
type
:
'QUESTION'
,
title
:
data
&&
data
.
title
?
data
.
title
:
'是否查询数据集'
,
content
:
data
&&
data
.
message
?
data
.
message
:
``
,
buttonType
:
'yesno'
,
showMode
:
'center'
,
showClose
:
false
,
mask
:
true
,
maskClosable
:
true
};
const
subject
:
Subject
<
any
>
|
null
=
AppMessageBox
.
getInstance
().
open
(
options
);
if
(
subject
)
{
const
handleResponse
=
(
result
:
any
)
=>
{
if
(
msgBoxParam
)
{
msgBoxParam
.
bind
(
result
);
}
actionContext
.
bindLastReturnParam
(
result
);
if
(
Verify
.
testCond
(
this
.
getCondParam
(
actionContext
,
'msgReturn'
,
''
),
'EQ'
,
'true'
))
{
resolve
(
this
.
execute_dedataset1_node
(
actionContext
));
}
if
(
Verify
.
testCond
(
this
.
getCondParam
(
actionContext
,
'msgReturn'
,
''
),
'EQ'
,
'false'
))
{
resolve
(
this
.
execute_throwexception1_node
(
actionContext
));
}
}
const
subscription
=
subject
.
subscribe
((
result
:
any
)
=>
{
resolve
(
handleResponse
(
result
));
subscription
!
.
unsubscribe
();
subject
.
complete
();
});
}
else
{
resolve
(
true
);
}
});
}
}
\ No newline at end of file
app_Web/src/uiservice/ibizbook/entity-dataset-ui-logic.ts
0 → 100644
浏览文件 @
9eac873e
import
{
Http
,
Util
}
from
'@/utils'
;
import
EntityDatasetUILogicBase
from
'./entity-dataset-ui-logic-base'
;
/**
* 实体数据集或异常
* 基于 APP/src/uiservice/%DE_PKGPATH%/%APP_DEUILOGIC%-ui-logic.ts.ftl 生成
* @export
* @class EntityDatasetUILogic
*/
export
default
class
EntityDatasetUILogic
extends
EntityDatasetUILogicBase
{
/**
* 实体数据集或异常 逻辑实例对象
*
* @private
* @static
* @type {EntityDatasetUILogic}
* @memberof EntityDatasetUILogic
*/
private
static
instance
:
EntityDatasetUILogic
;
/**
* 获取 实体数据集或异常 逻辑实例对象
*
* @static
* @return {*} {EntityDatasetUILogic}
* @memberof EntityDatasetUILogic
*/
static
getInstance
():
EntityDatasetUILogic
{
if
(
!
this
.
instance
)
{
this
.
instance
=
new
EntityDatasetUILogic
();
}
return
this
.
instance
;
}
/**
* Creates an instance of EntityDatasetUILogic
*
* @param {*} [opts={}]
* @memberof EntityDatasetUILogic
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_Web/src/uiservice/ibizbook/event-test-ui-logic-base.ts
0 → 100644
浏览文件 @
9eac873e
此差异已折叠。
点击以展开。
app_Web/src/uiservice/ibizbook/event-test-ui-logic.ts
0 → 100644
浏览文件 @
9eac873e
import
{
Http
,
Util
}
from
'@/utils'
;
import
EventTestUILogicBase
from
'./event-test-ui-logic-base'
;
/**
* 事件调用与事件触发
* 基于 APP/src/uiservice/%DE_PKGPATH%/%APP_DEUILOGIC%-ui-logic.ts.ftl 生成
* @export
* @class EventTestUILogic
*/
export
default
class
EventTestUILogic
extends
EventTestUILogicBase
{
/**
* 事件调用与事件触发 逻辑实例对象
*
* @private
* @static
* @type {EventTestUILogic}
* @memberof EventTestUILogic
*/
private
static
instance
:
EventTestUILogic
;
/**
* 获取 事件调用与事件触发 逻辑实例对象
*
* @static
* @return {*} {EventTestUILogic}
* @memberof EventTestUILogic
*/
static
getInstance
():
EventTestUILogic
{
if
(
!
this
.
instance
)
{
this
.
instance
=
new
EventTestUILogic
();
}
return
this
.
instance
;
}
/**
* Creates an instance of EventTestUILogic
*
* @param {*} [opts={}]
* @memberof EventTestUILogic
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
浏览文件 @
9eac873e
...
...
@@ -12,8 +12,12 @@ import CustomViewGridLoadUILogic from './custom-view-grid-load-ui-logic';
import
FormLoadUILogic
from
'./form-load-ui-logic'
;
import
GridLoadUILogic
from
'./grid-load-ui-logic'
;
import
PrintParamsUILogic
from
'./print-params-ui-logic'
;
import
ActiontestUILogic
from
'./actiontest-ui-logic'
;
import
CancelSelectUILogic
from
'./cancel-select-ui-logic'
;
import
CustomViewDestroyUILogic
from
'./custom-view-destroy-ui-logic'
;
import
EntityDatasetUILogic
from
'./entity-dataset-ui-logic'
;
import
EventTestUILogic
from
'./event-test-ui-logic'
;
import
ParamsUILogic
from
'./params-ui-logic'
;
/**
* 图书UI服务对象基类
...
...
@@ -121,6 +125,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2meditview9'
,
viewType
:
'DEMEDITVIEW9'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-medit-view9'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'interfunceditview'
,
viewType
:
'DEEDITVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookinter-func-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usreditview_plugin'
,
viewType
:
'DEEDITVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr-edit-view-plugin'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr7editview'
,
viewType
:
'DEEDITVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr7-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr4calendarview'
,
viewType
:
'DECALENDARVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr4-calendar-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'editview2'
,
viewType
:
'DEEDITVIEW2'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookedit-view2'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'wizardiwithstateview'
,
viewType
:
'DEWIZARDVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookwizard-iwith-state-view'
});
...
...
@@ -176,6 +181,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usrlistview_plugin'
,
viewType
:
'DELISTVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr-list-view-plugin'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'updatedefaultgridview'
,
viewType
:
'DEGRIDVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookupdate-default-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usrpickupview_plugin'
,
viewType
:
'DEPICKUPVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr-pickup-view-plugin'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr8editview'
,
viewType
:
'DEEDITVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr8-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'listview'
,
viewType
:
'DELISTVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbooklist-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'ruleseditview'
,
viewType
:
'DEEDITVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookrules-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2editview'
,
viewType
:
'DEEDITVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-edit-view'
});
...
...
@@ -192,9 +198,12 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'groupbycodelistlistview'
,
viewType
:
'DELISTVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookgroup-by-codelist-list-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr8gridview'
,
viewType
:
'DEGRIDVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr8-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usreditview_actionplugin'
,
viewType
:
'DEEDITVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr-edit-view-action-plugin'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'treeexpview'
,
viewType
:
'DETREEEXPVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbooktree-exp-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'customview_layout'
,
viewType
:
'DECUSTOMVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookcustom-view-layout'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr9gridview'
,
viewType
:
'DEGRIDVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr9-grid-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'dashboardview_layout'
,
viewType
:
'DEPORTALVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookdashboard-view-layout'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr9editview'
,
viewType
:
'DEEDITVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr9-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr6editview'
,
viewType
:
'DEEDITVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr6-edit-view'
});
}
/**
...
...
@@ -633,6 +642,25 @@ export default class IBIZBOOKUIServiceBase extends UIService {
return
executeScriptCode
();
}
/**
* 实体行为与界面行为
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
* @memberof IBIZBOOKUIService
*/
public
async
IBIZBOOK_actiontest
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_context
:
any
=
Object
.
assign
(
context
,
actionContext
.
context
);
const
_params
:
any
=
Object
.
assign
(
params
,
actionContext
.
viewparams
);
return
this
.
executeUILogic
(
'actiontest'
,
args
,
_context
,
_params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
/**
* 弹出消息
*
...
...
@@ -649,6 +677,44 @@ export default class IBIZBOOKUIServiceBase extends UIService {
public
async
IBIZBOOK_alertMessage
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 自定义代码
}
/**
* 实体数据集或异常
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
* @memberof IBIZBOOKUIService
*/
public
async
IBIZBOOK_entitydataset
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_context
:
any
=
Object
.
assign
(
context
,
actionContext
.
context
);
const
_params
:
any
=
Object
.
assign
(
params
,
actionContext
.
viewparams
);
return
this
.
executeUILogic
(
'entityDataset'
,
args
,
_context
,
_params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
/**
* 事件调用与事件触发
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
* @memberof IBIZBOOKUIService
*/
public
async
IBIZBOOK_eventtest
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_context
:
any
=
Object
.
assign
(
context
,
actionContext
.
context
);
const
_params
:
any
=
Object
.
assign
(
params
,
actionContext
.
viewparams
);
return
this
.
executeUILogic
(
'eventTest'
,
args
,
_context
,
_params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
/**
* 多项数据(主键)测试
*
...
...
@@ -941,6 +1007,25 @@ export default class IBIZBOOKUIServiceBase extends UIService {
return
this
.
executeUILogic
(
'CustomEdit'
,
args
,
_context
,
_params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
/**
* 准备参数
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
* @memberof IBIZBOOKUIService
*/
public
async
IBIZBOOK_params
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_context
:
any
=
Object
.
assign
(
context
,
actionContext
.
context
);
const
_params
:
any
=
Object
.
assign
(
params
,
actionContext
.
viewparams
);
return
this
.
executeUILogic
(
'params'
,
args
,
_context
,
_params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
/**
* 单项数据测试
*
...
...
@@ -1228,12 +1313,24 @@ export default class IBIZBOOKUIServiceBase extends UIService {
if
(
name
===
'PrintParams'
)
{
return
await
PrintParamsUILogic
.
getInstance
().
execute
(
data
,
context
,
params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
if
(
name
===
'actiontest'
)
{
return
await
ActiontestUILogic
.
getInstance
().
execute
(
data
,
context
,
params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
if
(
name
===
'cancelSelect'
)
{
return
await
CancelSelectUILogic
.
getInstance
().
execute
(
data
,
context
,
params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
if
(
name
===
'customViewDestroy'
)
{
return
await
CustomViewDestroyUILogic
.
getInstance
().
execute
(
data
,
context
,
params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
if
(
name
===
'entityDataset'
)
{
return
await
EntityDatasetUILogic
.
getInstance
().
execute
(
data
,
context
,
params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
if
(
name
===
'eventTest'
)
{
return
await
EventTestUILogic
.
getInstance
().
execute
(
data
,
context
,
params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
if
(
name
===
'params'
)
{
return
await
ParamsUILogic
.
getInstance
().
execute
(
data
,
context
,
params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
}
}
\ No newline at end of file
app_Web/src/uiservice/ibizbook/params-ui-logic-base.ts
0 → 100644
浏览文件 @
9eac873e
import
{
UIActionContext
}
from
"@/logic/ui-logic"
;
import
{
LogicReturnType
}
from
"@/logic/const/logic-return-type"
;
import
{
UILogicParamType
}
from
"@/logic/const/ui-logic-param-type"
;
import
{
Util
,
Verify
}
from
"@/utils"
;
import
{
AppMessageBox
}
from
"@/utils/app-message-box/app-message-box"
;
import
{
Subject
}
from
"rxjs"
;
import
{
Environment
}
from
"@/environments/environment"
;
/**
* 准备参数
* 基于 APP/src/uiservice/%DE_PKGPATH%/%APP_DEUILOGIC%-ui-logic-base.ts.ftl 生成
* @export
* @class ParamsUILogicBase
*/
export
default
class
ParamsUILogicBase
{
/**
* Creates an instance of paramsBase.
*
* @param {*} [opts={}]
* @memberof ParamsUILogicBase
*/
constructor
(
opts
:
any
=
{})
{
}
/**
* 逻辑参数
*
* @protected
* @type {any[]}
* @memberof ParamsUILogicBase
*/
protected
logicParams
:
any
[]
=
[
{
name
:
'传入变量'
,
codeName
:
'Default'
,
default
:
true
,
entityParam
:
true
,
},
];
/**
* 执行前
*
* @param {*} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actioncontext]
* @param {string} [srfParentDeName]
* @return {*}
* @memberof ParamsUILogicBase
*/
public
beforeExecute
(
args
:
any
,
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actioncontext
?:
any
,
srfParentDeName
?:
string
)
{
return
new
UIActionContext
(
this
.
logicParams
,
args
,
context
,
params
,
$event
,
xData
,
actioncontext
,
srfParentDeName
)
}
/**
* 执行
*
* @param {any[]} args
* @param {*} [context={}]
* @param {*} [params={}]
* @param {*} [$event]
* @param {*} [xData]
* @param {*} [actionContext]
* @param {string} [srfParentDeName]
* @memberof ParamsUILogicBase
*/
async
execute
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actioncontext
?:
any
,
srfParentDeName
?:
string
)
{
try
{
const
actionContext
=
this
.
beforeExecute
(
args
,
context
,
params
,
$event
,
xData
,
actioncontext
,
srfParentDeName
);
await
this
.
execute_begin_node
(
actionContext
);
return
actionContext
.
getResult
();
}
catch
(
error
:
any
)
{
throw
new
Error
(
`
${
error
&&
error
.
message
?
error
.
message
:
'发生未知错误!'
}
`
);
}
}
/**
* 获取条件参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @param {string} param 节点参数
* @param {string} property 参数属性
* @return {*}
* @memberof ParamsUILogicBase
*/
public
getCondParam
(
actionContext
:
UIActionContext
,
param
:
string
,
property
:
string
)
{
const
resultParam
=
actionContext
.
getParam
(
param
).
getReal
();
// 当不存在参数属性时,返回直接值
if
(
property
===
''
)
{
return
resultParam
;
}
if
(
resultParam
&&
resultParam
.
hasOwnProperty
(
property
))
{
return
resultParam
[
property
];
}
return
null
;
}
/**
* 开始
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof ParamsUILogicBase
*/
protected
async
execute_begin_node
(
actionContext
:
UIActionContext
)
{
actionContext
.
setResult
(
actionContext
.
defaultParam
.
getReal
());
console
.
log
(
`已完成执行开始节点,操作参数数据如下:`
);
if
(
actionContext
.
paramsMap
&&
(
actionContext
.
paramsMap
.
size
>
0
))
{
for
(
let
[
key
,
value
]
of
actionContext
.
paramsMap
)
{
console
.
log
(
key
,
Util
.
deepCopy
(
value
.
getReal
()));
}
}
console
.
log
(
`即将执行准备参数节点`
);
await
this
.
execute_preparejsparam1_node
(
actionContext
);
}
/**
* 重置参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof ParamsUILogicBase
*/
protected
async
execute_resetparam1_node
(
actionContext
:
UIActionContext
)
{
throw
new
Error
(
`操作参数缺失!`
);
console
.
log
(
`已完成执行重置参数节点,操作参数数据如下:`
);
if
(
actionContext
.
paramsMap
&&
(
actionContext
.
paramsMap
.
size
>
0
))
{
for
(
let
[
key
,
value
]
of
actionContext
.
paramsMap
)
{
console
.
log
(
key
,
Util
.
deepCopy
(
value
.
getReal
()));
}
}
console
.
log
(
`即将执行调试逻辑参数节点`
);
await
this
.
execute_debugparam2_node
(
actionContext
);
}
/**
* 调试逻辑参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof ParamsUILogicBase
*/
protected
async
execute_debugparam1_node
(
actionContext
:
UIActionContext
)
{
const
dstParamValue
=
actionContext
.
getParam
(
'Default'
).
getReal
();
console
.
log
(
`逻辑节点调试逻辑参数操作参数值:`
,
Util
.
deepCopy
(
dstParamValue
));
console
.
log
(
`已完成执行调试逻辑参数节点,操作参数数据如下:`
);
if
(
actionContext
.
paramsMap
&&
(
actionContext
.
paramsMap
.
size
>
0
))
{
for
(
let
[
key
,
value
]
of
actionContext
.
paramsMap
)
{
console
.
log
(
key
,
Util
.
deepCopy
(
value
.
getReal
()));
}
}
console
.
log
(
`即将执行重置参数节点`
);
await
this
.
execute_resetparam1_node
(
actionContext
);
}
/**
* 准备参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof ParamsUILogicBase
*/
protected
async
execute_preparejsparam1_node
(
actionContext
:
UIActionContext
)
{
try
{
// 目标数据
const
dstParam_1
:
any
=
actionContext
.
getParam
(
'Default'
);
// 无值类型
// 直接值
const
result_1
=
'13123'
;
dstParam_1
.
set
(
'test'
,
result_1
);
}
catch
(
error
:
any
)
{
throw
new
Error
(
`逻辑节点 准备参数
${
error
&&
error
.
message
?
error
.
message
:
'发生未知错误!'
}
`
);
}
console
.
log
(
`已完成执行准备参数节点,操作参数数据如下:`
);
if
(
actionContext
.
paramsMap
&&
(
actionContext
.
paramsMap
.
size
>
0
))
{
for
(
let
[
key
,
value
]
of
actionContext
.
paramsMap
)
{
console
.
log
(
key
,
Util
.
deepCopy
(
value
.
getReal
()));
}
}
console
.
log
(
`即将执行调试逻辑参数节点`
);
await
this
.
execute_debugparam1_node
(
actionContext
);
}
/**
* 结束
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof ParamsUILogicBase
*/
protected
async
execute_end1_node
(
actionContext
:
UIActionContext
)
{
const
strReturnType
:
string
=
''
;
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
NONEVALUE
)
||
Object
.
is
(
strReturnType
,
LogicReturnType
.
NULLVALUE
))
{
actionContext
.
setResult
(
null
);
}
else
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
SRCVALUE
))
{
actionContext
.
setResult
(
''
);
}
else
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
BREAK
))
{
actionContext
.
setResult
(
LogicReturnType
.
BREAK
);
}
else
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
LOGICPARAM
)
||
Object
.
is
(
strReturnType
,
LogicReturnType
.
LOGICPARAMFIELD
))
{
const
returnParam
=
actionContext
.
getParam
(
''
);
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
LOGICPARAM
))
{
actionContext
.
setResult
(
returnParam
.
getReal
());
}
else
{
actionContext
.
setResult
(
returnParam
.
get
(
''
));
}
}
else
{
throw
new
Error
(
`无法识别的返回值类型
${
strReturnType
}
`
);
}
console
.
log
(
`已完成执行结束节点,操作参数数据如下:`
);
if
(
actionContext
.
paramsMap
&&
(
actionContext
.
paramsMap
.
size
>
0
))
{
for
(
let
[
key
,
value
]
of
actionContext
.
paramsMap
)
{
console
.
log
(
key
,
Util
.
deepCopy
(
value
.
getReal
()));
}
}
}
/**
* 调试逻辑参数
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof ParamsUILogicBase
*/
protected
async
execute_debugparam2_node
(
actionContext
:
UIActionContext
)
{
console
.
log
(
`已完成执行调试逻辑参数节点,操作参数数据如下:`
);
if
(
actionContext
.
paramsMap
&&
(
actionContext
.
paramsMap
.
size
>
0
))
{
for
(
let
[
key
,
value
]
of
actionContext
.
paramsMap
)
{
console
.
log
(
key
,
Util
.
deepCopy
(
value
.
getReal
()));
}
}
console
.
log
(
`即将执行结束节点`
);
await
this
.
execute_end1_node
(
actionContext
);
}
}
\ No newline at end of file
app_Web/src/uiservice/ibizbook/params-ui-logic.ts
0 → 100644
浏览文件 @
9eac873e
import
{
Http
,
Util
}
from
'@/utils'
;
import
ParamsUILogicBase
from
'./params-ui-logic-base'
;
/**
* 准备参数
* 基于 APP/src/uiservice/%DE_PKGPATH%/%APP_DEUILOGIC%-ui-logic.ts.ftl 生成
* @export
* @class ParamsUILogic
*/
export
default
class
ParamsUILogic
extends
ParamsUILogicBase
{
/**
* 准备参数 逻辑实例对象
*
* @private
* @static
* @type {ParamsUILogic}
* @memberof ParamsUILogic
*/
private
static
instance
:
ParamsUILogic
;
/**
* 获取 准备参数 逻辑实例对象
*
* @static
* @return {*} {ParamsUILogic}
* @memberof ParamsUILogic
*/
static
getInstance
():
ParamsUILogic
{
if
(
!
this
.
instance
)
{
this
.
instance
=
new
ParamsUILogic
();
}
return
this
.
instance
;
}
/**
* Creates an instance of ParamsUILogic
*
* @param {*} [opts={}]
* @memberof ParamsUILogic
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
9eac873e
...
...
@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list-base.vue
浏览文件 @
9eac873e
...
...
@@ -26,11 +26,11 @@
<span
class=
"quick-toolbar"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
usr4listview_layoutlist_quicktoolbarModels.deuiaction1.visabled"
:disabled=
"usr4listview_layout
list_quicktoolbarModels.deuiaction1.disabled"
class=
' srfactionlevel100'
v-button-loading:i-button
@
click=
"list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i-button
v-show=
"
listviewlist_quicktoolbarModels.deuiaction1.visabled"
:disabled=
"listview
list_quicktoolbarModels.deuiaction1.disabled"
class=
' srfactionlevel100'
v-button-loading:i-button
@
click=
"list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i
class=
'fa fa-file-text-o'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_quicktoolbar_toolbar.deuiaction1.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
listview
list_quicktoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_quicktoolbar_toolbar.deuiaction1.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
listview
list_quicktoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
</div>
</span>
...
...
@@ -41,18 +41,18 @@
<span
class=
"batch-toolbar"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
usr4listview_layoutlist_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"usr4listview_layout
list_batchtoolbarModels.deuiaction1.disabled"
class=
' srfactionlevel100'
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i-button
v-show=
"
listviewlist_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"listview
list_batchtoolbarModels.deuiaction1.disabled"
class=
' srfactionlevel100'
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i
class=
'fa fa-edit'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
usr4listview_layoutlist_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"usr4listview_layout
list_batchtoolbarModels.deuiaction2.disabled"
class=
' srfactionlevel100'
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i-button
v-show=
"
listviewlist_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"listview
list_batchtoolbarModels.deuiaction2.disabled"
class=
' srfactionlevel100'
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i
class=
'fa fa-remove'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
</tooltip>
</div>
</span>
...
...
@@ -362,7 +362,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
Usr4ListView_layout
Base
* @memberof IBIZBOOK
ListView
Base
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
...
...
@@ -382,7 +382,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
Usr4ListView_layout
Base
* @memberof IBIZBOOK
ListView
Base
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -408,7 +408,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
Usr4ListView_layout
Base
* @memberof IBIZBOOK
ListView
Base
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
...
...
@@ -604,9 +604,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOK
Usr4ListView_layout
* @memberof IBIZBOOK
ListView
*/
public
usr4listview_layout
list_quicktoolbarModels
:
any
=
{
public
listview
list_quicktoolbarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
};
...
...
@@ -616,9 +616,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOK
Usr4ListView_layout
* @memberof IBIZBOOK
ListView
*/
public
usr4listview_layout
list_batchtoolbarModels
:
any
=
{
public
listview
list_batchtoolbarModels
:
any
=
{
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'
}
},
...
...
@@ -841,7 +841,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -971,7 +971,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
return
;
}
if
(
datas
.
length
===
0
)
{
...
...
@@ -1076,7 +1076,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -1084,7 +1084,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
...
...
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
9eac873e
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
9eac873e
...
...
@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
fetchAction
)
{
this
.
$Notice
.
error
({
title
:
this
.
$t
(
"app.commonWords.wrong"
)
as
string
,
desc
:
"IBIZOrderDetail
GridView9
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
desc
:
"IBIZOrderDetail
SGridView
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
});
return
;
}
...
...
@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
removeAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
...
...
@@ -1187,7 +1187,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
))
{
if
(
!
this
.
createAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2091,7 +2091,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetail
GridView9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
desc
:
'IBIZOrderDetail
SGridView
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json
浏览文件 @
9eac873e
...
...
@@ -4843,6 +4843,14 @@
"rTMOSFilePath"
:
"psmodeldata$psdataentities/UsrTreeView_plugin"
,
"realModelSubType"
:
"DETREEVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"TreeExpView"
,
"logicName"
:
"逻辑树导航"
,
"mOSFilePath"
:
"psmodeldata$psdataentities/TreeExpView"
,
"name"
:
"逻辑树导航"
,
"rTMOSFilePath"
:
"psmodeldata$psdataentities/TreeExpView"
,
"realModelSubType"
:
"DETREEEXPVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"Usr6GridView_layout"
,
"logicName"
:
"图书实体表格视图(选项操作)(布局面板)"
,
...
...
@@ -5036,6 +5044,14 @@
"rTMOSFilePath"
:
"psmodeldata$psdataentities/ListView"
,
"realModelSubType"
:
"DELISTVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"Usr6EditView"
,
"logicName"
:
"准备参数"
,
"mOSFilePath"
:
"psmodeldata$psdataentities/Usr6EditView"
,
"name"
:
"准备参数"
,
"rTMOSFilePath"
:
"psmodeldata$psdataentities/Usr6EditView"
,
"realModelSubType"
:
"DEEDITVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"InternalFuncGridView"
,
"logicName"
:
"表格内置功能"
,
...
...
@@ -5077,6 +5093,14 @@
"rTMOSFilePath"
:
"psmodeldata$psdataentities/WizardView_layout"
,
"realModelSubType"
:
"DEWIZARDVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"Usr9EditView"
,
"logicName"
:
"实体数据集及异常"
,
"mOSFilePath"
:
"psmodeldata$psdataentities/Usr9EditView"
,
"name"
:
"实体数据集及异常"
,
"rTMOSFilePath"
:
"psmodeldata$psdataentities/Usr9EditView"
,
"realModelSubType"
:
"DEEDITVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"GridExpView"
,
"logicName"
:
"图书实体表格导航视图"
,
...
...
@@ -5616,6 +5640,22 @@
"rTMOSFilePath"
:
"psmodeldata$psdataentities/EditView4"
,
"realModelSubType"
:
"DEEDITVIEW4"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"Usr7EditView"
,
"logicName"
:
"实体行为与界面行为"
,
"mOSFilePath"
:
"psmodeldata$psdataentities/Usr7EditView"
,
"name"
:
"实体行为与界面行为"
,
"rTMOSFilePath"
:
"psmodeldata$psdataentities/Usr7EditView"
,
"realModelSubType"
:
"DEEDITVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"Usr8EditView"
,
"logicName"
:
"部件调用与事件触发"
,
"mOSFilePath"
:
"psmodeldata$psdataentities/Usr8EditView"
,
"name"
:
"部件调用与事件触发"
,
"rTMOSFilePath"
:
"psmodeldata$psdataentities/Usr8EditView"
,
"realModelSubType"
:
"DEEDITVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"DashboardView"
,
"logicName"
:
"实体数据看板视图"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
浏览文件 @
9eac873e
此差异已折叠。
点击以展开。
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
浏览文件 @
9eac873e
...
...
@@ -20,18 +20,6 @@
}
}
],
"getPSDETreeColumns"
:
[
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -43,6 +31,18 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEVIEWS/Logictree.json
0 → 100644
浏览文件 @
9eac873e
{
"codeName"
:
"Logictree"
,
"controlType"
:
"TREEVIEW"
,
"getCreatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"create"
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEVIEWS/Logictree.json"
,
"getFetchPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"fetch"
},
"getGetPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"load"
},
"hookEventNames"
:
[
"SELECTIONCHANGE"
,
"LOAD"
],
"logicName"
:
"逻辑树"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZBOOK/psdetreeviews/Logictree"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics"
:
[
{
"eventNames"
:
"SELECTIONCHANGE"
,
"logicTag"
:
"treeexpbar_tree"
,
"logicType"
:
"CUSTOM"
,
"name"
:
"treeexpbar_selectionchange"
},
{
"eventNames"
:
"LOAD"
,
"logicTag"
:
"treeexpbar_tree"
,
"logicType"
:
"CUSTOM"
,
"name"
:
"treeexpbar_load"
}
],
"getPSDEDataImport"
:
{
"modelref"
:
true
,
"id"
:
"DataImport"
},
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"action"
},
"name"
:
"默认根节点 - 实体行为与界面行为"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"params"
},
"name"
:
"默认根节点 - 准备参数"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"event"
},
"name"
:
"默认根节点 - 部件调用与事件触发"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"entitydataset"
},
"name"
:
"默认根节点 - 实体数据集与异常"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
}
],
"getPSDETreeNodes"
:
[
{
"counterMode"
:
0
,
"name"
:
"实体行为与界面行为"
,
"getNavPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr7EditView.json"
,
"viewType"
:
"DEEDITVIEW"
},
"nodeType"
:
"action"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"实体行为与界面行为"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"action"
},
{
"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"
:
"部件调用与事件触发"
,
"getNavPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr8EditView.json"
,
"viewType"
:
"DEEDITVIEW"
},
"nodeType"
:
"event"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"部件调用与事件触发"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"event"
},
{
"counterMode"
:
0
,
"name"
:
"实体数据集与异常"
,
"getNavPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr9EditView.json"
,
"viewType"
:
"DEEDITVIEW"
},
"nodeType"
:
"entitydataset"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"实体数据集与异常"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"entitydataset"
},
{
"counterMode"
:
0
,
"name"
:
"准备参数"
,
"getNavPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr6EditView.json"
,
"viewType"
:
"DEEDITVIEW"
},
"nodeType"
:
"params"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"准备参数"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"params"
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKTreeExpView/psappviewctrls/treeexpbar_tree"
,
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"remove"
},
"treeGridMode"
:
0
,
"getUpdatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"update"
},
"enableRootSelect"
:
false
,
"outputIconDefault"
:
true
,
"rootVisible"
:
false
,
"modelid"
:
"C058307B-5900-4C0A-BBF7-86A877BE7AB0"
,
"modeltype"
:
"PSDETREEVIEW"
}
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeExpView.json
0 → 100644
浏览文件 @
9eac873e
此差异已折叠。
点击以展开。
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
浏览文件 @
9eac873e
...
...
@@ -88,18 +88,6 @@
"id"
:
"TREEGRIDEX"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -111,6 +99,18 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr6EditView.json
0 → 100644
浏览文件 @
9eac873e
此差异已折叠。
点击以展开。
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr7EditView.json
0 → 100644
浏览文件 @
9eac873e
此差异已折叠。
点击以展开。
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr8EditView.json
0 → 100644
浏览文件 @
9eac873e
此差异已折叠。
点击以展开。
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr9EditView.json
0 → 100644
浏览文件 @
9eac873e
此差异已折叠。
点击以展开。
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
9eac873e
此差异已折叠。
点击以展开。
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
9eac873e
...
...
@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-12
32
-7"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-12
84
-7"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录