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

属性值规则测试

上级 ee01c950
...@@ -15,6 +15,18 @@ export default { ...@@ -15,6 +15,18 @@ export default {
</#list> </#list>
}, },
</#if> </#if>
<#if item.getAllPSDEFValueRules?? && item.getAllPSDEFValueRules()??>
derules:{
<#list item.getAllPSDEFValueRules() as deValueRule>
<#if deValueRule?? && deValueRule.getPSDEFVRGroupCondition?? && deValueRule.getPSDEFVRGroupCondition()?? && deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions?? && deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions()??>
<#assign deVRConditions = deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions() />
<#list deVRConditions as singleCondition>
${deValueRule.getCodeName()?lower_case}:commonLogic.appcommonhandle("${singleCondition.getRuleInfo()}",null),
</#list>
</#if>
</#list>
},
</#if>
<#-- 实体视图输出 --> <#-- 实体视图输出 -->
<#if item.getAllPSAppViews()??> <#if item.getAllPSAppViews()??>
views: { views: {
......
...@@ -14,6 +14,18 @@ export default { ...@@ -14,6 +14,18 @@ export default {
</#list> </#list>
}, },
</#if> </#if>
<#if item.getAllPSDEFValueRules?? && item.getAllPSDEFValueRules()??>
derules:{
<#list item.getAllPSDEFValueRules() as deValueRule>
<#if deValueRule?? && deValueRule.getPSDEFVRGroupCondition?? && deValueRule.getPSDEFVRGroupCondition()?? && deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions?? && deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions()??>
<#assign deVRConditions = deValueRule.getPSDEFVRGroupCondition().getPSDEFVRConditions() />
<#list deVRConditions as singleCondition>
${deValueRule.getCodeName()?lower_case}:commonLogic.appcommonhandle("${singleCondition.getRuleInfo()}",null),
</#list>
</#if>
</#list>
},
</#if>
<#-- 实体视图输出 --> <#-- 实体视图输出 -->
<#if item.getAllPSAppViews()??> <#if item.getAllPSAppViews()??>
views: { views: {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册