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

update 日历视图

上级 4051ece8
...@@ -432,7 +432,7 @@ import moment from 'moment'; ...@@ -432,7 +432,7 @@ import moment from 'moment';
if(this.calendarItems.<#if calendaritem.getItemType()??>${calendaritem.getItemType()?lower_case}</#if>){ if(this.calendarItems.<#if calendaritem.getItemType()??>${calendaritem.getItemType()?lower_case}</#if>){
this.calendarItems.<#if calendaritem.getItemType()??>${calendaritem.getItemType()?lower_case}</#if>.forEach((item:any) => { this.calendarItems.<#if calendaritem.getItemType()??>${calendaritem.getItemType()?lower_case}</#if>.forEach((item:any) => {
if(${calendaritem.getItemType()?lower_case}Item.length == 0){ if(${calendaritem.getItemType()?lower_case}Item.length == 0){
${calendaritem.getItemType()?lower_case}Item.push({time:item.item.<#if calendaritem.getBeginTimePSAppDEField()?? && calendaritem.getBeginTimePSAppDEField().getName()??>${calendaritem.getBeginTimePSAppDEField().getName()?lower_case}<#else>start</#if>.substring(0, 10),evens:[item]}); ${calendaritem.getItemType()?lower_case}Item.push({time:item.<#if calendaritem.getBeginTimePSAppDEField()?? && calendaritem.getBeginTimePSAppDEField().getName()??>${calendaritem.getBeginTimePSAppDEField().getName()?lower_case}<#else>start</#if>.substring(0, 10),evens:[item]});
}else{ }else{
${calendaritem.getItemType()?lower_case}Item.forEach((sig:any)=>{ ${calendaritem.getItemType()?lower_case}Item.forEach((sig:any)=>{
if(sig.time.substring(0, 10) != item.<#if calendaritem.getBeginTimePSAppDEField()?? && calendaritem.getBeginTimePSAppDEField().getName()??>${calendaritem.getBeginTimePSAppDEField().getName()?lower_case}<#else>start</#if>.substring(0, 10)){ if(sig.time.substring(0, 10) != item.<#if calendaritem.getBeginTimePSAppDEField()?? && calendaritem.getBeginTimePSAppDEField().getName()??>${calendaritem.getBeginTimePSAppDEField().getName()?lower_case}<#else>start</#if>.substring(0, 10)){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册