From 7c4ccf6bba8a1f0728743016fea0acbc79ebcee0 Mon Sep 17 00:00:00 2001 From: Taehoon Date: Wed, 15 Apr 2026 12:15:59 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=84=9C=EB=B2=84=20=EC=83=81=EC=84=B8?= =?UTF-8?q?=20=EB=AA=A8=EB=8B=AC=20=EA=B7=B8=EB=A3=B9=ED=99=94=20=EB=B0=8F?= =?UTF-8?q?=20=EC=A0=84=EC=97=AD=20UI/UX=20=ED=86=B5=EC=9D=BC,=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C/=EC=88=98=EC=A0=95=20=EB=AA=A8=EB=93=9C=20=EA=B5=AC?= =?UTF-8?q?=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 주요 변경 사항: - 서버 자산 상세 정보 4개 그룹(Identity, Connectivity, Specs, Operation)으로 최적화 - 모달 내 조회/수정 모드 전환 및 수정 강조색(#FF3D00) 적용 - 모든 모달의 버튼 사이즈 및 폰트 스타일 가이드 준수 통일 - 수정 취소(Revert) 기능 및 누락된 대시보드 상세 모달 추가 - TypeScript 타입 오류 및 런타임 렌더링 결함 긴급 복구 --- debug_excel.json | 140 +++++++++++++ index.html | 184 ++++++++-------- src/components/Modal/HWModal.ts | 314 ++++++++++++++-------------- src/components/Modal/PCModal.ts | 2 +- src/components/Modal/SWModal.ts | 2 +- src/components/Modal/SWUserModal.ts | 2 +- src/components/Sidebar.ts | 10 +- src/dummyDataGenerator.ts | 2 +- src/excelHandler.ts | 151 ++++--------- src/main.ts | 169 ++++++++------- src/server_data.json | 13 ++ src/state.ts | 25 ++- src/styles/common.css | 17 +- src/styles/modal.css | 130 ++++++++++-- src/views/AssetTableView.ts | 11 +- src/views/DashboardView.ts | 91 ++++---- 16 files changed, 743 insertions(+), 520 deletions(-) create mode 100644 debug_excel.json create mode 100644 src/server_data.json diff --git a/debug_excel.json b/debug_excel.json new file mode 100644 index 0000000..f98fe15 --- /dev/null +++ b/debug_excel.json @@ -0,0 +1,140 @@ +{ + "서버 관리대장(기술개발센터).xlsx": [ + [ + "마천사무실" + ], + [ + "실사진", + "구성", + "자산번호", + "명칭(주기)", + "상세", + "유형", + "담당자", + null, + "IP", + "원격접속", + null, + null, + "모델명", + "OS", + "CPU", + "RAM", + "GPU", + "Storage1", + "Storage2", + "Storage3" + ], + [ + null, + null, + null, + null, + null, + null, + "정", + "부", + null, + "접속도구", + "아이디", + "비밀번호" + ], + [ + null, + null, + "", + "GSIM NAS", + "팀 내부 자료 저장 , 정사영상 및 지도 데이터 저장 , Gitea 및 Git 내장 NAS", + "NAS", + null, + null, + null, + null, + null, + null, + "Synology DS923+" + ], + [ + null, + null, + "", + "그래픽스개발팀\r\n데이터 백업 NAS", + "그래픽스 개발팀 데이터 백업용 NAS", + "NAS", + null, + null, + null, + null, + null, + null, + "Synology DS923+" + ] + ], + "서버 관리대장(한맥빌딩).xlsx": [ + [ + "한맥빌딩(MDF 실)" + ], + [ + "실사진", + "구성", + null, + null, + null, + null, + null, + null, + null, + "서버번호", + "명칭(주기)", + "유형", + "IP", + "모델명", + "용도", + "담당자", + "OS", + "CPU", + "RAM", + "GPU", + "Storage1", + "Storage2", + "Storage3" + ], + [], + [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + "NAS 2", + "NAS", + "192.168.9.23", + "DS414j", + "한라 기업부설연구소 공용 NAS", + "이준하 차장" + ], + [ + null, + null, + "NAS2", + "NAS 1\r\n(DS224+)", + "NAS4", + "NAS 5\r\n(DS923+)", + "NAS 6\r\n(DS923+)", + null, + null, + 2, + "NAS 1", + "NAS", + "192.168.9.32", + "DS224+", + "한라 사업지원, 경영지원, 업무, 안전품질, 운영 공용 NAS", + "이준하 차장" + ] + ] +} \ No newline at end of file diff --git a/index.html b/index.html index 6d25cfc..25d5cd3 100644 --- a/index.html +++ b/index.html @@ -70,16 +70,17 @@