提交 659fe87c 编写于 作者: tony001's avatar tony001

Update CONTROL-BASE.vue.ftl

上级 41df47f4
...@@ -791,17 +791,17 @@ draggable, ...@@ -791,17 +791,17 @@ draggable,
* @memberof ${srfclassname('${ctrl.codeName}')}Base * @memberof ${srfclassname('${ctrl.codeName}')}Base
*/ */
public uiAction(tag: any, $event: any, group: any) { public uiAction(tag: any, $event: any, group: any) {
let row = this.selections.length > 0 && group?.items.includes(this.selections[0])? this.selections[0] : {}; // let row = this.selections.length > 0 && group?.items.includes(this.selections[0])? this.selections[0] : {};
if(!row.hasOwnProperty('srfgroup')){ // if(!row.hasOwnProperty('srfgroup')){
Object.assign(row,{srfgroup: group? group.value:null}); // Object.assign(row,{srfgroup: group? group.value:null});
} // }
<#if ctrl.getPSAppViewLogics()??> <#if ctrl.getPSAppViewLogics()??>
<#list ctrl.getPSAppViewLogics() as logic> <#list ctrl.getPSAppViewLogics() as logic>
<#if logic.getPSAppViewUIAction().getPSUIAction()??> <#if logic.getPSAppViewUIAction().getPSUIAction()??>
<#assign action = logic.getPSAppViewUIAction().getPSUIAction()> <#assign action = logic.getPSAppViewUIAction().getPSUIAction()>
if(Object.is('${action.getUIActionTag()}', tag)) { // if(Object.is('${action.getUIActionTag()}', tag)) {
this.${logic.getName()}(row, tag, $event); // this.${logic.getName()}(row, tag, $event);
} // }
</#if> </#if>
</#list> </#list>
</#if> </#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册