fix: 修复配置管理页面多个DOM元素ID不匹配和缺失函数问题

Coze-Commit-Type: user
Coze-User-ID: 3722323274763196
Coze-Conversation-ID: 9894087
This commit is contained in:
user9994793890
2026-07-13 17:06:51 +08:00
parent 9ca789cc18
commit 9449d25837
4 changed files with 33 additions and 5 deletions

View File

@@ -222,3 +222,12 @@ async function loadHistoryWithDate(page, startDate, endDate) {
// 初始化
loadConfigs();
loadFields();
// 全选/取消全选历史记录
function toggleSelectAllHistory() {
const selectAllCheckbox = document.getElementById('select-all-history');
const checkboxes = document.querySelectorAll('#history-list input[type="checkbox"]');
checkboxes.forEach(cb => {
cb.checked = selectAllCheckbox.checked;
});
}