提交 64e9467e 编写于 作者: tony001's avatar tony001

增加视图消息默认值

上级 dab74cc4
...@@ -8,7 +8,7 @@ TARGET=PSSYSAPP ...@@ -8,7 +8,7 @@ TARGET=PSSYSAPP
<#if viewMsgGroup.getPSAppViewMsgGroupDetails()??> <#if viewMsgGroup.getPSAppViewMsgGroupDetails()??>
<#list viewMsgGroup.getPSAppViewMsgGroupDetails() as viewMsgGroupDetail> <#list viewMsgGroup.getPSAppViewMsgGroupDetails() as viewMsgGroupDetail>
<#assign viewMessage = viewMsgGroupDetail.getPSAppViewMsg() /> <#assign viewMessage = viewMsgGroupDetail.getPSAppViewMsg() />
{"tag":"${viewMessage.getCodeName()}","position":"${viewMessage.getPosition()}","type":"${viewMessage.getMessageType()}"}<#if viewMsgGroupDetail_has_next>,</#if> {"tag":"${viewMessage.getCodeName()}","position":"<#if viewMessage.getPosition() != "">${viewMessage.getPosition()}<#else>TOP</#if>","type":"<#if viewMessage.getMessageType() !="">${viewMessage.getMessageType()}<#else>INFO</#if>"}<#if viewMsgGroupDetail_has_next>,</#if>
</#list> </#list>
</#if> </#if>
]<#if viewMsgGroup_has_next>,</#if> ]<#if viewMsgGroup_has_next>,</#if>
......
...@@ -29,13 +29,13 @@ export default class ${srfclassname('${item.getCodeName()}')}MessageServiceBase ...@@ -29,13 +29,13 @@ export default class ${srfclassname('${item.getCodeName()}')}MessageServiceBase
this.id = "${item.getId()}"; this.id = "${item.getId()}";
this.name = "${item.getName()}"; this.name = "${item.getName()}";
this.codename = "<#if item.getCodeName()??>${item.getCodeName()}</#if>"; this.codename = "<#if item.getCodeName()??>${item.getCodeName()}</#if>";
this.tilte = "<#if item.getTitle()??>${item.getTitle()}</#if>"; this.title = "<#if item.getTitle()??>${item.getTitle()}</#if>";
this.content = "<#if item.getTitle()??>${item.getTitle()}</#if>"; this.content = "<#if item.getTitle()??>${item.getTitle()}</#if>";
this.closeMode = ""; this.closeMode = "";
this.position = "<#if item.getPosition()??>${item.getPosition()}</#if>"; this.position = "<#if item.getPosition() !="">${item.getPosition()}<#else>TOP</#if>";
this.type = "${item.getMessageType()}"; this.type = "<#if item.getMessageType() !="">${item.getMessageType()}<#else>INFO</#if>";
this.isdefault = true; this.isdefault = true;
this.isEnableRemove = true; this.isEnableRemove = ${item.isEnableRemove()};
this.dynamicMode = "STATIC"; this.dynamicMode = "STATIC";
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册