refactor: 移除四所统计分析页交易日历

删除日历 UI、bootstrap 与 /api/stats/calendar 注册;保留日/周/月统计表。内照明心档案日历不受影响。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-30 09:51:10 +08:00
parent 32079bb4c2
commit 4742a0bb9d
13 changed files with 9 additions and 190 deletions
-2
View File
@@ -664,7 +664,6 @@ function switchStatsSegment(){
q.set("stats_segment", key);
const qs = q.toString();
history.replaceState(null, "", qs ? (window.location.pathname + "?" + qs) : window.location.pathname);
if(window.statsCalendarWidget) window.statsCalendarWidget.load();
}
function initStatsSegmentFromUrl(){
@@ -701,7 +700,6 @@ attachListWindowToExports();
toggleListWindowCustom();
bindListWindowDateAutoCustom();
initStatsSegmentFromUrl();
if(typeof initInstanceStatsCalendar === "function") initInstanceStatsCalendar();
if(document.getElementById("journal-list")) loadJournals();
if(document.getElementById("review-list")) loadReviews();
const reviewToggle = document.getElementById("review-mode-toggle");