默认出勤支持"假前下午上课"例外(校历新增"节前上课"类型)

1. 校历手动设置新增类型 pre_holiday(节前上课,早+中,无晚修)
2. 默认出勤:放假前一天默认只生成上午;若该日手动设为"节前上课",则生成早+中
3. 校历弹窗/列表与文档同步更新
This commit is contained in:
canglan committed 2026-11-26 09:46:19 +08:00
1 parent d9dd7bf7e8
commit ad50f82c7b
5 files changed
+16 -5

No files matched your search

+1
View File
@@ -152,6 +152,7 @@ include __DIR__ . '/../includes/header.php';
<input type="date" id="calendarNewDate" style="width:auto;">
<select id="calendarNewType" style="width:auto;">
<option value="makeup">补课(按上课)</option>
<option value="pre_holiday">节前上课(早+中)</option>
<option value="holiday">放假(按休息)</option>
</select>
<input type="text" id="calendarNewNote" placeholder="备注(选填)" maxlength="100" style="flex:1; min-width:120px;">