Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
68e7a391
提交
68e7a391
编写于
11月 11, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
4a3540d4
变更
11
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
906 行增加
和
17 行删除
+906
-17
default-searchform-base.vue
...zappeditor/default-searchform/default-searchform-base.vue
+2
-2
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
test-list-panel-base.vue
...widgets/ibizbook/test-list-panel/test-list-panel-base.vue
+89
-1
test-list-panel-model.ts
...widgets/ibizbook/test-list-panel/test-list-panel-model.ts
+16
-0
list-exp-list-base.vue
...rc/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
+4
-4
main-grid-base.vue
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
+21
-7
main-grid-model.ts
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
+15
-0
TestList.json
...APPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/TestList.json
+252
-0
TestList.json
...PPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json
+252
-0
IBIZBOOKUsr6ListView.json
...odel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr6ListView.json
+252
-0
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
未找到文件。
app_Web/src/widgets/ibizappeditor/default-searchform/default-searchform-base.vue
浏览文件 @
68e7a391
...
...
@@ -638,7 +638,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
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -674,7 +674,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
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
68e7a391
...
...
@@ -711,7 +711,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
2Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -747,7 +747,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
2Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/test-list-panel/test-list-panel-base.vue
浏览文件 @
68e7a391
<
template
>
<div
class=
"app-layoutpanel TestList"
v-loading=
"isLayoutLoadding"
:style=
"
{width: '100%', height: '100%', overflow: 'auto'}">
<div
v-show=
"!isLayoutLoadding"
:style=
"
{height: '100%', width: '100%'}">
<app-standard-container
name=
"container1"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
static_label1
>
<app-preset-text
name=
"static_label1"
:layoutModelDetails=
"layoutModelDetails"
/>
</
template
>
<
template
#
container2
>
<app-standard-container
name=
"container2"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
button_calluilogic1
>
<app-preset-button
name=
"button_calluilogic1"
:layoutModelDetails=
"layoutModelDetails"
@
itemClick=
"handleButtonClick"
/>
</
template
>
<
template
#
field_textbox
>
<app-panel-field
name=
"field_textbox"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox"
>
<input-box
type=
"text"
name=
"field_textbox"
:itemValue=
"layoutData.field_textbox"
:disabled=
"layoutModelDetails.field_textbox ? layoutModelDetails.field_textbox.disabled : false"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox', value })">
</input-box>
</app-panel-field>
</
template
>
</app-standard-container>
</template>
<
template
#
static_label2
>
<app-preset-text
name=
"static_label2"
:layoutModelDetails=
"layoutModelDetails"
/>
</
template
>
<
template
#
field_textbox1
>
<app-panel-field
name=
"field_textbox1"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox1"
>
<input-box
type=
"text"
name=
"field_textbox1"
:itemValue=
"layoutData.field_textbox1"
:disabled=
"layoutModelDetails.field_textbox1 ? layoutModelDetails.field_textbox1.disabled : false"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox1', value })">
</input-box>
</app-panel-field>
</
template
>
<
template
#
field_textbox2
>
<app-panel-field
name=
"field_textbox2"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox2"
>
<input-box
type=
"text"
name=
"field_textbox2"
:itemValue=
"layoutData.field_textbox2"
:disabled=
"layoutModelDetails.field_textbox2 ? layoutModelDetails.field_textbox2.disabled : false"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox2', value })">
</input-box>
</app-panel-field>
</
template
>
<
template
#
field_textbox3
>
<app-panel-field
name=
"field_textbox3"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox3"
>
<input-box
type=
"text"
name=
"field_textbox3"
:itemValue=
"layoutData.field_textbox3"
:disabled=
"layoutModelDetails.field_textbox3 ? layoutModelDetails.field_textbox3.disabled : false"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox3', value })">
</input-box>
</app-panel-field>
</
template
>
</app-standard-container>
</div>
</div>
...
...
@@ -282,7 +309,7 @@ export default class TestListBase extends Vue implements ControlInterface {
* @public
* @memberof List_itempanelBase
*/
public
rootLayoutDetailNames
:
string
[]
=
[
];
public
rootLayoutDetailNames
:
string
[]
=
[
'container1'
];
/**
* 视图布局面板项模型对象
...
...
@@ -291,6 +318,15 @@ export default class TestListBase extends Vue implements ControlInterface {
* @memberof List_itempanelBase
*/
public
layoutItems
:
any
=
{
static_label1
:{
name
:
'static_label1'
,
type
:
'ITEMLAYOUT'
,
caption
:
'标签'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'RAWITEM'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container1'
,
panel
:
this
,
viewType
:
'DELISTVIEW'
,
predefinedType
:
'STATIC_LABEL'
,
contentType
:
'RAW'
,
contentStyle
:
''
,
rawContent
:
'按钮权限测试:武侠时禁用打开文本按钮'
,
htmlContent
:
''
,
renderMode
:
'PARAGRAPH'
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
button_calluilogic1
:{
name
:
'button_calluilogic1'
,
type
:
'ITEMLAYOUT'
,
caption
:
'按钮'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'BUTTON'
,
itemStyle
:
'INFO'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
100
,
widthMode
:
'PX'
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container2'
,
panel
:
this
,
xDataControlName
:
'list'
,
buttonStyle
:
'INFO'
,
borderStyle
:
''
,
iconAlign
:
''
,
uiAction
:
{
actiontarget
:
'SINGLEKEY'
,
noprivdisplaymode
:
1
,
dataaccaction
:
'OPEN_DOCUMENT'
,
visabled
:
true
,
disabled
:
false
},
renderMode
:
''
,
},
field_textbox
:{
name
:
'field_textbox'
,
type
:
'ITEMLAYOUT'
,
caption
:
'文本框'
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'FIELD'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container2'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'FIELD_TEXTBOX'
,
dataItemName
:
'type'
,
},
container2
:{
name
:
'container2'
,
type
:
'ITEMLAYOUT'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
'row'
,
vAlign
:
''
},
parentName
:
'container1'
,
panel
:
this
,
details
:[
'button_calluilogic1'
,
'field_textbox'
]
,
dataRegionType
:
'INHERIT'
},
static_label2
:{
name
:
'static_label2'
,
type
:
'ITEMLAYOUT'
,
caption
:
'标签'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'RAWITEM'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container1'
,
panel
:
this
,
viewType
:
'DELISTVIEW'
,
predefinedType
:
'STATIC_LABEL'
,
contentType
:
'RAW'
,
contentStyle
:
''
,
rawContent
:
'动态逻辑'
,
htmlContent
:
''
,
renderMode
:
'PARAGRAPH'
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
field_textbox1
:{
name
:
'field_textbox1'
,
type
:
'ITEMLAYOUT'
,
caption
:
'文本框'
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'FIELD'
,
itemStyle
:
'DEFAULT'
,
visible
:
false
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container1'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'FIELD_TEXTBOX'
,
dataItemName
:
''
,
},
field_textbox2
:{
name
:
'field_textbox2'
,
type
:
'ITEMLAYOUT'
,
caption
:
'文本框'
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'FIELD'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container1'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'FIELD_TEXTBOX'
,
dataItemName
:
''
,
},
field_textbox3
:{
name
:
'field_textbox3'
,
type
:
'ITEMLAYOUT'
,
caption
:
'文本框'
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'FIELD'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container1'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'FIELD_TEXTBOX'
,
dataItemName
:
''
,
},
container1
:{
name
:
'container1'
,
type
:
'ITEMLAYOUT'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[
'static_label1'
,
'container2'
,
'static_label2'
,
'field_textbox1'
,
'field_textbox2'
,
'field_textbox3'
]
,
dataRegionType
:
'INHERIT'
}
}
/**
...
...
@@ -543,6 +579,51 @@ export default class TestListBase extends Vue implements ControlInterface {
* @memberof TestListBase
*/
public
panelLogic
(
name
:
string
,
index
?:
number
):
void
{
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'field_textbox3'
))
{
let
ret
=
true
;
let
_field_textbox3
=
this
.
layoutData
[
'field_textbox3'
];
if
(
index
||
index
===
0
)
{
_field_textbox3
=
this
.
layoutData
[
`field_textbox3_
${
index
}
`
];
}
if
(
this
.
$verify
.
testCond
(
_field_textbox3
,
"EQ"
,
"3"
))
{
ret
=
false
;
}
if
(
index
||
index
===
0
)
{
this
.
layoutModelDetails
[
`field_textbox1_
${
index
}
`
].
required
=
ret
;
}
else
{
this
.
layoutModelDetails
[
'field_textbox1'
].
required
=
ret
;
}
}
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'field_textbox3'
))
{
let
ret
=
false
;
let
_field_textbox3
=
this
.
layoutData
[
'field_textbox3'
];
if
(
index
||
index
===
0
)
{
_field_textbox3
=
this
.
layoutData
[
`field_textbox3_
${
index
}
`
];
}
if
(
this
.
$verify
.
testCond
(
_field_textbox3
,
"EQ"
,
"2"
))
{
ret
=
true
;
}
if
(
index
||
index
===
0
)
{
this
.
layoutModelDetails
[
`field_textbox1_
${
index
}
`
].
disabled
=
!
ret
;
}
else
{
this
.
layoutModelDetails
[
'field_textbox1'
].
disabled
=
!
ret
;
}
}
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'field_textbox2'
))
{
let
ret
=
false
;
let
_field_textbox2
=
this
.
layoutData
[
'field_textbox2'
];
if
(
index
||
index
===
0
)
{
_field_textbox2
=
this
.
layoutData
[
`field_textbox2_
${
index
}
`
];
}
if
(
this
.
$verify
.
testCond
(
_field_textbox2
,
"EQ"
,
"1"
))
{
ret
=
true
;
}
if
(
index
||
index
===
0
)
{
this
.
layoutModelDetails
[
`field_textbox1_
${
index
}
`
].
visible
=
ret
;
}
else
{
this
.
layoutModelDetails
[
'field_textbox1'
].
visible
=
ret
;
}
}
}
/**
...
...
@@ -565,6 +646,13 @@ export default class TestListBase extends Vue implements ControlInterface {
const
paramJO
:
any
=
{};
const
contextJO
:
any
=
{};
const
_this
:
any
=
this
;
if
(
Object
.
is
(
name
,
'button_calluilogic1'
))
{
window
.
uiServiceRegister
.
getService
(
'ibizbook'
).
then
((
UIService
:
any
)
=>
{
if
(
UIService
&&
UIService
[
`IBIZBOOK_openDocument`
]
&&
UIService
[
`IBIZBOOK_openDocument`
]
instanceof
Function
)
{
UIService
[
`IBIZBOOK_openDocument`
](
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
})
}
}
...
...
app_Web/src/widgets/ibizbook/test-list-panel/test-list-panel-model.ts
浏览文件 @
68e7a391
...
...
@@ -14,6 +14,22 @@ export default class TestListModel {
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'field_textbox'
,
prop
:
'type'
},
{
name
:
'field_textbox1'
,
prop
:
''
},
{
name
:
'field_textbox2'
,
prop
:
''
},
{
name
:
'field_textbox3'
,
prop
:
''
}
]
}
}
\ No newline at end of file
app_Web/src/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
浏览文件 @
68e7a391
...
...
@@ -600,7 +600,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -730,7 +730,7 @@ export default class ListExpBase 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
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
return
;
}
if
(
datas
.
length
===
0
)
{
...
...
@@ -835,7 +835,7 @@ export default class ListExpBase 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
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
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
);
...
...
@@ -843,7 +843,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
浏览文件 @
68e7a391
...
...
@@ -318,7 +318,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrder
Pickup
GridViewBase
* @memberof IBIZOrder
SF1
GridViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -461,6 +461,20 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
opendata
:
any
;
/**
* 是否嵌入关系界面
...
...
@@ -995,7 +1009,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
fetchAction
)
{
this
.
$Notice
.
error
({
title
:
this
.
$t
(
"app.commonWords.wrong"
)
as
string
,
desc
:
"IBIZOrder
Pickup
GridView"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
desc
:
"IBIZOrder
SF1
GridView"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
});
return
;
}
...
...
@@ -1124,7 +1138,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
removeAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
...
...
@@ -1238,7 +1252,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2169,7 +2183,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
))
{
if
(
!
this
.
createAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2178,7 +2192,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2254,7 +2268,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
浏览文件 @
68e7a391
...
...
@@ -104,6 +104,21 @@ export default class MainModel {
prop
:
'n_ibizordername_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_orderstate_eq'
,
prop
:
'n_orderstate_eq'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_gt'
,
prop
:
'n_ordertime_gt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_lt'
,
prop
:
'n_ordertime_lt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSLISTS/TestList.json
浏览文件 @
68e7a391
...
...
@@ -17,6 +17,16 @@
"groupMode"
:
"NONE"
,
"hookEventNames"
:
[
"ROWDBLCLICK"
,
"SELECTIONCHANGE"
,
"REMOVE"
,
"LOAD"
,
"BEFORELOAD"
],
"getItemPSLayoutPanel"
:
{
"getAllPSPanelFields"
:
[
{
"id"
:
"field_textbox"
,
"viewFieldName"
:
"type"
},
{
"id"
:
"field_textbox1"
},
{
"id"
:
"field_textbox2"
},
{
"id"
:
"field_textbox3"
}
],
"codeName"
:
"TestList"
,
"controlType"
:
"PANEL"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json"
,
...
...
@@ -26,11 +36,253 @@
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"list_itempanel_button_calluilogic1_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"list_itempanel_button_calluilogic1"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"list_itempanel_button_calluilogic1"
,
"getPSUIAction"
:
{
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref"
:
true
,
"id"
:
"openDocument@IBIZBOOK"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"list_itempanel"
}
],
"getPSControlParam"
:
{
},
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getRootPSPanelItems"
:
[
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container1"
,
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSPanelItems"
:
[
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label1"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSRawItem"
:
{
"caption"
:
"按钮权限测试:武侠时禁用打开文本按钮"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label1"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"按钮权限测试:武侠时禁用打开文本按钮"
,
"showCaption"
:
true
},
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container2"
,
"getPSLayout"
:
{
"dir"
:
"row"
,
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItems"
:
[
{
"actionType"
:
"UIACTION"
,
"buttonStyle"
:
"INFO"
,
"buttonWidth"
:
100.0
,
"caption"
:
"按钮"
,
"contentWidth"
:
100.0
,
"itemStyle"
:
"INFO"
,
"itemType"
:
"BUTTON"
,
"name"
:
"button_calluilogic1"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"list_itempanel_button_calluilogic1"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
,
"width"
:
100
,
"widthMode"
:
"PX"
},
"getPSUIAction"
:
{
"actionTarget"
:
"SINGLEKEY"
,
"noPrivDisplayMode"
:
1
,
"caption"
:
"打开文档"
,
"codeName"
:
"openDocument"
,
"dataAccessAction"
:
"OPEN_DOCUMENT"
,
"frontProcessType"
:
"OPENHTMLPAGE"
,
"fullCodeName"
:
"IBIZBOOK_openDocument"
,
"htmlPageUrl"
:
"https://www.yuque.com/ibiz/wuf19n"
,
"name"
:
"打开文档"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDEOPPriv"
:
{
"modelref"
:
true
,
"id"
:
"OPEN_DOCUMENT"
},
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"openDocument"
,
"uIActionType"
:
"DEUIACTION"
,
"id"
:
"openDocument@IBIZBOOK"
},
"tooltip"
:
"按钮"
,
"width"
:
100.0
,
"showCaption"
:
true
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"viewFieldName"
:
"type"
,
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label2"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSRawItem"
:
{
"caption"
:
"动态逻辑"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label2"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"动态逻辑"
,
"showCaption"
:
true
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox1"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox1"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItemGroupLogics"
:
[
{
"groupOP"
:
"AND"
,
"logicCat"
:
"PANELVISIBLE"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox1][面板显示]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox2"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"1"
}
],
"relatedItemNames"
:
[
"field_textbox2"
],
"notMode"
:
false
},
{
"groupOP"
:
"AND"
,
"logicCat"
:
"ITEMBLANK"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox1][表单项空输入]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox3"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"3"
}
],
"relatedItemNames"
:
[
"field_textbox3"
],
"notMode"
:
false
},
{
"groupOP"
:
"AND"
,
"logicCat"
:
"ITEMENABLE"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox1][表单项启用]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox3"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"2"
}
],
"relatedItemNames"
:
[
"field_textbox3"
],
"notMode"
:
false
}
],
"hidden"
:
false
,
"showCaption"
:
false
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox2"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox2"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox3"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox3"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
}
],
"name"
:
"list_itempanel"
,
"modelid"
:
"657FB036-73B2-4485-B8C6-DF54910B43E4"
,
"modeltype"
:
"PSSYSVIEWPANEL"
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json
浏览文件 @
68e7a391
{
"getAllPSPanelFields"
:
[
{
"id"
:
"field_textbox"
,
"viewFieldName"
:
"type"
},
{
"id"
:
"field_textbox1"
},
{
"id"
:
"field_textbox2"
},
{
"id"
:
"field_textbox3"
}
],
"codeName"
:
"TestList"
,
"controlType"
:
"PANEL"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json"
,
...
...
@@ -8,10 +18,252 @@
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"list_itempanel_button_calluilogic1_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"list_itempanel_button_calluilogic1"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"list_itempanel_button_calluilogic1"
,
"getPSUIAction"
:
{
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref"
:
true
,
"id"
:
"openDocument@IBIZBOOK"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"list_itempanel"
}
],
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getRootPSPanelItems"
:
[
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container1"
,
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSPanelItems"
:
[
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label1"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSRawItem"
:
{
"caption"
:
"按钮权限测试:武侠时禁用打开文本按钮"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label1"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"按钮权限测试:武侠时禁用打开文本按钮"
,
"showCaption"
:
true
},
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container2"
,
"getPSLayout"
:
{
"dir"
:
"row"
,
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItems"
:
[
{
"actionType"
:
"UIACTION"
,
"buttonStyle"
:
"INFO"
,
"buttonWidth"
:
100.0
,
"caption"
:
"按钮"
,
"contentWidth"
:
100.0
,
"itemStyle"
:
"INFO"
,
"itemType"
:
"BUTTON"
,
"name"
:
"button_calluilogic1"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"list_itempanel_button_calluilogic1"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
,
"width"
:
100
,
"widthMode"
:
"PX"
},
"getPSUIAction"
:
{
"actionTarget"
:
"SINGLEKEY"
,
"noPrivDisplayMode"
:
1
,
"caption"
:
"打开文档"
,
"codeName"
:
"openDocument"
,
"dataAccessAction"
:
"OPEN_DOCUMENT"
,
"frontProcessType"
:
"OPENHTMLPAGE"
,
"fullCodeName"
:
"IBIZBOOK_openDocument"
,
"htmlPageUrl"
:
"https://www.yuque.com/ibiz/wuf19n"
,
"name"
:
"打开文档"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDEOPPriv"
:
{
"modelref"
:
true
,
"id"
:
"OPEN_DOCUMENT"
},
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"openDocument"
,
"uIActionType"
:
"DEUIACTION"
,
"id"
:
"openDocument@IBIZBOOK"
},
"tooltip"
:
"按钮"
,
"width"
:
100.0
,
"showCaption"
:
true
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"viewFieldName"
:
"type"
,
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label2"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSRawItem"
:
{
"caption"
:
"动态逻辑"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label2"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"动态逻辑"
,
"showCaption"
:
true
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox1"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox1"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItemGroupLogics"
:
[
{
"groupOP"
:
"AND"
,
"logicCat"
:
"PANELVISIBLE"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox1][面板显示]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox2"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"1"
}
],
"relatedItemNames"
:
[
"field_textbox2"
],
"notMode"
:
false
},
{
"groupOP"
:
"AND"
,
"logicCat"
:
"ITEMBLANK"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox1][表单项空输入]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox3"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"3"
}
],
"relatedItemNames"
:
[
"field_textbox3"
],
"notMode"
:
false
},
{
"groupOP"
:
"AND"
,
"logicCat"
:
"ITEMENABLE"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox1][表单项启用]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox3"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"2"
}
],
"relatedItemNames"
:
[
"field_textbox3"
],
"notMode"
:
false
}
],
"hidden"
:
false
,
"showCaption"
:
false
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox2"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox2"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox3"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox3"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
}
],
"modelid"
:
"657FB036-73B2-4485-B8C6-DF54910B43E4"
,
"modeltype"
:
"PSSYSVIEWPANEL"
}
\ No newline at end of file
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr6ListView.json
浏览文件 @
68e7a391
...
...
@@ -124,6 +124,16 @@
"groupMode"
:
"NONE"
,
"hookEventNames"
:
[
"ROWDBLCLICK"
,
"SELECTIONCHANGE"
,
"REMOVE"
,
"LOAD"
,
"BEFORELOAD"
],
"getItemPSLayoutPanel"
:
{
"getAllPSPanelFields"
:
[
{
"id"
:
"field_textbox"
,
"viewFieldName"
:
"type"
},
{
"id"
:
"field_textbox1"
},
{
"id"
:
"field_textbox2"
},
{
"id"
:
"field_textbox3"
}
],
"codeName"
:
"TestList"
,
"controlType"
:
"PANEL"
,
"dynaModelFilePath"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json"
,
...
...
@@ -133,11 +143,253 @@
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppViewLogics"
:
[
{
"logicTrigger"
:
"CUSTOM"
,
"logicType"
:
"APPVIEWUIACTION"
,
"name"
:
"list_itempanel_button_calluilogic1_click"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"list_itempanel_button_calluilogic1"
}
}
],
"getPSAppViewUIActions"
:
[
{
"name"
:
"list_itempanel_button_calluilogic1"
,
"getPSUIAction"
:
{
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref"
:
true
,
"id"
:
"openDocument@IBIZBOOK"
},
"uIActionTarget"
:
"SINGLEKEY"
,
"xDataControlName"
:
"list_itempanel"
}
],
"getPSControlParam"
:
{
},
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getRootPSPanelItems"
:
[
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container1"
,
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSPanelItems"
:
[
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label1"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSRawItem"
:
{
"caption"
:
"按钮权限测试:武侠时禁用打开文本按钮"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label1"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"按钮权限测试:武侠时禁用打开文本按钮"
,
"showCaption"
:
true
},
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container2"
,
"getPSLayout"
:
{
"dir"
:
"row"
,
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItems"
:
[
{
"actionType"
:
"UIACTION"
,
"buttonStyle"
:
"INFO"
,
"buttonWidth"
:
100.0
,
"caption"
:
"按钮"
,
"contentWidth"
:
100.0
,
"itemStyle"
:
"INFO"
,
"itemType"
:
"BUTTON"
,
"name"
:
"button_calluilogic1"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"list_itempanel_button_calluilogic1"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
,
"width"
:
100
,
"widthMode"
:
"PX"
},
"getPSUIAction"
:
{
"actionTarget"
:
"SINGLEKEY"
,
"noPrivDisplayMode"
:
1
,
"caption"
:
"打开文档"
,
"codeName"
:
"openDocument"
,
"dataAccessAction"
:
"OPEN_DOCUMENT"
,
"frontProcessType"
:
"OPENHTMLPAGE"
,
"fullCodeName"
:
"IBIZBOOK_openDocument"
,
"htmlPageUrl"
:
"https://www.yuque.com/ibiz/wuf19n"
,
"name"
:
"打开文档"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDEOPPriv"
:
{
"modelref"
:
true
,
"id"
:
"OPEN_DOCUMENT"
},
"timeout"
:
60000
,
"uIActionMode"
:
"FRONT"
,
"uIActionTag"
:
"openDocument"
,
"uIActionType"
:
"DEUIACTION"
,
"id"
:
"openDocument@IBIZBOOK"
},
"tooltip"
:
"按钮"
,
"width"
:
100.0
,
"showCaption"
:
true
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"viewFieldName"
:
"type"
,
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label2"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSRawItem"
:
{
"caption"
:
"动态逻辑"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label2"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"动态逻辑"
,
"showCaption"
:
true
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox1"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox1"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItemGroupLogics"
:
[
{
"groupOP"
:
"AND"
,
"logicCat"
:
"PANELVISIBLE"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox1][面板显示]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox2"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"1"
}
],
"relatedItemNames"
:
[
"field_textbox2"
],
"notMode"
:
false
},
{
"groupOP"
:
"AND"
,
"logicCat"
:
"ITEMBLANK"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox1][表单项空输入]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox3"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"3"
}
],
"relatedItemNames"
:
[
"field_textbox3"
],
"notMode"
:
false
},
{
"groupOP"
:
"AND"
,
"logicCat"
:
"ITEMENABLE"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox1][表单项启用]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox3"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"2"
}
],
"relatedItemNames"
:
[
"field_textbox3"
],
"notMode"
:
false
}
],
"hidden"
:
false
,
"showCaption"
:
false
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox2"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox2"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox3"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox3"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
}
],
"name"
:
"list_itempanel"
,
"modelid"
:
"657FB036-73B2-4485-B8C6-DF54910B43E4"
,
"modeltype"
:
"PSSYSVIEWPANEL"
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
68e7a391
...
...
@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-81
0
-7"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-81
2
-7"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录