提交 9497957e 编写于 作者: JunZai's avatar JunZai

update

上级 39c1d4e2
...@@ -3,21 +3,6 @@ ...@@ -3,21 +3,6 @@
</#ibizinclude> </#ibizinclude>
<template> <template>
<div :class='calendarClass'> <div :class='calendarClass'>
<#if ctrl.getCalendarStyle?? && ctrl.getCalendarStyle() == 'TIMELINE'>
<el-timeline>
<el-timeline-item
v-for="(item, index) in events"
:key="item.title+index"
:color="item.color"
:timestamp="item.start"
placement="top">
<el-card @click.native="onEventClick(item,true,$event)" :class="item.className">
<h4>{{item.title}}</h4>
<p>从 {{item.start}} 至 {{item.end}}</p>
</el-card>
</el-timeline-item>
</el-timeline>
<#else>
<FullCalendar <FullCalendar
ref="calendar" ref="calendar"
:locale="$i18n.locale" :locale="$i18n.locale"
...@@ -39,7 +24,6 @@ ...@@ -39,7 +24,6 @@
<modal v-model="modalVisible" width="250px" :title="$t('app.calendar.dateSelectModalTitle')" class-name='date-select-modal' @on-ok="gotoDate"> <modal v-model="modalVisible" width="250px" :title="$t('app.calendar.dateSelectModalTitle')" class-name='date-select-modal' @on-ok="gotoDate">
<el-date-picker style="width: 200px;" v-model="selectedGotoDate" type="date"></el-date-picker> <el-date-picker style="width: 200px;" v-model="selectedGotoDate" type="date"></el-date-picker>
</modal> </modal>
</#if>
</div> </div>
</template> </template>
<#assign import_block> <#assign import_block>
...@@ -259,7 +243,7 @@ FullCalendar, ...@@ -259,7 +243,7 @@ FullCalendar,
* @type {string} * @type {string}
* @memberof ${srfclassname('${ctrl.codeName}')} * @memberof ${srfclassname('${ctrl.codeName}')}
*/ */
public calendarType: string = "${ctrl.getCalendarStyle()}"; public calendarType: string = "${ctrl.getGanttStyle()}";
/** /**
* 搜索获取日程事件 * 搜索获取日程事件
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册