refactor: 프론트엔드 SSO 인증 통합 및 API 경로 정리
- Gateway 로그인/포탈 페이지 SSO 연동 - System1 web/fastapi-bridge API base URL 동적 설정 - SSO 토큰 기반 인증 흐름 통일 - deprecated JS 파일 삭제 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -9,7 +9,6 @@ let currentEditingWorker = null;
|
||||
|
||||
// 페이지 초기화
|
||||
document.addEventListener('DOMContentLoaded', async () => {
|
||||
console.log('👥 작업자 관리 페이지 초기화 시작');
|
||||
await waitForApi();
|
||||
await loadDepartments();
|
||||
});
|
||||
@@ -30,7 +29,6 @@ async function loadDepartments() {
|
||||
departments = result.data;
|
||||
renderDepartmentList();
|
||||
updateParentDepartmentSelect();
|
||||
console.log('✅ 부서 목록 로드 완료:', departments.length + '개');
|
||||
} else if (Array.isArray(result)) {
|
||||
departments = result;
|
||||
renderDepartmentList();
|
||||
@@ -268,7 +266,6 @@ async function loadWorkersByDepartment(departmentId) {
|
||||
allWorkers = response.data;
|
||||
filteredWorkers = [...allWorkers];
|
||||
renderWorkerList();
|
||||
console.log(`✅ ${departmentId} 부서 작업자 로드: ${allWorkers.length}명`);
|
||||
} else if (Array.isArray(response)) {
|
||||
allWorkers = response;
|
||||
filteredWorkers = [...allWorkers];
|
||||
|
||||
Reference in New Issue
Block a user