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

Merge branch 'dev'

上级 0cffee37
<div class="view-container ${view.getViewType()?lower_case} ${srffilepath2(view.getCodeName())}<#if view.getPSSysCss?? && view.getPSSysCss()??> ${view.getPSSysCss().getCssName()}</#if>">
<app-studioaction :viewTitle="$t(model.srfTitle)" viewName="${view.getCodeName()?lower_case}"></app-studioaction>
<card class='view-card <#if !view.isShowCaptionBar()> view-no-caption</#if> <#if !view.hasPSControl('toolbar')> view-no-toolbar</#if>' :disHover="true" :padding="0" :bordered="false">
<#ibizinclude>
../@MACRO/VIEW_CAPTION.vue.ftl
</#ibizinclude>
<#assign view_content>
<split id="${view.getCodeName()?lower_case}" v-model="split" mode="horizontal">
<div slot='left'>
<el-tree ref="tree" :data="wfStepModel" node-key="userTaskId" :highlight-current="true" :props="defaultProps" @node-click="handleNodeClick"></el-tree>
......@@ -19,5 +14,7 @@
</div>
</div>
</split>
</card>
</div>
\ No newline at end of file
</#assign>
<#ibizinclude>
../@MACRO/VIEW_LAYOUT_BASE.ftl
</#ibizinclude>
\ No newline at end of file
<div class="view-container ${view.getViewType()?lower_case} ${srffilepath2(view.getCodeName())}<#if view.getPSSysCss?? && view.getPSSysCss()??> ${view.getPSSysCss().getCssName()}</#if>">
<app-studioaction :viewTitle="$t(model.srfTitle)" viewName="${view.getCodeName()?lower_case}"></app-studioaction>
<card class='view-card <#if !view.isShowCaptionBar()> view-no-caption</#if> <#if !view.hasPSControl('toolbar')> view-no-toolbar</#if>' :disHover="true" :padding="0" :bordered="false">
<#ibizinclude>
../@MACRO/VIEW_CAPTION.vue.ftl
......
......@@ -32,6 +32,14 @@
*/
public isSingleSelect:boolean = true;
/**
* 搜索值
*
* @type {string}
* @memberof ${srfclassname('${view.name}')}Base
*/
public query: string = '';
/**
* 左侧树的默认配置
*
......@@ -106,6 +114,22 @@
tree.setCurrentKey(data.userTaskId);
})
}
/**
* 快速搜索
*
* @param {*} $event
* @memberof ${srfclassname('${view.name}')}Base
*/
public onSearch($event: any): void {
<#if grid??>
const grid: any = this.$refs.${grid.name};
if (grid) {
grid.load(this.context,true);
}
</#if>
}
<#if view.hasPSControl('grid')>
<#assign grid = view.getPSControl('grid')>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册