조직도 내부 상단 바 제거

This commit is contained in:
hyunho
2026-03-25 12:00:24 +09:00
parent 4697cef5dc
commit 65bcff32ec
3 changed files with 12 additions and 36 deletions

View File

@@ -515,12 +515,20 @@ function updateFabMenu() {
let html = '<button class="fab-sub shadow-xl" data-label="리스트" onclick="openListViewModal(event)">📋</button>';
html += '<button class="fab-sub shadow-xl" data-label="조직도 인쇄(A3)" onclick="printA3()">🖨️</button>';
if (isAdmin) {
html += '<button class="fab-sub shadow-xl" data-label="조직현황 업로드" onclick="triggerUpload(event)">⬆️</button>';
html += '<button class="fab-sub shadow-xl" data-label="신규 구성원" onclick="openAddModal(event)">👤</button>';
html += '<button class="fab-sub shadow-xl" data-label="신규 팀/그룹/셀" onclick="openUnitAddModal(event)">🏢</button>';
}
menu.innerHTML = html;
}
function triggerUpload(event) {
if (event) {
event.stopPropagation();
}
document.getElementById('upload-excel').click();
}
function printA3() {
window.print();
}
@@ -1288,9 +1296,6 @@ window.addEventListener('click', () => {
});
document.addEventListener('DOMContentLoaded', async () => {
document.getElementById('upload-button').addEventListener('click', () => {
document.getElementById('upload-excel').click();
});
document.getElementById('upload-excel').addEventListener('change', async (event) => {
const file = event.target.files?.[0];
if (!file) {