Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
ef015906
提交
ef015906
编写于
12月 20, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
a3af019b
变更
18
显示空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
651 行增加
和
52 行删除
+651
-52
main-menu-appmenu.ts
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
+18
-0
ibizbook-ui-service-base.ts
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
+1
-0
main-menu-appmenu-model.ts
.../widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
+20
-0
default-searchform-base.vue
...zappeditor/default-searchform/default-searchform-base.vue
+2
-2
guide-borrow-form-form-base.vue
...ok/guide-borrow-form-form/guide-borrow-form-form-base.vue
+5
-5
guide-return-form-form-base.vue
...ok/guide-return-form-form/guide-return-form-form-base.vue
+5
-5
guide-view-form-form-base.vue
...izbook/guide-view-form-form/guide-view-form-form-base.vue
+5
-5
usr4-dataview-base.vue
...src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
+4
-4
usr4-dataview-model.ts
...src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
+0
-5
IBIZBOOK.json
...remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json
+8
-0
IBIZBOOK.json
...remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
+4
-0
TreeTable.json
.../PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
+12
-12
IBIZBOOKTreeGridExView.json
...el/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
+12
-12
IBIZBOOKUsr7ListView_listPlugin.json
...PPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr7ListView_listPlugin.json
+505
-0
AppIndexView.json
...motemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/AppIndexView.json
+1
-1
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+35
-0
PSSYSAPP.simple.json
...ces/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.simple.json
+13
-0
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
未找到文件。
app_Web/src/mock/app/main-menu-appmenu/main-menu-appmenu.ts
浏览文件 @
ef015906
...
...
@@ -4215,6 +4215,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls
:
''
,
appfunctag
:
'UsrAppFunc1206983666'
,
resourcetag
:
''
,
},
{
id
:
'3678BB21-69BD-4546-80C6-89E91F63F3CF'
,
name
:
'menuitem260'
,
text
:
'列表'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'列表'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
},
],
},
...
...
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
浏览文件 @
ef015906
...
...
@@ -150,6 +150,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'testcllistview'
,
viewType
:
'DELISTVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbooktest-cllist-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr2meditview9_layout'
,
viewType
:
'DEMEDITVIEW9'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr2-medit-view9-layout'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usrtreeview_plugin'
,
viewType
:
'DETREEVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr-tree-view-plugin'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr7listview_listplugin'
,
viewType
:
'DELISTVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr7-list-view-list-plugin'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr3editview'
,
viewType
:
'DEEDITVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr3-edit-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'groupbycodelistkanbanview'
,
viewType
:
'DEKANBANVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookgroup-by-codelist-kan-ban-view'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'usr6listview'
,
viewType
:
'DELISTVIEW'
,
srfappde
:
'ibizbooks'
,
component
:
'ibizbookusr6-list-view'
});
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-model.ts
浏览文件 @
ef015906
...
...
@@ -4678,6 +4678,26 @@ export default class MainMenuModel {
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem253'
,
cappslanguageres
:
''
,
},
{
id
:
'3678BB21-69BD-4546-80C6-89E91F63F3CF'
,
name
:
'menuitem260'
,
text
:
'列表'
,
type
:
'MENUITEM'
,
counterid
:
''
,
tooltip
:
'列表'
,
expanded
:
false
,
separator
:
false
,
hidden
:
false
,
hidesidebar
:
false
,
opendefault
:
false
,
iconcls
:
''
,
icon
:
''
,
textcls
:
''
,
appfunctag
:
''
,
resourcetag
:
''
,
authtag
:
'Web-MainMenu-menuitem260'
,
cappslanguageres
:
''
,
},
],
},
...
...
app_Web/src/widgets/ibizappeditor/default-searchform/default-searchform-base.vue
浏览文件 @
ef015906
...
...
@@ -639,7 +639,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
:
'IBIZAPPEDITOR
Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -675,7 +675,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
:
'IBIZAPPEDITOR
Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-base.vue
浏览文件 @
ef015906
...
...
@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -1799,7 +1799,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
ef015906
...
...
@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
ef015906
...
...
@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -1869,7 +1869,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
浏览文件 @
ef015906
...
...
@@ -718,7 +718,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -812,7 +812,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -928,7 +928,7 @@ export default class Usr4Base 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
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
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
);
...
...
@@ -936,7 +936,7 @@ export default class Usr4Base 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
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
...
...
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
浏览文件 @
ef015906
...
...
@@ -70,11 +70,6 @@ export default class Usr4Model {
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSMODULES/Sample/PSDATAENTITIES/IBIZBOOK.json
浏览文件 @
ef015906
...
...
@@ -5197,6 +5197,14 @@
"rTMOSFilePath"
:
"psmodeldata$psdataentities/UsrGridView_ctrlPlugin"
,
"realModelSubType"
:
"DEGRIDVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"Usr7ListView_listPlugin"
,
"logicName"
:
"列表视图-列表插件"
,
"mOSFilePath"
:
"psmodeldata$psdataentities/Usr7ListView_listPlugin"
,
"name"
:
"列表视图-列表插件"
,
"rTMOSFilePath"
:
"psmodeldata$psdataentities/Usr7ListView_listPlugin"
,
"realModelSubType"
:
"DELISTVIEW"
,
"realModelType"
:
"PSDEVIEWBASE"
},
{
"codeName"
:
"Usr4ListView"
,
"logicName"
:
"实体列表视图"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
浏览文件 @
ef015906
...
...
@@ -7727,6 +7727,10 @@
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsrTreeView_plugin.json"
,
"viewType"
:
"DETREEVIEW"
},
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr7ListView_listPlugin.json"
,
"viewType"
:
"DELISTVIEW"
},
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr3EditView.json"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
浏览文件 @
ef015906
...
...
@@ -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/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
浏览文件 @
ef015906
...
...
@@ -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/IBIZBOOKUsr7ListView_listPlugin.json
0 → 100644
浏览文件 @
ef015906
{
"accUserMode"
:
2
,
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"DE.LNAME.IBIZBOOK"
,
"mOSFilePath"
:
"pslanguageres/Auto395"
,
"rTMOSFilePath"
:
"pslanguageres/Auto395"
},
"caption"
:
"图书"
,
"codeName"
:
"IBIZBOOKUsr7ListView_listPlugin"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr7ListView_listPlugin.json"
,
"mDCtrlActiveMode"
:
2
,
"mOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr7ListView_listPlugin"
,
"name"
:
"IBIZBOOKUsr7ListView_listPlugin"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppModule"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPMODULES/Sample.json"
},
"getPSAppViewEngines"
:
[
{
"engineCat"
:
"VIEW"
,
"engineType"
:
"ListView"
,
"mOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr7ListView_listPlugin/psappviewengines/engine"
,
"name"
:
"engine"
,
"getPSUIEngineParams"
:
[
{
"ctrlName"
:
"list"
,
"name"
:
"LIST"
,
"paramType"
:
"CTRL"
},
{
"appViewLogicName"
:
"opendata"
,
"name"
:
"OPENDATA"
,
"paramType"
:
"LOGIC"
},
{
"appViewLogicName"
:
"newdata"
,
"name"
:
"NEWDATA"
,
"paramType"
:
"LOGIC"
},
{
"ctrlName"
:
"searchform"
,
"name"
:
"SEARCHFORM"
,
"paramType"
:
"CTRL"
}
]
}
],
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"SYSUILOGIC"
,
"name"
:
"newdata"
,
"getPSAppUILogic"
:
{
"actionAfterWizard"
:
"DEFAULT"
,
"logicType"
:
"PREDEFINED"
,
"name"
:
"新建数据"
,
"getNewDataPSAppView"
:
{
"mOSFilePath"
:
"psappviewlogicrefviews/IBIZBOOKEditView"
,
"rTMOSFilePath"
:
"psappviewlogicrefviews/IBIZBOOKEditView"
,
"getRefPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json"
,
"viewType"
:
"DEEDITVIEW"
}
},
"getPSAppUILogicRefViews"
:
[
{
"mOSFilePath"
:
"psappviewlogicrefviews/IBIZBOOKEditView"
,
"rTMOSFilePath"
:
"psappviewlogicrefviews/IBIZBOOKEditView"
,
"getRefPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json"
,
"viewType"
:
"DEEDITVIEW"
}
}
],
"viewLogicType"
:
"APP_NEWDATA"
,
"batchAddOnly"
:
false
,
"enableBatchAdd"
:
false
,
"enableWizardAdd"
:
false
}
},
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"SYSUILOGIC"
,
"name"
:
"opendata"
,
"getPSAppUILogic"
:
{
"logicType"
:
"PREDEFINED"
,
"name"
:
"打开数据"
,
"getOpenDataPSAppView"
:
{
"mOSFilePath"
:
"psappviewlogicrefviews/IBIZBOOKEditView"
,
"rTMOSFilePath"
:
"psappviewlogicrefviews/IBIZBOOKEditView"
,
"getRefPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json"
,
"viewType"
:
"DEEDITVIEW"
}
},
"getPSAppUILogicRefViews"
:
[
{
"mOSFilePath"
:
"psappviewlogicrefviews/IBIZBOOKEditView"
,
"rTMOSFilePath"
:
"psappviewlogicrefviews/IBIZBOOKEditView"
,
"getRefPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json"
,
"viewType"
:
"DEEDITVIEW"
}
}
],
"viewLogicType"
:
"APP_OPENDATA"
,
"editMode"
:
true
}
}
],
"getPSAppViewRefs"
:
[
{
"name"
:
"NEWDATA"
,
"realTitle"
:
"图书编辑视图"
,
"getRealTitlePSLanguageRes"
:
{
"lanResTag"
:
"PAGE.TITLE.IBIZBOOK.EDITVIEW"
,
"mOSFilePath"
:
"pslanguageres/Auto1395"
,
"rTMOSFilePath"
:
"pslanguageres/Auto1395"
},
"getRefPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json"
,
"viewType"
:
"DEEDITVIEW"
}
},
{
"name"
:
"EDITDATA"
,
"realTitle"
:
"图书编辑视图"
,
"getRealTitlePSLanguageRes"
:
{
"lanResTag"
:
"PAGE.TITLE.IBIZBOOK.EDITVIEW"
,
"mOSFilePath"
:
"pslanguageres/Auto1395"
,
"rTMOSFilePath"
:
"pslanguageres/Auto1395"
},
"getRefPSAppView"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKEditView.json"
,
"viewType"
:
"DEEDITVIEW"
}
}
],
"getPSControls"
:
[
{
"codeName"
:
"QUICKSEARCHFORM"
,
"controlType"
:
"SEARCHFORM"
,
"defaultLabelWidth"
:
130
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSSEARCHFORMS/QUICKSEARCHFORM.json"
,
"formStyle"
:
"SEARCHBAR"
,
"hookEventNames"
:
[
"SEARCH"
,
"LOAD"
,
"SAVE"
],
"logicName"
:
"快速搜索表单"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZBOOK/psdeform_searchforms/QUICKSEARCHFORM"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlHandler"
:
{
"getPSHandlerActions"
:
[
{
"actionType"
:
"FILTERACTION"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"FilterGet"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionType"
:
"FILTERACTION"
,
"name"
:
"loaddraft"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"FilterGetDraft"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionType"
:
"FILTERACTION"
,
"name"
:
"search"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"FilterSearch"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}
],
"enableDEFieldPrivilege"
:
false
,
"id"
:
"搜索表单处理器"
},
"getPSControlLogics"
:
[
{
"eventNames"
:
"SEARCH;LOAD;SAVE"
,
"logicTag"
:
"searchform"
,
"logicType"
:
"APPVIEWENGINE"
,
"name"
:
"engine_searchform"
,
"getPSAppViewEngine"
:
{
"modelref"
:
true
,
"id"
:
"engine"
}
}
],
"getPSControlParam"
:
{
"autoLoad"
:
true
,
"showBusyIndicator"
:
true
,
"id"
:
"SEARCHFORM"
},
"getPSDEFormItems"
:
[
{
"id"
:
"n_ibizbookname_like"
,
"dataType"
:
25
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
}
}
],
"getPSDEFormPages"
:
[
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"CONTROL.DEFORM.IBIZBOOK.QUICKSEARCHFORM.FORMPAGE.FORMPAGE1"
,
"mOSFilePath"
:
"pslanguageres/Auto1691"
,
"rTMOSFilePath"
:
"pslanguageres/Auto1691"
},
"caption"
:
"表单分页"
,
"codeName"
:
"formpage1"
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMPAGE"
,
"mOSFilePath"
:
"psdeformdetail_formpages/formpage1"
,
"name"
:
"formpage1"
,
"getPSDEFormDetails"
:
[
{
"getCapPSLanguageRes"
:
{
"lanResTag"
:
"CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE"
,
"mOSFilePath"
:
"pslanguageres/Auto486"
,
"rTMOSFilePath"
:
"pslanguageres/Auto486"
},
"caption"
:
"图书名称(%)"
,
"codeName"
:
"n_ibizbookname_like"
,
"dataType"
:
25
,
"detailStyle"
:
"DEFAULT"
,
"detailType"
:
"FORMITEM"
,
"enableCond"
:
3
,
"ignoreInput"
:
0
,
"labelPos"
:
"LEFT"
,
"labelWidth"
:
130
,
"mOSFilePath"
:
"psdeformdetail_formitems/n_ibizbookname_like"
,
"name"
:
"n_ibizbookname_like"
,
"noPrivDisplayMode"
:
1
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
},
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"editorWidth"
:
100.0
,
"name"
:
"n_ibizbookname_like"
},
"getPSLayoutPos"
:
{
"colLG"
:
12
,
"colMD"
:
12
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formitems/n_ibizbookname_like"
,
"allowEmpty"
:
true
,
"showCaption"
:
true
}
],
"getPSLayout"
:
{
"childColLG"
:
-1
,
"childColMD"
:
24
,
"childColSM"
:
-1
,
"childColXS"
:
-1
,
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"psdeformdetail_formpages/formpage1"
,
"infoGroupMode"
:
false
}
],
"getPSLayout"
:
{
"childColLG"
:
-1
,
"childColMD"
:
24
,
"childColSM"
:
-1
,
"childColXS"
:
-1
,
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr7ListView_listPlugin/psappviewctrls/searchform"
,
"searchButtonStyle"
:
"DEFAULT"
,
"tabHeaderPos"
:
"TOP"
,
"enableAdvanceSearch"
:
false
,
"enableAutoSearch"
:
false
,
"enableFilterSave"
:
false
,
"noTabHeader"
:
true
,
"name"
:
"searchform"
,
"modelid"
:
"0d02cac81d96729eccac654df3a1950a"
,
"modeltype"
:
"PSDEFORM_SEARCHFORM"
},
{
"codeName"
:
"Usr7ListView_listPlugintoolbar"
,
"controlType"
:
"TOOLBAR"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZBOOK/psdetoolbars/Usr7ListView_listPlugintoolbar"
,
"name"
:
"toolbar"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam"
:
{
"id"
:
"TOOLBAR"
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr7ListView_listPlugin/psappviewctrls/toolbar"
,
"modelid"
:
"87ee895b3ae9461006598f7943e34712_toolbar"
,
"modeltype"
:
"PSDETOOLBAR"
},
{
"codeName"
:
"Booklist"
,
"controlType"
:
"LIST"
,
"getCreatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"create"
},
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/Booklist.json"
,
"getFetchPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"fetch"
},
"getGetPSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"load"
},
"groupMode"
:
"NONE"
,
"hookEventNames"
:
[
"ROWDBLCLICK"
,
"SELECTIONCHANGE"
,
"REMOVE"
,
"LOAD"
,
"BEFORELOAD"
],
"logicName"
:
"Booklist"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZBOOK/psdelists/Booklist"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlHandler"
:
{
"getPSHandlerActions"
:
[
{
"actionName"
:
"Get"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"READ"
,
"name"
:
"load"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Get"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionName"
:
"Create"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"CREATE"
,
"name"
:
"create"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Create"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionName"
:
"Update"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"UPDATE"
,
"name"
:
"update"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Update"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionName"
:
"Remove"
,
"actionType"
:
"DEACTION"
,
"dataAccessAction"
:
"DELETE"
,
"name"
:
"remove"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"Remove"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
},
{
"actionType"
:
"DEDATASET"
,
"name"
:
"fetch"
,
"getPSAppDEMethod"
:
{
"modelref"
:
true
,
"id"
:
"FetchDefault"
},
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}
],
"userDRAction"
:
"READ"
,
"enableDEFieldPrivilege"
:
false
,
"id"
:
"列表控件处理器"
},
"getPSControlLogics"
:
[
{
"eventNames"
:
"ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD"
,
"logicTag"
:
"list"
,
"logicType"
:
"APPVIEWENGINE"
,
"name"
:
"engine_list"
,
"getPSAppViewEngine"
:
{
"modelref"
:
true
,
"id"
:
"engine"
}
}
],
"getPSControlParam"
:
{
"autoLoad"
:
true
,
"showBusyIndicator"
:
true
,
"id"
:
"LIST"
},
"getPSDEDataImport"
:
{
"modelref"
:
true
,
"id"
:
"DataImport"
},
"getPSDEListDataItems"
:
[
{
"dataType"
:
25
,
"name"
:
"srfmajortext"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKNAME"
,
"codeName"
:
"IBIZBOOKName"
}
},
{
"dataType"
:
25
,
"name"
:
"srfdescription"
,
"getPSAppDEField"
:
{
"name"
:
"SUBTEXT"
,
"codeName"
:
"Subtext"
}
},
{
"dataType"
:
25
,
"name"
:
"srfdate"
,
"getPSAppDEField"
:
{
"name"
:
"LENDOUTTIME"
,
"codeName"
:
"Lendouttime"
}
},
{
"dataType"
:
25
,
"name"
:
"srficon"
,
"getPSAppDEField"
:
{
"name"
:
"ICON"
,
"codeName"
:
"Icon"
}
},
{
"dataType"
:
25
,
"name"
:
"srfkey"
,
"getPSAppDEField"
:
{
"name"
:
"IBIZBOOKID"
,
"codeName"
:
"IBIZBOOKId"
}
},
{
"dataType"
:
25
,
"name"
:
"srfmstag"
}
],
"getPSSysPFPlugin"
:
{
"pluginType"
:
"LIST_RENDER"
,
"pluginCode"
:
"listEvenYellowPlugin"
},
"pagingSize"
:
1000
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr7ListView_listPlugin/psappviewctrls/list"
,
"getRemovePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"remove"
},
"getUpdatePSControlAction"
:
{
"modelref"
:
true
,
"id"
:
"update"
},
"hasWFDataItems"
:
false
,
"enableGroup"
:
false
,
"enableRowEdit"
:
false
,
"enableRowEditGroup"
:
false
,
"enableRowEditOrder"
:
false
,
"enableRowNew"
:
false
,
"noSort"
:
false
,
"showHeader"
:
true
,
"name"
:
"list"
,
"modelid"
:
"8f8454afed10cc497ead10dd05dad18b"
,
"modeltype"
:
"PSDELIST"
}
],
"getPSDEViewCodeName"
:
"Usr7ListView_listPlugin"
,
"getPSDEViewId"
:
"66804E17-DAE1-4813-9C9F-DD3DFBE1F57A"
,
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Layoutpanel"
,
"controlStyle"
:
"APPDELISTVIEW"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"mOSFilePath"
:
"psmodules/Sample/psdataentities/IBIZBOOK/pssysviewlayoutpanels/Layoutpanel"
,
"name"
:
"layoutpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam"
:
{
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr7ListView_listPlugin/psappviewctrls/layoutpanel"
,
"layoutBodyOnly"
:
true
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
true
},
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr7ListView_listPlugin"
,
"refFlag"
:
false
,
"title"
:
"图书列表视图"
,
"viewStyle"
:
"DEFAULT"
,
"viewType"
:
"DELISTVIEW"
,
"xDataControlName"
:
"list"
,
"enableDP"
:
true
,
"enableFilter"
:
true
,
"enableQuickSearch"
:
true
,
"enableSearch"
:
true
,
"modelid"
:
"87ee895b3ae9461006598f7943e34712"
,
"modeltype"
:
"PSAPPDEVIEW"
}
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPINDEXVIEWS/AppIndexView.json
浏览文件 @
ef015906
...
...
@@ -5,7 +5,7 @@
"codeName"
:
"AppIndexView"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPINDEXVIEWS/AppIndexView.json"
,
"mOSFilePath"
:
"pssysapps/Web/psappindexviews/AppIndexView"
,
"mainMenuAlign"
:
"
TOP
"
,
"mainMenuAlign"
:
"
CENTER
"
,
"name"
:
"AppIndexView"
,
"getPSAppModule"
:
{
"modelref"
:
true
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
ef015906
...
...
@@ -4884,6 +4884,18 @@
"viewType" : "DEEDITVIEW3"
},
"rTMOSFilePath" : "pssysapps/Web/psappfuncs/Auto233"
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc138",
"mOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc138",
"name" : "列表插件",
"openMode" : "INDEXVIEWTAB",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr7ListView_listPlugin.json",
"viewType" : "DELISTVIEW"
},
"rTMOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc138"
}, {
"appFuncType" : "APPVIEW",
"codeName" : "Auto375",
...
...
@@ -5544,6 +5556,19 @@
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Ungroup.json"
} ],
"getAllPSAppPFPluginRefs" : [ {
"name" : "列表偶项背景变黄",
"getPSSysPFPlugin" : {
"pluginType" : "LIST_RENDER",
"pluginCode" : "listEvenYellowPlugin"
},
"pluginCode" : "listEvenYellowPlugin",
"pluginType" : "LIST_RENDER",
"refMode" : "CONTROL",
"refTag" : "LIST",
"templCode" : "<AppList\n :id=\"controlID\"\n :class=\"classNames\"\n :items=\"store.data\"\n :selections=\"store.selections\"\n :totalRecord=\"store.totalRecord\"\n @item-click=\"handleItemClick\"\n @item-db-click=\"handleItemDbClick\"\n @selection-change=\"handleSelectionChange\"\n @load-more=\"handleLoadMore\"\n @item-action-click=\"(logic: any, data: IParam, event: MouseEvent) => handleActionClick(controller, logic, data, event)\">\n <template #default=\"{ item }\">\n <List_itempanelPanel\n :actions=\"{\n loadDraftAction: 'GetDraft',\n createAction: 'Create',\n fetchAction: 'FetchDefault',\n removeAction: 'Remove',\n updateAction: 'Update'\n }\"\n :openView=\"store.openView\"\n :newView=\"store.newView\" \n :isLoadDefault='true'\n :data='item'\n name=\"\"\n :context=\"store.context\"\n :viewParams=\"store.viewParams\"\n :closeView=\"store.closeView\"\n :pLoadingHelper=\"store.loadingHelper\"\n :pViewCtx=\"store.viewCtx\"\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"/>\n </template>\n </AppList>",
"templCode2" : "import { AppList } from '@components/widgets/list';\nimport { ICtrlDataAction, IContext, IParam, ListActionType, IListAbility, IListControllerParams, IListStore, ListController, createUUID, ILoadingHelper, IViewCtx, IListController, IViewLogicInput } from '@/core';\nimport List_itempanelPanel from '@widgets/ibizbook/list-itempanel-panel/list-itempanel-panel.vue';\nimport { useNavParamsBind, getCtrlClassNames, useEventBind, handleActionClick, handleCtrlInit, handleCtrlAction, handleCtrlDestroy, } from '@/hooks/use-ctrl';\nimport { ListControlVO } from './lnternal-func-list-list-vo';\nimport { model } from \"./lnternal-func-list-list-model\";\nimport ListService from \"@/core/modules/ctrl-service/list-service\";\ninterface Props {\n name?: string;\n context: IContext;\n viewParams: IParam;\n localContext?: IParam,\n localViewParams?: IParam,\n closeView?: Function;\n pLoadingHelper?: ILoadingHelper;\n pViewCtx?: IViewCtx;\n openView?: Function;\n newView?: Function;\n actions: ICtrlDataAction;\n singleSelect?: boolean;\n rowActiveMode?: 0 | 1 | 2;\n selectFirstDefault?: boolean;\n \n}\n\nconst props = withDefaults(defineProps<Props>(), {\n singleSelect: false,\n rowActiveMode: 2\n \n});\nconst emit = defineEmits<{\n (event: 'ctrl-action', name: string, action: ListActionType, data: IParam[]): void;\n (event: 'ctrl-init', name: string, data: IListAbility): void;\n (event: 'ctrl-destroy', name: string, data: IParam): void;\n}>();\n\nconst evt = useEventBind<ListActionType, IListAbility>(emit);\n// 部件样式名\nconst classNames = computed(() => {\n const names = getCtrlClassNames(model, props);\n Object.assign(names,{\n \"list-even-yellow-bg\":true\n })\n return names;\n});\n\nconst controlID = createUUID();\nconst params: IListControllerParams<ListActionType, IListAbility> = {\n name: props.name,\n model,\n evt,\n controlID,\n pLoadingHelper: props.pLoadingHelper,\n rowActiveMode: props.rowActiveMode,\n actions: props.actions,\n singleSelect: props.singleSelect,\n selectFirstDefault: props.selectFirstDefault,\n ctrlService: new ListService<ListControlVO>(ListControlVO, model.entityCodeName),\n openView: props.openView,\n newView: props.newView,\n closeView: props.closeView,\n pViewCtx: props.pViewCtx,\n handler: (data: IListStore) => { return reactive(data) }\n};\n\nconst controller: IListController<IListStore, IListAbility> = new ListController(params);\n\nuseNavParamsBind(controller, props);\n\nconst store: IListStore = controller.getStore();\n\nonMounted(() => {\n controller.ctrlMounted();\n})\n\nonUnmounted(() => {\n controller.ctrlDestroy();\n})\n\nconst handleItemClick = (row: IParam, event: MouseEvent) => {\n controller.handleItemClick(row, event);\n}\n\nconst handleItemDbClick = (row: IParam, event: MouseEvent) => {\n controller.handleItemDbClick(row, event);\n}\n\nconst handleSelectionChange = (selections: IParam[]) => {\n controller.handleSelectionChange(selections);\n}\n\nconst handleLoadMore = () => {\n controller.loadMore();\n}",
"templCode3" : ".list-even-yellow-bg .ant-list-item:nth-child(even) {\n background-color: yellow;\n}"
}, {
"name" : "列表视图斑马纹",
"getPSSysPFPlugin" : {
"pluginType" : "VIEW_CUSTOM",
...
...
@@ -17245,6 +17270,12 @@
"viewType" : "DETREEVIEW",
"resource" : "IBIZBOOK",
"view" : "UsrTreeView_plugin"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr7ListView_listPlugin.json",
"viewType" : "DELISTVIEW",
"resource" : "IBIZBOOK",
"view" : "Usr7ListView_listPlugin"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderSEditView4_layout.json",
...
...
@@ -38364,6 +38395,10 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsrTreeView_plugin.json",
"viewType" : "DETREEVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr7ListView_listPlugin.json",
"viewType" : "DELISTVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr3EditView.json",
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.simple.json
浏览文件 @
ef015906
...
...
@@ -2,6 +2,19 @@
"name"
:
"演示应用"
,
"simple"
:
"true"
,
"getAllPSAppPFPluginRefs"
:
[
{
"name"
:
"列表偶项背景变黄"
,
"getPSSysPFPlugin"
:
{
"pluginType"
:
"LIST_RENDER"
,
"pluginCode"
:
"listEvenYellowPlugin"
},
"pluginCode"
:
"listEvenYellowPlugin"
,
"pluginType"
:
"LIST_RENDER"
,
"refMode"
:
"CONTROL"
,
"refTag"
:
"LIST"
,
"templCode"
:
"<AppList
\n
:id=
\"
controlID
\"\n
:class=
\"
classNames
\"\n
:items=
\"
store.data
\"\n
:selections=
\"
store.selections
\"\n
:totalRecord=
\"
store.totalRecord
\"\n
@item-click=
\"
handleItemClick
\"\n
@item-db-click=
\"
handleItemDbClick
\"\n
@selection-change=
\"
handleSelectionChange
\"\n
@load-more=
\"
handleLoadMore
\"\n
@item-action-click=
\"
(logic: any, data: IParam, event: MouseEvent) => handleActionClick(controller, logic, data, event)
\"
>
\n
<template #default=
\"
{ item }
\"
>
\n
<List_itempanelPanel
\n
:actions=
\"
{
\n
loadDraftAction: 'GetDraft',
\n
createAction: 'Create',
\n
fetchAction: 'FetchDefault',
\n
removeAction: 'Remove',
\n
updateAction: 'Update'
\n
}
\"\n
:openView=
\"
store.openView
\"\n
:newView=
\"
store.newView
\"
\n
:isLoadDefault='true'
\n
:data='item'
\n
name=
\"\"\n
:context=
\"
store.context
\"\n
:viewParams=
\"
store.viewParams
\"\n
:closeView=
\"
store.closeView
\"\n
:pLoadingHelper=
\"
store.loadingHelper
\"\n
:pViewCtx=
\"
store.viewCtx
\"\n
@ctrl-init=
\"
(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }
\"\n
@ctrl-action=
\"
(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }
\"\n
@ctrl-destroy=
\"
(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }
\"
/>
\n
</template>
\n
</AppList>"
,
"templCode2"
:
"import { AppList } from '@components/widgets/list';
\n
import { ICtrlDataAction, IContext, IParam, ListActionType, IListAbility, IListControllerParams, IListStore, ListController, createUUID, ILoadingHelper, IViewCtx, IListController, IViewLogicInput } from '@/core';
\n
import List_itempanelPanel from '@widgets/ibizbook/list-itempanel-panel/list-itempanel-panel.vue';
\n
import { useNavParamsBind, getCtrlClassNames, useEventBind, handleActionClick, handleCtrlInit, handleCtrlAction, handleCtrlDestroy, } from '@/hooks/use-ctrl';
\n
import { ListControlVO } from './lnternal-func-list-list-vo';
\n
import { model } from
\"
./lnternal-func-list-list-model
\"
;
\n
import ListService from
\"
@/core/modules/ctrl-service/list-service
\"
;
\n
interface Props {
\n
name?: string;
\n
context: IContext;
\n
viewParams: IParam;
\n
localContext?: IParam,
\n
localViewParams?: IParam,
\n
closeView?: Function;
\n
pLoadingHelper?: ILoadingHelper;
\n
pViewCtx?: IViewCtx;
\n
openView?: Function;
\n
newView?: Function;
\n
actions: ICtrlDataAction;
\n
singleSelect?: boolean;
\n
rowActiveMode?: 0 | 1 | 2;
\n
selectFirstDefault?: boolean;
\n
\n
}
\n\n
const props = withDefaults(defineProps<Props>(), {
\n
singleSelect: false,
\n
rowActiveMode: 2
\n
\n
});
\n
const emit = defineEmits<{
\n
(event: 'ctrl-action', name: string, action: ListActionType, data: IParam[]): void;
\n
(event: 'ctrl-init', name: string, data: IListAbility): void;
\n
(event: 'ctrl-destroy', name: string, data: IParam): void;
\n
}>();
\n\n
const evt = useEventBind<ListActionType, IListAbility>(emit);
\n
// 部件样式名
\n
const classNames = computed(() => {
\n
const names = getCtrlClassNames(model, props);
\n
Object.assign(names,{
\n
\"
list-even-yellow-bg
\"
:true
\n
})
\n
return names;
\n
});
\n\n
const controlID = createUUID();
\n
const params: IListControllerParams<ListActionType, IListAbility> = {
\n
name: props.name,
\n
model,
\n
evt,
\n
controlID,
\n
pLoadingHelper: props.pLoadingHelper,
\n
rowActiveMode: props.rowActiveMode,
\n
actions: props.actions,
\n
singleSelect: props.singleSelect,
\n
selectFirstDefault: props.selectFirstDefault,
\n
ctrlService: new ListService<ListControlVO>(ListControlVO, model.entityCodeName),
\n
openView: props.openView,
\n
newView: props.newView,
\n
closeView: props.closeView,
\n
pViewCtx: props.pViewCtx,
\n
handler: (data: IListStore) => { return reactive(data) }
\n
};
\n\n
const controller: IListController<IListStore, IListAbility> = new ListController(params);
\n\n
useNavParamsBind(controller, props);
\n\n
const store: IListStore = controller.getStore();
\n\n
onMounted(() => {
\n
controller.ctrlMounted();
\n
})
\n\n
onUnmounted(() => {
\n
controller.ctrlDestroy();
\n
})
\n\n
const handleItemClick = (row: IParam, event: MouseEvent) => {
\n
controller.handleItemClick(row, event);
\n
}
\n\n
const handleItemDbClick = (row: IParam, event: MouseEvent) => {
\n
controller.handleItemDbClick(row, event);
\n
}
\n\n
const handleSelectionChange = (selections: IParam[]) => {
\n
controller.handleSelectionChange(selections);
\n
}
\n\n
const handleLoadMore = () => {
\n
controller.loadMore();
\n
}"
,
"templCode3"
:
".list-even-yellow-bg .ant-list-item:nth-child(even) {
\n
background-color: yellow;
\n
}"
},
{
"name"
:
"列表视图斑马纹"
,
"getPSSysPFPlugin"
:
{
"pluginType"
:
"VIEW_CUSTOM"
,
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
ef015906
...
...
@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-136
0
-7"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-136
4
-7"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录