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

增加视图消息默认值

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