迁移节日活动表单脚本
This commit is contained in:
@@ -306,22 +306,3 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function holidayEventForm(config) {
|
||||
return {
|
||||
repeatType: config.repeatType ?? 'once',
|
||||
distributeType: config.distributeType ?? 'random',
|
||||
targetType: config.targetType ?? 'all',
|
||||
scheduleMonth: config.scheduleMonth ?? '1',
|
||||
scheduleDay: config.scheduleDay ?? '1',
|
||||
scheduleTime: config.scheduleTime ?? '20:00',
|
||||
durationDays: config.durationDays ?? '1',
|
||||
dailyOccurrences: config.dailyOccurrences ?? '1',
|
||||
occurrenceIntervalMinutes: config.occurrenceIntervalMinutes ?? '60',
|
||||
yearlySummary() {
|
||||
return `每年 ${this.scheduleMonth} 月 ${this.scheduleDay} 日 ${this.scheduleTime},连续 ${this.durationDays} 天,每天 ${this.dailyOccurrences} 次 / ${this.occurrenceIntervalMinutes} 分钟`;
|
||||
},
|
||||
};
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user