查上上月和查上上上月改为基于当前显示月的偏移导航

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-23 11:25:47 +08:00
parent 9fc1e8633d
commit 7a2ea27a25
2 changed files with 4 additions and 4 deletions

View File

@@ -22403,8 +22403,8 @@ const workDayData = {
});
const buttonNext = createQueryButton('查下月', () => navigateMonth(-1));
const buttonPrev = createQueryButton('查上月', () => navigateMonth(1));
const button2 = createQueryButton('查上上月', () => getCustomMonthRange(2));
const button3 = createQueryButton('查上上上月', () => getCustomMonthRange(3));
const button2 = createQueryButton('查上上月', () => navigateMonth(2));
const button3 = createQueryButton('查上上上月', () => navigateMonth(3));
// 获取要将按钮添加到其中的容器
let container = document.getElementById('seclevelmenu');

View File

@@ -480,8 +480,8 @@
});
const buttonNext = createQueryButton('查下月', () => navigateMonth(-1));
const buttonPrev = createQueryButton('查上月', () => navigateMonth(1));
const button2 = createQueryButton('查上上月', () => getCustomMonthRange(2));
const button3 = createQueryButton('查上上上月', () => getCustomMonthRange(3));
const button2 = createQueryButton('查上上月', () => navigateMonth(2));
const button3 = createQueryButton('查上上上月', () => navigateMonth(3));
// 获取要将按钮添加到其中的容器
let container = document.getElementById('seclevelmenu');