提交 b12464d1 编写于 作者: Mosher's avatar Mosher

update:更新

上级 d4c90254
...@@ -4,6 +4,7 @@ TARGET=PSAPPDEUILOGIC ...@@ -4,6 +4,7 @@ TARGET=PSAPPDEUILOGIC
<#ibizinclude> <#ibizinclude>
../@MACRO/ui-logic-node.txt ../@MACRO/ui-logic-node.txt
</#ibizinclude> </#ibizinclude>
import { UIActionContext } from "@/logic/ui-logic";
/** /**
* ${item.name} * ${item.name}
* *
...@@ -99,7 +100,7 @@ export default class ${srfclassname('${item.getCodeName()}')}UILogicBase { ...@@ -99,7 +100,7 @@ export default class ${srfclassname('${item.getCodeName()}')}UILogicBase {
try { try {
const actionContext = this.beforeExecute(args, context, params, $event, xData, actioncontext, srfParentDeName); const actionContext = this.beforeExecute(args, context, params, $event, xData, actioncontext, srfParentDeName);
<#if item.getStartPSDEUILogicNode?? && item.getStartPSDEUILogicNode()??> <#if item.getStartPSDEUILogicNode?? && item.getStartPSDEUILogicNode()??>
await this.execute_${item.getStartPSDEUILogicNode().codeName}_node(actionContext); await this.execute_${item.getStartPSDEUILogicNode().codeName?lower_case}_node(actionContext);
<#else> <#else>
throw new Error('没有开始节点'); throw new Error('没有开始节点');
</#if> </#if>
......
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
* *
* @param {UIActionContext} actionContext 界面逻辑上下文 * @param {UIActionContext} actionContext 界面逻辑上下文
*/ */
protected async execute_${logicNode.codeName?lower_case}_node(actionContext: UIActionContext) { protected async execute_${logicNode.codeName?lower_case}_node(actionContext: UIActionContext) {
// <#if item?? && item.name??>${item.name}</#if> // <#if item?? && item.name??>${item.name}</#if>
<#if logicNode.getLogicNodeType() == 'BEGIN'> <#if logicNode.getLogicNodeType() == 'BEGIN'>
<#-- 开始节点 --> <#-- 开始节点 -->
...@@ -217,5 +217,5 @@ protected async execute_${logicNode.codeName?lower_case}_node(actionContext: UIA ...@@ -217,5 +217,5 @@ protected async execute_${logicNode.codeName?lower_case}_node(actionContext: UIA
console.log('${logicNode.getLogicNodeType()}暂未支持'); console.log('${logicNode.getLogicNodeType()}暂未支持');
</#if> </#if>
<@computeNextNode logicNode/> <@computeNextNode logicNode/>
} }
</#macro> </#macro>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册