提交 646a6097 编写于 作者: WodahsOrez's avatar WodahsOrez

lxm--面板和多数据部件数据流向--fix5

上级 0e5a2cbe
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
* this引用 * this引用
* *
* @type {number} * @type {number}
* @memberof Main * @memberof ${srfclassname('${ctrl.codeName}')}
*/ */
public thisRef: any = this; public thisRef: any = this;
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
* 当前页 * 当前页
* *
* @type {number} * @type {number}
* @memberof Main * @memberof ${srfclassname('${ctrl.codeName}')}
*/ */
public curPage: number = 1; public curPage: number = 1;
......
...@@ -130,6 +130,37 @@ ...@@ -130,6 +130,37 @@
*/ */
@Prop() public fetchAction!: string; @Prop() public fetchAction!: string;
<#if view.getPSAppViewLogics?? && view.getPSAppViewLogics()??>
<#list view.getPSAppViewLogics() as logic>
<#if logic.getPFLogicCodeType() == 'APP_NEWDATA'>
/**
* 打开新建数据视图
*
* @type {any}
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
@Prop() public newdata: any;
</#if>
<#if logic.getPFLogicCodeType() == 'APP_OPENDATA'>
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
@Prop() public opendata: any;
</#if>
</#list>
</#if>
/**
* this引用
*
* @type {number}
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
public thisRef: any = this;
/** /**
* 是否单选 * 是否单选
* *
......
...@@ -9,6 +9,16 @@ ...@@ -9,6 +9,16 @@
<#if view.getViewType() == 'DEDATAVIEWEXPVIEW'> <#if view.getViewType() == 'DEDATAVIEWEXPVIEW'>
:isSelectFirstDefault="true" :isSelectFirstDefault="true"
</#if> </#if>
<#if view.getPSAppViewLogics?? && view.getPSAppViewLogics()??>
<#list view.getPSAppViewLogics() as logic>
<#if logic.getPFLogicCodeType() == 'APP_NEWDATA'>
:newdata="newdata"
</#if>
<#if logic.getPFLogicCodeType() == 'APP_OPENDATA'>
:opendata="opendata"
</#if>
</#list>
</#if>
</#assign> </#assign>
<#ibizinclude> <#ibizinclude>
../@MACRO/HTML/DEFAULT.html.ftl ../@MACRO/HTML/DEFAULT.html.ftl
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册