Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
24e04b47
提交
24e04b47
编写于
12月 20, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
804afaaf
变更
16
隐藏空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
106 行增加
和
131 行删除
+106
-131
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
guide-borrow-form-form-base.vue
...ok/guide-borrow-form-form/guide-borrow-form-form-base.vue
+5
-5
guide-return-form-form-base.vue
...ok/guide-return-form-form/guide-return-form-form-base.vue
+5
-5
guide-view-form-form-base.vue
...izbook/guide-view-form-form/guide-view-form-form-base.vue
+5
-5
main-multieditviewpanel-base.vue
.../main-multieditviewpanel/main-multieditviewpanel-base.vue
+2
-2
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
+5
-0
add-data-form-form-base.vue
...izcustomer/add-data-form-form/add-data-form-form-base.vue
+5
-5
Usr.json
...SSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
+24
-24
TreeTable.json
.../PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
+12
-12
IBIZBOOKGanttView.json
...temodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
+24
-24
IBIZBOOKTreeGridExView.json
...el/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
+12
-12
IBIZBOOKUsr7ListView_listPlugin.json
...PPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr7ListView_listPlugin.json
+0
-4
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+0
-13
PSSYSAPP.simple.json
...ces/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.simple.json
+0
-13
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
未找到文件。
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
24e04b47
...
...
@@ -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
Usr9GridView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CustomView_layout
'
+
(
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
Usr9GridView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CustomView_layout
'
+
(
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
浏览文件 @
24e04b47
...
...
@@ -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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
24e04b47
...
...
@@ -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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
24e04b47
...
...
@@ -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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
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
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/main-multieditviewpanel/main-multieditviewpanel-base.vue
浏览文件 @
24e04b47
...
...
@@ -542,7 +542,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
load
(
data
:
any
)
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2MEditView9_layout
'
+
(
this
.
$t
(
'app.multiEditView.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
MEditView9
'
+
(
this
.
$t
(
'app.multiEditView.notConfig.fetchAction'
)
as
string
)
});
return
;
}
let
arg
:
any
=
{};
...
...
@@ -593,7 +593,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
handleAdd
(){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2MEditView9_layout
'
+
(
this
.
$t
(
'app.multiEditView.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
MEditView9
'
+
(
this
.
$t
(
'app.multiEditView.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
promice
:
Promise
<
any
>
=
this
.
service
.
loadDraft
(
this
.
loaddraftAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),{
viewparams
:
this
.
viewparams
},
this
.
showBusyIndicator
);
...
...
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
浏览文件 @
24e04b47
...
...
@@ -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
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
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
TestCL
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
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
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
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
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
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
浏览文件 @
24e04b47
...
...
@@ -70,6 +70,11 @@ export default class Usr4Model {
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
...
...
app_Web/src/widgets/ibizcustomer/add-data-form-form/add-data-form-form-base.vue
浏览文件 @
24e04b47
...
...
@@ -1314,7 +1314,7 @@ export default class AddDataFormBase 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
:
'IBIZCustomer
Usr3
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
MediaTest
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1366,7 +1366,7 @@ export default class AddDataFormBase 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
:
'IBIZCustomer
Usr3
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
MediaTest
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1436,7 +1436,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
Usr3
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
MediaTest
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1544,7 +1544,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
Usr3
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
MediaTest
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -1742,7 +1742,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
Usr3
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZCustomer
MediaTest
EditView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
浏览文件 @
24e04b47
...
...
@@ -12,6 +12,30 @@
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns"
:
[
{
"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"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"归还日期"
,
"codeName"
:
"returntime"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -35,18 +59,6 @@
"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"
:
"lendouttime"
,
...
...
@@ -59,18 +71,6 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
浏览文件 @
24e04b47
...
...
@@ -20,6 +20,18 @@
}
}
],
"getPSDETreeColumns"
:
[
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"subtext"
,
"mOSFilePath"
:
"psdetreecols/subtext"
,
"name"
:
"subtext"
,
"rTMOSFilePath"
:
"psdetreecols/subtext"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -43,18 +55,6 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"subtext"
,
"mOSFilePath"
:
"psdetreecols/subtext"
,
"name"
:
"subtext"
,
"rTMOSFilePath"
:
"psdetreecols/subtext"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
浏览文件 @
24e04b47
...
...
@@ -42,6 +42,30 @@
"id"
:
"GANTT"
},
"getPSDETreeColumns"
:
[
{
"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"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"归还日期"
,
"codeName"
:
"returntime"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -65,18 +89,6 @@
"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"
:
"lendouttime"
,
...
...
@@ -89,18 +101,6 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"mOSFilePath"
:
"psdetreecols/ibizbookname"
,
"name"
:
"ibizbookname"
,
"rTMOSFilePath"
:
"psdetreecols/ibizbookname"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
浏览文件 @
24e04b47
...
...
@@ -88,6 +88,18 @@
"id"
:
"TREEGRIDEX"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"subtext"
,
"mOSFilePath"
:
"psdetreecols/subtext"
,
"name"
:
"subtext"
,
"rTMOSFilePath"
:
"psdetreecols/subtext"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -111,18 +123,6 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书描述"
,
"codeName"
:
"subtext"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"subtext"
,
"mOSFilePath"
:
"psdetreecols/subtext"
,
"name"
:
"subtext"
,
"rTMOSFilePath"
:
"psdetreecols/subtext"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr7ListView_listPlugin.json
浏览文件 @
24e04b47
...
...
@@ -426,10 +426,6 @@
"dataType"
:
25
,
"name"
:
"srfmstag"
}
],
"getPSSysPFPlugin"
:
{
"pluginType"
:
"LIST_RENDER"
,
"pluginCode"
:
"listEvenYellowPlugin"
},
"pagingSize"
:
1000
,
"rTMOSFilePath"
:
"pssysapps/Web/psappdeviews/IBIZBOOKUsr7ListView_listPlugin/psappviewctrls/list"
,
"getRemovePSControlAction"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
24e04b47
...
...
@@ -5556,19 +5556,6 @@
"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",
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.simple.json
浏览文件 @
24e04b47
...
...
@@ -2,19 +2,6 @@
"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
浏览文件 @
24e04b47
...
...
@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-136
6
-7"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-136
8
-7"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录