Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
0707b413
提交
0707b413
编写于
2年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
5667c690
master
1.6
1.7
1.8
无相关合并请求
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
56 行增加
和
64 行删除
+56
-64
actiontest-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/actiontest-ui-logic-base.ts
+33
-33
main-grid-base.vue
...src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
+6
-6
IBIZBOOK.json
...remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
+8
-12
PSSYSAPP.json
.../resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
+8
-12
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
未找到文件。
app_Web/src/uiservice/ibizbook/actiontest-ui-logic-base.ts
浏览文件 @
0707b413
...
...
@@ -121,38 +121,6 @@ export default class ActiontestUILogicBase {
await
this
.
execute_msgbox1_node
(
actionContext
);
}
/**
* 结束
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof ActiontestUILogicBase
*/
protected
async
execute_end1_node
(
actionContext
:
UIActionContext
)
{
const
strReturnType
:
string
=
''
;
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
NONEVALUE
)
||
Object
.
is
(
strReturnType
,
LogicReturnType
.
NULLVALUE
))
{
actionContext
.
setResult
(
null
);
}
else
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
SRCVALUE
))
{
actionContext
.
setResult
(
''
);
}
else
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
BREAK
))
{
actionContext
.
setResult
(
LogicReturnType
.
BREAK
);
}
else
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
LOGICPARAM
)
||
Object
.
is
(
strReturnType
,
LogicReturnType
.
LOGICPARAMFIELD
))
{
const
returnParam
=
actionContext
.
getParam
(
''
);
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
LOGICPARAM
))
{
actionContext
.
setResult
(
returnParam
.
getReal
());
}
else
{
actionContext
.
setResult
(
returnParam
.
get
(
''
));
}
}
else
{
throw
new
Error
(
`无法识别的返回值类型
${
strReturnType
}
`
);
}
console
.
log
(
`已完成执行结束节点,操作参数数据如下:`
);
if
(
actionContext
.
paramsMap
&&
(
actionContext
.
paramsMap
.
size
>
0
))
{
for
(
let
[
key
,
value
]
of
actionContext
.
paramsMap
)
{
console
.
log
(
key
,
Util
.
deepCopy
(
value
.
getReal
()));
}
}
}
/**
* 消息弹窗
*
...
...
@@ -198,6 +166,38 @@ export default class ActiontestUILogicBase {
});
}
/**
* 结束
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof ActiontestUILogicBase
*/
protected
async
execute_end1_node
(
actionContext
:
UIActionContext
)
{
const
strReturnType
:
string
=
''
;
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
NONEVALUE
)
||
Object
.
is
(
strReturnType
,
LogicReturnType
.
NULLVALUE
))
{
actionContext
.
setResult
(
null
);
}
else
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
SRCVALUE
))
{
actionContext
.
setResult
(
''
);
}
else
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
BREAK
))
{
actionContext
.
setResult
(
LogicReturnType
.
BREAK
);
}
else
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
LOGICPARAM
)
||
Object
.
is
(
strReturnType
,
LogicReturnType
.
LOGICPARAMFIELD
))
{
const
returnParam
=
actionContext
.
getParam
(
''
);
if
(
Object
.
is
(
strReturnType
,
LogicReturnType
.
LOGICPARAM
))
{
actionContext
.
setResult
(
returnParam
.
getReal
());
}
else
{
actionContext
.
setResult
(
returnParam
.
get
(
''
));
}
}
else
{
throw
new
Error
(
`无法识别的返回值类型
${
strReturnType
}
`
);
}
console
.
log
(
`已完成执行结束节点,操作参数数据如下:`
);
if
(
actionContext
.
paramsMap
&&
(
actionContext
.
paramsMap
.
size
>
0
))
{
for
(
let
[
key
,
value
]
of
actionContext
.
paramsMap
)
{
console
.
log
(
key
,
Util
.
deepCopy
(
value
.
getReal
()));
}
}
}
/**
* 界面行为
*
...
...
@@ -242,7 +242,7 @@ export default class ActiontestUILogicBase {
* @memberof ActiontestUILogicBase
*/
protected
async
execute_deaction1_node
(
actionContext
:
UIActionContext
)
{
const
dstParam
=
actionContext
.
getParam
(
'
Default
'
);
const
dstParam
=
actionContext
.
getParam
(
''
);
if
(
!
Object
.
is
(
dstParam
.
logicParamType
,
UILogicParamType
.
entityListParam
)
&&
!
Object
.
is
(
dstParam
.
logicParamType
,
UILogicParamType
.
entityParam
))
{
throw
new
Error
(
`实体行为操作参数只能为数据对象变量类型或者数据对象列表类型`
);
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder-detail/main-grid/main-grid-base.vue
浏览文件 @
0707b413
...
...
@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
fetchAction
)
{
this
.
$Notice
.
error
({
title
:
this
.
$t
(
"app.commonWords.wrong"
)
as
string
,
desc
:
"IBIZOrderDetailSGridView
9
"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
desc
:
"IBIZOrderDetailSGridView"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
});
return
;
}
...
...
@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
removeAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
...
...
@@ -1187,7 +1187,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
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2082,7 +2082,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
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2091,7 +2091,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
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDetailSGridView
9
'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
desc
:
'IBIZOrderDetailSGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
...
...
This diff is collapsed.
Click to expand it.
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
浏览文件 @
0707b413
...
...
@@ -6347,14 +6347,6 @@
"rTMOSFilePath"
:
"psappdeuilogicnodes/Begin"
,
"topPos"
:
200
,
"parallelOutput"
:
true
},
{
"codeName"
:
"END1"
,
"leftPos"
:
220
,
"logicNodeType"
:
"END"
,
"mOSFilePath"
:
"psappdeuilogicnodes/END1"
,
"name"
:
"结束"
,
"rTMOSFilePath"
:
"psappdeuilogicnodes/END1"
,
"topPos"
:
660
},
{
"buttonsType"
:
"YESNO"
,
"codeName"
:
"MSGBOX1"
,
...
...
@@ -6423,6 +6415,14 @@
"rTMOSFilePath"
:
"psappdeuilogicnodes/MSGBOX1"
,
"title"
:
"是否执行实体行为"
,
"topPos"
:
356
},
{
"codeName"
:
"END1"
,
"leftPos"
:
220
,
"logicNodeType"
:
"END"
,
"mOSFilePath"
:
"psappdeuilogicnodes/END1"
,
"name"
:
"结束"
,
"rTMOSFilePath"
:
"psappdeuilogicnodes/END1"
,
"topPos"
:
660
},
{
"codeName"
:
"DEUIACTION1"
,
"getDstPSAppDEUIAction"
:
{
...
...
@@ -6469,10 +6469,6 @@
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getDstPSDEUILogicParam"
:
{
"modelref"
:
true
,
"id"
:
"Default"
},
"logicNodeType"
:
"DEACTION"
,
"mOSFilePath"
:
"psappdeuilogicnodes/DEACTION1"
,
"name"
:
"实体行为"
,
...
...
This diff is collapsed.
Click to expand it.
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSSYSAPP.json
浏览文件 @
0707b413
...
...
@@ -36058,14 +36058,6 @@
"rTMOSFilePath" : "psappdeuilogicnodes/Begin",
"topPos" : 200,
"parallelOutput" : true
}, {
"codeName" : "END1",
"leftPos" : 220,
"logicNodeType" : "END",
"mOSFilePath" : "psappdeuilogicnodes/END1",
"name" : "结束",
"rTMOSFilePath" : "psappdeuilogicnodes/END1",
"topPos" : 660
}, {
"buttonsType" : "YESNO",
"codeName" : "MSGBOX1",
...
...
@@ -36134,6 +36126,14 @@
"rTMOSFilePath" : "psappdeuilogicnodes/MSGBOX1",
"title" : "是否执行实体行为",
"topPos" : 356
}, {
"codeName" : "END1",
"leftPos" : 220,
"logicNodeType" : "END",
"mOSFilePath" : "psappdeuilogicnodes/END1",
"name" : "结束",
"rTMOSFilePath" : "psappdeuilogicnodes/END1",
"topPos" : 660
}, {
"codeName" : "DEUIACTION1",
"getDstPSAppDEUIAction" : {
...
...
@@ -36180,10 +36180,6 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getDstPSDEUILogicParam" : {
"modelref" : true,
"id" : "Default"
},
"logicNodeType" : "DEACTION",
"mOSFilePath" : "psappdeuilogicnodes/DEACTION1",
"name" : "实体行为",
This diff is collapsed.
Click to expand it.
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
0707b413
...
...
@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-128
4
-7"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-128
6
-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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录