Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
841693f4
提交
841693f4
编写于
11月 11, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
653f1037
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
572 行增加
和
128 行删除
+572
-128
ibizbookusr2-custom-view-base.vue
...bizbookusr2-custom-view/ibizbookusr2-custom-view-base.vue
+168
-25
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
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
IBIZBOOK.json
...remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
+0
-15
IBIZBOOKUsr2CustomView.json
...el/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2CustomView.json
+365
-63
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+0
-15
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
未找到文件。
app_Web/src/pages/sample/ibizbookusr2-custom-view/ibizbookusr2-custom-view-base.vue
浏览文件 @
841693f4
...
...
@@ -2,14 +2,14 @@
<div
class=
"app-view-layout app-view-layout__decustomview ibizbookusr2-custom-view"
v-loading=
"isLayoutLoadding"
:style=
"
{height: '100%', width: '100%', overflow: 'auto'}">
<div
v-show=
"!isLayoutLoadding"
:style=
"
{height: '100%', width: '100%'}">
<app-standard-container
name=
"page_container"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
static_label2
>
<app-preset-text
name=
"static_label2"
:layoutModelDetails=
"layoutModelDetails"
/>
</
template
>
<
template
#
container_singledata1
>
<app-standard-container
name=
"container_singledata1"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
static_label1
>
<app-preset-text
name=
"static_label1"
:layoutModelDetails=
"layoutModelDetails"
/>
</
template
>
<
template
#
static_label2
>
<app-preset-text
name=
"static_label2"
:layoutModelDetails=
"layoutModelDetails"
/>
</
template
>
<
template
#
container1
>
<app-standard-container
name=
"container1"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
button_calluilogic1
>
...
...
@@ -18,6 +18,22 @@
<
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_label5
>
<app-preset-text
name=
"static_label5"
:layoutModelDetails=
"layoutModelDetails"
/>
</
template
>
<
template
#
container4
>
<app-standard-container
name=
"container4"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<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
>
<
template
#
field_textbox4
>
<app-panel-field
name=
"field_textbox4"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData.field_textbox4"
>
<input-box
type=
"text"
name=
"field_textbox4"
:itemValue=
"layoutData.field_textbox4"
:disabled=
"layoutModelDetails.field_textbox4 ? layoutModelDetails.field_textbox4.disabled : false"
@
change=
"(value) => handleValueChange(
{ name: 'field_textbox4', value})">
</input-box>
</app-panel-field>
</
template
>
</app-standard-container>
</template>
</app-standard-container>
...
...
@@ -29,12 +45,35 @@
<app-standard-container
name=
"container_multidata1"
:isMultiContainer=
"true"
:layoutModelDetails=
"layoutModelDetails"
>
<template
v-slot:container2=
"slotProps"
>
<app-standard-container
name=
"container2"
:index=
"slotProps.data.index"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
static_label4
>
<app-preset-text
name=
"static_label4"
:index=
"slotProps.data.index"
:layoutModelDetails=
"layoutModelDetails"
/>
</
template
>
<
template
#
container3
>
<app-standard-container
name=
"container3"
:index=
"slotProps.data.index"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
button_calluilogic2
>
<app-preset-button
name=
"button_calluilogic2"
:index=
"slotProps.data.index"
:layoutModelDetails=
"layoutModelDetails"
@
itemClick=
"handleButtonClick"
/>
</
template
>
<
template
#
field_textbox1
>
<app-panel-field
name=
"field_textbox1"
:index=
"slotProps.data.index"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData[`field_textbox1_$
{slotProps.data.index}`]">
<input-box
type=
"text"
name=
"field_textbox1"
:itemValue=
"layoutData[`field_textbox1_$
{slotProps.data.index}`]" :disabled="layoutModelDetails[`field_textbox1_${slotProps.data.index}`] ? layoutModelDetails[`field_textbox1_${slotProps.data.index}`].disabled : false" @change="(value) => handleValueChange({ name: `field_textbox1_${slotProps.data.index}`, value}, `${slotProps.data.index}`)">
</input-box>
</app-panel-field>
</
template
>
</app-standard-container>
</template>
<
template
#
static_label6
>
<app-preset-text
name=
"static_label6"
:index=
"slotProps.data.index"
:layoutModelDetails=
"layoutModelDetails"
/>
</
template
>
<
template
#
container5
>
<app-standard-container
name=
"container5"
:index=
"slotProps.data.index"
:isMultiContainer=
"false"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
field_textbox5
>
<app-panel-field
name=
"field_textbox5"
:index=
"slotProps.data.index"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData[`field_textbox5_$
{slotProps.data.index}`]">
<input-box
type=
"text"
name=
"field_textbox5"
:itemValue=
"layoutData[`field_textbox5_$
{slotProps.data.index}`]" :disabled="layoutModelDetails[`field_textbox5_${slotProps.data.index}`] ? layoutModelDetails[`field_textbox5_${slotProps.data.index}`].disabled : false" @change="(value) => handleValueChange({ name: `field_textbox5_${slotProps.data.index}`, value}, `${slotProps.data.index}`)">
</input-box>
</app-panel-field>
</
template
>
<
template
#
field_textbox6
>
<app-panel-field
name=
"field_textbox6"
:index=
"slotProps.data.index"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData[`field_textbox6_$
{slotProps.data.index}`]">
<input-box
type=
"text"
name=
"field_textbox6"
:itemValue=
"layoutData[`field_textbox6_$
{slotProps.data.index}`]" :disabled="layoutModelDetails[`field_textbox6_${slotProps.data.index}`] ? layoutModelDetails[`field_textbox6_${slotProps.data.index}`].disabled : false" @change="(value) => handleValueChange({ name: `field_textbox6_${slotProps.data.index}`, value}, `${slotProps.data.index}`)">
</input-box>
</app-panel-field>
</
template
>
<
template
#
field_textbox7
>
<app-panel-field
name=
"field_textbox7"
:index=
"slotProps.data.index"
:layoutModelDetails=
"layoutModelDetails"
:value=
"layoutData[`field_textbox7_$
{slotProps.data.index}`]">
<input-box
type=
"text"
name=
"field_textbox7"
:itemValue=
"layoutData[`field_textbox7_$
{slotProps.data.index}`]" :disabled="layoutModelDetails[`field_textbox7_${slotProps.data.index}`] ? layoutModelDetails[`field_textbox7_${slotProps.data.index}`].disabled : false" @change="(value) => handleValueChange({ name: `field_textbox7_${slotProps.data.index}`, value}, `${slotProps.data.index}`)">
</input-box>
</app-panel-field>
</
template
>
</app-standard-container>
</template>
</app-standard-container>
</template>
</app-standard-container>
...
...
@@ -271,18 +310,30 @@ export default class IBIZBOOKUsr2CustomViewBase extends Vue {
* @memberof IBIZBOOKUsr2CustomViewBase
*/
public
layoutItems
:
any
=
{
static_label2
:{
name
:
'static_label2'
,
type
:
'VIEWLAYOUT'
,
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
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'page_container'
,
panel
:
this
,
viewType
:
'DECUSTOMVIEW'
,
predefinedType
:
'STATIC_LABEL'
,
contentType
:
'RAW'
,
contentStyle
:
''
,
rawContent
:
'单数据容器'
,
htmlContent
:
''
,
renderMode
:
'PARAGRAPH'
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
static_label1
:{
name
:
'static_label1'
,
type
:
'VIEWLAYOUT'
,
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
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_singledata1'
,
panel
:
this
,
viewType
:
'DECUSTOMVIEW'
,
predefinedType
:
'STATIC_LABEL'
,
contentType
:
'RAW'
,
contentStyle
:
''
,
rawContent
:
'按钮权限测试:输入框值为 武侠 时禁用打开文档按钮'
,
htmlContent
:
''
,
renderMode
:
'PARAGRAPH'
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
static_label2
:{
name
:
'static_label2'
,
type
:
'VIEWLAYOUT'
,
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
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_singledata1'
,
panel
:
this
,
viewType
:
'DECUSTOMVIEW'
,
predefinedType
:
'STATIC_LABEL'
,
contentType
:
'RAW'
,
contentStyle
:
''
,
rawContent
:
'单数据容器'
,
htmlContent
:
''
,
renderMode
:
'PARAGRAPH'
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
button_calluilogic1
:{
name
:
'button_calluilogic1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'打开文档'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'BUTTON'
,
itemStyle
:
'DEFAULT'
,
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
:
'container1'
,
panel
:
this
,
buttonStyle
:
'DEFAULT'
,
borderStyle
:
''
,
iconAlign
:
''
,
uiAction
:
{
actiontarget
:
'SINGLEKEY'
,
noprivdisplaymode
:
1
,
dataaccaction
:
'OPEN_DOCUMENT'
,
visabled
:
true
,
disabled
:
false
},
renderMode
:
''
,
},
button_calluilogic1
:{
name
:
'button_calluilogic1'
,
type
:
'VIEWLAYOUT'
,
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
:
'container1'
,
panel
:
this
,
buttonStyle
:
'INFO'
,
borderStyle
:
''
,
iconAlign
:
''
,
uiAction
:
{
actiontarget
:
'SINGLEKEY'
,
noprivdisplaymode
:
1
,
dataaccaction
:
'OPEN_DOCUMENT'
,
visabled
:
true
,
disabled
:
false
},
renderMode
:
''
,
},
field_textbox
:{
name
:
'field_textbox'
,
type
:
'VIEWLAYOUT'
,
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
:
'type'
,
},
container1
:{
name
:
'container1'
,
type
:
'VIEWLAYOUT'
,
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
:
'row'
,
vAlign
:
''
},
parentName
:
'container_singledata1'
,
panel
:
this
,
details
:[
'button_calluilogic1'
,
'field_textbox'
]
,
dataRegionType
:
'INHERIT'
},
container_singledata1
:{
name
:
'container_singledata1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'单项数据容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'TABLE_24COL'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'page_container'
,
panel
:
this
,
details
:[
'static_label1'
,
'static_label2'
,
'container1'
]
,
dataRegionType
:
'SINGLEDATA'
,
dataSourceType
:
'DEACTION'
,
appDataEntityCodeName
:
'ibizbook'
,
appDEMethodCodeName
:
'GetDraft'
},
static_label5
:{
name
:
'static_label5'
,
type
:
'VIEWLAYOUT'
,
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
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_singledata1'
,
panel
:
this
,
viewType
:
'DECUSTOMVIEW'
,
predefinedType
:
'STATIC_LABEL'
,
contentType
:
'RAW'
,
contentStyle
:
''
,
rawContent
:
'单数据容器动态逻辑测试'
,
htmlContent
:
''
,
renderMode
:
'PARAGRAPH'
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
field_textbox2
:{
name
:
'field_textbox2'
,
type
:
'VIEWLAYOUT'
,
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
:
'container4'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'FIELD_TEXTBOX'
,
dataItemName
:
''
,
},
field_textbox3
:{
name
:
'field_textbox3'
,
type
:
'VIEWLAYOUT'
,
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
:
'container4'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'FIELD_TEXTBOX'
,
dataItemName
:
''
,
},
field_textbox4
:{
name
:
'field_textbox4'
,
type
:
'VIEWLAYOUT'
,
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
:
'container4'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'FIELD_TEXTBOX'
,
dataItemName
:
''
,
},
container4
:{
name
:
'container4'
,
type
:
'VIEWLAYOUT'
,
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
:
''
},
parentName
:
'container_singledata1'
,
panel
:
this
,
details
:[
'field_textbox2'
,
'field_textbox3'
,
'field_textbox4'
]
,
dataRegionType
:
'INHERIT'
},
container_singledata1
:{
name
:
'container_singledata1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'单项数据容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'TABLE_24COL'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
'OUTERMEDIUM'
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'page_container'
,
panel
:
this
,
details
:[
'static_label1'
,
'container1'
,
'static_label5'
,
'container4'
]
,
dataRegionType
:
'SINGLEDATA'
,
dataSourceType
:
'DEACTION'
,
appDataEntityCodeName
:
'ibizbook'
,
appDEMethodCodeName
:
'GetDraft'
},
static_label3
:{
name
:
'static_label3'
,
type
:
'VIEWLAYOUT'
,
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
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'page_container'
,
panel
:
this
,
viewType
:
'DECUSTOMVIEW'
,
predefinedType
:
'STATIC_LABEL'
,
contentType
:
'RAW'
,
contentStyle
:
''
,
rawContent
:
'多数据容器'
,
htmlContent
:
''
,
renderMode
:
'PARAGRAPH'
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
button_calluilogic2
:{
name
:
'button_calluilogic2'
,
type
:
'VIEWLAYOUT'
,
caption
:
'按钮'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'BUTTON'
,
itemStyle
:
'DEFAULT'
,
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
,
buttonStyle
:
'DEFAULT'
,
borderStyle
:
''
,
iconAlign
:
''
,
uiAction
:
{
actiontarget
:
'NONE'
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
visabled
:
true
,
disabled
:
false
},
renderMode
:
''
,
},
field_textbox1
:{
name
:
'field_textbox1'
,
type
:
'VIEWLAYOUT'
,
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
:
'VIEWLAYOUT'
,
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
:
'row'
,
vAlign
:
''
},
parentName
:
'container_multidata1'
,
panel
:
this
,
details
:[
'button_calluilogic2'
,
'field_textbox1'
]
,
dataRegionType
:
'INHERIT'
},
static_label4
:{
name
:
'static_label4'
,
type
:
'VIEWLAYOUT'
,
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
:
'container2'
,
panel
:
this
,
viewType
:
'DECUSTOMVIEW'
,
predefinedType
:
'STATIC_LABEL'
,
contentType
:
'RAW'
,
contentStyle
:
''
,
rawContent
:
'按钮权限测试:输入框值为 武侠 时禁用打开文档按钮'
,
htmlContent
:
''
,
renderMode
:
'PARAGRAPH'
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
button_calluilogic2
:{
name
:
'button_calluilogic2'
,
type
:
'VIEWLAYOUT'
,
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
:
'container3'
,
panel
:
this
,
buttonStyle
:
'INFO'
,
borderStyle
:
''
,
iconAlign
:
''
,
uiAction
:
{
actiontarget
:
'SINGLEKEY'
,
noprivdisplaymode
:
1
,
dataaccaction
:
'OPEN_DOCUMENT'
,
visabled
:
true
,
disabled
:
false
},
renderMode
:
''
,
},
field_textbox1
:{
name
:
'field_textbox1'
,
type
:
'VIEWLAYOUT'
,
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
:
'container3'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'FIELD_TEXTBOX'
,
dataItemName
:
'type'
,
},
container3
:{
name
:
'container3'
,
type
:
'VIEWLAYOUT'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
'OUTERSMALL'
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
'row'
,
vAlign
:
''
},
parentName
:
'container2'
,
panel
:
this
,
details
:[
'button_calluilogic2'
,
'field_textbox1'
]
,
dataRegionType
:
'INHERIT'
},
static_label6
:{
name
:
'static_label6'
,
type
:
'VIEWLAYOUT'
,
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
:
'container2'
,
panel
:
this
,
viewType
:
'DECUSTOMVIEW'
,
predefinedType
:
'STATIC_LABEL'
,
contentType
:
'RAW'
,
contentStyle
:
''
,
rawContent
:
'多数据容器动态逻辑测试'
,
htmlContent
:
''
,
renderMode
:
'PARAGRAPH'
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
field_textbox5
:{
name
:
'field_textbox5'
,
type
:
'VIEWLAYOUT'
,
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
:
'container5'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'FIELD_TEXTBOX'
,
dataItemName
:
''
,
},
field_textbox6
:{
name
:
'field_textbox6'
,
type
:
'VIEWLAYOUT'
,
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
:
'container5'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'FIELD_TEXTBOX'
,
dataItemName
:
''
,
},
field_textbox7
:{
name
:
'field_textbox7'
,
type
:
'VIEWLAYOUT'
,
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
:
'container5'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'FIELD_TEXTBOX'
,
dataItemName
:
''
,
},
container5
:{
name
:
'container5'
,
type
:
'VIEWLAYOUT'
,
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
:
''
,
vAlign
:
''
},
parentName
:
'container2'
,
panel
:
this
,
details
:[
'field_textbox5'
,
'field_textbox6'
,
'field_textbox7'
]
,
dataRegionType
:
'INHERIT'
},
container2
:{
name
:
'container2'
,
type
:
'VIEWLAYOUT'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
'OUTERSMALL'
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
'OUTERSMALL'
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_multidata1'
,
panel
:
this
,
details
:[
'static_label4'
,
'container3'
,
'static_label6'
,
'container5'
]
,
dataRegionType
:
'INHERIT'
},
container_multidata1
:{
name
:
'container_multidata1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'多项数据容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'TABLE_24COL'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'page_container'
,
panel
:
this
,
details
:[
'container2'
]
,
dataRegionType
:
'MULTIDATA'
,
dataSourceType
:
'DEDATASET'
,
appDataEntityCodeName
:
'ibizbook'
,
appDEMethodCodeName
:
'FetchDefault'
},
page_container
:{
name
:
'page_container'
,
type
:
'VIEWLAYOUT'
,
caption
:
''
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'TABLE_24COL'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[
'container_singledata1'
,
'static_label3'
,
'container_multidata1'
]
,
dataRegionType
:
'INHERIT'
}
page_container
:{
name
:
'page_container'
,
type
:
'VIEWLAYOUT'
,
caption
:
''
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'TABLE_24COL'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[
'
static_label2'
,
'
container_singledata1'
,
'static_label3'
,
'container_multidata1'
]
,
dataRegionType
:
'INHERIT'
}
}
/**
...
...
@@ -418,6 +469,108 @@ export default class IBIZBOOKUsr2CustomViewBase extends Vue {
if
(
name
&&
(
index
||
index
===
0
))
{
name
=
name
.
replace
(
`_
${
index
}
`
,
""
);
}
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'field_textbox4'
))
{
let
ret
=
true
;
let
_field_textbox4
=
''
;
if
(
index
||
index
===
0
)
{
_field_textbox4
=
this
.
layoutData
[
`field_textbox4_
${
index
}
`
];
}
else
{
_field_textbox4
=
this
.
layoutData
[
'field_textbox4'
];
}
if
(
this
.
$verify
.
testCond
(
_field_textbox4
,
"EQ"
,
"3"
))
{
ret
=
false
;
}
if
(
index
||
index
===
0
)
{
this
.
layoutModelDetails
[
`field_textbox2_
${
index
}
`
].
required
=
ret
;
}
else
{
this
.
layoutModelDetails
[
'field_textbox2'
].
required
=
ret
;
}
}
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'field_textbox4'
))
{
let
ret
=
false
;
let
_field_textbox4
=
''
;
if
(
index
||
index
===
0
)
{
_field_textbox4
=
this
.
layoutData
[
`field_textbox4_
${
index
}
`
];
}
else
{
_field_textbox4
=
this
.
layoutData
[
'field_textbox4'
];
}
if
(
this
.
$verify
.
testCond
(
_field_textbox4
,
"EQ"
,
"2"
))
{
ret
=
true
;
}
if
(
index
||
index
===
0
)
{
this
.
layoutModelDetails
[
`field_textbox2_
${
index
}
`
].
disabled
=
!
ret
;
}
else
{
this
.
layoutModelDetails
[
'field_textbox2'
].
disabled
=
!
ret
;
}
}
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'field_textbox3'
))
{
let
ret
=
false
;
let
_field_textbox3
=
''
;
if
(
index
||
index
===
0
)
{
_field_textbox3
=
this
.
layoutData
[
`field_textbox3_
${
index
}
`
];
}
else
{
_field_textbox3
=
this
.
layoutData
[
'field_textbox3'
];
}
if
(
this
.
$verify
.
testCond
(
_field_textbox3
,
"EQ"
,
"1"
))
{
ret
=
true
;
}
if
(
index
||
index
===
0
)
{
this
.
layoutModelDetails
[
`field_textbox2_
${
index
}
`
].
visible
=
ret
;
}
else
{
this
.
layoutModelDetails
[
'field_textbox2'
].
visible
=
ret
;
}
}
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'field_textbox7'
))
{
let
ret
=
true
;
let
_field_textbox7
=
''
;
if
(
index
||
index
===
0
)
{
_field_textbox7
=
this
.
layoutData
[
`field_textbox7_
${
index
}
`
];
}
else
{
_field_textbox7
=
this
.
layoutData
[
'field_textbox7'
];
}
if
(
this
.
$verify
.
testCond
(
_field_textbox7
,
"EQ"
,
"3"
))
{
ret
=
false
;
}
if
(
index
||
index
===
0
)
{
this
.
layoutModelDetails
[
`field_textbox5_
${
index
}
`
].
required
=
ret
;
}
else
{
this
.
layoutModelDetails
[
'field_textbox5'
].
required
=
ret
;
}
}
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'field_textbox7'
))
{
let
ret
=
false
;
let
_field_textbox7
=
''
;
if
(
index
||
index
===
0
)
{
_field_textbox7
=
this
.
layoutData
[
`field_textbox7_
${
index
}
`
];
}
else
{
_field_textbox7
=
this
.
layoutData
[
'field_textbox7'
];
}
if
(
this
.
$verify
.
testCond
(
_field_textbox7
,
"EQ"
,
"2"
))
{
ret
=
true
;
}
if
(
index
||
index
===
0
)
{
this
.
layoutModelDetails
[
`field_textbox5_
${
index
}
`
].
disabled
=
!
ret
;
}
else
{
this
.
layoutModelDetails
[
'field_textbox5'
].
disabled
=
!
ret
;
}
}
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'field_textbox6'
))
{
let
ret
=
false
;
let
_field_textbox6
=
''
;
if
(
index
||
index
===
0
)
{
_field_textbox6
=
this
.
layoutData
[
`field_textbox6_
${
index
}
`
];
}
else
{
_field_textbox6
=
this
.
layoutData
[
'field_textbox6'
];
}
if
(
this
.
$verify
.
testCond
(
_field_textbox6
,
"EQ"
,
"1"
))
{
ret
=
true
;
}
if
(
index
||
index
===
0
)
{
this
.
layoutModelDetails
[
`field_textbox5_
${
index
}
`
].
visible
=
ret
;
}
else
{
this
.
layoutModelDetails
[
'field_textbox5'
].
visible
=
ret
;
}
}
}
/**
...
...
@@ -448,24 +601,14 @@ export default class IBIZBOOKUsr2CustomViewBase extends Vue {
})
}
if
(
Object
.
is
(
name
,
'button_calluilogic2'
))
{
_this
.
IBIZBOOK_panel_Usr1110541566_button_calluilogic2_click
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
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
);
}
})
}
}
/**
* 按钮
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
*/
public
IBIZBOOK_panel_Usr1110541566_button_calluilogic2_click
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
this
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'自定义行为未实现'
});
}
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
841693f4
...
...
@@ -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
:
'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
};
...
...
@@ -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
:
'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/ibizorder/main-grid/main-grid-base.vue
浏览文件 @
841693f4
...
...
@@ -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
浏览文件 @
841693f4
...
...
@@ -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.json
浏览文件 @
841693f4
...
...
@@ -2073,21 +2073,6 @@
"uILogicAttachMode"
:
"REPLACE"
,
"uILogicType"
:
"DELOGIC"
,
"id"
:
"panel_Usr1109586119_button_calluilogic2_click@IBIZBOOK"
},
{
"actionTarget"
:
"NONE"
,
"caption"
:
"按钮"
,
"codeName"
:
"panel_Usr1110541566_button_calluilogic2_click"
,
"fullCodeName"
:
"IBIZBOOK_panel_Usr1110541566_button_calluilogic2_click"
,
"name"
:
"按钮"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout"
:
60000
,
"uIActionMode"
:
"CUSTOM"
,
"uIActionTag"
:
"panel_Usr1110541566_button_calluilogic2_click"
,
"uIActionType"
:
"DEUIACTION"
,
"id"
:
"panel_Usr1110541566_button_calluilogic2_click@IBIZBOOK"
},
{
"actionTarget"
:
"SINGLEDATA"
,
"caption"
:
"加载"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2CustomView.json
浏览文件 @
841693f4
...
...
@@ -17,9 +17,21 @@
"getAllPSPanelFields"
:
[
{
"id"
:
"field_textbox"
,
"viewFieldName"
:
"type"
},
{
"id"
:
"field_textbox2"
},
{
"id"
:
"field_textbox3"
},
{
"id"
:
"field_textbox4"
},
{
"id"
:
"field_textbox1"
,
"viewFieldName"
:
"type"
},
{
"id"
:
"field_textbox5"
},
{
"id"
:
"field_textbox6"
},
{
"id"
:
"field_textbox7"
}
],
"codeName"
:
"Usr1110541566"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
...
...
@@ -67,9 +79,9 @@
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref"
:
true
,
"id"
:
"
panel_Usr1110541566_button_calluilogic2_click
@IBIZBOOK"
"id"
:
"
openDocument
@IBIZBOOK"
},
"uIActionTarget"
:
"
NONE
"
,
"uIActionTarget"
:
"
SINGLEKEY
"
,
"xDataControlName"
:
"layoutpanel"
}
],
"getPSControlParam"
:
{
},
...
...
@@ -90,6 +102,25 @@
"layout"
:
"TABLE_24COL"
},
"getPSPanelItems"
:
[
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label2"
,
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSRawItem"
:
{
"caption"
:
"单数据容器"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label2"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"单数据容器"
,
"showCaption"
:
true
},
{
"caption"
:
"单项数据容器"
,
"dataRegionType"
:
"SINGLEDATA"
,
"dataSourceType"
:
"DEACTION"
,
...
...
@@ -110,7 +141,8 @@
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
"layout"
:
"TABLE_24COL"
,
"spacingBottom"
:
"OUTERMEDIUM"
},
"getPSPanelItems"
:
[
{
"caption"
:
"标签"
,
...
...
@@ -131,25 +163,6 @@
},
"rawContent"
:
"按钮权限测试:输入框值为 武侠 时禁用打开文档按钮"
,
"showCaption"
:
true
},
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label2"
,
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSRawItem"
:
{
"caption"
:
"单数据容器"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label2"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"单数据容器"
,
"showCaption"
:
true
},
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
...
...
@@ -165,11 +178,11 @@
},
"getPSPanelItems"
:
[
{
"actionType"
:
"UIACTION"
,
"buttonStyle"
:
"
DEFAULT
"
,
"buttonStyle"
:
"
INFO
"
,
"buttonWidth"
:
100.0
,
"caption"
:
"打开文档"
,
"contentWidth"
:
100.0
,
"itemStyle"
:
"
DEFAULT
"
,
"itemStyle"
:
"
INFO
"
,
"itemType"
:
"BUTTON"
,
"name"
:
"button_calluilogic1"
,
"getPSAppViewUIAction"
:
{
...
...
@@ -227,6 +240,129 @@
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label5"
,
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSRawItem"
:
{
"caption"
:
"单数据容器动态逻辑测试"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label5"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"单数据容器动态逻辑测试"
,
"showCaption"
:
true
},
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container4"
,
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSPanelItems"
:
[
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox2"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox2"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItemGroupLogics"
:
[
{
"groupOP"
:
"AND"
,
"logicCat"
:
"PANELVISIBLE"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox2][面板显示]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox3"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"1"
}
],
"relatedItemNames"
:
[
"field_textbox3"
],
"notMode"
:
false
},
{
"groupOP"
:
"AND"
,
"logicCat"
:
"ITEMBLANK"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox2][表单项空输入]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox4"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"3"
}
],
"relatedItemNames"
:
[
"field_textbox4"
],
"notMode"
:
false
},
{
"groupOP"
:
"AND"
,
"logicCat"
:
"ITEMENABLE"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox2][表单项启用]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox4"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"2"
}
],
"relatedItemNames"
:
[
"field_textbox4"
],
"notMode"
:
false
}
],
"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
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox4"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox4"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
}
]
},
{
"caption"
:
"标签"
,
...
...
@@ -276,68 +412,234 @@
"itemType"
:
"CONTAINER"
,
"name"
:
"container2"
,
"getPSLayout"
:
{
"dir"
:
"row"
,
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
"layout"
:
"TABLE_24COL"
,
"spacingBottom"
:
"OUTERSMALL"
,
"spacingTop"
:
"OUTERSMALL"
},
"getPSPanelItems"
:
[
{
"actionType"
:
"UIACTION"
,
"buttonStyle"
:
"DEFAULT"
,
"buttonWidth"
:
100.0
,
"caption"
:
"按钮"
,
"contentWidth"
:
100.0
,
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"BUTTON"
,
"name"
:
"button_calluilogic2"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"id"
:
"layoutpanel_button_calluilogic2"
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label4"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSRawItem"
:
{
"caption"
:
"按钮权限测试:输入框值为 武侠 时禁用打开文档按钮"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label4"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"按钮权限测试:输入框值为 武侠 时禁用打开文档按钮"
,
"showCaption"
:
true
},
{
"caption"
:
"容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container3"
,
"getPSLayout"
:
{
"dir"
:
"row"
,
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
,
"width"
:
100
,
"widthMode"
:
"PX"
"spacingBottom"
:
"OUTERSMALL"
},
"getPSUIAction"
:
{
"actionTarget"
:
"NONE"
,
"caption"
:
"按钮"
,
"codeName"
:
"panel_Usr1110541566_button_calluilogic2_click"
,
"fullCodeName"
:
"IBIZBOOK_panel_Usr1110541566_button_calluilogic2_click"
,
"name"
:
"按钮"
,
"getPSAppDataEntity"
:
{
"getPSPanelItems"
:
[
{
"actionType"
:
"UIACTION"
,
"buttonStyle"
:
"INFO"
,
"buttonWidth"
:
100.0
,
"caption"
:
"打开文档"
,
"contentWidth"
:
100.0
,
"itemStyle"
:
"INFO"
,
"itemType"
:
"BUTTON"
,
"name"
:
"button_calluilogic2"
,
"getPSAppViewUIAction"
:
{
"modelref"
:
true
,
"
path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
"
"
id"
:
"layoutpanel_button_calluilogic2
"
},
"timeout"
:
60000
,
"uIActionMode"
:
"CUSTOM"
,
"uIActionTag"
:
"panel_Usr1110541566_button_calluilogic2_click"
,
"uIActionType"
:
"DEUIACTION"
,
"id"
:
"panel_Usr1110541566_button_calluilogic2_click@IBIZBOOK"
"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_textbox1"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox1"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"viewFieldName"
:
"type"
,
"hidden"
:
false
,
"showCaption"
:
false
}
]
},
{
"caption"
:
"标签"
,
"contentType"
:
"RAW"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"RAWITEM"
,
"name"
:
"static_label6"
,
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"tooltip"
:
"按钮"
,
"width"
:
100.0
,
"getPSRawItem"
:
{
"caption"
:
"多数据容器动态逻辑测试"
,
"contentType"
:
"RAW"
,
"name"
:
"static_label6"
,
"predefinedType"
:
"STATIC_LABEL"
,
"renderMode"
:
"PARAGRAPH"
},
"rawContent"
:
"多数据容器动态逻辑测试"
,
"showCaption"
:
true
},
{
"caption"
:
"
文本框
"
,
"caption"
:
"
容器
"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox1"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox1"
,
"predefinedType"
:
"FIELD_TEXTBOX"
"itemType"
:
"CONTAINER"
,
"name"
:
"container5"
,
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"viewFieldName"
:
"type"
,
"hidden"
:
false
,
"showCaption"
:
false
"getPSPanelItems"
:
[
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox5"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox5"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"getPSPanelItemGroupLogics"
:
[
{
"groupOP"
:
"AND"
,
"logicCat"
:
"PANELVISIBLE"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox5][面板显示]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox6"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"1"
}
],
"relatedItemNames"
:
[
"field_textbox6"
],
"notMode"
:
false
},
{
"groupOP"
:
"AND"
,
"logicCat"
:
"ITEMBLANK"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox5][表单项空输入]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox7"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"3"
}
],
"relatedItemNames"
:
[
"field_textbox7"
],
"notMode"
:
false
},
{
"groupOP"
:
"AND"
,
"logicCat"
:
"ITEMENABLE"
,
"logicType"
:
"GROUP"
,
"name"
:
"面板成员[field_textbox5][表单项启用]逻辑"
,
"getPSPanelItemLogics"
:
[
{
"condOp"
:
"EQ"
,
"dstModelField"
:
"field_textbox7"
,
"logicType"
:
"SINGLE"
,
"name"
:
"逻辑项"
,
"value"
:
"2"
}
],
"relatedItemNames"
:
[
"field_textbox7"
],
"notMode"
:
false
}
],
"hidden"
:
false
,
"showCaption"
:
false
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox6"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox6"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
},
{
"caption"
:
"文本框"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"FIELD"
,
"name"
:
"field_textbox7"
,
"getPSEditor"
:
{
"editorType"
:
"TEXTBOX"
,
"name"
:
"field_textbox7"
,
"predefinedType"
:
"FIELD_TEXTBOX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
},
"hidden"
:
false
,
"showCaption"
:
false
}
]
}
]
}
]
}
]
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
841693f4
...
...
@@ -26894,21 +26894,6 @@
"uILogicAttachMode"
:
"REPLACE"
,
"uILogicType"
:
"DELOGIC"
,
"id"
:
"panel_Usr1109586119_button_calluilogic2_click@IBIZBOOK"
},
{
"actionTarget"
:
"NONE"
,
"caption"
:
"按钮"
,
"codeName"
:
"panel_Usr1110541566_button_calluilogic2_click"
,
"fullCodeName"
:
"IBIZBOOK_panel_Usr1110541566_button_calluilogic2_click"
,
"name"
:
"按钮"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout"
:
60000
,
"uIActionMode"
:
"CUSTOM"
,
"uIActionTag"
:
"panel_Usr1110541566_button_calluilogic2_click"
,
"uIActionType"
:
"DEUIACTION"
,
"id"
:
"panel_Usr1110541566_button_calluilogic2_click@IBIZBOOK"
},
{
"actionTarget"
:
"SINGLEDATA"
,
"caption"
:
"加载"
,
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
841693f4
...
...
@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-80
0
-7"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-80
4
-7"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录