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

列表操作列问题

上级 189348a6
...@@ -361,6 +361,8 @@ import CodeListService from "@/codelist/codelist-service"; ...@@ -361,6 +361,8 @@ import CodeListService from "@/codelist/codelist-service";
*/ */
public isScrollBar: boolean = false; public isScrollBar: boolean = false;
/** /**
* 排序方向 * 排序方向
* *
...@@ -774,6 +776,28 @@ import CodeListService from "@/codelist/codelist-service"; ...@@ -774,6 +776,28 @@ import CodeListService from "@/codelist/codelist-service";
return successItems; return successItems;
} }
/**
* 操作列界面行为
*
* @param {*} data
* @param {*} tag
* @param {*} $event
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public uiAction(data: any, tag: any, $event: any) {
$event.stopPropagation();
<#if ctrl.getPSAppViewLogics()??>
<#list ctrl.getPSAppViewLogics() as logic>
<#if logic.getPSAppViewUIAction().getPSUIAction()??>
<#assign action = logic.getPSAppViewUIAction().getPSUIAction()>
if(Object.is('${action.getUIActionTag()}', tag)) {
this.${logic.getName()}(data, tag, $event);
}
</#if>
</#list>
</#if>
}
/** /**
* 面板数据变化处理事件 * 面板数据变化处理事件
* @param {any} item 当前列数据 * @param {any} item 当前列数据
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册