Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
903a2b6c
提交
903a2b6c
编写于
12月 16, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
f0bf0701
变更
14
显示空白字符变更
内嵌
并排
正在显示
14 个修改的文件
包含
747 行增加
和
105 行删除
+747
-105
ibizbookusr3-tree-view-base.vue
...le/ibizbookusr3-tree-view/ibizbookusr3-tree-view-base.vue
+79
-1
ibizbookusr3-tree-view.scss
...sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.scss
+1
-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
+14
-14
lnternal-func-list-list-model.ts
.../lnternal-func-list-list/lnternal-func-list-list-model.ts
+0
-5
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+4
-4
treebasics-treeview-service.ts
...izbook/treebasics-treeview/treebasics-treeview-service.ts
+236
-0
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+6
-6
Usr.json
...SSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
+24
-24
TreeTable.json
.../PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
+12
-12
Treebasics.json
...eb/PSAPPDATAENTITIES/IBIZBOOK/PSTREEVIEWS/Treebasics.json
+114
-0
IBIZBOOKGanttView.json
...temodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
+24
-24
IBIZBOOKTreeGridExView.json
...el/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
+12
-12
IBIZBOOKUsr3TreeView.json
...odel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr3TreeView.json
+219
-1
未找到文件。
app_Web/src/pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view-base.vue
浏览文件 @
903a2b6c
<
template
>
<div
class=
'view-container detreeview ibizbookusr3-tree-view'
>
<card
class=
'view-card
view-no-toolbar
'
:dis-hover=
"true"
:bordered=
"false"
>
<card
class=
'view-card '
:dis-hover=
"true"
:bordered=
"false"
>
<div
slot=
'title'
class=
"header-container"
>
<span
class=
'caption-info'
>
{{
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=
' srfactionlevel100'
v-button-loading:i-button
@
click=
"toolbar_click(
{ tag: 'deuiaction1' }, $event)">
<i
class=
'fa fa-filter'
></i>
<span
class=
'caption'
>
{{
$t
(
'TBB.TEXT.*.FILTER'
,
'过滤'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'TBB.TEXT.*.FILTER'
,
'过滤'
)
}}
</div>
</tooltip>
</div>
</div>
<div
class=
"content-container"
>
...
...
@@ -219,6 +228,7 @@ export default class IBIZBOOKUsr3TreeViewBase extends Vue {
*/
public
containerModel
:
any
=
{
view_searchform
:
{
name
:
'searchform'
,
type
:
'SEARCHFORM'
},
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_tree
:
{
name
:
'tree'
,
type
:
'TREEVIEW'
},
};
...
...
@@ -267,6 +277,17 @@ export default class IBIZBOOKUsr3TreeViewBase extends Vue {
* @memberof IBIZBOOKUsr3TreeViewBase
*/
public
viewState
:
Subject
<
ViewState
>
=
new
Subject
();
/**
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKUsr3TreeView
*/
public
toolBarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'过滤'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'ToggleFilter'
,
target
:
''
}
},
};
/**
...
...
@@ -644,6 +665,18 @@ export default class IBIZBOOKUsr3TreeViewBase extends Vue {
}
}
/**
* toolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr3TreeViewBase
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
toolbar_deuiaction1_click
(
null
,
''
,
$event2
);
}
}
/**
* tree 部件 selectionchange 事件
*
...
...
@@ -666,6 +699,51 @@ export default class IBIZBOOKUsr3TreeViewBase extends Vue {
}
/**
* 逻辑事件
*
* @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
.
tree
;
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZBOOK"
);
}
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr3TreeViewBase
*/
public
ToggleFilter
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
if
(
_this
.
hasOwnProperty
(
'isExpandSearchForm'
))
{
_this
.
isExpandSearchForm
=
!
_this
.
isExpandSearchForm
;
}
}
/**
* 关闭视图
...
...
app_Web/src/pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.scss
浏览文件 @
903a2b6c
...
...
@@ -20,6 +20,7 @@
.ibizbookusr3-tree-view
{
position
:
relative
;
}
// this is scss
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
903a2b6c
...
...
@@ -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
:
'IBIZBOOK
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9GridView
'
+
(
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
:
'IBIZBOOK
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9GridView
'
+
(
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
浏览文件 @
903a2b6c
...
...
@@ -26,7 +26,7 @@
<span
class=
"quick-toolbar"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<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-button
v-show=
"
usrlistview_pluginlist_quicktoolbarModels.deuiaction1.visabled"
:disabled=
"usrlistview_plugin
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('TBB.TEXT.*.NEW', '新建')}}
</span>
</i-button>
...
...
@@ -41,14 +41,14 @@
<span
class=
"batch-toolbar"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<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-button
v-show=
"
usrlistview_pluginlist_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"usrlistview_plugin
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('TBB.TEXT.*.EDIT', '编辑')}}
</span>
</i-button>
<div
slot=
'content'
>
{{$t('TBB.TEXT.*.EDIT', '编辑')}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<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-button
v-show=
"
usrlistview_pluginlist_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"usrlistview_plugin
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('TBB.TEXT.*.REMOVE', '删除')}}
</span>
</i-button>
...
...
@@ -362,7 +362,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
ListView
Base
* @memberof IBIZBOOK
UsrListView_plugin
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
ListView
Base
* @memberof IBIZBOOK
UsrListView_plugin
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
ListView
Base
* @memberof IBIZBOOK
UsrListView_plugin
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
ListView
* @memberof IBIZBOOK
UsrListView_plugin
*/
public
listview
list_quicktoolbarModels
:
any
=
{
public
usrlistview_plugin
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
ListView
* @memberof IBIZBOOK
UsrListView_plugin
*/
public
listview
list_batchtoolbarModels
:
any
=
{
public
usrlistview_plugin
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
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrListView_plugin
'
+
(
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
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrListView_plugin
'
+
(
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
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrListView_plugin
'
+
(
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
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZBOOK
UsrListView_plugin
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
...
...
app_Web/src/widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list-model.ts
浏览文件 @
903a2b6c
...
...
@@ -72,11 +72,6 @@ export default class LnternalFuncListModel {
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
903a2b6c
<
template
>
<i-form
:model=
"this.data"
class=
'app-search-form'
ref=
'
quick
searchform'
style=
""
>
<i-form
:model=
"this.data"
class=
'app-search-form'
ref=
'searchform'
style=
""
>
<input
style=
"display:none;"
/>
<row>
<i-col
span=
"20"
class=
"form-content"
>
...
...
@@ -516,7 +516,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
* @memberof QUICKSEARCHFORMBase
*/
public
formValidateStatus
():
boolean
{
const
form
:
any
=
this
.
$refs
.
quick
searchform
;
const
form
:
any
=
this
.
$refs
.
searchform
;
let
validatestate
:
boolean
=
true
;
form
.
validate
((
valid
:
boolean
)
=>
{
validatestate
=
valid
?
true
:
false
;
...
...
@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrListView_plugin
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
UsrListView_plugin
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/treebasics-treeview/treebasics-treeview-service.ts
浏览文件 @
903a2b6c
...
...
@@ -99,6 +99,24 @@ export default class TreebasicsService extends ControlService {
*/
public
TREENODE_CODELISTNODES
:
string
=
'codelistNodes'
;
/**
* 搜索节点节点分隔符号
*
* @public
* @type {string}
* @memberof TreebasicsService
*/
public
TREENODE_SEARCHNODES
:
string
=
'searchNodes'
;
/**
* 搜索时显示节点分隔符号
*
* @public
* @type {string}
* @memberof TreebasicsService
*/
public
TREENODE_SEARCHSHOW
:
string
=
'searchshow'
;
/**
* 图书实体节点分隔符号
*
...
...
@@ -135,6 +153,15 @@ export default class TreebasicsService extends ControlService {
*/
public
TREENODE_BOOKCODELIST
:
string
=
'bookcodelist'
;
/**
* 无搜索时显示节点分隔符号
*
* @public
* @type {string}
* @memberof TreebasicsService
*/
public
TREENODE_NOSEARCHSHOW
:
string
=
'nosearchshow'
;
/**
* 默认根节点节点分隔符号
*
...
...
@@ -234,6 +261,14 @@ export default class TreebasicsService extends ControlService {
await
this
.
fillCodelistnodesNodeChilds
(
context
,
filter
,
list
);
return
Promise
.
resolve
({
status
:
200
,
data
:
list
});
}
if
(
Object
.
is
(
strNodeType
,
this
.
TREENODE_SEARCHNODES
))
{
await
this
.
fillSearchnodesNodeChilds
(
context
,
filter
,
list
);
return
Promise
.
resolve
({
status
:
200
,
data
:
list
});
}
if
(
Object
.
is
(
strNodeType
,
this
.
TREENODE_SEARCHSHOW
))
{
await
this
.
fillSearchshowNodeChilds
(
context
,
filter
,
list
);
return
Promise
.
resolve
({
status
:
200
,
data
:
list
});
}
if
(
Object
.
is
(
strNodeType
,
this
.
TREENODE_BOOKENTITY
))
{
await
this
.
fillBookentityNodeChilds
(
context
,
filter
,
list
);
return
Promise
.
resolve
({
status
:
200
,
data
:
list
});
...
...
@@ -250,6 +285,10 @@ export default class TreebasicsService extends ControlService {
await
this
.
fillBookcodelistNodeChilds
(
context
,
filter
,
list
);
return
Promise
.
resolve
({
status
:
200
,
data
:
list
});
}
if
(
Object
.
is
(
strNodeType
,
this
.
TREENODE_NOSEARCHSHOW
))
{
await
this
.
fillNosearchshowNodeChilds
(
context
,
filter
,
list
);
return
Promise
.
resolve
({
status
:
200
,
data
:
list
});
}
if
(
Object
.
is
(
strNodeType
,
this
.
TREENODE_ROOT
))
{
await
this
.
fillRootNodeChilds
(
context
,
filter
,
list
);
return
Promise
.
resolve
({
status
:
200
,
data
:
list
});
...
...
@@ -513,6 +552,134 @@ export default class TreebasicsService extends ControlService {
}
}
/**
* 填充 树视图节点[搜索节点]
*
* @public
* @param {any{}} context
* @param {*} filter
* @param {any[]} list
* @param {*} rsNavContext
* @param {*} rsNavParams
* @param {*} rsParams
* @returns {Promise<any>}
* @memberof TreebasicsService
*/
@
Errorlog
public
fillSearchnodesNodes
(
context
:
any
=
{},
filter
:
any
,
list
:
any
[],
rsNavContext
?:
any
,
rsNavParams
?:
any
,
rsParams
?:
any
):
Promise
<
any
>
{
context
=
this
.
handleResNavContext
(
context
,
filter
,
rsNavContext
);
filter
=
this
.
handleResNavParams
(
context
,
filter
,
rsNavParams
,
rsParams
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
treeNode
:
any
=
{};
Object
.
assign
(
treeNode
,
{
text
:
'搜索节点'
});
Object
.
assign
(
treeNode
,
{
isUseLangRes
:
true
});
Object
.
assign
(
treeNode
,{
srfappctx
:
context
});
Object
.
assign
(
treeNode
,
{
srfmajortext
:
treeNode
.
text
});
let
strNodeId
:
string
=
'searchNodes'
;
// 没有指定节点值,直接使用父节点值
Object
.
assign
(
treeNode
,
{
srfkey
:
filter
.
strRealNodeId
});
strNodeId
+=
this
.
TREENODE_SEPARATOR
;
strNodeId
+=
filter
.
strRealNodeId
;
Object
.
assign
(
treeNode
,
{
id
:
strNodeId
});
Object
.
assign
(
treeNode
,
{
expanded
:
filter
.
isAutoexpand
});
Object
.
assign
(
treeNode
,
{
leaf
:
false
});
Object
.
assign
(
treeNode
,
{
nodeid
:
treeNode
.
srfkey
});
Object
.
assign
(
treeNode
,
{
nodeid2
:
filter
.
strRealNodeId
});
Object
.
assign
(
treeNode
,
{
nodeType
:
"STATIC"
});
list
.
push
(
treeNode
);
resolve
(
list
);
});
}
/**
* 填充 树视图节点[搜索节点]子节点
*
* @public
* @param {any{}} context
* @param {*} filter
* @param {any[]} list
* @returns {Promise<any>}
* @memberof TreebasicsService
*/
@
Errorlog
public
async
fillSearchnodesNodeChilds
(
context
:
any
=
{},
filter
:
any
,
list
:
any
[]):
Promise
<
any
>
{
if
(
filter
.
srfnodefilter
&&
!
Object
.
is
(
filter
.
srfnodefilter
,
""
))
{
// 填充搜索时显示
let
SearchshowRsNavContext
:
any
=
{};
let
SearchshowRsNavParams
:
any
=
{};
let
SearchshowRsParams
:
any
=
{};
await
this
.
fillSearchshowNodes
(
context
,
filter
,
list
,
SearchshowRsNavContext
,
SearchshowRsNavParams
,
SearchshowRsParams
);
}
else
{
// 填充无搜索时显示
let
NosearchshowRsNavContext
:
any
=
{};
let
NosearchshowRsNavParams
:
any
=
{};
let
NosearchshowRsParams
:
any
=
{};
await
this
.
fillNosearchshowNodes
(
context
,
filter
,
list
,
NosearchshowRsNavContext
,
NosearchshowRsNavParams
,
NosearchshowRsParams
);
}
}
/**
* 填充 树视图节点[搜索时显示]
*
* @public
* @param {any{}} context
* @param {*} filter
* @param {any[]} list
* @param {*} rsNavContext
* @param {*} rsNavParams
* @param {*} rsParams
* @returns {Promise<any>}
* @memberof TreebasicsService
*/
@
Errorlog
public
fillSearchshowNodes
(
context
:
any
=
{},
filter
:
any
,
list
:
any
[],
rsNavContext
?:
any
,
rsNavParams
?:
any
,
rsParams
?:
any
):
Promise
<
any
>
{
context
=
this
.
handleResNavContext
(
context
,
filter
,
rsNavContext
);
filter
=
this
.
handleResNavParams
(
context
,
filter
,
rsNavParams
,
rsParams
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
treeNode
:
any
=
{};
Object
.
assign
(
treeNode
,
{
text
:
'搜索时显示'
});
Object
.
assign
(
treeNode
,
{
isUseLangRes
:
true
});
Object
.
assign
(
treeNode
,{
srfappctx
:
context
});
Object
.
assign
(
treeNode
,
{
srfmajortext
:
treeNode
.
text
});
let
strNodeId
:
string
=
'searchshow'
;
// 没有指定节点值,直接使用父节点值
Object
.
assign
(
treeNode
,
{
srfkey
:
filter
.
strRealNodeId
});
strNodeId
+=
this
.
TREENODE_SEPARATOR
;
strNodeId
+=
filter
.
strRealNodeId
;
Object
.
assign
(
treeNode
,
{
id
:
strNodeId
});
Object
.
assign
(
treeNode
,
{
expanded
:
filter
.
isAutoexpand
});
Object
.
assign
(
treeNode
,
{
leaf
:
true
});
Object
.
assign
(
treeNode
,
{
nodeid
:
treeNode
.
srfkey
});
Object
.
assign
(
treeNode
,
{
nodeid2
:
filter
.
strRealNodeId
});
Object
.
assign
(
treeNode
,
{
nodeType
:
"STATIC"
});
list
.
push
(
treeNode
);
resolve
(
list
);
});
}
/**
* 填充 树视图节点[搜索时显示]子节点
*
* @public
* @param {any{}} context
* @param {*} filter
* @param {any[]} list
* @returns {Promise<any>}
* @memberof TreebasicsService
*/
@
Errorlog
public
async
fillSearchshowNodeChilds
(
context
:
any
=
{},
filter
:
any
,
list
:
any
[]):
Promise
<
any
>
{
if
(
filter
.
srfnodefilter
&&
!
Object
.
is
(
filter
.
srfnodefilter
,
""
))
{
}
else
{
}
}
/**
* 填充 树视图节点[图书实体]
*
...
...
@@ -878,6 +1045,65 @@ export default class TreebasicsService extends ControlService {
}
}
/**
* 填充 树视图节点[无搜索时显示]
*
* @public
* @param {any{}} context
* @param {*} filter
* @param {any[]} list
* @param {*} rsNavContext
* @param {*} rsNavParams
* @param {*} rsParams
* @returns {Promise<any>}
* @memberof TreebasicsService
*/
@
Errorlog
public
fillNosearchshowNodes
(
context
:
any
=
{},
filter
:
any
,
list
:
any
[],
rsNavContext
?:
any
,
rsNavParams
?:
any
,
rsParams
?:
any
):
Promise
<
any
>
{
context
=
this
.
handleResNavContext
(
context
,
filter
,
rsNavContext
);
filter
=
this
.
handleResNavParams
(
context
,
filter
,
rsNavParams
,
rsParams
);
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
let
treeNode
:
any
=
{};
Object
.
assign
(
treeNode
,
{
text
:
'无搜索时显示'
});
Object
.
assign
(
treeNode
,
{
isUseLangRes
:
true
});
Object
.
assign
(
treeNode
,{
srfappctx
:
context
});
Object
.
assign
(
treeNode
,
{
srfmajortext
:
treeNode
.
text
});
let
strNodeId
:
string
=
'nosearchshow'
;
// 没有指定节点值,直接使用父节点值
Object
.
assign
(
treeNode
,
{
srfkey
:
filter
.
strRealNodeId
});
strNodeId
+=
this
.
TREENODE_SEPARATOR
;
strNodeId
+=
filter
.
strRealNodeId
;
Object
.
assign
(
treeNode
,
{
id
:
strNodeId
});
Object
.
assign
(
treeNode
,
{
expanded
:
filter
.
isAutoexpand
});
Object
.
assign
(
treeNode
,
{
leaf
:
true
});
Object
.
assign
(
treeNode
,
{
nodeid
:
treeNode
.
srfkey
});
Object
.
assign
(
treeNode
,
{
nodeid2
:
filter
.
strRealNodeId
});
Object
.
assign
(
treeNode
,
{
nodeType
:
"STATIC"
});
list
.
push
(
treeNode
);
resolve
(
list
);
});
}
/**
* 填充 树视图节点[无搜索时显示]子节点
*
* @public
* @param {any{}} context
* @param {*} filter
* @param {any[]} list
* @returns {Promise<any>}
* @memberof TreebasicsService
*/
@
Errorlog
public
async
fillNosearchshowNodeChilds
(
context
:
any
=
{},
filter
:
any
,
list
:
any
[]):
Promise
<
any
>
{
if
(
filter
.
srfnodefilter
&&
!
Object
.
is
(
filter
.
srfnodefilter
,
""
))
{
}
else
{
}
}
/**
* 填充 树视图节点[默认根节点]
*
...
...
@@ -947,6 +1173,11 @@ export default class TreebasicsService extends ControlService {
let
EntitynodesRsNavParams
:
any
=
{};
let
EntitynodesRsParams
:
any
=
{};
await
this
.
fillEntitynodesNodes
(
context
,
filter
,
list
,
EntitynodesRsNavContext
,
EntitynodesRsNavParams
,
EntitynodesRsParams
);
// 填充搜索节点
let
SearchnodesRsNavContext
:
any
=
{};
let
SearchnodesRsNavParams
:
any
=
{};
let
SearchnodesRsParams
:
any
=
{};
await
this
.
fillSearchnodesNodes
(
context
,
filter
,
list
,
SearchnodesRsNavContext
,
SearchnodesRsNavParams
,
SearchnodesRsParams
);
}
else
{
// 填充代码表节点
let
CodelistnodesRsNavContext
:
any
=
{};
...
...
@@ -963,6 +1194,11 @@ export default class TreebasicsService extends ControlService {
let
EntitynodesRsNavParams
:
any
=
{};
let
EntitynodesRsParams
:
any
=
{};
await
this
.
fillEntitynodesNodes
(
context
,
filter
,
list
,
EntitynodesRsNavContext
,
EntitynodesRsNavParams
,
EntitynodesRsParams
);
// 填充搜索节点
let
SearchnodesRsNavContext
:
any
=
{};
let
SearchnodesRsNavParams
:
any
=
{};
let
SearchnodesRsParams
:
any
=
{};
await
this
.
fillSearchnodesNodes
(
context
,
filter
,
list
,
SearchnodesRsNavContext
,
SearchnodesRsNavParams
,
SearchnodesRsParams
);
}
}
...
...
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
903a2b6c
...
...
@@ -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
:
"IBIZOrderDetailSGridView
9
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
desc
:
"IBIZOrderDetailSGridView"
+
(
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
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
desc
:
'IBIZOrderDetailSGridView'
+
(
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
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
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
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
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
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
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
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
浏览文件 @
903a2b6c
...
...
@@ -12,30 +12,6 @@
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"借出日期"
,
"codeName"
:
"lendouttime"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"lendouttime"
,
"mOSFilePath"
:
"psdetreecols/lendouttime"
,
"name"
:
"lendouttime"
,
"rTMOSFilePath"
:
"psdetreecols/lendouttime"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -71,6 +47,30 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"借出日期"
,
"codeName"
:
"lendouttime"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"lendouttime"
,
"mOSFilePath"
:
"psdetreecols/lendouttime"
,
"name"
:
"lendouttime"
,
"rTMOSFilePath"
:
"psdetreecols/lendouttime"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
浏览文件 @
903a2b6c
...
...
@@ -20,18 +20,6 @@
}
}
],
"getPSDETreeColumns"
:
[
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -55,6 +43,18 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEVIEWS/Treebasics.json
浏览文件 @
903a2b6c
...
...
@@ -83,6 +83,18 @@
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchshow"
},
"name"
:
"搜索节点 - 搜索时显示"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
1
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
...
...
@@ -95,6 +107,18 @@
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"nosearchshow"
},
"name"
:
"搜索节点 - 无搜索时显示"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
2
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
...
...
@@ -131,6 +155,18 @@
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchNodes"
},
"name"
:
"默认根节点 - 搜索节点"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
}
],
"getPSDETreeNodes"
:
[
{
"counterMode"
:
0
,
...
...
@@ -244,6 +280,58 @@
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"codelistNodes"
},
{
"counterMode"
:
0
,
"name"
:
"搜索节点"
,
"nodeType"
:
"searchNodes"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"搜索节点"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"searchNodes"
},
{
"counterMode"
:
0
,
"name"
:
"搜索时显示"
,
"nodeType"
:
"searchshow"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"搜索时显示"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"searchshow"
},
{
"counterMode"
:
0
,
"getIdPSAppDEField"
:
{
...
...
@@ -368,6 +456,32 @@
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"bookcodelist"
},
{
"counterMode"
:
0
,
"name"
:
"无搜索时显示"
,
"nodeType"
:
"nosearchshow"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"无搜索时显示"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"nosearchshow"
},
{
"counterMode"
:
0
,
"name"
:
"默认根节点"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
浏览文件 @
903a2b6c
...
...
@@ -42,30 +42,6 @@
"id"
:
"GANTT"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"借出日期"
,
"codeName"
:
"lendouttime"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"lendouttime"
,
"mOSFilePath"
:
"psdetreecols/lendouttime"
,
"name"
:
"lendouttime"
,
"rTMOSFilePath"
:
"psdetreecols/lendouttime"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -101,6 +77,30 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"借出日期"
,
"codeName"
:
"lendouttime"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"lendouttime"
,
"mOSFilePath"
:
"psdetreecols/lendouttime"
,
"name"
:
"lendouttime"
,
"rTMOSFilePath"
:
"psdetreecols/lendouttime"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
浏览文件 @
903a2b6c
...
...
@@ -88,18 +88,6 @@
"id"
:
"TREEGRIDEX"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -123,6 +111,18 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"author"
,
"mOSFilePath"
:
"psdetreecols/author"
,
"name"
:
"author"
,
"rTMOSFilePath"
:
"psdetreecols/author"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr3TreeView.json
浏览文件 @
903a2b6c
...
...
@@ -30,6 +30,26 @@
"paramType"
:
"CTRL"
}
]
}
],
"getPSAppViewLogics"
:
[
{
"eventArg"
:
"deuiaction1"
,
"eventNames"
:
"CLICK"
,
"logicTrigger"
:
"CTRLEVENT"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"toolbar_deuiaction1_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_deuiaction1"
},
"getPSViewCtrlName"
:
"toolbar"
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"toolbar_deuiaction1"
,
"getPSUIAction"
:
{
"modelref"
:
true
,
"id"
:
"ToggleFilter"
},
"xDataControlName"
:
"tree"
}
],
"getPSControls"
:
[
{
"codeName"
:
"Default"
,
"controlType"
:
"SEARCHFORM"
,
...
...
@@ -211,6 +231,91 @@
"name"
:
"searchform"
,
"modelid"
:
"643b7d93870f8f5842b663af83ba85ae"
,
"modeltype"
:
"PSDEFORM_SEARCHFORM"
},
{
"codeName"
:
"Usr3TreeViewtoolbar"
,
"controlType"
:
"TOOLBAR"
,
"hookEventNames"
:
[
"CLICK"
],
"logicName"
:
"树视图工具栏"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZBOOK/psdetoolbars/Usr3TreeViewtoolbar"
,
"name"
:
"toolbar"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics"
:
[
{
"eventArg"
:
"deuiaction1"
,
"eventNames"
:
"CLICK"
,
"logicTag"
:
"toolbar"
,
"logicType"
:
"APPVIEWLOGIC"
,
"name"
:
"toolbar_deuiaction1_click"
,
"getPSAppViewLogic"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_deuiaction1_click"
}
}
],
"getPSControlParam"
:
{
"id"
:
"TOOLBAR"
},
"getPSDEToolbarItems"
:
[
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TEXT.*.FILTER"
,
"mOSFilePath"
:
"pslanguageres/Auto1437"
,
"rTMOSFilePath"
:
"pslanguageres/Auto1437"
},
"caption"
:
"过滤"
,
"groupExtractMode"
:
"ITEM"
,
"itemType"
:
"DEUIACTION"
,
"name"
:
"deuiaction1"
,
"noPrivDisplayMode"
:
2
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"toolbar_deuiaction1"
},
"getPSSysImage"
:
{
"glyph"
:
"xf0b0@FontAwesome"
,
"cssClass"
:
"fa fa-filter"
},
"getPSUIAction"
:
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TEXT.*.FILTER"
,
"mOSFilePath"
:
"pslanguageres/Auto1437"
,
"rTMOSFilePath"
:
"pslanguageres/Auto1437"
},
"caption"
:
"过滤"
,
"codeName"
:
"ToggleFilter"
,
"fullCodeName"
:
"ToggleFilter"
,
"mOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleFilter"
,
"name"
:
"表格界面_搜索栏"
,
"getPSSysImage"
:
{
"glyph"
:
"xf0b0@FontAwesome"
,
"cssClass"
:
"fa fa-filter"
},
"predefinedType"
:
"GRIDVIEW_SEARCHBAR"
,
"rTMOSFilePath"
:
"pssysapps/Web/pssysappdeuiactions/ToggleFilter"
,
"timeout"
:
60000
,
"getTooltipPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TOOLTIP.*.FILTER"
,
"mOSFilePath"
:
"pslanguageres/Auto796"
,
"rTMOSFilePath"
:
"pslanguageres/Auto796"
},
"uIActionMode"
:
"SYS"
,
"uIActionTag"
:
"ToggleFilter"
,
"uIActionType"
:
"DEUIACTION"
,
"enableToggleMode"
:
true
},
"tooltip"
:
"过滤"
,
"getTooltipPSLanguageRes"
:
{
"lanResTag"
:
"TBB.TOOLTIP.*.FILTER"
,
"mOSFilePath"
:
"pslanguageres/Auto796"
,
"rTMOSFilePath"
:
"pslanguageres/Auto796"
},
"enableToggleMode"
:
true
,
"showCaption"
:
true
,
"showIcon"
:
true
}
],
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr3TreeView/psappviewctrls/toolbar"
,
"modelid"
:
"1C548627-B3F2-4285-8D68-E68730486C2F"
,
"modeltype"
:
"PSDETOOLBAR"
},
{
"codeName"
:
"Treebasics"
,
"controlType"
:
"TREEVIEW"
,
...
...
@@ -366,6 +471,18 @@
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchshow"
},
"name"
:
"搜索节点 - 搜索时显示"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
1
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
...
...
@@ -378,6 +495,18 @@
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"nosearchshow"
},
"name"
:
"搜索节点 - 无搜索时显示"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchNodes"
},
"parentValueLevel"
:
1
,
"searchMode"
:
2
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
...
...
@@ -414,6 +543,18 @@
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
},
{
"getChildPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"searchNodes"
},
"name"
:
"默认根节点 - 搜索节点"
,
"getParentPSDETreeNode"
:
{
"modelref"
:
true
,
"id"
:
"ROOT"
},
"parentValueLevel"
:
1
,
"searchMode"
:
3
}
],
"getPSDETreeNodes"
:
[
{
"counterMode"
:
0
,
...
...
@@ -527,6 +668,58 @@
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"codelistNodes"
},
{
"counterMode"
:
0
,
"name"
:
"搜索节点"
,
"nodeType"
:
"searchNodes"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"搜索节点"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
true
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"searchNodes"
},
{
"counterMode"
:
0
,
"name"
:
"搜索时显示"
,
"nodeType"
:
"searchshow"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"搜索时显示"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"searchshow"
},
{
"counterMode"
:
0
,
"getIdPSAppDEField"
:
{
...
...
@@ -651,6 +844,32 @@
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"bookcodelist"
},
{
"counterMode"
:
0
,
"name"
:
"无搜索时显示"
,
"nodeType"
:
"nosearchshow"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text"
:
"无搜索时显示"
,
"treeNodeType"
:
"STATIC"
,
"hasPSDETreeNodeRSs"
:
false
,
"appendPNodeId"
:
false
,
"disableSelect"
:
false
,
"enableCheck"
:
false
,
"enableEditData"
:
false
,
"enableNewData"
:
false
,
"enableQuickCreate"
:
false
,
"enableQuickSearch"
:
false
,
"enableRemoveData"
:
false
,
"enableViewData"
:
false
,
"expandFirstOnly"
:
false
,
"expanded"
:
false
,
"rootNode"
:
false
,
"selectFirstOnly"
:
false
,
"selected"
:
false
,
"id"
:
"nosearchshow"
},
{
"counterMode"
:
0
,
"name"
:
"默认根节点"
,
...
...
@@ -724,7 +943,6 @@
"enableQuickGroup"
:
true
,
"enableQuickSearch"
:
true
,
"enableSearch"
:
true
,
"expandSearchForm"
:
true
,
"modelid"
:
"406f27bfbbbe3bb0f15d8d77ca63e24c"
,
"modeltype"
:
"PSAPPDEVIEW"
}
\ No newline at end of file
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录