提交 62e2bd54 编写于 作者: Shine-zwj's avatar Shine-zwj

日历部件 面板抛出数据接收

上级 01c10cbe
...@@ -38,16 +38,16 @@ ${ctrl.render.code} ...@@ -38,16 +38,16 @@ ${ctrl.render.code}
<div v<#if calendarItem_index != 0>-else</#if>-if="<#if calendarItem.getPSLayoutPanel()??>true<#else>false</#if> && item.itemType == '${calendarItem.getItemType()}'"> <div v<#if calendarItem_index != 0>-else</#if>-if="<#if calendarItem.getPSLayoutPanel()??>true<#else>false</#if> && item.itemType == '${calendarItem.getItemType()}'">
<#if calendarItem.getPSLayoutPanel()??> <#if calendarItem.getPSLayoutPanel()??>
<#assign panel = calendarItem.getPSLayoutPanel()> <#assign panel = calendarItem.getPSLayoutPanel()>
<@ibizindent blank=16> <@ibizindent blank=20>
${P.getCtrlCode(panel, 'CONTROL.html').code} ${P.getCtrlCode(panel, 'CONTROL.html').code}
</@ibizindent> </@ibizindent>
</#if> </#if>
</div> </div>
</#list> </#list>
<div v-else> <div v-else>
<h4>{{item.title}}</h4> <h4>{{item.title}}</h4>
<p>{{$t('app.calendar.from')}} {{item.start}} {{$t('app.calendar.to')}} {{item.end}}</p> <p>{{$t('app.calendar.from')}} {{item.start}} {{$t('app.calendar.to')}} {{item.end}}</p>
</div> </div>
</#if> </#if>
</el-card> </el-card>
</context-menu> </context-menu>
...@@ -167,7 +167,7 @@ FullCalendar, ...@@ -167,7 +167,7 @@ FullCalendar,
/** /**
* this引用 * this引用
* *
* @type {number} * @type {any}
* @memberof ${srfclassname('${ctrl.codeName}')}Base * @memberof ${srfclassname('${ctrl.codeName}')}Base
*/ */
public thisRef: any = this; public thisRef: any = this;
...@@ -377,6 +377,17 @@ FullCalendar, ...@@ -377,6 +377,17 @@ FullCalendar,
*/ */
public searchArgCache: any = {}; public searchArgCache: any = {};
/**
* 面板数据变化处理事件
* @param {any} item 当前数据
* @param {any} $event 面板事件数据
*
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public onPanelDataChange(item:any,$event:any) {
}
/** /**
* 搜索获取日程事件 * 搜索获取日程事件
* *
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册