Repository navigation
feat(substitution): 全校教師週總表(含調代課);發布 v1.4.14 - #79
Merged
Merged
Conversation
設備組長建議:學校每週手做「全校老師一週總表」標出調代課。 今日調代課看板可選 1~4 週,列印(A3 橫式)或匯出 Excel; 老師為欄、日期 × 節次為列,原本的課沒上劃掉並寫去向,代課藍字、調課紅字。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
需求
設備組長建議:學校每週手做一張「全校老師一週總表」貼在辦公室,標出誰請假、誰代誰、誰和誰調課,希望系統能直接產生,也能一次產生好幾週。
做法
入口:「今日調代課」看板,巡堂表那組按鈕旁邊多了「教師週總表:[1~4 週] [列印] [Excel]」,從選定日期那一週起算。
版面(照學校手做的表):
調10/30_56)。格式:
資料:直接用巡堂表的
patrol_sheets.Day(已發布課表疊上當天的調代課,單雙週只列當週的課)。不需要改資料表。變更
services/teacher_week_sheets.py(新)services/teacher_week_xlsx.py(新)GET /teacher-week-sheets、GET /teacher-week-sheets.xlsx:限教學組長和教務主任,與巡堂表相同TeacherWeekPrint.vue(新),路由/teacher-week/printDailyBoard.vue加入口按鈕api/substitutionLog.tstest_teacher_week_sheets.py,共 7 項:欄位排序、代課與待處理、自習、調課兩端記號、跑班、多週與錯誤、Excelpatrol-sheets.spec.ts加上週總表的列印與 Excel 下載.env.example測試
patrol-sheets.spec.ts通過。🤖 Generated with Claude Code