Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
e498e902
提交
e498e902
编写于
2年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
727dade9
变更
8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
102 行增加
和
34 行删除
+102
-34
panel-detail.ts
app_Web/src/model/panel-detail/panel-detail.ts
+9
-3
ibizcustomer-media-test-edit-view-base.vue
...test-edit-view/ibizcustomer-media-test-edit-view-base.vue
+1
-1
ibizcustomer-service-base.ts
...Web/src/service/ibizcustomer/ibizcustomer-service-base.ts
+2
-2
custom-edit-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/custom-edit-ui-logic-base.ts
+41
-9
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
card-navigation-dataview-base.vue
...ard-navigation-dataview/card-navigation-dataview-base.vue
+4
-4
IBIZBOOK.json
...remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
+42
-12
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
未找到文件。
app_Web/src/model/panel-detail/panel-detail.ts
浏览文件 @
e498e902
...
...
@@ -450,9 +450,15 @@ export class PanelDetailModel {
Object
.
assign
(
boxStyle
,
{
'flex-grow'
:
1
,
'min-width'
:
`
${(
100
/
12
)}
%`
,
'height'
:
'100%'
});
}
}
const
boxSizeStyle
:
any
=
this
.
getBoxSizeStyle
();
if
(
boxSizeStyle
&&
Object
.
keys
(
boxSizeStyle
).
length
>
0
)
{
Object
.
assign
(
boxStyle
,
{
'flex-grow'
:
0
});
if
(
this
.
parentName
&&
this
.
panel
)
{
const
parentItem
=
this
.
panel
.
layoutModelDetails
[
this
.
parentName
];
// 当前项兄弟项个数大于1且本身设置宽或者高默认不占满
if
(
parentItem
&&
parentItem
.
details
&&
parentItem
.
details
.
length
>
1
)
{
const
boxSizeStyle
:
any
=
this
.
getBoxSizeStyle
();
if
(
boxSizeStyle
&&
Object
.
keys
(
boxSizeStyle
).
length
>
0
)
{
Object
.
assign
(
boxStyle
,
{
'flex-grow'
:
0
});
}
}
}
return
boxStyle
;
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view-base.vue
浏览文件 @
e498e902
...
...
@@ -82,7 +82,7 @@
<template
#
container6
>
<app-simpleflex-container
name=
"container6"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
static_carousel1
>
<app-rawitem-carousel
name=
"static_carousel1"
type=
"STATIC_CAROUSEL"
:value=
"[
{ key:'img1',
iconClass:'fa fa-bank', type:'icon' }, { key:'img2', imgPath:'assets/img/logo2.png', type:'img' }, { key:'img3', iconClass:'fa fa-steam-square', type:'icon' }, { key:'img4', imgPath
:'/assets/img/login_bg.png', type:'img' }, { key:'autoplay', value:'1', }, { key:'timespan', value:'2000', } ]" :layoutModelDetails="layoutModelDetails" :data="layoutData"/>
<app-rawitem-carousel
name=
"static_carousel1"
type=
"STATIC_CAROUSEL"
:value=
"[
{ key:'img1',
value:'fa fa-bank', type:'icon' }, { key:'img2', value:'assets/img/logo2.png', type:'img' }, { key:'img3', value:'fa fa-steam-square', type:'icon' }, { key:'img4', value
:'/assets/img/login_bg.png', type:'img' }, { key:'autoplay', value:'1', }, { key:'timespan', value:'2000', } ]" :layoutModelDetails="layoutModelDetails" :data="layoutData"/>
</
template
>
</app-simpleflex-container>
</template>
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/service/ibizcustomer/ibizcustomer-service-base.ts
浏览文件 @
e498e902
...
...
@@ -107,8 +107,8 @@ export default class IBIZCustomerServiceBase extends EntityService {
return
res
;
}
public
async
GetDynaCarousel
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
tempData
[
'field_carousel'
]
=
[
{
key
:
'img1'
,
iconClass
:
'fa fa-bank'
,
type
:
'icon'
},
{
key
:
'img2'
,
imgPath
:
'assets/img/logo2.png'
,
type
:
'img'
},
{
key
:
'img3'
,
iconClass
:
'fa fa-steam-square'
,
type
:
'icon'
},
{
key
:
'img4'
,
imgPath
:
'/assets/img/login_bg.png'
,
type
:
'img'
},
{
key
:
'autoplay'
,
value
:
'1'
,
},
{
key
:
'timespan'
,
value
:
'2000'
,
}
]
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
tempData
[
'field_carousel'
]
=
[
{
key
:
'img1'
,
value
:
'fa fa-bank'
,
type
:
'icon'
},
{
key
:
'img2'
,
value
:
'assets/img/logo2.png'
,
type
:
'img'
},
{
key
:
'img3'
,
value
:
'fa fa-steam-square'
,
type
:
'icon'
},
{
key
:
'img4'
,
value
:
'/assets/img/login_bg.png'
,
type
:
'img'
},
{
key
:
'autoplay'
,
value
:
'1'
,
},
{
key
:
'timespan'
,
value
:
'2000'
,
}
]
return
{
"status"
:
200
,
"data"
:
tempData
};
}
public
async
GetDynaImg
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/uiservice/ibizbook/custom-edit-ui-logic-base.ts
浏览文件 @
e498e902
...
...
@@ -28,27 +28,32 @@ export default class CustomEditUILogicBase {
* @memberof CustomEditUILogicBase
*/
protected
logicParams
:
any
[]
=
[
{
name
:
'当前视图'
,
codeName
:
'view'
,
activeViewParam
:
true
,
},
{
name
:
'传入变量'
,
codeName
:
'Default'
,
default
:
true
,
entityParam
:
true
,
},
{
name
:
'当前激活部件'
,
codeName
:
'grid'
,
activeCtrlParam
:
true
,
ctrlParam
:
true
,
},
{
name
:
'当前容器'
,
codeName
:
'currentContainer'
,
activeContainerParam
:
true
,
},
{
name
:
'当前激活部件'
,
codeName
:
'grid'
,
activeCtrlParam
:
true
,
ctrlParam
:
true
,
name
:
'当前视图'
,
codeName
:
'view'
,
activeViewParam
:
true
,
},
{
name
:
'表格数据'
,
codeName
:
'gridData'
,
entityListParam
:
true
,
},
];
...
...
@@ -122,6 +127,33 @@ export default class CustomEditUILogicBase {
protected
async
execute_begin_node
(
actionContext
:
UIActionContext
)
{
actionContext
.
setResult
(
actionContext
.
defaultParam
.
getReal
());
console
.
log
(
'已完成执行 开始 节点'
);
await
this
.
execute_bindparam1_node
(
actionContext
);
}
/**
* 绑定表格选中数据
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomEditUILogicBase
*/
protected
async
execute_bindparam1_node
(
actionContext
:
UIActionContext
)
{
try
{
// 源数据
const
srcParam
=
actionContext
.
getParam
(
'grid'
);
// 目标数据
const
dstParam
=
actionContext
.
getParam
(
'gridData'
);
// 源属性
const
srcFieldName
:
string
=
'selections'
;
if
(
srcFieldName
)
{
dstParam
.
bind
(
srcParam
.
get
(
srcFieldName
));
}
else
{
dstParam
.
bind
(
srcParam
.
getReal
());
}
actionContext
.
bindLastReturnParam
(
null
);
}
catch
(
error
:
any
)
{
throw
new
Error
(
`逻辑参数表格数据
${
error
&&
error
.
message
?
error
.
message
:
'发生未知错误!'
}
`
);
}
console
.
log
(
'已完成执行 绑定表格选中数据 节点'
);
await
this
.
execute_deuiaction1_node
(
actionContext
);
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
e498e902
...
...
@@ -671,7 +671,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
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/card-navigation-dataview/card-navigation-dataview-base.vue
浏览文件 @
e498e902
...
...
@@ -665,7 +665,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -744,7 +744,7 @@ export default class CardNavigationBase 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
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -853,7 +853,7 @@ export default class CardNavigationBase 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
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
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
);
...
...
@@ -861,7 +861,7 @@ export default class CardNavigationBase 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
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
This diff is collapsed.
Click to expand it.
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
浏览文件 @
e498e902
...
...
@@ -2126,7 +2126,7 @@
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"
DEUIACTION
1"
"id"
:
"
BINDPARAM
1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
...
...
@@ -2136,6 +2136,31 @@
}
}
],
"parallelOutput"
:
true
},
{
"codeName"
:
"BINDPARAM1"
,
"getDstPSDEUILogicParam"
:
{
"modelref"
:
true
,
"id"
:
"gridData"
},
"logicNodeType"
:
"BINDPARAM"
,
"name"
:
"绑定表格选中数据"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"DEUIACTION1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"BINDPARAM1"
}
}
],
"srcFieldName"
:
"selections"
,
"getSrcPSDEUILogicParam"
:
{
"modelref"
:
true
,
"id"
:
"grid"
}
},
{
"codeName"
:
"END1"
,
"logicNodeType"
:
"END"
,
...
...
@@ -2157,7 +2182,7 @@
},
"getDstPSDEUILogicParam"
:
{
"modelref"
:
true
,
"id"
:
"
Default
"
"id"
:
"
gridData
"
},
"logicNodeType"
:
"DEUIACTION"
,
"name"
:
"界面行为"
,
...
...
@@ -2175,27 +2200,32 @@
}
]
}
],
"getPSDEUILogicParams"
:
[
{
"codeName"
:
"view"
,
"logicName"
:
"当前视图"
,
"name"
:
"当前视图"
,
"activeViewParam"
:
true
},
{
"codeName"
:
"Default"
,
"logicName"
:
"传入变量"
,
"name"
:
"传入变量"
,
"default"
:
true
,
"entityParam"
:
true
},
{
"codeName"
:
"currentContainer"
,
"logicName"
:
"当前容器"
,
"name"
:
"当前容器"
,
"activeContainerParam"
:
true
},
{
"codeName"
:
"grid"
,
"logicName"
:
"当前激活部件"
,
"name"
:
"当前激活部件"
,
"activeCtrlParam"
:
true
,
"ctrlParam"
:
true
},
{
"codeName"
:
"currentContainer"
,
"logicName"
:
"当前容器"
,
"name"
:
"当前容器"
,
"activeContainerParam"
:
true
},
{
"codeName"
:
"view"
,
"logicName"
:
"当前视图"
,
"name"
:
"当前视图"
,
"activeViewParam"
:
true
},
{
"codeName"
:
"gridData"
,
"logicName"
:
"表格数据"
,
"name"
:
"表格数据"
,
"entityListParam"
:
true
}
],
"getStartPSDEUILogicNode"
:
{
"modelref"
:
true
,
...
...
This diff is collapsed.
Click to expand it.
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
e498e902
...
...
@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-5
34
-7"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-5
42
-7"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录