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

update

上级 39c1d4e2
......@@ -3,21 +3,6 @@
</#ibizinclude>
<template>
<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
ref="calendar"
:locale="$i18n.locale"
......@@ -39,7 +24,6 @@
<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>
</modal>
</#if>
</div>
</template>
<#assign import_block>
......@@ -259,7 +243,7 @@ FullCalendar,
* @type {string}
* @memberof ${srfclassname('${ctrl.codeName}')}
*/
public calendarType: string = "${ctrl.getCalendarStyle()}";
public calendarType: string = "${ctrl.getGanttStyle()}";
/**
* 搜索获取日程事件
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册