/**
 * 备注页面 Tab 切换逻辑
 */
function switchTab(tab) {
    var customerNotes = document.getElementById('customerNotes');
    var coachNotes = document.getElementById('coachNotes');
    var tabCustomer = document.getElementById('tabCustomer');
    var tabCoach = document.getElementById('tabCoach');

    if (tab === 'customer') {
        customerNotes.classList.remove('hidden');
        coachNotes.classList.add('hidden');
        tabCustomer.classList.add('active');
        tabCoach.classList.remove('active');
    } else {
        customerNotes.classList.add('hidden');
        coachNotes.classList.remove('hidden');
        tabCustomer.classList.remove('active');
        tabCoach.classList.add('active');
    }
}
