调整按钮顺序:查当周移到统计加班时间和查当月之间

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-22 19:17:47 +08:00
parent b74978d2dc
commit 99d3ecad6d
2 changed files with 4 additions and 4 deletions

View File

@@ -284,11 +284,11 @@
get_work_time();
}
});
const button4 = createQueryButton('查当周', getCurrentWeekRange);
const button0 = createQueryButton('查当月', () => getCustomMonthRange(0));
const button1 = createQueryButton('查上月', () => getCustomMonthRange(1));
const button2 = createQueryButton('查上上月', () => getCustomMonthRange(2));
const button3 = createQueryButton('查上上上月', () => getCustomMonthRange(3));
const button4 = createQueryButton('查当周', getCurrentWeekRange);
// 获取要将按钮添加到其中的容器
let container = document.getElementById('seclevelmenu');
@@ -296,11 +296,11 @@
container = document.body;
}
container.appendChild(button);
container.appendChild(button4);
container.appendChild(button0);
container.appendChild(button1);
container.appendChild(button2);
container.appendChild(button3);
container.appendChild(button4);
console.log("复旦微加班时间统计脚本已加载");
console.log("点击按钮后会统计加班时间");
})()