提交 8dc6b358 编写于 作者: KK's avatar KK

选择树

上级 b74fe6d1
<#assign view_content>
<div>暂不支持</div>
</#assign>
<#ibizinclude>
../@MACRO/VIEW_LAYOUT_BASE.ftl
</#ibizinclude>
\ No newline at end of file
<div class="view-container app-mob-pickup-mdview ${srffilepath2(view.getCodeName())}<#if view.getPSSysCss()??><#assign singleCss=view.getPSSysCss()> ${singleCss.getCssName()}</#if>">
<div class="view-content">
<#if view.hasPSControl('treeview')>
${P.getCtrlCode('treeview', 'CONTROL.html').code}
</#if>
</div>
</div>
\ No newline at end of file
......@@ -10,6 +10,31 @@
../@MACRO/VIEW_CONTENT-BASE.vue.ftl
</#ibizinclude>
/**
* 是否单选
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}
*/
@Prop({ default: true }) protected isSingleSelect!: boolean;
/**
* 搜索值
*
* @memberof ${srfclassname('${view.name}')}
*/
public query = "";
/**
* 快速搜索
*
* @memberof ${srfclassname('${view.name}')}
*/
public quickSearch(value:any){
this.query = value;
this.viewState.next({tag:'mdctrl',action:'quicksearch',data: value});
}
<#ibizinclude>
../@MACRO/VIEW_BOTTOM-BASE.vue.ftl
</#ibizinclude>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册