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

界面行为关系参数调整

上级 cfb24241
......@@ -4,20 +4,18 @@
<#-- BEGIN:应用实体视图 -->
<#-- 存在关系start -->
<#if dataview.getPSAppDERSPathCount() gt 0>
let deResParameters: any[] = [];
<#-- 如果是主实体需对context判断start -->
<#if dataview.getPSAppDataEntity().isMajor()>
<#list 1..dataview.getPSAppDERSPathCount() as count>
<#assign condition = ''/>
<#list dataview.getPSAppDERSPath(count_index) as deRSPath>
<#if deRSPath.getMajorPSAppDataEntity?? && deRSPath.getMajorPSAppDataEntity()??>
<#assign _dataEntity = deRSPath.getMajorPSAppDataEntity()/>
//top${condition},${count_index}
<#assign condition>${condition}context.${_dataEntity.getCodeName()?lower_case} && </#assign>
//${condition},${count_index}
</#if>
</#list>
</#list>
let deResParameters: any[] = [];
<#-- 如果是主实体需对context判断start -->
<#if dataview.getPSAppDataEntity().isMajor()>
<#if condition != ''>
if (${condition}true) {
deResParameters = [
<#list dataview.getPSAppDERSPath(dataview.getPSAppDERSPathCount() - 1) as deRSPath>
......@@ -27,6 +25,9 @@
</#list>
]
}
</#if>
</#list>
<#else>
deResParameters = [
<#list dataview.getPSAppDERSPath(dataview.getPSAppDERSPathCount() - 1) as deRSPath>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册