Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
d79e4389
提交
d79e4389
编写于
12月 07, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
10423c67
变更
9
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
107 行增加
和
124 行删除
+107
-124
guide-borrow-form-form-base.vue
...ok/guide-borrow-form-form/guide-borrow-form-form-base.vue
+5
-5
usr2-dataview-base.vue
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
+26
-56
usr2-dataview-model.ts
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
+12
-1
Usr.json
...SSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
+18
-18
TreeTable.json
.../PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
+12
-12
IBIZBOOKGanttView.json
...temodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
+18
-18
IBIZBOOKTreeGridExView.json
...el/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
+12
-12
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+2
-1
PSSYSAPP.simple.json
...ces/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.simple.json
+2
-1
未找到文件。
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-base.vue
浏览文件 @
d79e4389
...
@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loadAction
){
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
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
)
{
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
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
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
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
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
;
return
;
}
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
...
@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
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
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
d79e4389
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
浏览文件 @
d79e4389
...
@@ -11,7 +11,7 @@ export default class Usr2Model {
...
@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合
* 获取数据项集合
*
*
* @returns {any[]}
* @returns {any[]}
* @memberof Usr2Data
viewexpbar_datav
iewMode
* @memberof Usr2Data
V
iewMode
*/
*/
public
getDataItems
():
any
[]
{
public
getDataItems
():
any
[]
{
return
[
return
[
...
@@ -40,6 +40,17 @@ export default class Usr2Model {
...
@@ -40,6 +40,17 @@ export default class Usr2Model {
dataType
:
'FONTKEY'
,
dataType
:
'FONTKEY'
,
},
},
{
name
:
'n_ibizbookname_like'
,
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
{
name
:
'size'
,
name
:
'size'
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
浏览文件 @
d79e4389
...
@@ -12,13 +12,13 @@
...
@@ -12,13 +12,13 @@
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
},
"getPSDETreeColumns"
:
[
{
"getPSDETreeColumns"
:
[
{
"caption"
:
"
作者
"
,
"caption"
:
"
借出日期
"
,
"codeName"
:
"
author
"
,
"codeName"
:
"
lendouttime
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
author
"
,
"dataItemName"
:
"
lendouttime
"
,
"mOSFilePath"
:
"psdetreecols/
author
"
,
"mOSFilePath"
:
"psdetreecols/
lendouttime
"
,
"name"
:
"
author
"
,
"name"
:
"
lendouttime
"
,
"rTMOSFilePath"
:
"psdetreecols/
author
"
,
"rTMOSFilePath"
:
"psdetreecols/
lendouttime
"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
...
@@ -48,25 +48,25 @@
...
@@ -48,25 +48,25 @@
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
},
{
"caption"
:
"
出版社
"
,
"caption"
:
"
作者
"
,
"codeName"
:
"
press
"
,
"codeName"
:
"
author
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
press
"
,
"dataItemName"
:
"
author
"
,
"mOSFilePath"
:
"psdetreecols/
press
"
,
"mOSFilePath"
:
"psdetreecols/
author
"
,
"name"
:
"
press
"
,
"name"
:
"
author
"
,
"rTMOSFilePath"
:
"psdetreecols/
press
"
,
"rTMOSFilePath"
:
"psdetreecols/
author
"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
},
{
"caption"
:
"
借出日期
"
,
"caption"
:
"
出版社
"
,
"codeName"
:
"
lendouttime
"
,
"codeName"
:
"
press
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
lendouttime
"
,
"dataItemName"
:
"
press
"
,
"mOSFilePath"
:
"psdetreecols/
lendouttime
"
,
"mOSFilePath"
:
"psdetreecols/
press
"
,
"name"
:
"
lendouttime
"
,
"name"
:
"
press
"
,
"rTMOSFilePath"
:
"psdetreecols/
lendouttime
"
,
"rTMOSFilePath"
:
"psdetreecols/
press
"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
浏览文件 @
d79e4389
...
@@ -31,18 +31,6 @@
...
@@ -31,18 +31,6 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
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"
:
"作者"
,
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"codeName"
:
"author"
,
...
@@ -55,6 +43,18 @@
...
@@ -55,6 +43,18 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
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
}
],
}
],
"getPSDETreeNodeRSs"
:
[
{
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
浏览文件 @
d79e4389
...
@@ -42,13 +42,13 @@
...
@@ -42,13 +42,13 @@
"id"
:
"GANTT"
"id"
:
"GANTT"
},
},
"getPSDETreeColumns"
:
[
{
"getPSDETreeColumns"
:
[
{
"caption"
:
"
作者
"
,
"caption"
:
"
借出日期
"
,
"codeName"
:
"
author
"
,
"codeName"
:
"
lendouttime
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
author
"
,
"dataItemName"
:
"
lendouttime
"
,
"mOSFilePath"
:
"psdetreecols/
author
"
,
"mOSFilePath"
:
"psdetreecols/
lendouttime
"
,
"name"
:
"
author
"
,
"name"
:
"
lendouttime
"
,
"rTMOSFilePath"
:
"psdetreecols/
author
"
,
"rTMOSFilePath"
:
"psdetreecols/
lendouttime
"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
...
@@ -78,25 +78,25 @@
...
@@ -78,25 +78,25 @@
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
},
{
"caption"
:
"
出版社
"
,
"caption"
:
"
作者
"
,
"codeName"
:
"
press
"
,
"codeName"
:
"
author
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
press
"
,
"dataItemName"
:
"
author
"
,
"mOSFilePath"
:
"psdetreecols/
press
"
,
"mOSFilePath"
:
"psdetreecols/
author
"
,
"name"
:
"
press
"
,
"name"
:
"
author
"
,
"rTMOSFilePath"
:
"psdetreecols/
press
"
,
"rTMOSFilePath"
:
"psdetreecols/
author
"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
false
"enableSort"
:
false
},
{
},
{
"caption"
:
"
借出日期
"
,
"caption"
:
"
出版社
"
,
"codeName"
:
"
lendouttime
"
,
"codeName"
:
"
press
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
lendouttime
"
,
"dataItemName"
:
"
press
"
,
"mOSFilePath"
:
"psdetreecols/
lendouttime
"
,
"mOSFilePath"
:
"psdetreecols/
press
"
,
"name"
:
"
lendouttime
"
,
"name"
:
"
press
"
,
"rTMOSFilePath"
:
"psdetreecols/
lendouttime
"
,
"rTMOSFilePath"
:
"psdetreecols/
press
"
,
"width"
:
200
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
浏览文件 @
d79e4389
...
@@ -99,18 +99,6 @@
...
@@ -99,18 +99,6 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
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"
:
"作者"
,
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"codeName"
:
"author"
,
...
@@ -123,6 +111,18 @@
...
@@ -123,6 +111,18 @@
"widthUnit"
:
"px"
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableExpand"
:
false
,
"enableSort"
:
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
}
],
}
],
"getPSDETreeNodeRSs"
:
[
{
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
d79e4389
...
@@ -5630,7 +5630,8 @@
...
@@ -5630,7 +5630,8 @@
"pluginType" : "VIEW_CUSTOM",
"pluginType" : "VIEW_CUSTOM",
"refMode" : "APPVIEW",
"refMode" : "APPVIEW",
"refTag" : "DEGRIDVIEW",
"refTag" : "DEGRIDVIEW",
"templCode" : "<div>表格视图底部工具栏</div>"
"templCode" : "<AppViewLayout :class=\"classNames\">\r\n <template #viewHeaderLeft>\r\n <div v-if=\"controller.model.showCaption && !noViewCaption\" class=\"view-header__left__caption\">\r\n <AppCaptionBar :caption=\"controller.model.caption\" :title=\"controller.model.title\" :capPSLanguageRes=\"controller.model.capPSLanguageRes\" :titlePSLanguageRes=\"controller.model.titlePSLanguageRes\"></AppCaptionBar>\r\n </div>\r\n </template>\r\n <template #viewHeaderRight>\r\n <div class=\"view-header__right__quicksearch\" v-show=\"!controller.store.expandSearchForm\">\r\n <AppQuickSearch @search=\"(searchValue:string) => handleQuickSearch(controller, searchValue)\" />\r\n </div>\r\n </template>\r\n <template #viewFooter>\r\n <div class=\"view-footer__toolbar\">\r\n <AppToolbar\r\n name=\"toolbar\"\r\n mode=\"gridViewBottomToolbar\"\r\n :items=\"controller.store.toolbarItems\"\r\n :loading=\"controller.store.loadingHelper.isLoading\"\r\n @item-click=\"(name: string, event: MouseEvent, logic: any) => { handleToolbarItemClick(controller, name, event, logic) }\">\r\n </AppToolbar>\r\n </div>\r\n </template>\r\n <template #viewContentTop>\r\n </template>\r\n <template #default>\r\n <MainGrid\r\n :actions=\"{\r\n loadDraftAction: 'GetDraft',\r\n createAction: 'Create',\r\n fetchAction: 'FetchDefault',\r\n removeAction: 'Remove',\r\n updateAction: 'Update'\r\n }\"\r\n :defaultEnableRowEdit=\"controller.model.enableRowEdit\"\r\n :openView=\"controller.store.openView\"\r\n :newView=\"controller.store.newView\"\r\n :rowActiveMode='controller.model.rowActiveMode'\r\n name=\"grid\"\r\n :context=\"controller.store.context\"\r\n :viewParams=\"controller.store.viewParams\"\r\n :closeView=\"controller.store.closeView\"\r\n :pLoadingHelper=\"controller.store.loadingHelper\"\r\n :pViewCtx=\"controller.store.viewCtx\"\r\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\r\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\r\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"></MainGrid>\r\n </template>\r\n </AppViewLayout>",
"templCode2" : "import { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport { AppToolbar } from '@components/widgets/toolbar';\r\nimport MainGrid from '@widgets/ibizbook/main-grid/main-grid.vue';\r\nimport QUICKSEARCHFORMSearchForm from '@widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform.vue';\r\nimport {\r\n\tuseNavParamsBind,\r\n\tuseEventBind,\r\n\tgetViewClassNames,\r\n \thandleQuickSearch,\r\n \thandleToolbarItemClick,\r\n\thandleCtrlAction,\r\n\thandleCtrlInit,\r\n\thandleCtrlDestroy,\r\n} from \"@/hooks/use-view\";\r\nimport { GridViewActionType, GridViewController, IGridViewAbility, IGridViewController, IGridViewControllerParams, IGridViewStore, IParam, IContext, ILoadingHelper, LoadingHelper, IEvent } from \"@/core\";\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: IGridViewController<IGridViewStore, IGridViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});"
}, {
}, {
"name" : "表格(透视表)",
"name" : "表格(透视表)",
"getPSSysPFPlugin" : {
"getPSSysPFPlugin" : {
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.simple.json
浏览文件 @
d79e4389
...
@@ -289,7 +289,8 @@
...
@@ -289,7 +289,8 @@
"pluginType"
:
"VIEW_CUSTOM"
,
"pluginType"
:
"VIEW_CUSTOM"
,
"refMode"
:
"APPVIEW"
,
"refMode"
:
"APPVIEW"
,
"refTag"
:
"DEGRIDVIEW"
,
"refTag"
:
"DEGRIDVIEW"
,
"templCode"
:
"<div>表格视图底部工具栏</div>"
"templCode"
:
"<AppViewLayout :class=
\"
classNames
\"
>
\r\n
<template #viewHeaderLeft>
\r\n
<div v-if=
\"
controller.model.showCaption && !noViewCaption
\"
class=
\"
view-header__left__caption
\"
>
\r\n
<AppCaptionBar :caption=
\"
controller.model.caption
\"
:title=
\"
controller.model.title
\"
:capPSLanguageRes=
\"
controller.model.capPSLanguageRes
\"
:titlePSLanguageRes=
\"
controller.model.titlePSLanguageRes
\"
></AppCaptionBar>
\r\n
</div>
\r\n
</template>
\r\n
<template #viewHeaderRight>
\r\n
<div class=
\"
view-header__right__quicksearch
\"
v-show=
\"
!controller.store.expandSearchForm
\"
>
\r\n
<AppQuickSearch @search=
\"
(searchValue:string) => handleQuickSearch(controller, searchValue)
\"
/>
\r\n
</div>
\r\n
</template>
\r\n
<template #viewFooter>
\r\n
<div class=
\"
view-footer__toolbar
\"
>
\r\n
<AppToolbar
\r\n
name=
\"
toolbar
\"\r\n
mode=
\"
gridViewBottomToolbar
\"\r\n
:items=
\"
controller.store.toolbarItems
\"\r\n
:loading=
\"
controller.store.loadingHelper.isLoading
\"\r\n
@item-click=
\"
(name: string, event: MouseEvent, logic: any) => { handleToolbarItemClick(controller, name, event, logic) }
\"
>
\r\n
</AppToolbar>
\r\n
</div>
\r\n
</template>
\r\n
<template #viewContentTop>
\r\n
</template>
\r\n
<template #default>
\r\n
<MainGrid
\r\n
:actions=
\"
{
\r\n
loadDraftAction: 'GetDraft',
\r\n
createAction: 'Create',
\r\n
fetchAction: 'FetchDefault',
\r\n
removeAction: 'Remove',
\r\n
updateAction: 'Update'
\r\n
}
\"\r\n
:defaultEnableRowEdit=
\"
controller.model.enableRowEdit
\"\r\n
:openView=
\"
controller.store.openView
\"\r\n
:newView=
\"
controller.store.newView
\"\r\n
:rowActiveMode='controller.model.rowActiveMode'
\r\n
name=
\"
grid
\"\r\n
:context=
\"
controller.store.context
\"\r\n
:viewParams=
\"
controller.store.viewParams
\"\r\n
:closeView=
\"
controller.store.closeView
\"\r\n
:pLoadingHelper=
\"
controller.store.loadingHelper
\"\r\n
:pViewCtx=
\"
controller.store.viewCtx
\"\r\n
@ctrl-init=
\"
(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }
\"\r\n
@ctrl-action=
\"
(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }
\"\r\n
@ctrl-destroy=
\"
(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }
\"
></MainGrid>
\r\n
</template>
\r\n
</AppViewLayout>"
,
"templCode2"
:
"import { AppViewLayout } from
\"
@components/layout/view-layout
\"
;
\r\n
import { AppToolbar } from '@components/widgets/toolbar';
\r\n
import MainGrid from '@widgets/ibizbook/main-grid/main-grid.vue';
\r\n
import QUICKSEARCHFORMSearchForm from '@widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform.vue';
\r\n
import {
\r\n\t
useNavParamsBind,
\r\n\t
useEventBind,
\r\n\t
getViewClassNames,
\r\n
\t
handleQuickSearch,
\r\n
\t
handleToolbarItemClick,
\r\n\t
handleCtrlAction,
\r\n\t
handleCtrlInit,
\r\n\t
handleCtrlDestroy,
\r\n
} from
\"
@/hooks/use-view
\"
;
\r\n
import { GridViewActionType, GridViewController, IGridViewAbility, IGridViewController, IGridViewControllerParams, IGridViewStore, IParam, IContext, ILoadingHelper, LoadingHelper, IEvent } from
\"
@/core
\"
;
\r\n
interface Props {
\r\n
name?: string,
\r\n
noViewCaption?: boolean,
\r\n
openType?: 'ROUTE' | 'EMBED' | 'MODAL',
\r\n
context?: IContext,
\r\n
viewParams?: IParam,
\r\n
pLoadingHelper?: ILoadingHelper,
\r\n
isLoadDefault?: boolean,
\r\n
controller: IGridViewController<IGridViewStore, IGridViewAbility>
\r\n
}
\r\n\r\n
const props = withDefaults(defineProps<Props>(), {
\r\n
noViewCaption: false,
\r\n
openType: 'ROUTE',
\r\n
isLoadDefault: true,
\r\n
});"
},
{
},
{
"name"
:
"表格(透视表)"
,
"name"
:
"表格(透视表)"
,
"getPSSysPFPlugin"
:
{
"getPSSysPFPlugin"
:
{
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录