提交 4b28de30 编写于 作者: WodahsOrez's avatar WodahsOrez

lxm--树选择双击

上级 ceace172
...@@ -690,6 +690,7 @@ ${P.getCtrlCode(childCtrl, 'CONTROL.html').code} ...@@ -690,6 +690,7 @@ ${P.getCtrlCode(childCtrl, 'CONTROL.html').code}
</#list> </#list>
</#if> </#if>
} }
this.$emit('rowdblclick', this.selectedNodes);
} }
<#ibizinclude> <#ibizinclude>
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
<#if view.getViewType() == 'DEPICKUPTREEVIEW'> <#if view.getViewType() == 'DEPICKUPTREEVIEW'>
:isSingleSelect="isSingleSelect" :isSingleSelect="isSingleSelect"
:selectedData="selectedData" :selectedData="selectedData"
@rowdblclick="tree_rowdblclick($event)"
</#if> </#if>
</#assign> </#assign>
<#ibizinclude> <#ibizinclude>
......
...@@ -56,6 +56,17 @@ ...@@ -56,6 +56,17 @@
</#if> </#if>
} }
/**
* tree 部件 rowdblclick 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}Base
*/
public tree_rowdblclick($event: any, $event2?: any) {
this.engine.onCtrlEvent('tree', 'rowdblclick', $event);
}
<#ibizinclude> <#ibizinclude>
../@MACRO/VIEW_BOTTOM-BASE.vue.ftl ../@MACRO/VIEW_BOTTOM-BASE.vue.ftl
</#ibizinclude> </#ibizinclude>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册