Compare commits

...
741 Commits
Author SHA1 Message Date
yschoi f7849f317c Merge branch 'iipbs/dm/map' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/dm/map 2025-07-24 20:47:42 +09:00
yschoi 7cd1ae2625 gis 이미지 추가 2025-07-24 20:47:35 +09:00
leedj312 19bee65195 메인페이지에서 지도팝업(버튼) 추가 2025-07-24 15:01:08 +09:00
leedj312 26c01ede4e 대민 지도 팝업 페이지 생성 2025-07-24 14:51:04 +09:00
Your Name c4750d9652 수요처명 입력오류 수정 2025-07-23 13:48:38 +09:00
YangJinSoo94 142929510f 포트변경 2025-07-23 10:16:11 +09:00
truthwing 268c45ed05 jsyang product 2025-07-22 21:24:43 +09:00
truthwing e891702da2 build 오류 해결 jscookies 문제 확인 필요 2025-07-22 21:06:50 +09:00
YangJinSoo94 425eb39a86 middleware 작업진행중 2025-07-22 16:01:48 +09:00
YangJinSoo94 1ec1c42e9f middleware 작업진행중중 2025-07-22 15:43:54 +09:00
yschoi 68f468fa2c output: "standalone", 추가 2025-07-22 15:12:06 +09:00
YangJinSoo94 fb9f2a9d4a middleware 작업진행중중 2025-07-22 15:03:24 +09:00
truthwing e4de937f6e Merge commit 'baabc72f5840bc882c1d7178129707a9ca1ea2ae' 2025-07-22 10:15:36 +09:00
mind-one005 05331db008 Merge branch 'iipbs/sn/dev' 2025-07-21 21:21:27 +09:00
mind-one005 f0cb735d69 그래프 명 수정 2025-07-21 21:05:44 +09:00
yschoi 588e4984b3 잘못 머지 된듯 2025-07-21 15:34:08 +09:00
YangJinSoo94 baabc72f58 빌드에러수정 2025-07-21 15:29:08 +09:00
yschoi 1dab522bd2 운영 env 추가 2025-07-21 15:17:15 +09:00
YangJinSoo94 7a24c10f3d 이미지 수정, 빌드 오류 수정 2025-07-21 14:44:01 +09:00
YangJinSoo94 7525fa01b6 dm merge 2025-07-21 13:44:28 +09:00
truthwing 14608cca4d Merge remote-tracking branch 'origin/iipbs/wr/dev' 2025-07-21 10:11:39 +09:00
truthwing 0dab113a3f Merge commit '65d2cbd73284d64bddc0c5495a97cf094e518f6a' 2025-07-21 10:07:02 +09:00
yschoi 95fc7a22dc 운영 env 수정 2025-07-19 22:15:18 +09:00
yschoi 9c69ba2122 output: "standalone", 2025-07-19 19:01:24 +09:00
yschoi 978a049277 개발서버 설정중 2025-07-19 18:49:09 +09:00
yschoi 538065e29e 개발 배포 설정 2025-07-19 18:40:37 +09:00
yschoi 99a8f874e8 test 2025-07-19 18:16:56 +09:00
mind-one005 71dd649624 developement 환경변수 자료관 주소 추가 2025-07-19 15:24:50 +09:00
mind-one005 63a0cc70af development 환경변수 추가 2025-07-19 15:22:33 +09:00
yschoi e70dec580c Merge remote-tracking branch 'origin/main' into iipbs/sn/dev 2025-07-19 14:43:13 +09:00
mind-one005 981d700624 II chart 닫기버튼 추가 2025-07-19 13:41:38 +09:00
mind-one005 9ff9e832ea auth cookie 2025-07-19 12:07:15 +09:00
chanii8 b933b9149e Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-07-18 19:00:00 +09:00
chanii8 58c435d67e [apps/cs] chore: 트리메뉴에 툴팁 적용 2025-07-18 18:59:45 +09:00
chanii8 950355717c [apps/cs] feat: 권한맵핑 다이얼로그 내 검색 기능 추가 2025-07-18 18:47:24 +09:00
jyha00 4c955beff2 결함 수정 2025-07-18 18:11:09 +09:00
chanii8 823ed50f37 Revert "[common/components] chore: LNB 메뉴 활성화 조건 수정"
This reverts commit d7d2e2d3ef.
2025-07-18 17:21:11 +09:00
chanii8 4d9b6235b3 [apps/cs] feat: 권한관리 등록 시 관리 사이트 추가 2025-07-18 17:21:06 +09:00
chanii8 500e966ec7 Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-07-18 11:05:46 +09:00
chanii8 d7d2e2d3ef [common/components] chore: LNB 메뉴 활성화 조건 수정 2025-07-18 09:30:22 +09:00
chanii8 617eb217e1 [apps/cs] feat: 사이트맵 관리 기능 추가 2025-07-18 00:25:16 +09:00
leedj312 ae41ea100c map 주소 변경 2025-07-17 19:53:16 +09:00
leedj312 07e34beca1 Merge commit 'ae97a48ba246ef429633640b97742adbb524c239' into iipbs/wr/dev 2025-07-17 19:33:01 +09:00
leedj312 87d8ddef98 Merge commit '8b29d0288005b94e2c9206d7f40c3975efb4a485' into iipbs/wr/dev 2025-07-17 19:31:42 +09:00
jyha00 8b29d02880 하수재이용/빗물/중수도/온배수 등록 페이지 전체적인 레이아웃 수정 2025-07-17 18:08:53 +09:00
yschoi db001315b7 Merge remote-tracking branch 'origin/main' into iipbs/sn/dev 2025-07-17 17:55:06 +09:00
yschoi 1e6796eeb9 지도 라이브러리 추가 2025-07-17 17:53:03 +09:00
leedj312 ae97a48ba2 사이드바 매뉴이동 수정 2025-07-17 17:25:05 +09:00
mind-one003 65d2cbd732 빌드에러 수정 2025-07-17 16:56:41 +09:00
leedj312 db70ba56c6 개발서버 env변경 2025-07-17 16:26:47 +09:00
leedj312 3fa1c526fe env 변경 2025-07-17 16:20:13 +09:00
chanii8 f15dd02cc9 [apps/cs] refactor: 트리 메뉴 엔티티 생성 2025-07-17 16:19:36 +09:00
leedj312 992893510e Merge remote-tracking branch 'origin/iipbs/wr/pfmncSttn' into iipbs/wr/dev 2025-07-17 16:05:11 +09:00
leedj312 5fe4bc94da Merge commit 'c22e07bc16afbc2888806b4e0d36606b8ea0d35f' into iipbs/wr/dev 2025-07-17 16:00:31 +09:00
leedj312 c22e07bc16 로딩바 className으로 z-index변경할수 있도록 수정 2025-07-17 15:59:22 +09:00
leedj312 5f302a5711 로그인 테스트 작업중 2025-07-17 15:57:20 +09:00
chanii8 e337854904 [apps/cs] chore: steiger lint 실행 2025-07-17 15:39:34 +09:00
swcho 6a0572610b Merge branch 'iipbs/sn/ii' into iipbs/sn/dev 2025-07-17 14:43:41 +09:00
swcho 2850b1413f feat, fix:
- 하수처리 시설 검색 조건에 처리구역 면적 추가
- 우수토실, 하수처리시설, 하수처리구역 관리 번호 오류 수정
2025-07-17 14:23:37 +09:00
jyha00 cc749c0c24 Merge remote-tracking branch 'origin/iipbs/common/main' into iipbs/wr/pfmncSttn 2025-07-17 13:16:56 +09:00
jyha00 18ec5c937f 도넛차트 custom label 추가 2025-07-17 13:08:14 +09:00
yschoi e9ccb6bcac Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-17 10:21:30 +09:00
yschoi 0e516c647d 불필요 내용 삭제 2025-07-17 10:21:18 +09:00
swcho 98d11090f8 fix: 빌드 에러 수정 2025-07-16 21:20:03 +09:00
chanii8 0a5b3cbd31 Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-07-16 19:51:43 +09:00
chanii8 d0d713a273 [apps/cs, common/features] fix: 사이트 게시 팝업 '상시' 선택 시 기간 미설정 (CS_UT02020105) 2025-07-16 19:50:14 +09:00
swcho 20b45a02ed feat:
- 침입수 분석, RDII 분석 분석자 정보 추가
- SearchModal 하수맨홀 용도로 조회 기능 추가
- SearchModal 하수관로 조회 되게끔 수정
- table.ts에서 미분류 중복값 삭제
2025-07-16 19:49:29 +09:00
swcho 4c005c7b9e feat:
- 침입수 분석, RDII 분석 분석자 정보 추가
- SearchModal 하수맨홀 용도로 조회 기능 추가
- SearchModal  하수관로 조회 되게끔 수정
- table.ts에서 미분류 중복값 삭제
2025-07-16 19:48:54 +09:00
leedj312 bd6dfd31fd 엑셀 중수도 지도점검 데이터 확인 2025-07-16 19:27:24 +09:00
YangJinSoo94 e4f4f70bc9 유량현황, 수질현황 모달 엑셀다운로드 완료 2025-07-16 17:13:19 +09:00
jyha00 5aaa55d0c9 수요매칭검토 기본사항 readonly 추가 2025-07-16 16:29:25 +09:00
swcho 92356fd451 fix: package json build 의존성 선언 정비 (import하는 파일이 속한 패키지의 dependencies에 라이브러리 추가) 2025-07-16 15:49:53 +09:00
jyha00 8b1e8ae2eb datepicker 날짜가 하루 전 날로 들어가는 오류 수정 2025-07-16 15:33:57 +09:00
jyha00 5a3ef19e5d 하수재이용실적 현황 검색조건 수정 2025-07-16 15:32:18 +09:00
jyha00 01cb48e5b6 하수재이용시설 등록 보증수질 input 변경, 신규등록 저장 버튼 위치 수정, 상단 고정 추가 2025-07-16 14:55:44 +09:00
leedj312 ea7536bea3 안쓰는 함수 제거 2025-07-16 13:58:19 +09:00
leedj312 2356c10d34 빗물지도점검 오류 검증 2025-07-16 13:43:03 +09:00
jyha00 8b2dd27a79 하수재이용시설 등록 저장 버튼 위치 변경 2025-07-16 13:37:57 +09:00
YangJinSoo94 114293bb00 Merge branch 'iipbs/common/main' into iipbs/fo/dev 2025-07-16 13:32:44 +09:00
chanii8 dd5af43d33 [apps/cs] chore: 그룹관리 내 사용자 추가 팝업 수정 (CS_UT05020103) 2025-07-16 13:30:41 +09:00
YangJinSoo94 e0171a5a28 바차트 색상 구성 수정 2025-07-16 13:30:25 +09:00
YangJinSoo94 d7db174c1d 대시보드 차트 색상 수정, 모달 강우량 컬럼추가 2025-07-16 13:29:45 +09:00
jyha00 079542cf74 Merge branch 'iipbs/common/main' into iipbs/wr/pfmncSttn 2025-07-16 13:20:32 +09:00
jyha00 43f210a141 searchBaseForm, searchFormLeft에 className 프로퍼티 추가 2025-07-16 13:17:04 +09:00
chanii8 0a3a84bb98 [apps/cs] feat: 회원 상태 뱃지로 표시 (CS_UT05010109) 2025-07-16 12:08:18 +09:00
swcho a403113bbc feat:
- '자체 입력정보' -> '입력 정보'로 수정
- 용도 코드, 재질 코드 텍스트로 매핑 (일단 하드코딩)
2025-07-16 11:37:13 +09:00
chanii8 e709d3cca3 chore: pnpm-lock 파일 업데이트 2025-07-16 11:21:30 +09:00
swcho 8de9760099 feat: 침입수 분석, RDII 분석 Request Body에 UUID 추가 2025-07-16 11:12:00 +09:00
yschoi 5015b8e0d9 output: "standalone", 추가 2025-07-16 11:11:50 +09:00
swcho 8f3db94069 refactor: UIModal 사용 페이지 초기화 로직 변경 2025-07-16 11:01:05 +09:00
YangJinSoo94 4d0c0ad48c 오류수정 2025-07-16 10:19:03 +09:00
swcho 9af9bfcae8 Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-07-16 10:04:51 +09:00
swcho 492ffa52ce Merge branch 'iipbs/common/main' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/common/main 2025-07-16 10:03:29 +09:00
swcho b15fbc6c9d fix: UiTable 컴포넌트 데이터 변경시 초기화 useState 삭제 2025-07-16 10:03:24 +09:00
chanii8 fad4a14a82 [apps/cs] fix: 콘텐츠 등록 폼 버그 수정 (CS_UT03020102) 2025-07-16 09:53:24 +09:00
chanii8 21aab85ff8 [apps/cs] feat: 미들웨어 로깅 추가 2025-07-15 23:01:56 +09:00
truthwing 7db61928b1 양진수 대리 컴퓨터 바꿔야하는 오류 발견. 2025-07-15 21:03:56 +09:00
YangJinSoo94 3dae039765 first init 2025-07-15 20:54:38 +09:00
leedj312 35ff13fb38 헤드리스트 수정 중 2025-07-15 20:27:43 +09:00
leedj312 231c0c2940 Merge commit 'a92f567e5c624486d80984c5e4427543aafdfdde' into iipbs/wr/dev 2025-07-15 20:27:30 +09:00
jyha00 a92f567e5c 재이용실적 현황 페이지 오류 수정 2025-07-15 20:23:02 +09:00
leedj312 ff9d373fcd Merge commit 'c111c2c084cfe533453f568d17c9fa5bcba02797' into iipbs/wr/dev 2025-07-15 20:22:57 +09:00
leedj312 c111c2c084 서버설정 작업 완료 2025-07-15 20:22:31 +09:00
yschoi 4023423220 output: "standalone", wr 2025-07-15 17:18:10 +09:00
leedj312 2d5a08a271 안쓰는 코드 삭제 2025-07-15 17:16:37 +09:00
yschoi d20b526ff1 빌드 standalone 추가 2025-07-15 17:16:19 +09:00
leedj312 9a8abee77c 빌드에러 수정 2025-07-15 16:52:42 +09:00
jyha00 4c30c2fa47 물재이용 페이지별 오류 수정 2025-07-15 15:40:55 +09:00
leedj312 0cca1c8dbe 빌드 확인필요 2025-07-15 15:39:32 +09:00
swcho ae0384af83 feat: 상세정보 페이지 중분류 표시, 관리번호 표시 기능 추가 2025-07-15 15:38:42 +09:00
truthwing ea5176f6a2 빌딩 오류 해결. 2025-07-15 15:36:35 +09:00
chanii8 9e5c30be8a [apps/cs] feat: 권한관리 목록 내 삭제 기능 추가 (CS_UT04010104) 2025-07-15 15:21:07 +09:00
YangJinSoo94 d95b98e977 date picker range 수정 2025-07-15 14:30:35 +09:00
YangJinSoo94 68db7f38bf Merge remote-tracking branch 'origin/main' into iipbs/common/main 2025-07-15 14:26:50 +09:00
swcho 58a2b6c5c0 Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-07-15 14:11:54 +09:00
jyha00 def7b2b01c 지도점검 등록 및 현황 단위 추가, 용수명 가운데 정렬로 수정 2025-07-15 13:54:30 +09:00
chanii8 e57d716559 [apps/cs] chore: 관리자관리 > 관리자 목록 조회 기본 파라미터 수정 (CS_UT04010101) 2025-07-15 13:50:47 +09:00
chanii8 586efe940f [apps/cs] feat: 조직도관리 > 사용자추가 로직 수정 (CS_UT03040105) 2025-07-15 13:38:36 +09:00
yschoi e41baa5d72 package.json 원복 2025-07-15 13:10:11 +09:00
yschoi e4da00f201 Merge branch 'iipbs/wr/dev' 2025-07-15 13:06:35 +09:00
chanii8 61f261a25b [apps/cs] chore: 생성 및 수정 후 목록으로 이동 처리 (CS_UT03020103) 2025-07-15 12:16:03 +09:00
chanii8 7d6f49987a [apps/cs, common/features] chore: FAQ 페이지 PostPageGuard로 래핑 2025-07-15 12:14:41 +09:00
yschoi 6903528088 카렌더 원복 2025-07-15 11:50:43 +09:00
YangJinSoo94 4cea962403 boldArray의 경우 sticky 옵션 추가 (헤더밑으로 스크롤시 고정) 2025-07-15 11:23:40 +09:00
yschoi 1dd7de479c 빌드 제외 수정 2025-07-15 11:16:40 +09:00
jyha00 4891725f68 물재이용 페이지 단위 추가 2025-07-15 11:11:29 +09:00
yschoi 356a1943a9 Merge branch 'iipbs/sn/dev' 2025-07-15 10:46:46 +09:00
yschoi 80d0c5ee01 운영 환결 설정 수정 2025-07-15 10:40:33 +09:00
yschoi 405458b069 운영모드 설정파일 추가
iipbs_wr / build (push) Has been cancelled
2025-07-14 22:05:28 +09:00
yschoi d3748e8609 dmdInfoId 중복 제거
iipbs_wr / build (push) Waiting to run
2025-07-14 21:34:26 +09:00
yschoi c204ba3670 pk,fk 비지니스 컴포넌트 적용
iipbs_wr / build (push) Waiting to run
2025-07-14 21:29:31 +09:00
swcho 980fffcd19 feat: 다른 중점 우수토실 선택시 수량/수질측정 정보 초기화 2025-07-14 20:54:11 +09:00
swcho aa85bd9c87 Merge remote-tracking branch 'origin/iipbs/sn/dev' into iipbs/sn/ii 2025-07-14 20:47:45 +09:00
swcho ab492fc842 feat: 중점우수토실 상세보기 API 변경하여 구현 2025-07-14 20:46:44 +09:00
yschoi f6a8f76cd7 PK, FK 컬럼 변경 적용
iipbs_wr / build (push) Waiting to run
2025-07-14 20:41:43 +09:00
leedj312 d836f82885 Merge commit 'b0c28f2388a33609fbc42118a8b936d4f5e70527' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 18:52:53 +09:00
jyha00 b0c28f2388 빌드 오류 수정 2025-07-14 18:52:35 +09:00
leedj312 01b726a975 Merge commit '4d85d3b345cf15867c43cc2971ae689954f8e67a' into iipbs/wr/dev 2025-07-14 18:50:04 +09:00
leedj312 7cb4e97bbf Merge commit 'f1054763e1e395f0fb665c5e8fa838d5376ed4d2' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 18:49:15 +09:00
jyha00 4d85d3b345 등록 페이지 input 마스킹 추가 2025-07-14 18:45:57 +09:00
leedj312 f1054763e1 메세지 추가 2025-07-14 18:45:24 +09:00
truthwing 555c5e2de6 pnpm start 명령어 추가.
iipbs_wr / build (push) Waiting to run
2025-07-14 18:00:14 +09:00
chanii8 d1ab0d2f34 [common/components] chore: 사이드바 동작 수정 2025-07-14 17:53:30 +09:00
chanii8 e687716e22 [apps/cs] feat: 버튼 내 아이콘 추가 2025-07-14 17:46:14 +09:00
leedj312 ff78ef96f2 하수재이용 시설 등록 메시지 표출 2025-07-14 17:33:27 +09:00
chanii8 ae360985de [apps/cs] chore: 기관 검색 조회 파라미터 수정 2025-07-14 17:27:13 +09:00
chanii8 58fe39a639 [apps/cs] style: 메뉴 미리보기 팝업 최대 높이 지정 2025-07-14 17:16:42 +09:00
chanii8 05c2726007 [apps/cs] chore: pageSize 모두 10으로 수정 2025-07-14 17:12:21 +09:00
leedj312 01c137efca 하수재이용 시설 현황 중축/개축 등 단독 팝업 호출 삭제 2025-07-14 16:43:28 +09:00
leedj312 b806134cb4 건축물 변경이력 삭제 2025-07-14 16:38:16 +09:00
truthwing 37b03f340b use client 추가.
iipbs_wr / build (push) Waiting to run
2025-07-14 16:19:51 +09:00
leedj312 2085b78231 하수재이용시설 등록 수정 2025-07-14 16:17:10 +09:00
truthwing 656a69b008 wr 빌딩 되도록 수정.
iipbs_wr / build (push) Waiting to run
2025-07-14 16:08:11 +09:00
truthwing ec3077b41c 빌드 오류 해결.
iipbs_wr / build (push) Waiting to run
2025-07-14 15:59:23 +09:00
chanii8 0110abeffa Merge branch 'main' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs_cs 2025-07-14 15:54:27 +09:00
truthwing 9b000fa376 Merge commit '760e335ea3bf6afe670d1d37c50a266a77537222' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 15:45:40 +09:00
truthwing 6b7c7ec2ac drgtSttn 빌드 오류 수정.
iipbs_wr / build (push) Waiting to run
2025-07-14 15:45:33 +09:00
JIeunhuh 760e335ea3 gis 레이어팝업 빌드오류 수정 2025-07-14 15:31:42 +09:00
swcho 19e9d7db04 feat: map store 삭제
iipbs_wr / build (push) Waiting to run
2025-07-14 15:26:13 +09:00
truthwing 2ad4bd208b map을 제외한 빌딩 오류 해결.
iipbs_wr / build (push) Waiting to run
2025-07-14 15:13:39 +09:00
truthwing dc264024d2 Merge commit '7acc96b75baa96805e142f4799f23866bd69405f' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 15:04:40 +09:00
truthwing 811170eed0 store 오류 추가.
iipbs_wr / build (push) Waiting to run
2025-07-14 15:04:31 +09:00
jyha00 7acc96b75b 하수재이용실적 현황 빌드 오류 수정 2025-07-14 15:02:02 +09:00
truthwing e115a7b2b3 Merge remote-tracking branch 'origin/iipbs/wr/gisPopup' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 14:56:36 +09:00
JIeunhuh 0c608e75a0 Merge commit 'a23b80431cf15bcd09933a6f5ee1a67cd9701fb2' into iipbs/wr/gisPopup 2025-07-14 14:53:18 +09:00
truthwing 3c1e0f7016 Merge commit '074d99aa66bbc4a730af2fade7fdcfa725931460' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 14:53:07 +09:00
leedj312 074d99aa66 common 스토어 작업완료 2025-07-14 14:52:28 +09:00
truthwing eebbb91c47 store matDmd 폴더 빌드 오류 해결.
iipbs_wr / build (push) Waiting to run
2025-07-14 14:51:50 +09:00
leedj312 8334323544 지도점검및 실적 등록 스토어 빌드오류 수정 완료 2025-07-14 14:48:23 +09:00
mind-one005 748aa5f21d 다운로드 속도 개선 2025-07-14 14:44:49 +09:00
leedj312 a04a21ffeb 재이용시설 등록 빌드 작업완료 2025-07-14 14:43:26 +09:00
leedj312 92561ab1d3 재검토이력 빌드 작업중 2025-07-14 14:43:14 +09:00
truthwing 247e6fcd52 Merge remote-tracking branch 'origin/iipbs/wr/compent-build' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 14:37:16 +09:00
JIeunhuh 9e3478252e 상세데이터 state 처리 2025-07-14 14:36:55 +09:00
leedj312 9fbf6d1a6a sttnDetailModal 빌드 완료 2025-07-14 14:36:45 +09:00
truthwing 1926d53da6 lib 폴더 빌드 오류 해결.
iipbs_wr / build (push) Waiting to run
2025-07-14 14:31:32 +09:00
truthwing 6d606cfce2 Merge commit 'a23b80431cf15bcd09933a6f5ee1a67cd9701fb2' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 14:28:35 +09:00
YangJinSoo94 a23b80431c 도넛바 차트 에러 수정 2025-07-14 14:25:31 +09:00
truthwing 3b39b1001f Merge commit 'cc22e733abb9fa389b78fa1364371b0ad99cc04b' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 14:25:01 +09:00
jyha00 cc22e733ab 지도점검현황 페이지 빌드 오류 수정 완료 2025-07-14 14:24:32 +09:00
jyha00 b497292d0f 하수재이용실적등록 페이지 빌드 오류 수정 2025-07-14 14:24:05 +09:00
jyha00 96499a8cd0 지도점검등록 페이지 빌드 오류 수정 2025-07-14 14:23:34 +09:00
truthwing bb6c817852 Merge commit 'e352a63db4faee1a1535cd41e53c838ffd6c2e3b' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 14:22:36 +09:00
jyha00 b8ef43e0bd 필요없는 파일 삭제 2025-07-14 14:22:31 +09:00
truthwing ea9a2b0cee CoDetailModal 오류 해결
iipbs_wr / build (push) Waiting to run
2025-07-14 14:22:20 +09:00
truthwing 2c5a80105b pbnstSttnModal 오류 완료.
iipbs_wr / build (push) Waiting to run
2025-07-14 14:16:34 +09:00
leedj312 e352a63db4 시설현황 완료 2025-07-14 14:16:08 +09:00
leedj312 b930722f5f 재이용시설 운영 현황 완료 2025-07-14 14:15:56 +09:00
truthwing e4ea9369ce headChModal 오류 해결.
iipbs_wr / build (push) Waiting to run
2025-07-14 14:13:58 +09:00
jyha00 34bc8b6a5c 빗물/중수도/온배수 등록, 현황 build 오류 수정 완료 2025-07-14 14:12:41 +09:00
leedj312 802204fa67 빌드에러 수정중 /시설현황 잡아야함 2025-07-14 14:11:59 +09:00
truthwing b5f360fb3b Merge commit 'ba25659db954d2579db4e776643b88aaaa5d07b9' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 14:02:52 +09:00
swcho ba25659db9 feat: map
- 폴더 내부 빌드 에러 수정
- SearchBar 관련 파일 주석 처리
2025-07-14 14:02:22 +09:00
truthwing 57eb6c59ba Merge commit 'af92a70f136b5f250f5c83155dd379672f7c341f' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 14:00:52 +09:00
truthwing c2df78e4a8 Merge commit 'ed7a56480e908609346949d00e12319c5dd4ec5c' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 14:00:19 +09:00
leedj312 af92a70f13 빌드에서 수정중 2025-07-14 13:55:10 +09:00
truthwing ed7a56480e UITAB children 처리. 2025-07-14 13:53:18 +09:00
truthwing bde20e9a70 state 처리 필요 2025-07-14 13:52:13 +09:00
mind-one005 81770d9605 Merge branch 'iipbs/sn/dev' into sn-ljpark2 2025-07-14 13:24:56 +09:00
JIeunhuh 8a4f7d17aa Merge commit '58ec7ed0028615d14df864deed820a63267ddf26' into iipbs/wr/gisPopup 2025-07-14 13:18:46 +09:00
swcho 95b77d68f6 feat: pbnstPrfmncSttn.tsx 빌드 에러 수정 2025-07-14 13:18:09 +09:00
JIeunhuh b570db8375 필요없는 파일 삭제 2025-07-14 13:14:29 +09:00
truthwing 58ec7ed002 Merge commit 'a21491cffde26723125f02bfba5489575c89335d' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 13:09:53 +09:00
yschoi 8d2963e46e Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-14 13:04:47 +09:00
yschoi 892249b048 마진 추가 2025-07-14 13:04:34 +09:00
mind-one005 b66b3a9b55 일단 다운로드 성공 2025-07-14 12:52:45 +09:00
chanii8 1e21f76c8f [apps/cs] feat: useTus 훅에 파일 확장자 검증 로직 추가 (CS_UT01030102) 2025-07-14 11:32:22 +09:00
jyha00 a21491cffd stat build 오류 수정 완료 2025-07-14 10:57:15 +09:00
truthwing 72b92ae9df any 체크 부분 제거.
iipbs_wr / build (push) Waiting to run
2025-07-14 10:41:29 +09:00
leedj312 328a68095e Merge commit '6249a73aa3aa9ac833ddab362643b71da7e00f93' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 10:22:18 +09:00
leedj312 6249a73aa3 빌드 잡는중 2025-07-14 10:20:37 +09:00
jyha00 8aac0a4ff3 Merge branch 'iipbs/wr/testForSttn' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-14 10:20:27 +09:00
YangJinSoo94 e69e83a9c6 빌드에러수정 - rgtr optional로 zod 수정 2025-07-14 10:19:34 +09:00
jyha00 8dc47fc805 빗물/중수도/온배수 등록 시, 지도점검 등록, 삭제 시, 실적 등록, 삭제 시 confirm 창 추가 2025-07-14 10:19:00 +09:00
truthwing 38c21b1ad4 building 에러 수정중.
iipbs_wr / build (push) Waiting to run
2025-07-14 10:18:33 +09:00
mind-one005 dec208d640 Merge remote-tracking branch 'origin/iipbs/sn/dev' into sn-ljpark2 2025-07-13 21:11:26 +09:00
leedj312 f06fa0f9ab 하수재이용 시설 등록 운영정보 오류수정 , 테이블에 장내,장외 안나는거 수정중 2025-07-13 20:54:12 +09:00
jyha00 fc424a2f46 빗물/중수도시설 등록, 잠재수요처 상세정보 수정시 컨펌창 띄우기 2025-07-11 18:03:48 +09:00
swcho 8a874dd114 feat: 침입수 분석결과, RDII 분석결과 마운트 시에 조회되게끔 수정 2025-07-11 18:01:40 +09:00
swcho 939863fe56 Merge remote-tracking branch 'origin/iipbs/sn/dev' into iipbs/sn/ii 2025-07-11 17:54:29 +09:00
swcho 5763db71fe feat:
- 연월일, 숫자 포맷 변환 구현
- 운영정보 파일 등록 Modal로 변경
2025-07-11 17:54:07 +09:00
chanii8 ab606ad65d [apps/cs] fix: 담당자 조회 다이얼로그 기능 수정 (CS_UT01020108) 2025-07-11 17:39:17 +09:00
yschoi 71ec5588ef 중복파일 제거 2025-07-11 17:02:05 +09:00
jyha00 6330c125c7 빗물/중수도/온배수시설현황, 재이용실적현황, 지도점검현황 엑셀 다운로드시 빈데이터면 에러 메시지 추가 2025-07-11 16:10:10 +09:00
mind-one005 89e6d0e236 middleware 수정 2025-07-11 12:03:13 +09:00
chanii8 e74d554992 fix: eslint 에러 해결 2025-07-11 11:49:48 +09:00
chanii8 3a2675f528 Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-07-11 11:44:17 +09:00
chanii8 a71288f324 Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs_cs 2025-07-11 11:43:58 +09:00
changwng 1e32980034 Merge remote-tracking branch 'origin/iipbs_cs' into iipbs_cs 2025-07-11 11:38:48 +09:00
changwng 30c037f53b [privacylog] CS_UT06010101 inqDt,desc 로 이력 역순 조회로 변경함 2025-07-11 11:38:35 +09:00
chanii8 02a6c7019f [apps/cs] feat: 콘텐츠 반려 기능 추가 (CS_UT01020115) 2025-07-11 11:25:11 +09:00
chanii8 c2aab3cfc4 Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs_cs 2025-07-11 11:14:10 +09:00
chanii8 12b041fdae [apps/cs, common/features] chore: 폼 필수 항목 표시 (CS_UT01010103) 2025-07-11 11:14:00 +09:00
changwng 87de574e35 [privacylog] CS_UT06010101 조회 시 입력한 조건과 무관한 다른 사용자까지 함께 검색되어 결과의 정확도가 떨어짐. 사용자가 원하는 대상만 정확히 조회될 수 있도록 검색 조건에 대한 정밀한 필터링 및 로직 개선이 필요함 => 테이블의 조회자명을 요청자명으로 헤더 변경하고 검색명을 조회자명 → 조회정보로 변경해서 처리 frontend도 변경 처리함 2025-07-11 11:05:01 +09:00
jyha00 f7a3eec904 Merge commit 'b7ad575883a7024f135acaadb5b111c45bea9dea' into iipbs/wr/testForSttn 2025-07-11 11:03:39 +09:00
YangJinSoo94 27244ddd79 라인바 좌측 라벨명 간격조정 2025-07-11 11:03:07 +09:00
jyha00 b7ad575883 조회시 데이터가 없을 경우 조회된 결과가 없다는 문구 추가 2025-07-11 11:02:18 +09:00
leedj312 4efb3a803b Merge commit 'fe71d85bc62a941cf47a043365d555a979fffbfe' into iipbs/wr/regForTest 2025-07-11 11:02:14 +09:00
leedj312 fe71d85bc6 메시지 추가
iipbs_wr / build (push) Has been cancelled
2025-07-11 10:54:57 +09:00
leedj312 2da312f198 Merge commit '061b565f7cdb55f773327210e272b816c0589e4c' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-11 10:52:59 +09:00
JIeunhuh c3d741fbf9 Merge commit '16abacf292cbac545d48cc4b568bbf154380f561' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-11 10:41:28 +09:00
JIeunhuh 16abacf292 페이징 변수 추가 2025-07-11 10:40:39 +09:00
mind-one005 7c74fe346f RSONE_DC_URL 추가 2025-07-11 09:53:07 +09:00
mind-one005 3ce6a6295b ADDR_URL 추가 2025-07-11 09:51:38 +09:00
mind-one005 0c3c46eda5 Merge remote-tracking branch 'origin/iipbs/sn/dev' into sn-ljpark2 2025-07-11 09:29:38 +09:00
mind-one005 cb3705d616 검색추가 2025-07-11 09:12:47 +09:00
mind-one005 9050895b0f searchModal 재오픈시 초기화 2025-07-10 21:13:50 +09:00
swcho 757dc97bda feat: 하수펌프장, 하수맨홀, 하수관로, 우수토실 자체입력 정보 저장 및 조회 구현 2025-07-10 21:11:01 +09:00
mind-one005 9421c535b9 Merge remote-tracking branch 'origin/iipbs/sn/dev' into sn-ljpark2 2025-07-10 21:04:58 +09:00
swcho cbbb95bae9 Merge remote-tracking branch 'origin/iipbs/sn/dev' into iipbs/sn/ii 2025-07-10 21:03:20 +09:00
mind-one005 55b3155dbf 시군구 조회 해결 2025-07-10 21:02:29 +09:00
yschoi 4294f3c878 권한 없을때 로그인 되게 홈으로 2025-07-10 21:02:23 +09:00
chanii8 a13dc738f3 Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-07-10 19:15:16 +09:00
changwng 20db700215 [code] 하위코드 등록후 재조회 로직 추가 handleAfterSave 추가 2025-07-10 19:02:26 +09:00
mind-one005 01427314b1 시군구 조회 2025-07-10 17:49:53 +09:00
yschoi ed368160a2 주석 추가 2025-07-10 17:18:00 +09:00
yschoi 0bf2484e8d 운영환경 env 추가 2025-07-10 17:13:48 +09:00
chanii8 e5b8bf2685 [apps/cs] fix: 하위코드 등록 폼 에러 해결 (CS_UT08010104) 2025-07-10 17:08:19 +09:00
mind-one005 6765b829c3 Merge remote-tracking branch 'origin/iipbs/sn/dev' into sn-ljpark2 2025-07-10 16:58:08 +09:00
mind-one005 1a24cb7fee 하수정비기본계획 목록조회 2025-07-10 16:55:08 +09:00
yschoi 4f0a445da2 빌드 테스트 2025-07-10 16:52:49 +09:00
chanii8 29bc717b2c [apps/cs] feat: 회원 삭제 기능 추가 (CS_UT05010109) 2025-07-10 16:50:19 +09:00
jyha00 061b565f7c toast 메세지 통합을 위한 i18n 추가 2025-07-10 16:49:39 +09:00
leedj312 bc9140206c 하수재이용시설 파일테스트 등록 테스트 완료 2025-07-10 16:37:05 +09:00
changwng ec91aa461a [all] cs 및 features 실행 스크립트 추가 2025-07-10 16:26:44 +09:00
changwng 67023952ae [all] cs 실행시 로그 남기기및 터미널 없이 뛰우기 2025-07-10 15:49:22 +09:00
swcho 72c41a5462 Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-07-10 15:48:10 +09:00
swcho c394fd4de2 Revert "feat: DatePickerRange에 z-index props 추가"
This reverts commit b75caf4f7b.
2025-07-10 15:47:36 +09:00
changwng 12d03e9dd1 [groups] tableData build시 에러로 - onDelete 옵셔널로 처리 2025-07-10 15:45:32 +09:00
swcho 2851afccca Merge branch 'iipbs/sn/main' into iipbs/sn/ii 2025-07-10 15:41:20 +09:00
swcho 46fb2d276b Merge remote-tracking branch 'origin/iipbs/common/main' into iipbs/sn/ii 2025-07-10 15:35:02 +09:00
swcho baa171b8d1 Merge branch 'iipbs/common/main' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/common/main 2025-07-10 15:34:41 +09:00
swcho b75caf4f7b feat: DatePickerRange에 z-index props 추가 2025-07-10 15:34:37 +09:00
yschoi 4a4ec40787 개발 배포 수정 2025-07-10 15:28:38 +09:00
changwng ffacf689f9 [groups] tableData build시 에러로 다시 올림 2025-07-10 15:10:41 +09:00
yschoi b25c60082a 테스트 2025-07-10 15:01:41 +09:00
changwng 757deae40e [groups] 그룹관리 상단에 조회 조건 축가함 2025-07-10 14:51:25 +09:00
chanii8 225ebc0983 [apps/cs] fix: 빌드 에러 해결 2025-07-10 14:39:24 +09:00
yschoi 2bf1f4ac70 로그인 처리 메인에서 처리 2025-07-10 14:26:35 +09:00
changwng 8e0f382278 Merge remote-tracking branch 'origin/iipbs_cs' into iipbs_cs 2025-07-10 13:58:19 +09:00
jyha00 a46fbf5a5d 빗물, 중수도 건축물 등록 및 form 수정 2025-07-10 13:36:25 +09:00
changwng 93025914fa [groups] 그룹관리에서 추가 /수정 /삭제 삭제후 재로딩등 처리함 2025-07-10 13:20:46 +09:00
yschoi 1ec26b3de2 쿠키 유틸 파일 경로 수정 2025-07-10 13:13:07 +09:00
chanii8 4358c0d41e [apps/cs] style: 테이블 헤더 z-index 수정 2025-07-10 12:35:03 +09:00
jyha00 46e5ef701d 재이용통계 조회 버튼 클릭 시에만 조회되게 수정 2025-07-10 11:33:46 +09:00
chanii8 2fa18b1879 [apps/cs] feat: 설문 삭제 기능 추가 (CS_UT02050106) 2025-07-10 11:33:00 +09:00
chanii8 ea0790d1c7 [apps/cs] feat: 팝업 삭제 기능 추가 (CS_UT02040105) 2025-07-10 11:27:12 +09:00
chanii8 cc21f5a044 [common/features] feat: 검색 초기화 로직 작업 (CS_UT01010101) 2025-07-10 11:26:15 +09:00
leedj312 a1511fdacc Merge commit 'cce216ad9bac561a711d8f40a98b130fbf672d48' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-10 11:22:29 +09:00
leedj312 cce216ad9b readOnly disabled 가 아닌 readOnly로 보이게 수정 2025-07-10 11:20:58 +09:00
chanii8 b1822b24ee [apps/cs] feat: 일정 삭제 기능 추가 (CS_UT02030105) 2025-07-10 10:41:22 +09:00
chanii8 63abf8282b [apps/cs] chore: 검색 시 pageIndex 초기화 (CS_UT01010101) 2025-07-10 10:10:18 +09:00
swcho da995e19f1 Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-07-10 10:04:54 +09:00
chanii8 7728717e66 [apps/cs] feat: 검색 초기화 로직 작업 (CS_UT01010101) 2025-07-10 10:02:46 +09:00
chanii8 be6bf1f160 Merge branch 'main' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs_cs 2025-07-10 09:42:42 +09:00
leedj312 b723c5b1ef 하수재이용시설 신규츄가(최초등록) 오류 수정(zod.prase 제거)
iipbs_wr / build (push) Waiting to run
2025-07-10 09:30:38 +09:00
leedj312 a9e344c2f7 Merge commit '351adea87fee7c6137eda5219687ae692fa3dad2' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-10 09:23:52 +09:00
leedj312 6baeb003e4 Merge commit '5a5ed9e669677a70beb42c641fce78fa238f936b' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-10 09:22:36 +09:00
leedj312 5a5ed9e669 필요없는 헤더 제거 2025-07-10 09:21:54 +09:00
mind-one005 2b6d2bddbc Merge branch 'iipbs/sn/dev' into sn-ljpark2 2025-07-10 09:18:17 +09:00
chanii8 f1b28246d6 [apps/cs] chore: 오류 메시지 수정 (CS_UT01020105) 2025-07-10 02:03:19 +09:00
chanii8 e07c29c0ad [apps/cs] feat: 검색 초기화 로직 작업 (CS_UT01010101) 2025-07-10 02:00:25 +09:00
chanii8 a7b9b9d24a [apps/cs] fix: api log 엔드포인트 오타 수정 2025-07-09 21:29:36 +09:00
chanii8 50e6d615ae [apps/cs] chore: 메뉴 이력 조회 파라미터 수정 2025-07-09 21:24:19 +09:00
mind-one005 88d05c4a86 개발중 rson api 바뀜 ㅠㅠ 2025-07-09 21:02:41 +09:00
YangJinSoo94 9ab0302e08 달력 만든거 수정 2025-07-09 20:00:01 +09:00
YangJinSoo94 3ec986dfbe datepickerrange 생성(손대지마세요) 2025-07-09 19:52:42 +09:00
YangJinSoo94 58e0322bfe 초기화시 행정별 A로 수정 (304라인) 건들지마세요 ...ㅠㅠ 2025-07-09 19:33:40 +09:00
YangJinSoo94 e9ff6bbeb5 바차트 크기비율 조정 2025-07-09 18:26:15 +09:00
JIeunhuh 49047576af 재이용시설 팝업 수정
iipbs_wr / build (push) Waiting to run
2025-07-09 18:12:31 +09:00
jyha00 351adea87f 잠재수요처 상세정보 수정 시 토스트 띄우도록 수정 2025-07-09 18:01:04 +09:00
JIeunhuh 4481759640 Merge commit '591ff390c6aee9933a5a1ad24c0bd8eec6523a06' into iipbs/wr/gisPopup 2025-07-09 17:44:58 +09:00
JIeunhuh 81d3b7867f Merge commit 'f4d6b3415ba34f9e3dc245e462479c5400702618' into iipbs/wr/gisPopup 2025-07-09 17:41:45 +09:00
JIeunhuh f4d6b3415b 중수도시설 조건변경 2025-07-09 17:41:15 +09:00
JIeunhuh 3444a03f31 시설별 팝업 상세 내용 로직 수정 2025-07-09 17:39:14 +09:00
swcho b3a69bf2ef Revert "feat: DatePicker 컴포넌트 zIndex props 추가"
This reverts commit 52a5650ca5.
2025-07-09 15:29:57 +09:00
swcho 17f6e640a6 Revert "feat: DatePicker zIndex props 다시 적용"
This reverts commit 4224375b3a.
2025-07-09 15:29:36 +09:00
leedj312 8944fa8f81 건축물 에러메시지 수정 2025-07-09 14:47:47 +09:00
chanii8 eef73f36ff [apps/cs] feat: 임시저장 메뉴 미리보기 기능 작업 2025-07-09 14:19:10 +09:00
leedj312 591ff390c6 Merge commit '38461d8a40b9bcdb2dc96d823baf7746bf54bba7' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-09 13:58:18 +09:00
jyha00 38461d8a40 빗물/중수도/온배수시설 현황 페이징 처리 수정 2025-07-09 13:55:32 +09:00
leedj312 6d18785c9c 하수재이용 시설 등록 페이지 네이션 적용
iipbs_wr / build (push) Waiting to run
2025-07-09 13:54:32 +09:00
JIeunhuh 9ea0a95333 Merge commit '90fda952ad0efb22e8c0018cb7d8291118f51d8c' into iipbs/wr/gisPopup 2025-07-09 13:28:10 +09:00
JIeunhuh 90fda952ad 시설 선택 시 현황목록 보이도록 수정 및 이미지 생성여부 props로 넘기도록 수정 2025-07-09 13:27:34 +09:00
JIeunhuh 618e838d6a 팝업 현황에서 선택 시 지도 확대 이동 작업 완료 2025-07-09 13:19:16 +09:00
JIeunhuh 1fca05bcaf Merge commit 'fc1aa4fe061fe26826292695cddbf8220861b8c1' into iipbs/wr/gisPopup 2025-07-09 13:05:50 +09:00
swcho 3c831fe89e Merge branch 'iipbs/sn/dev' into iipbs/sn/main 2025-07-09 12:12:52 +09:00
swcho de4f8d618f feat: 노후 하수관로, 침입수 분석 페이지 일련번호 수정 2025-07-09 12:12:15 +09:00
swcho e4426d61b3 Reapply "Merge branch 'iipbs/sn/ii' into iipbs/sn/main"
This reverts commit 2aa202ace3.
2025-07-09 11:55:08 +09:00
JIeunhuh fc1aa4fe06 현황 오픈 시 레이어명에 따른 featureid 구분 작업 2025-07-09 11:45:53 +09:00
JIeunhuh 9b2e7c19e6 현황에서 셀 클릭하면 지도 확대되도록 변경 2025-07-09 11:41:53 +09:00
swcho 5a13a7cf38 Merge branch 'iipbs/sn/dev' into iipbs/sn/main 2025-07-09 11:39:23 +09:00
leedj312 b444f24d41 지도점검 파일 등록 수정 2025-07-09 11:37:46 +09:00
swcho 6038f7cd3e Merge branch 'iipbs/sn/ii' into iipbs/sn/dev 2025-07-09 11:31:42 +09:00
swcho 2aa202ace3 Revert "Merge branch 'iipbs/sn/ii' into iipbs/sn/main"
This reverts commit 63012618a2, reversing
changes made to 6573981505.
2025-07-09 11:30:12 +09:00
swcho 63012618a2 Merge branch 'iipbs/sn/ii' into iipbs/sn/main 2025-07-09 11:09:23 +09:00
jyha00 1846873602 빗물/중수도/온배수 스크롤 사이즈 재조정 2025-07-09 10:57:02 +09:00
leedj312 bb70090766 중수도 저장시 메시지 변경 2025-07-09 10:32:57 +09:00
jyha00 2413cdeb6c 빗물/중수도/온배수 스크롤 사이즈 조정 2025-07-09 10:05:06 +09:00
leedj312 779cc442e8 시설명 작업중 2025-07-09 09:44:19 +09:00
mind-one005 2e05fc61e7 Merge branch 'iipbs/sn/dev' into sn-ljpark2 2025-07-09 09:34:47 +09:00
mind-one005 6573981505 침입수 초기화시 선택 보이도록 2025-07-09 09:06:38 +09:00
mind-one005 4109ff73bb 하수도정비기본계획 진행중 2025-07-09 08:55:02 +09:00
leedj312 eb5cdf4912 Merge commit '4745c87ab0c3ea541d706012d6cbed9b24f3a98d' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-09 01:44:53 +09:00
leedj312 4745c87ab0 수요처 등록_ rgtr nullsh 처리 2025-07-09 01:44:17 +09:00
leedj312 2eecee702d Merge commit '8b6ade0541e7473a597a5c5dc52e001a9cbc8274' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-09 01:37:33 +09:00
leedj312 5047468c7b Merge commit 'bf241073b02582908ff7a2f3cbb21a1be307d25a' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-09 01:37:07 +09:00
leedj312 bf241073b0 수요처 변경시 예외사항 추가(패스워드 확인란) 2025-07-09 01:36:19 +09:00
leedj312 8b6ade0541 수요처 수정 오류 수정 2025-07-09 01:35:29 +09:00
leedj312 12e17e0bd1 Merge commit '4224375b3a5aa1e3213b96ccfc3fff067a9ce06a' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-09 01:01:15 +09:00
leedj312 564ca4116a Merge commit 'e30130dc8f54918924e5221b7b4103f8b0afb2ca' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-09 00:59:24 +09:00
leedj312 d35730517f Merge commit 'e0e2530a56d6047365f0b99bff3110b39c5afe7f' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-09 00:58:57 +09:00
leedj312 e0e2530a56 하수재이용 시설현황 조회, 엑셀 완료 2025-07-09 00:55:28 +09:00
leedj312 fa258323ec 하수재이용시설 현황 일단 조회만 가능 2025-07-08 22:15:05 +09:00
yschoi 8e0a1a6b94 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-08 22:01:21 +09:00
yschoi bb59338520 env 수정 2025-07-08 22:01:11 +09:00
jyha00 e30130dc8f 잠재수요처 엑셀 다운로드 수정, 페이징 처리 수정 2025-07-08 20:59:35 +09:00
jyha00 e314369cbb 하수재이용시설 등록 시설/차수별 정보 고정 2025-07-08 19:54:53 +09:00
JIeunhuh 8de4c605f2 Merge commit '1a4b287b7a9caeeda4e76c962b07a6368f3f3a22' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-08 19:42:45 +09:00
JIeunhuh 1a4b287b7a 하수처리시설 상세 팝업 구현 2025-07-08 19:42:07 +09:00
swcho 8b4b5bd0ec Merge remote-tracking branch 'origin/iipbs/sn/main' into iipbs/sn/ii 2025-07-08 19:38:22 +09:00
swcho 166fc81f7e feat: 감리지적사항 대응
- 노후 하수관로 조회 기능 구현
- 분기 조건 체크
- 파일명 표시 에러 수정
- 셀 클릭 이벤트 수정
- 자체 입력 정보 입력 되게 수정
- 단위 추가
- 하수맨홀 뚜껑재질 코드표 추가
2025-07-08 19:38:00 +09:00
swcho c47c68f27f Merge remote-tracking branch 'origin/iipbs/common/main' into iipbs/sn/ii 2025-07-08 19:32:06 +09:00
swcho 4224375b3a feat: DatePicker zIndex props 다시 적용 2025-07-08 19:31:51 +09:00
leedj312 0dd5744229 결함 대장 수정중 2025-07-08 19:31:43 +09:00
chanii8 9d99f6044e Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-07-08 19:22:30 +09:00
chanii8 49a699f533 [apps/cs] chore: 환경청 코드 필터 수정 2025-07-08 19:22:05 +09:00
swcho 7c0e646d21 Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-07-08 19:21:17 +09:00
swcho 52a5650ca5 feat: DatePicker 컴포넌트 zIndex props 추가 2025-07-08 19:20:04 +09:00
chanii8 13ac6d638b [apps/cs] feat: 메뉴 변경 이력 보기 및 되돌리기 기능 작업 2025-07-08 19:18:41 +09:00
jyha00 657361a141 빗물/중수도/온배수 엑셀 다운로드 수정, 페이징 처리 완료 2025-07-08 18:44:45 +09:00
jyha00 21610c9c9f 잠재수요처 엑셀 다운로드 수정 2025-07-08 18:31:08 +09:00
leedj312 58c300ac47 Merge commit '46565c1820d541389be69046b626d7b7c23615c7' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-08 17:57:11 +09:00
jyha00 46565c1820 중수도이용시설 엑셀 다운로드 수정 완료 2025-07-08 17:23:52 +09:00
JIeunhuh d88c1310f3 Merge commit 'ef1643e9da4cb71ac202ac995157136023ef7bb2' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-08 16:09:30 +09:00
JIeunhuh ef1643e9da 상세 나오게 우선 수정 2025-07-08 16:09:01 +09:00
leedj312 dbc56ab2b7 Merge commit 'c1d1c2e27e502cd898d5244b5ebe11a234514800' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-08 14:44:11 +09:00
leedj312 e28342a899 Merge commit 'ff563600d756f0a64dccd5d652a03b29010060d2' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-08 14:43:54 +09:00
JIeunhuh 131dad8230 현황에서 셀클릭 시 지도 이동 작업 중 2025-07-08 14:43:05 +09:00
jyha00 ff563600d7 온배수이용시설 현황 엑셀 다운로드 수정 2025-07-08 14:42:46 +09:00
leedj312 c1d1c2e27e 결함대중 중 등록 페이지네이션 및 수요처관리 수정 2025-07-08 14:42:39 +09:00
jyha00 f93ca3d71f 빗물/중수도/온배수시설 현황 상세모달 시설명 표출 2025-07-08 14:17:29 +09:00
jyha00 221a9331f7 하수/중수도시설 현황 엑셀 다운로드 수정 2025-07-08 14:16:37 +09:00
yschoi edfd92c98f Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-08 13:52:20 +09:00
yschoi 29a7c5d1c5 미들웨어 수정 2025-07-08 13:52:12 +09:00
swcho 0afd2310de fix: fileUploadForm.tsx 같은 파일 연속으로 등록시 파일명이 표시되지 않는 에러 수정 2025-07-08 13:44:13 +09:00
yschoi 89b8f0fa38 Merge remote-tracking branch 'origin/main' into iipbs/sn/dev 2025-07-08 13:22:29 +09:00
leedj312 d371de4c1c Merge commit '3b19ff32c80bfe7fa2c4f19bd1cf14a9b9485f25' into iipbs/wr/regForTest 2025-07-08 13:12:56 +09:00
leedj312 3b19ff32c8 Merge commit 'ff13d7b50907212fccfb95df3cc36334f85cefe1' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-08 13:12:34 +09:00
mind-one005 a6fb951aa6 chart height 2025-07-08 12:58:20 +09:00
mind-one005 208c2fd321 강우유입수 분석정보 선택 목록에서 제거 2025-07-08 12:41:42 +09:00
YangJinSoo94 5ed4e0d48d 결함조치 - 수요처정보 등록, 바차트 색상수정 2025-07-08 11:40:18 +09:00
mind-one005 886b1e8d75 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-08 11:38:23 +09:00
yschoi 25f04e565a 빈레이어 2025-07-08 11:28:19 +09:00
yschoi eac8e9fdbe Merge branch 'iipbs/wr/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-08 11:27:37 +09:00
yschoi 75feb78baf 빈 레이어 제외 2025-07-08 11:27:31 +09:00
mind-one005 c2ee97901a 강우량당 rdii 2025-07-08 11:26:30 +09:00
jyha00 ff13d7b509 중수도재이용시설 신규등록 저장 버튼 고정 2025-07-08 11:25:53 +09:00
jyha00 66eb77385b 온배수시설 신규등록 발전유형 추가, 발전유형 선택 조건 추가 2025-07-08 11:24:28 +09:00
JIeunhuh 2abbf857c0 팝업 크기 변경 2025-07-08 11:24:25 +09:00
swcho ff351059cf Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-07-08 11:23:22 +09:00
swcho c1d741dd49 feat: table Data 변경시 셀 클릭 초기화 구현 2025-07-08 11:23:01 +09:00
swcho 61411158d1 feat:
- 침입수 분석, RDII 분석 페이지 조회 기능 구현
- 셀 클릭 유지로 인한 파일 다운로드, 삭제 에러 수정
2025-07-08 11:20:48 +09:00
JIeunhuh 3bba3dce98 레이어명 가져올때 체크된 값만 가져오도록 변경
iipbs_wr / build (push) Waiting to run
2025-07-08 10:32:56 +09:00
leedj312 234f2bc0a7 헤더 변경사항 수정 2025-07-08 10:25:54 +09:00
leedj312 4691f3b981 Merge commit '2642f734320a30a1d4db4e1ebb6064327d3054a2' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-08 09:55:06 +09:00
jyha00 2642f73432 재이용시설현황 페이지 조회항목설정 변경, 헤드리스트 번호 제거 2025-07-08 09:54:08 +09:00
chanii8 1e524ba9c5 [apps/cs] feat: 메뉴 임시저장 및 불러오기 기능 작업 2025-07-08 09:51:59 +09:00
leedj312 3513daa004 Merge commit '43c50d694f5f5a6683e36a27e3428a4c337a0930' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-08 09:49:49 +09:00
leedj312 56afbf2b2c Merge commit '1a6af2168b8a5de50810737c88dabcff515ab7f5' into iipbs/wr/dev 2025-07-08 09:49:22 +09:00
leedj312 1a6af2168b 사업체 힌트박스 위로뜨게 수정 2025-07-08 09:48:51 +09:00
JIeunhuh 43c50d694f 재이용 현황 나오도록 수정
iipbs_wr / build (push) Waiting to run
2025-07-08 09:48:19 +09:00
swcho 2592a52c10 Merge remote-tracking branch 'origin/iipbs/sn/dev' into iipbs/sn/ii 2025-07-08 09:31:20 +09:00
JIeunhuh b0861e5182 지도팝업 수정
iipbs_wr / build (push) Waiting to run
2025-07-08 09:30:57 +09:00
JIeunhuh 349b820790 Merge commit 'e428e17b524e46d48f5d807abf6d00c8aceea7cf' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-08 09:19:41 +09:00
swcho f97bdf1bd5 Merge remote-tracking branch 'origin/iipbs/sn/dev' into iipbs/sn/ii 2025-07-08 09:05:56 +09:00
swcho 3c73ba7125 feat: 도시침수예방사업, 노후하수관로 정비사업 페이지 분기 조건 체크 구현 2025-07-07 21:12:57 +09:00
swcho b396a14a5d feat: stash 적용 2025-07-07 20:59:07 +09:00
swcho 2dd80be17f feat:
- 파일 확장자 검증 컴포넌트 구현 및 적용
- 환경청, 시도, 시군구, 하수처리장 입력 검증 컴포넌트 구현 및 적용
- RDII 분석 페이지 하수처리장 선택 로직 에러 수정
2025-07-07 20:53:37 +09:00
mind-one005 a4976628c1 Merge branch 'iipbs/sn/main' into iipbs/sn/dev 2025-07-07 20:39:46 +09:00
leedj312 5e99562c5e Merge commit 'f2f7c86cd1810f5d0c74440f711a0b00ffdf4848' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-07 20:33:02 +09:00
jyha00 f2f7c86cd1 Merge commit 'b1096ed9df49fd87b090f85376fab45ed2406bb7' into iipbs/wr/form_fuction 2025-07-07 20:32:46 +09:00
jyha00 b1096ed9df 시도 선택시 시군구 전체로 나오게 수정 2025-07-07 20:32:27 +09:00
leedj312 5ec33d0165 수요처 추가 변경 수정
iipbs_wr / build (push) Waiting to run
2025-07-07 20:31:35 +09:00
jcchoi 892c3d1eee LoginLog 수정 2025-07-07 20:29:30 +09:00
jyha00 04b365b94d 하수재이용시설현황 조회조건 변경, 엑셀 다운로드 수정 2025-07-07 20:29:01 +09:00
mind-one005 56ec625f90 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-07 20:02:57 +09:00
JIeunhuh e428e17b52 Merge commit 'bb9db3c92793f9259cf0f9b9347ca935b73689bd' into iipbs/wr/gisPopup 2025-07-07 20:00:37 +09:00
JIeunhuh bb9db3c927 페이지 새로고침 방지 2025-07-07 20:00:16 +09:00
JIeunhuh 8e7d32a48b 하수처리시설 현황 추가 2025-07-07 19:56:56 +09:00
swcho 0b8790afba Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-07-07 19:49:02 +09:00
swcho 4503181684 fix: SELECTBOX 컴포넌트 hidden 로직 수정 2025-07-07 19:48:35 +09:00
yschoi f7580defc9 ENV 수정
iipbs_wr / build (push) Waiting to run
2025-07-07 19:37:57 +09:00
leedj312 7fc94abf86 원수취수 수정 완료
iipbs_wr / build (push) Waiting to run
2025-07-07 19:18:29 +09:00
hsson 2ec22b41eb 그래프 Modal 안에 있도록 2025-07-07 19:18:21 +09:00
JIeunhuh af9c36527d Merge commit '2a16e7151ff2a77c735f465b7f1a70c148009131' into iipbs/wr/gisPopup 2025-07-07 17:35:18 +09:00
yschoi 25ef037bb0 Merge remote-tracking branch 'origin/main' into iipbs/sn/dev 2025-07-07 17:30:53 +09:00
jyha00 711739df33 중수도시설통계 건축물면적 삭제 2025-07-07 17:13:37 +09:00
yschoi 2703c34528 지도 레이어 미들웨어에서 분기 하도록 수정 2025-07-07 17:01:05 +09:00
yschoi 2a16e7151f Merge branch 'iipbs/wr/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-07 16:58:59 +09:00
yschoi b7f345fdf7 지도 레이어 추가 2025-07-07 16:58:53 +09:00
jyha00 7c83ec0555 Merge branch 'iipbs/wr/dev' into iipbs/wr/form_fuction 2025-07-07 16:34:00 +09:00
jyha00 37eb11f303 하수재이용시설등록 결함 수정 중
iipbs_wr / build (push) Waiting to run
2025-07-07 16:25:26 +09:00
swcho eb912a49f0 Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-07-07 16:21:02 +09:00
swcho f7c8518e57 feat: 이전 Commit 내역 재작업
- UITable, UITable2 컴포넌트 숫자 가운데 정렬
- UiModal 이전 동작 방식으로 사용하는 props 추가
2025-07-07 16:20:32 +09:00
JIeunhuh 4e9770e197 온배수시설 상세정보 구현완료 2025-07-07 15:53:57 +09:00
JIeunhuh b3a8c6af36 중수도시설까지 팝업뜨도록 완료(다운로드 구현필요) 2025-07-07 15:23:17 +09:00
swcho 777415adb5 Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-07-07 14:51:54 +09:00
swcho 921592a121 feat: DateMonthPicker 컴포넌트 startYerar props 추가 2025-07-07 14:51:39 +09:00
swcho a7035b774e feat: 침입수분석, RDII 분석 연도 조회 쿼리 수정 2025-07-07 14:43:13 +09:00
swcho 31b6326821 Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-07-07 14:15:02 +09:00
chanii8 46c3f50432 [apps/cs] refactor: 메뉴 인터페이스 및 서비스 엔티티로 분리 2025-07-07 13:58:29 +09:00
chanii8 d97de2861e [common/components] feat: TableHead 컴포넌트 required data 속성 추가 2025-07-07 13:31:05 +09:00
swcho 8b20d7e88e feat: SELECTBOX 컴포넌트 hidden props 추가로 placeholder 기능 구현 2025-07-07 13:29:45 +09:00
jyha00 02ada9925a 하수재이용실적 현황 월별 오름차순 정렬 복구
iipbs_wr / build (push) Waiting to run
2025-07-07 13:12:20 +09:00
swcho 5d271ebdb9 Merge branch 'iipbs/sn/dev' into iipbs/sn/ii 2025-07-07 11:05:01 +09:00
JIeunhuh c0067eb007 Merge commit 'fb8812303baa27bf0f38fb3b60da43a8ab716e25' into iipbs/wr/gisPopup 2025-07-07 10:46:21 +09:00
chanii8 7bda770200 [apps/cs] feat: 툴팁 추가 2025-07-07 10:39:15 +09:00
jyha00 5b71fa6dfe 하수재이용실적 현황 데이터 오름차순 정렬로 변경 2025-07-07 10:34:22 +09:00
truthwing d842ac599e 도넛 라인 변경사항 복구.
iipbs_wr / build (push) Waiting to run
2025-07-07 10:32:35 +09:00
truthwing b695cc968b Merge branch 'iipbs/wr/form_fuction' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-07 10:26:12 +09:00
truthwing 52080d2b1a Merge commit 'a6b6ae357625f67219c67a9ba91b89146c553772' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-07 10:25:55 +09:00
truthwing a6b6ae3576 Merge commit '051c158e22777b2cb9c48c10b4f39e7687f9d71d' into iipbs/common/main 2025-07-07 10:25:28 +09:00
truthwing 051c158e22 도넛 및 라인 차트 수정사항 추가. 2025-07-07 10:24:11 +09:00
YangJinSoo94 cbb41bb200 엑셀 업로드 변수명 오타 수정정
iipbs_wr / build (push) Waiting to run
2025-07-07 10:15:09 +09:00
yschoi 32070a3736 Merge remote-tracking branch 'origin/main' into iipbs/sn/dev 2025-07-07 10:15:08 +09:00
yschoi 6269fbc8c5 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-07 10:14:20 +09:00
yschoi 11f1c75ac4 searchview 조건 수정 2025-07-07 10:14:11 +09:00
leedj312 2a47e479aa Merge commit 'ab13d1436142fe892bfc20362385bed6ae75474f' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-07 09:41:53 +09:00
jyha00 0bfb84406f Merge commit 'ab13d1436142fe892bfc20362385bed6ae75474f' into iipbs/wr/form_fuction 2025-07-07 09:33:23 +09:00
jyha00 ab13d14361 더블바 차트 변경 2025-07-07 09:32:43 +09:00
jyha00 abda62eebb 테스트 2025-07-07 09:28:45 +09:00
leedj312 c5d2cc53a4 검토완료 시 메시지 표출
iipbs_wr / build (push) Waiting to run
2025-07-07 09:26:37 +09:00
jyha00 c79b4ca18d 하수재이용실적 현황 데이터 수정 2025-07-07 09:19:37 +09:00
jyha00 f5c8e452be Merge commit '76e9651a91cb67ebfdcb43adbd43b5d6a912fdda' into iipbs/wr/form_fuction 2025-07-07 09:13:30 +09:00
leedj312 fb8812303b 검토완료 메시지
iipbs_wr / build (push) Waiting to run
2025-07-06 23:01:04 +09:00
leedj312 e332162984 수요매칭 검토 및 이력 수정
iipbs_wr / build (push) Waiting to run
2025-07-06 22:44:31 +09:00
leedj312 d2c7bbb78b 하수재이용시설 등록 원수취수 조회 기능 수정
iipbs_wr / build (push) Waiting to run
2025-07-06 18:30:07 +09:00
leedj312 59a5175832 하수재이용시설 셀렉트박스 선택되게 변경
iipbs_wr / build (push) Waiting to run
2025-07-06 17:20:21 +09:00
leedj312 ad7b78688f [하수재이용시설 등록 수정] onVild 파라미터로 모달에게 넘겨주기
iipbs_wr / build (push) Waiting to run
2025-07-06 16:34:47 +09:00
leedj312 103c5d3cb1 수요매칭검토 수정
iipbs_wr / build (push) Waiting to run
2025-07-06 16:15:08 +09:00
leedj312 c5f7d62908 삭제된 부분을 수정하고 실적 오류사항 수정
iipbs_wr / build (push) Waiting to run
2025-07-06 14:31:10 +09:00
leedj312 7d56ba0243 하수재이용 수정
iipbs_wr / build (push) Waiting to run
2025-07-06 00:46:43 +09:00
hsson 80b356f66b React.memo 사용 2025-07-05 22:37:03 +09:00
leedj312 0d13f5eac6 Merge commit '5a681420465af0ffe153b9fce121484947c53b9c' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-04 22:36:14 +09:00
leedj312 200997f4af Merge commit '5fd8c6e6a62d056d29682a81143ab43649f5e3a8' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-04 22:35:55 +09:00
jyha00 5a68142046 원수,취수 모달창 수정 2025-07-04 22:35:45 +09:00
leedj312 5fd8c6e6a6 결함대장 수정 2025-07-04 22:27:55 +09:00
leedj312 db74c07df8 결함대장 수정 2025-07-04 22:26:55 +09:00
jyha00 1d9111ee4c 빗물/중수도/온배수시설현황 조회조건 수정, 페이징 처리, 오류 수정 2025-07-04 20:10:52 +09:00
leedj312 76a511a5e0 중수도 수정 완료 2025-07-04 20:06:07 +09:00
ljpark 970bfc6c82 자료관 데이터 가져오기 2025-07-04 19:36:05 +09:00
leedj312 7c34c87aaf 온배수 완료 2025-07-04 19:29:10 +09:00
chanii8 7d5ce5e3ec [common/features] feat: 콘텐츠 메뉴 평가, 퍼가기, 수정요청 기능 작업 2025-07-04 18:54:58 +09:00
yschoi 8b1a58f458 Merge branch 'iipbs/wr/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-04 18:38:12 +09:00
yschoi f4f3d2a3e9 미니맵 삭제 2025-07-04 18:36:54 +09:00
jyha00 60c06bd505 지도점검결과 등록 및 현황 merge 오류 수정 완료 2025-07-04 18:13:07 +09:00
JIeunhuh 8a73793d1c Merge commit '76e9651a91cb67ebfdcb43adbd43b5d6a912fdda' into iipbs/wr/gisPopup 2025-07-04 17:50:46 +09:00
JIeunhuh 76e9651a91 featureData없을때도 getProperties속성 넘기도록 수정 2025-07-04 17:40:43 +09:00
JIeunhuh bf32364514 레이어 명 우측에 클릭이벤트 추가 및 현황 / 상세정보 나뉘어서 나오도록 변경 2025-07-04 17:36:12 +09:00
ljpark d02b17ba12 dc-service 접속 2025-07-04 17:30:50 +09:00
swcho 5b62171b01 feat:
- 파일 확장자 검증 컴포넌트 구현 및 적용
- 환경청, 시도, 시군구, 하수처리장 입력 검증 컴포넌트 구현 및 적용
- RDII 분석 페이지 하수처리장 선택 로직 에러 수정
2025-07-04 17:26:10 +09:00
truthwing 71fab8cc63 Merge commit '011b87784d2cc8e4f17e79acf91eea6c1c7d3775' into iipbs/wr/dev
iipbs_wr / build (push) Waiting to run
2025-07-04 16:12:31 +09:00
truthwing 011b87784d djlee product 2025-07-04 16:12:08 +09:00
truthwing cec35e6724 jyha product 2025-07-04 15:40:13 +09:00
YangJinSoo94 7bbab96c4b 물재이용사례관리 조회기능(페이지네이션 추가)완료
iipbs_wr / build (push) Waiting to run
2025-07-04 15:12:51 +09:00
chanii8 d8d4560823 [common/features] feat: 게시글 평가 기능 추가 2025-07-04 11:10:49 +09:00
JIeunhuh ddef447c62 Merge commit 'be4bbdb3f102ab86868d42830f15f7e7803cb4f9' into iipbs/wr/gisPopup 2025-07-04 11:06:24 +09:00
JIeunhuh be4bbdb3f1 gistree 이미지 클릭이벤트 추가 2025-07-04 11:04:56 +09:00
JIeunhuh 916c068706 팝업 진행중 2025-07-04 11:00:34 +09:00
JIeunhuh aa7ef37aaf 상세 / 현황팝업 분리작업 중 2025-07-04 10:33:09 +09:00
chanii8 5d1aaa2595 [common/features] rename: pst -> post 그룹명 변경 2025-07-04 10:15:07 +09:00
chanii8 ef2f4f7b9e [common/features] refactor: 게시판과 콘텐츠 페이지 레이아웃 분리 2025-07-04 10:12:47 +09:00
chanii8 dd381c3a7f [common/features] rename: pst -> post 그룹명 변경 2025-07-04 10:01:18 +09:00
swcho 27aa9739a0 Merge branch 'iipbs/sn/dev' into iipbs/sn/main 2025-07-04 09:50:55 +09:00
ljpark 59f035f98d Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-04 09:49:53 +09:00
ljpark a2c8424838 그래프 크기 2025-07-04 09:49:48 +09:00
swcho 7c39e16c37 Merge remote-tracking branch 'origin/iipbs/sn/dev' into iipbs/sn/main 2025-07-03 21:14:59 +09:00
swcho 7242dd54db fix: RDII 분석 페이지 하수처리장 선택 안되는 오류 수정 2025-07-03 21:13:59 +09:00
swcho b3a25f8f85 Merge branch 'iipbs/sn/ii' into iipbs/sn/dev 2025-07-03 20:46:34 +09:00
swcho 022eeb6187 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-03 20:46:26 +09:00
swcho 26c36dd966 feat: 하수처리장 초기값 '전체' -> '선택'으로 수정 2025-07-03 20:46:06 +09:00
swcho ea3ecec9fc Merge remote-tracking branch 'origin/iipbs/sn/dev' into iipbs/sn/ii 2025-07-03 20:31:53 +09:00
swcho b5d70a9534 feat: 침입수분석, RDII 분석 하수처리장 조회 조건 적용 2025-07-03 20:31:40 +09:00
ljpark 498b86ce76 적용연월 적용 2025-07-03 20:23:51 +09:00
swcho c975317638 Merge remote-tracking branch 'origin/iipbs/sn/dev' into iipbs/sn/ii 2025-07-03 18:06:59 +09:00
swcho 79ea2e56d5 feat: 침입수 분석, RDII 분석, 결과 페이지 연월로 수정 2025-07-03 18:05:46 +09:00
ljpark d56d4fc00d 그래프 POPUP제목 2025-07-03 17:33:37 +09:00
swcho 620faff7cd Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-07-03 16:58:35 +09:00
swcho b6d318c546 downloadExcel import 추가 2025-07-03 16:18:16 +09:00
swcho 6af38137fc feat: 침입수 분석결과, RDII 분석결과 화면에 일련번호, 분석 성공여부 구현 2025-07-03 15:24:30 +09:00
chanii8 814e7addb8 Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs_cs 2025-07-03 15:18:35 +09:00
chanii8 5376d21901 [common/features] feat: 콘텐츠 페이지 생성 2025-07-03 15:17:56 +09:00
swcho 5e59a25bff Merge branch 'iipbs/sn/dev' into iipbs/sn/main 2025-07-03 14:05:14 +09:00
swcho 44e2bfedc3 Merge remote-tracking branch 'origin/iipbs/sn/ii' into iipbs/sn/dev 2025-07-03 14:04:35 +09:00
swcho 20d44c09ff feat:
- 오수전환율 0~1 사이값 검증 구현
- 오수관망도 파일 선택시 .inp 확장자로만 한정 구현
2025-07-03 14:04:16 +09:00
yschoi af3c78ad1d 메인페이지 리다이렉트 처리 2025-07-03 11:45:31 +09:00
changwng 7071d8359f Merge remote-tracking branch 'origin/iipbs_cs' into iipbs_cs 2025-07-03 10:35:23 +09:00
changwng a74430a4d9 [docker build] example data 2025-07-03 10:35:02 +09:00
swcho 0cbd48354c feat: 하수맨홀 검색 구현 2025-07-03 09:56:17 +09:00
swcho 711412b82e feat: 1차(수요일) 감리지적사항대응
- 하수관로, 하수맨홀, 하수펌프장, 우수토실 검색 구현
- UiTable number 값 가운데 정렬
- 일련번호 컬럼 삭제
- 환경청, 시도, 시군구 컬럼 추가
- 관리년도 삭제
- 오수전환율 0~1 사이의 값만 입력 가능하게 수정
2025-07-03 09:35:36 +09:00
swcho 3f7ea2bcd8 Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-07-02 20:14:37 +09:00
swcho 2ab3439ae5 Merge branch 'iipbs/common/main' into iipbs/sn/dev 2025-07-02 19:22:28 +09:00
swcho c7c868431f etc: .env.development 롤백 2025-07-02 16:50:14 +09:00
swcho 0f0ddb6c26 etc: .env.development NEXT_PUBLIC_PORT 수정 2025-07-02 16:26:19 +09:00
swcho 8d7bf04145 etc: .env.devolpoment 프록시 호스트 주소 변경 2025-07-02 16:18:43 +09:00
truthwing 13d58d1153 배포시 proxy 주소 설정 변경. 2025-07-02 14:19:38 +09:00
chanii8 1555c60341 [common/features, apps/cs] feat: 게시물 퍼가기(url 복사) 기능 추가 2025-07-02 13:43:12 +09:00
ljpark 5b314dae08 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-02 13:35:37 +09:00
ljpark d1ed7dac62 그래프 설명 2025-07-02 13:35:29 +09:00
swcho 3e0da6da8b Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-02 13:35:01 +09:00
swcho 3cc0a6d743 feat: 우수토실 상세정보 구현 2025-07-02 13:34:58 +09:00
chanii8 20173a24ea [common/features, apps/cs] refactor: SortSelect 컴포넌트 추가 및 적용 2025-07-02 10:24:47 +09:00
chanii8 bba2b1db2c [common/features] feat: getPostEditInfo 함수 추가 2025-07-02 10:00:23 +09:00
ljpark 8a459f1110 유량api 조회주소변경 2025-07-02 09:59:12 +09:00
chanii8 4723d90658 [common/features, apps/cs] feat: 테이블 정렬 기능 추가 2025-07-02 09:54:19 +09:00
chanii8 5092dfa6e6 [apps/cs] chore: menu wrapper 로직 pathname 변경될 때마다 실행 2025-07-02 09:33:07 +09:00
chanii8 b001e2861b [common/features] fix: 빌드 에러 수정 2025-07-02 09:32:11 +09:00
yschoi e99c15018f Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-02 00:33:52 +09:00
yschoi e125b76bbe 메인페이지 수정 2025-07-02 00:33:12 +09:00
mind-one005 cd7e0fe621 관로연결 2025-07-02 00:21:42 +09:00
yschoi 0c0d718ea9 테스트 2025-07-01 23:24:49 +09:00
yschoi 255da1ca8c Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-01 23:06:35 +09:00
yschoi 02b0750a5c env 수정 2025-07-01 23:05:50 +09:00
swcho 37a9382d86 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-01 22:47:55 +09:00
swcho 143e7581fd feat:
- 하수관로, 하수맨홀, 하수펌프장, 우수토실 검색 구현
- env.development 프록시 호스트 변경
2025-07-01 22:47:07 +09:00
yschoi fbcaa5bc11 테스트 2025-07-01 22:39:32 +09:00
yschoi 9c2a1e5c62 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-01 21:57:39 +09:00
yschoi b3e5cb84d3 테스트 2025-07-01 21:57:33 +09:00
swcho 9421b99d28 Merge remote-tracking branch 'origin/iipbs/sn/dev' into iipbs/sn/ii 2025-07-01 20:22:48 +09:00
swcho 54da5e1e96 fix: 하수관로 자체 입력 정보 undefeinde 에러 수정 2025-07-01 20:22:30 +09:00
yschoi 4bc1b6903f 물재이용 추가 2025-07-01 19:32:56 +09:00
swcho e4350f71cd feat:
- 중점우수토실 상세페이지 작업
- 하수관로 침입수 분석, RDII 분석 버튼 위치 변경
- 시설 정보 API 호출 하지 않고 GIS 지도에서 가져오는 방식으로 변경
2025-07-01 18:03:59 +09:00
chanii8 637b710aca Merge branch 'main' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs_cs 2025-07-01 17:47:28 +09:00
chanii8 05c9345e01 [apps/cs, common/features] refactor: 게시물 조회 api 'ansUseYn' 파라미터 추가 2025-07-01 17:09:40 +09:00
chanii8 de0958acbe [common/features] refactor: PageLayout menuPaths 쿼리 데이터로 수정 2025-07-01 16:49:54 +09:00
chanii8 0dad2a0e50 [common/features] chore: 사용자 게시물 수정 api 변경 2025-07-01 16:29:03 +09:00
chanii8 33d3ce290c [common/features] feat: 게시글 내 수정 및 삭제 버튼 권한 적용 2025-07-01 16:17:42 +09:00
chanii8 2827906ea9 feat: common/features 폴더에 로그아웃 기능 추가 2025-07-01 15:01:26 +09:00
chanii8 9247b8afc4 fix: LNB 열림 상태 ui 이슈 해결 2025-07-01 14:50:12 +09:00
chanii8 19dd7a0091 chore: 테이블 columns 수정 2025-07-01 14:18:58 +09:00
chanii8 0ef59a16f9 feat: 게시판 폼에 개인정보 표시 여부 필드 추가 2025-07-01 14:18:17 +09:00
ljpark e49e330384 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-01 12:47:34 +09:00
swcho 2edc54f965 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-01 11:46:06 +09:00
swcho 1978553a9d feat: 시설 상세정보 데이터 API 호출 방식에서 지도 상 데이터 표출로 변경 2025-07-01 11:46:03 +09:00
ljpark c39afc3114 관로번호 넘기기 2025-07-01 11:44:52 +09:00
chanii8 c829adee26 Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-07-01 10:51:57 +09:00
yschoi dd05769560 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-07-01 10:07:41 +09:00
ljpark 464f026ad1 i/i 그래프 수정 2025-07-01 10:01:17 +09:00
yschoi ab87185453 스타일수정 2025-07-01 10:00:14 +09:00
ljpark 29cf135892 디자인조정 2025-07-01 09:30:43 +09:00
chanii8 09c1822f5e rename: common/features 폴더 '(pst)' 그룹 생성 2025-07-01 09:17:40 +09:00
chanii8 74c2860342 chore: '/pst' 경로 '/cms'로 변경 2025-07-01 09:16:55 +09:00
mind-one005 5b9747b7b1 상수사용월 가져오기 2025-07-01 08:48:23 +09:00
mind-one005 c3f8c79282 강우파일명 추가 2025-07-01 00:23:15 +09:00
swcho dcbd89fc08 Merge branch 'iipbs/sn/ii' into iipbs/sn/dev 2025-06-30 21:23:22 +09:00
swcho dccb055498 feat:
- 하수맨홀 상세정보 API 구현 (백엔드 연결 테스트 완료)
- 하수관로, 하수펌프장 백엔드 연결 테스트 완료
2025-06-30 21:19:54 +09:00
mind-one005 5aebb3ba77 rdii추가 2025-06-30 21:19:25 +09:00
swcho 27c4204fd8 feat: 하수펌프장 상세정보 API 구현 (백엔드 연결시 추후 테스트 필요) 2025-06-30 20:52:13 +09:00
swcho b3c655ba95 Merge branch 'iipbs/sn/dev' into iipbs/sn/ii 2025-06-30 20:18:06 +09:00
jcchoi 4db7256e23 Update README.md
next.config.ts 수정 기존 공통 모듈 주소 변경(pst -> cms)
2025-06-30 20:17:35 +09:00
swcho 852cb00d01 feat: 하수관로 상세정보 API 구현 (백엔드 연결시 추후 테스트 필요) 2025-06-30 20:17:25 +09:00
jcchoi 65dfe564bb Merge branch 'main' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-06-30 20:11:44 +09:00
jcchoi 419099d233 퍼가기 2025-06-30 19:33:31 +09:00
yschoi 8bb8825c5e 관로 아이콘 추가 2025-06-30 18:00:56 +09:00
jcchoi 9f0d984a94 Update README.md
가이드 추가
2025-06-30 16:59:09 +09:00
chanii8 2ee413e077 feat: 로그아웃 기능 추가 2025-06-30 16:55:34 +09:00
mind-one005 181307eeb6 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/ii 2025-06-30 16:50:32 +09:00
swcho 2c3b2785bc refactor: infilChart.tsx 공통 컴포넌트 적용 2025-06-30 16:33:54 +09:00
chanii8 f915f8ab4b remove: getClientIp 로직 제거 2025-06-30 16:13:26 +09:00
chanii8 b5d595cb04 chore: 그룹 사용자 목록 columns 수정 2025-06-30 15:58:45 +09:00
chanii8 8406d7449e chore: common/config 폴더 getConfig 함수 수정 2025-06-30 15:58:28 +09:00
chanii8 5916d48e99 refactor: 로고에 스켈레톤 적용 2025-06-30 15:53:16 +09:00
swcho 842e63cef1 Merge remote-tracking branch 'origin/sn-ljpark' into iipbs/sn/ii 2025-06-30 15:51:18 +09:00
swcho a0ee6f34f5 refactor : inflChart.tsx 공통컴포넌트 적용 2025-06-30 15:46:12 +09:00
mind-one005 515f75bd80 그래프 x축 2025-06-30 15:45:01 +09:00
jcchoi 00329ff32b 로그조회 수정 2025-06-30 14:20:38 +09:00
chanii8 855f9b8675 refactor: common/components 폴더에서 'SITE_ID' 환경변수 쿠키로 대체 2025-06-30 13:39:38 +09:00
chanii8 622b74db54 Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs_cs 2025-06-30 13:26:29 +09:00
chanii8 087cc67be3 Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs_cs 2025-06-30 13:24:00 +09:00
chanii8 9a38ce33c0 refactor: 'SITE_ID' 환경변수 쿠키로 수정 2025-06-30 13:23:29 +09:00
yschoi d2564012e3 하수관로 추가 2025-06-30 11:46:42 +09:00
changwng d5286d7fda Merge remote-tracking branch 'origin/iipbs_cs' into iipbs_cs 2025-06-30 10:57:07 +09:00
changwng ef6a7e4e27 [docker build] gzip 생성 제외 2025-06-30 10:56:52 +09:00
chanii8 0e9d865f44 feat: 게시물 평가 기능 추가 2025-06-30 10:53:41 +09:00
mind-one005 a2d48745b3 chartdata설정 2025-06-29 21:55:41 +09:00
mind-one005 713d4efd46 침입수분석결과 조회 2025-06-29 20:58:27 +09:00
mind-one005 381bae8e26 침입수정보 선택 2025-06-28 22:01:56 +09:00
mind-one005 f5d8f8fe23 중간.. 2025-06-28 10:57:35 +09:00
jcchoi 533923a40a Privacy Log Route 추가가 2025-06-27 22:08:38 +09:00
jcchoi 59afe895e1 개인정보조회 로그그 2025-06-27 21:55:24 +09:00
jcchoi eaacc5293d 페이지 정렬렬 2025-06-27 20:56:15 +09:00
jcchoi 22c8be6ce6 API Log Route 추가 2025-06-27 20:41:33 +09:00
jcchoi e62ae16830 Merge branch 'main' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-06-27 20:38:55 +09:00
jcchoi 932ae3f961 로그인로그 수정 및 API 로그 추가, sort 데이터타입 수정정 2025-06-27 20:38:45 +09:00
mind-one005 6487b3c11e 최초 2025-06-27 19:03:15 +09:00
chanii8 9c96266b79 Merge branch 'main' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs_cs 2025-06-27 18:26:36 +09:00
chanii8 b8190c3550 feat: 게시글 평가 댓글 기능 추가 2025-06-27 18:23:38 +09:00
chanii8 2b9028492b feat: Calendar 컴포넌트에 연도 선택 기능 추가 2025-06-27 17:45:10 +09:00
chanii8 47cbdf5fa9 chore: 코드관리 코드갱신 기능 추가 및 W3 에러 해결 2025-06-27 10:31:13 +09:00
changwng 4c2aa00de0 [docker build] build and save docker images 2025-06-27 09:46:34 +09:00
changwng 64a96f8b50 Merge remote-tracking branch 'origin/iipbs_cs' into iipbs_cs
# Conflicts:
#	apps/cs/next.config.ts
2025-06-27 07:46:39 +09:00
yschoi 7ef8f986fc Merge remote-tracking branch 'origin/main' into iipbs/sn/dev 2025-06-26 21:46:14 +09:00
yschoi 55912433f6 관측소 머지 2025-06-26 21:44:38 +09:00
changwng bc124ae039 [docker build] standalone build 추가 2025-06-26 18:26:11 +09:00
changwng f1fe697b9c [docker build] 기본 구조 점검 2025-06-26 18:02:28 +09:00
changwng 8dc5721010 [docker build] build 시 차트 Config 부분 추가 2025-06-26 18:01:50 +09:00
changwng 0fd6de3d5a [docker build] docker build시 ignore 하는 부분 추가 2025-06-26 18:01:15 +09:00
changwng 7efb704704 [docker build] 도커 파일및 실행 명령어 추가 2025-06-26 18:00:44 +09:00
changwng c05300503a [docker build] 도커 설정 파일 추가 2025-06-26 17:59:40 +09:00
jcchoi 70832bae82 코드갱신 2025-06-26 17:48:04 +09:00
chanii8 200f3610f6 Merge branch 'main' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs_cs 2025-06-26 17:28:26 +09:00
chanii8 78724e9d61 feat: 게시글 삭제 사유 셀렉트 기능 추가 2025-06-26 17:26:28 +09:00
jcchoi ec12b35464 로그인로그 2025-06-26 15:51:53 +09:00
chanii8 9779934f08 feat: QR 조회 버튼 노출 조건 분기 처리 2025-06-26 14:18:38 +09:00
chanii8 c667d5b0a1 feat: 콘텐츠 및 게시판 메뉴 qrcode 조회 기능 추가 2025-06-26 14:12:11 +09:00
yschoi f24fd02cf2 Merge remote-tracking branch 'origin/iipbs/wr/dev' 2025-06-26 13:40:22 +09:00
swcho b6fa68453a feat: 침입수분석결과, RDII 분석결과 엑셀 파일 컬럼명에 단위 추가 (m³/h) 2025-06-26 11:44:08 +09:00
swcho faed554108 fix: inflChart.tsx button 중첩 에러 및 aria-describtion 누락 warning 수정 2025-06-26 11:35:05 +09:00
swcho 166cc26ad8 Merge branch 'iipbs/sn/ii' into iipbs/sn/dev 2025-06-26 10:48:04 +09:00
swcho d4c58a19df feat: 침입수분석결과, RDII 분석결과 파일 다운로드 시 헤더명 영어 -> 한글 변경 2025-06-26 10:47:39 +09:00
swcho 1ec052cdc7 Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-06-26 10:29:47 +09:00
swcho a2ac2433f7 refactor: verticalTable.tsx 의 value값 String 타입으로 변환 2025-06-25 18:25:28 +09:00
chanii8 749176a37b feat: 메뉴 업데이트 시 menu-role 쿼리 invalidate 로직 추가 2025-06-25 16:30:25 +09:00
swcho e0dabac1e6 Merge branch 'iipbs/common/main' into iipbs/sn/dev 2025-06-25 16:17:06 +09:00
swcho 4b8ec343c9 feat: 도시침수예방사업, 노후 하수관로 정비사업 ContentLayout 삭제 ,LoadingOverlay 추가, import 정리 2025-06-25 16:12:46 +09:00
chanii8 b126d62f42 feat: 게시판 메뉴 폼 url 자동 생성 로직 추가 2025-06-25 16:06:32 +09:00
swcho 6438ab6ade Merge branch 'iipbs/common/main' into iipbs/sn/dev 2025-06-25 15:48:25 +09:00
swcho decf190712 Merge branch 'iipbs/common/main' into iipbs/sn/dev 2025-06-25 14:33:07 +09:00
swcho f679277192 rafactor: tab size 4 -> 2로 수정 2025-06-25 14:24:30 +09:00
chanii8 5aadc38441 feat: ip 가드 로직 공통 적용 2025-06-25 13:37:01 +09:00
swcho 1cfae09b33 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-06-25 11:36:51 +09:00
swcho b6730c1e15 feat:, fix:
- 침입수분석, RDII분석 결과 페이지 항목 개수 1000만건으로 수정
- 삭제 후 재조회 시에 cell 클릭 초기화
- 삭제 후 재조회되지 않는 에러 수정
2025-06-25 11:33:32 +09:00
swcho 5ae9529afe Merge branch 'iipbs/common/main' into iipbs/sn/ii 2025-06-25 11:16:34 +09:00
yschoi 5c3e7d6b97 테스트 2025-06-24 20:29:58 +09:00
yschoi 1b7affe789 개발 테스트 2025-06-24 19:42:27 +09:00
yschoi be18d726f6 개발 테스트 2025-06-24 19:29:31 +09:00
yschoi 3442edc92c 로그 삭제 2025-06-24 19:09:59 +09:00
yschoi fccfa500c8 테스트 2025-06-24 18:56:25 +09:00
yschoi 5985154d06 설정 수정 2025-06-24 18:27:27 +09:00
yschoi a9ae39b013 개발 env 추가 2025-06-24 18:21:14 +09:00
yschoi 17a097cf34 개발 env 테스트 2025-06-24 18:00:09 +09:00
yschoi 618828c7d7 evn 프록시 설정 수정 2025-06-24 17:54:33 +09:00
chanii8 4696e2b710 fix: 그룹 사용자 key 중복 이슈 해결 2025-06-24 16:41:56 +09:00
yschoi 09f3c6318a env 수정 2025-06-24 15:54:37 +09:00
yschoi 03f0a243f5 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-06-24 14:05:22 +09:00
yschoi c3c9f841c4 개발서버 메뉴 표시 오류 수정중 2025-06-24 14:05:18 +09:00
jcchoi fcc4188698 Merge branch 'main' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-06-24 14:03:12 +09:00
chanii8 d22034a237 fix: 빌드 에러 해결(loginlog 폴더 임시 제거) 2025-06-24 14:02:41 +09:00
jcchoi a620d8b4fb 로그인로그 2025-06-24 14:02:24 +09:00
chanii8 599c3590fe chore: 팝업 인터페이스 수정 2025-06-24 13:42:27 +09:00
chanii8 42dd76cf4d chore: 사용자 팝업 조회 로직 수정 2025-06-24 13:24:50 +09:00
chanii8 2c6295a467 feat: 클라이언트 IP 가드 로직 작성 2025-06-24 11:48:05 +09:00
swcho de96cb5acb feat: 침입수분석, RDII 분석에서 하수처리장명 requestDTO 수정 2025-06-24 11:02:01 +09:00
swcho 774a7e084a feat: env 파일 추가 2025-06-24 09:12:11 +09:00
swcho 34145fbc28 feat: 포트 3002번으로 변경 2025-06-24 09:06:35 +09:00
swcho d8b1aa8821 Merge branch 'iipbs/common/main' into iipbs/sn/dev 2025-06-23 20:26:35 +09:00
swcho a8fa116db4 feat: 분석결과 페이지에서 하수처리구역 Column 및 하수처리구역 SELECTBOX 주석 처리 2025-06-23 20:23:35 +09:00
chanii8 bd9f9468f2 Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-06-23 16:46:09 +09:00
chanii8 9179e66079 chore: .env.example 파일 추가 2025-06-23 16:45:53 +09:00
chanii8 9fb8569333 chore: 사이트 목록 쿼리 enabled 옵션 수정 2025-06-23 16:33:01 +09:00
chanii8 33bd0fdd2a refactor: LNB 동작 수정 2025-06-23 16:29:34 +09:00
swcho 409c784387 feat:
- 로딩바 재추가
- 침입수 분석환경청코드, 시도, 시군구, 하수처리장, 하수처리구역 선택값으로 변경
2025-06-23 16:20:12 +09:00
chanii8 4ec76f9fda chore: useQuery에 pagination 의존성 추가 2025-06-23 15:34:47 +09:00
chanii8 e5e9ce7f34 feat: redirect 구현('/' -> '/dashboard') 2025-06-23 14:22:00 +09:00
chanii8 09e9a0ce5d feat: 관리자 삭제 기능 작업 2025-06-23 14:21:07 +09:00
chanii8 a000a1d39c feat: 조직 사용자 추가 로직 수정(form validation) 2025-06-23 11:15:25 +09:00
chanii8 41d356f0ac chore: 팝업 작동 요청사항 반영 2025-06-20 18:07:25 +09:00
chanii8 49fa2030fd chore: 250619 수정 요청 사항 반영 2025-06-20 13:37:08 +09:00
chanii8 3f9951c635 feat: 관리자 접속 IP 관리 기능 작업 2025-06-20 11:39:47 +09:00
chanii8 41ac6d5888 Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-06-20 09:56:59 +09:00
chanii8 d5b3a2e5f1 refactor: 관리자 선택 및 삭제 로직 수정 2025-06-20 09:52:07 +09:00
jcchoi 6bfde59abf 로그인로그 페이지 추가 2025-06-19 20:09:33 +09:00
chanii8 6b8d24f95f chore: 사이드바 동작 수정 2025-06-19 17:28:15 +09:00
chanii8 4ef352f770 feat: 사이드바 토글 기능 적용 2025-06-19 17:13:47 +09:00
chanii8 0c76036529 feat: 관리자 선택삭제 기능 작업 2025-06-19 13:39:27 +09:00
chanii8 46a96a04fb feat: 관리자 추가 기능 작업 2025-06-19 12:02:09 +09:00
chanii8 ab433fd14b refactor: 그룹 유저 서비스 및 인터페이스 엔티티 폴더로 이동 2025-06-19 11:27:28 +09:00
chanii8 b79f6ea603 feat: 관리자 관리 페이지 생성 2025-06-19 11:15:58 +09:00
chanii8 cb38462164 refactor: 그룹 서비스 및 인터페이스 엔티티 폴더로 이동 2025-06-19 10:33:50 +09:00
yschoi 0cf806da24 Merge branch 'iipbs/sn/dev' of https://www.onasys.co.kr:3000/ONAANDALL/frontend into iipbs/sn/dev 2025-06-18 17:56:38 +09:00
yschoi deea89fbb2 소스 구조 수정 및 메뉴 적용 2025-06-18 17:56:20 +09:00
chanii8 3b7f8bcca7 refactor: useDataTable 적용 2025-06-18 17:00:18 +09:00
swcho aad3e978b8 fix: 침입수 분석 페이지에 key 없는 에러 수정 2025-06-18 16:59:55 +09:00
chanii8 6d6892973f feat: useDataTable 훅 생성 2025-06-18 15:24:07 +09:00
chanii8 1309767de9 feat: 그룹 관리 > 그룹 수정 작업 2025-06-18 14:42:56 +09:00
chanii8 de67befb6c feat: 그룹 사용자 선택 삭제 기능 2025-06-17 16:18:09 +09:00
chanii8 706a1db187 refactor: LNB 작동 방식 수정 2025-06-17 14:00:35 +09:00
chanii8 2c9793c7be refactor: 테이블 넘버링 코드 수정 2025-06-17 11:10:15 +09:00
chanii8 318bae3a1e feat: 그룹 관리 작업 2025-06-17 11:06:33 +09:00
chanii8 e390026bfe feat: 그룹 인터페이스 및 서비스 생성 2025-06-16 13:51:15 +09:00
jcchoi 26adc6883d Merge branch 'iipbs_cs' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-06-13 18:10:43 +09:00
jcchoi b6f4918c5c Merge branch 'main' of https://www.onasys.co.kr:3000/ONAANDALL/frontend 2025-06-13 18:09:20 +09:00
jcchoi 3ae456515a favicon 업로드 2025-06-13 18:09:13 +09:00
chanii8 ef7310623c chore: 비밀번호 초기화 폼 수정 2025-06-13 18:06:16 +09:00
chanii8 4b7d4f0cc9 feat: 회원수정 폼 작업 2025-06-13 17:37:13 +09:00
chanii8 0c658ee5da feat: 회원정보 페이지 액션 작업 2025-06-13 15:38:48 +09:00
chanii8 bfc68de65e feat: 회원 등록 작업 2025-06-13 11:29:12 +09:00
chanii8 7bab3ef97d WIP: 회원 등록 폼 작업중 2025-06-13 09:26:25 +09:00
swcho 1c507887f8 Merge remote-tracking branch 'origin/iipbs/sn/dev' into iipbs/sn/ii 2025-06-13 09:23:56 +09:00
swcho af967ab7f4 fix: 다운로드시 파일명 한글 깨짐 오류 수정 2025-06-13 09:19:20 +09:00
1114 changed files with 61852 additions and 15749 deletions
+9
View File
@@ -0,0 +1,9 @@
node_modules
.next
Dockerfile
.dockerignore
.env*
apps/**/node_modules
packages/**/node_modules
apps/**/.next
**/.next/cache
-19
View File
@@ -1,19 +0,0 @@
name: iipbs_wr
on:
push:
branches: [iipbs/wr/dev]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: appleboy/ssh-action@master
with:
port: 11022
host: con.mind-one.co.kr
username: mindone
password: mindone!23
script: |
cd ./iipbs/front
sh ./frontStartWr.sh
+8
View File
@@ -0,0 +1,8 @@
# 디폴트 무시된 파일
/shelf/
/workspace.xml
# 에디터 기반 HTTP 클라이언트 요청
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
+93
View File
@@ -0,0 +1,93 @@
# ---------------------- #
# STEP 1: Base 설치 환경 #
# ---------------------- #
FROM node:20-alpine AS base
WORKDIR /repo
# pnpm 설치 (corepack)
RUN corepack enable && corepack prepare pnpm@10.12.1 --activate
# 필요한 시스템 패키지 설치 (선택)
RUN apk add --no-cache libc6-compat
# ---------------------- #
# STEP 2: 의존성 설치용 캐시 레이어 #
# ---------------------- #
FROM base AS deps
# workspace 정의 복사
COPY pnpm-workspace.yaml ./
COPY package.json pnpm-lock.yaml ./
COPY apps/cs/package.json ./apps/cs/
COPY packages ./packages
# 종속성 설치 (only production dependencies)
RUN rm -rf node_modules .next
RUN pnpm install --frozen-lockfile --node-linker=node-modules
#RUN pnpm install --frozen-lockfile --node-linker=node-modules
RUN ls -al .
#RUN pnpm install --prod
# ---------------------- #
# STEP 3: 빌드 단계 #
# ---------------------- #
FROM base AS builder
COPY --from=deps /repo /repo
WORKDIR /repo
# 전체 소스 복사
COPY . .
RUN ls -al /repo/apps/cs/.next || true
RUN rm -rf /repo/apps/cs/.next
RUN ls -al /repo/apps/cs/
# Next.js 빌드
RUN cat /repo/apps/cs/next.config.ts || true
RUN pnpm --filter ./apps/cs... build
#RUN ls -al .next/standalone
# 👉 실행에 필요한 모듈만 유지
#RUN pnpm prune --prod
# Next.js 빌드 내용 보기
RUN ls -al ./apps/cs/
RUN ls -al /repo/apps/cs/.next
RUN ls -al /repo/apps/cs/.next/chunks || true
# web browser request zip format
#RUN find /repo/apps/cs/.next/static -type f -name '*.js' -exec gzip -k {} \;
#RUN find ./apps/cs/.next -type f
# ---------------------- #
# STEP 4: 최종 러너 단계 (최소 런타임) #
# ---------------------- #
FROM node:20-alpine AS runner
WORKDIR /app
# corepack 사용 설정
#RUN corepack enable && corepack prepare pnpm@8.15.5 --activate
# 환경변수 설정
ENV NODE_ENV=production
ENV PORT=3000
# pnpm은 런타임에 필요 없음 → corepack 설치 생략 가능
# 빌드 결과만 복사
RUN rm -rf .next
COPY --from=builder /repo/apps/cs/.next/standalone ./
COPY --from=builder /repo/apps/cs/public ./public
COPY --from=builder /repo/apps/cs/.next/static ./apps/cs/.next/static
COPY --from=builder /repo/apps/cs/.env ./apps/cs/.env
COPY --from=builder /repo/apps/cs/package.json ./apps/cs/package.json
COPY --from=builder /repo/apps/cs/next.config.ts ./apps/cs/next.config.ts
# 헬스체크 등 필요 시 추가 가능
#HEALTHCHECK --interval=30s --timeout=3s CMD wget --spider -q http://localhost:3000 || exit 1
EXPOSE 3000
CMD ["node", "apps/cs/server.js"]
#CMD ["pnpm", "start"]
+24 -3
View File
@@ -110,15 +110,15 @@ const nextConfig: NextConfig = {
{
type: "header",
key: "referer",
value: "(.*)/pst(.*)",
value: "(.*)/cms(.*)",
},
],
},
],
afterFiles: [
{
source: "/pst/:path*",
destination: `${subDomain}/pst/:path*`,
source: "/cms/:path*",
destination: `${subDomain}/cms/:path*`,
},
],
fallback: [],
@@ -127,6 +127,7 @@ const nextConfig: NextConfig = {
};
export default nextConfig;
```
### 6. globals.css(또는 전역 css) 수정
@@ -150,6 +151,26 @@ rm -rf node_modules pnpm-lock.yaml
pnpm install
```
### 8. 로그아웃 처리 가이드
* 참고 파일
- apps/cs/app/api/auth/logout/route.ts
- packages/common/components/src/ui/header/index.tsx (55-65 line)
각 서비스 폴더에 ‘/app/api/auth/logout/route.ts’ 생성해야 합니다(코드는 cs에서 확인).
** 로그아웃 처리되면 ‘/auth/login’ 페이지로 이동됩니다.
### 9. 'SITE_ID’ 환경변수를 쿠키로 대체하는 가이드(공통 모듈 사용하기위한 필수 사항)
* 참고 파일: apps/cs/src/shared/api/client.ts (쿠키 저장 처리)
apps/cs/src/shared/lib/cookie.ts (쿠키 공통 모듈)
`SITE_ID` 환경변수를 처음 사용하는 파일 또는 최상단 클라이언트 컴포넌트에서 “site-id-key” 쿠키에 `SITE_ID` 저장
## 기술 스택
- React(^18)
@@ -0,0 +1,10 @@
import { ContentsPage as VContentsPage } from "@/pages/contents";
export default async function ContentsPage({
params,
}: {
params: Promise<{ contsSn: string }>;
}) {
const { contsSn } = await params;
return <VContentsPage contsSn={parseInt(contsSn)} />;
}
@@ -0,0 +1,28 @@
"use client";
import { useQuery } from "@tanstack/react-query";
import { MenuApi } from "@/entities/menu";
import { useMenuStore } from "@/shared/lib";
import { ENDPOINT } from "@/shared/config";
import { PageLayout } from "@/shared/ui/page-layout";
export default function ContentsLayout({
children,
}: {
children: React.ReactNode;
}) {
const currentMenuInfo = useMenuStore((state) => state.currentMenuInfo);
const { data } = useQuery({
queryKey: [ENDPOINT.CMS_SERVICE.MENUS, currentMenuInfo?.menuCd],
queryFn: () =>
MenuApi.getMenuInfo(currentMenuInfo?.menuCd.toString() ?? ""),
enabled: !!currentMenuInfo,
});
const menuPaths = data?.menuPath?.split(">").map((path) => path.trim());
return (
<PageLayout title={data?.menuKornNm ?? ""} menuPaths={menuPaths ?? []}>
{children}
</PageLayout>
);
}
@@ -1,4 +1,4 @@
import { ModifyPage } from "@/pages/(pst)/faq";
import { ModifyPage } from "@/pages/(post)/faq";
export default async function PstBbsFaqPostModifyPage({
params,
@@ -1,4 +1,4 @@
import { FaqPage } from "@/pages/(pst)/faq";
import { FaqPage } from "@/pages/(post)/faq";
export default async function PstBbsFaqPage({
params,
@@ -1,4 +1,4 @@
import { CreatePage } from "@/pages/(pst)/faq";
import { CreatePage } from "@/pages/(post)/faq";
export default async function PstBbsFaqRegisterPage({
params,
@@ -1,4 +1,4 @@
import { ModifyPage } from "@/pages/(pst)/image";
import { ModifyPage } from "@/pages/(post)/image";
export default async function PstBbsImagePostModifyPage({
params,
@@ -1,4 +1,4 @@
import { ImagePost } from "@/pages/(pst)/image";
import { ImagePost } from "@/pages/(post)/image";
export default async function PstBbsImagePostPage({
params,
@@ -1,4 +1,4 @@
import { ImagePage } from "@/pages/(pst)/image";
import { ImagePage } from "@/pages/(post)/image";
export default async function PstBbsImagePage({
params,
@@ -1,4 +1,4 @@
import { CreatePage } from "@/pages/(pst)/image";
import { CreatePage } from "@/pages/(post)/image";
export default async function PstBbsImageRegisterPage({
params,
@@ -1,4 +1,4 @@
import { ModifyPage } from "@/pages/(pst)/movie";
import { ModifyPage } from "@/pages/(post)/movie";
export default async function PstBbsMoviePostModifyPage({
params,
@@ -1,4 +1,4 @@
import { MoviePost } from "@/pages/(pst)/movie";
import { MoviePost } from "@/pages/(post)/movie";
export default async function PstBbsMoviePostPage({
params,
@@ -1,4 +1,4 @@
import { MoviePage } from "@/pages/(pst)/movie";
import { MoviePage } from "@/pages/(post)/movie";
export default async function PstBbsMoviePage({
params,
@@ -1,4 +1,4 @@
import { CreatePage } from "@/pages/(pst)/movie";
import { CreatePage } from "@/pages/(post)/movie";
export default async function PstBbsMovieRegisterPage({
params,
@@ -1,4 +1,4 @@
import { CreatePage } from "@/pages/(pst)/normal";
import { CreatePage } from "@/pages/(post)/normal";
export default async function PstBbsNormalAnswerPage({
params,
@@ -1,4 +1,4 @@
import { ModifyPage } from "@/pages/(pst)/normal";
import { ModifyPage } from "@/pages/(post)/normal";
export default async function PstBbsNormalPostModifyPage({
params,
@@ -1,4 +1,4 @@
import { NormalPost } from "@/pages/(pst)/normal";
import { NormalPost } from "@/pages/(post)/normal";
export default async function PstBbsNormalPostPage({
params,
@@ -1,4 +1,4 @@
import { NormalPage } from "@/pages/(pst)/normal";
import { NormalPage } from "@/pages/(post)/normal";
export default async function PstBbsNormalPage({
params,
@@ -1,4 +1,4 @@
import { CreatePage } from "@/pages/(pst)/normal";
import { CreatePage } from "@/pages/(post)/normal";
export default async function PstBbsNormalRegisterPage({
params,
@@ -1,4 +1,4 @@
import { ModifyPage } from "@/pages/(pst)/notice";
import { ModifyPage } from "@/pages/(post)/notice";
export default async function PstBbsNoticePostModifyPage({
params,
@@ -1,4 +1,4 @@
import { NoticePost } from "@/pages/(pst)/notice";
import { NoticePost } from "@/pages/(post)/notice";
export default async function PstBbsNoticePostPage({
params,
@@ -1,4 +1,4 @@
import { NoticePage } from "@/pages/(pst)/notice";
import { NoticePage } from "@/pages/(post)/notice";
export default async function PstBbsNoticePage({
params,
@@ -1,4 +1,4 @@
import { CreatePage } from "@/pages/(pst)/notice";
import { CreatePage } from "@/pages/(post)/notice";
export default async function PstBbsNoticeRegisterPage({
params,
@@ -0,0 +1,28 @@
"use client";
import { MenuApi } from "@/entities/menu";
import { ENDPOINT } from "@/shared/config";
import { useMenuStore } from "@/shared/lib";
import { PageLayout } from "@/shared/ui/page-layout";
import { useQuery } from "@tanstack/react-query";
export default function PostLayout({
children,
}: {
children: React.ReactNode;
}) {
const { bbsInfo, currentMenuInfo } = useMenuStore((state) => state);
const { data } = useQuery({
queryKey: [ENDPOINT.CMS_SERVICE.MENUS, currentMenuInfo?.menuCd],
queryFn: () =>
MenuApi.getMenuInfo(currentMenuInfo?.menuCd.toString() ?? ""),
enabled: !!currentMenuInfo,
});
const menuPaths = data?.menuPath?.split(">").map((path) => path.trim());
return (
<PageLayout title={bbsInfo?.bbsNm ?? ""} menuPaths={menuPaths ?? []}>
{children}
</PageLayout>
);
}
@@ -3,7 +3,7 @@
import { usePathname, useRouter } from "next/navigation";
import { useQueryClient } from "@tanstack/react-query";
import { BaseLayout } from "@common/components";
import type { MenuItem } from "@/entities/menu";
import type { MenuRole } from "@/entities/menu";
import { useMenuStore } from "@/shared/lib";
export default function WithBaseLayout({
@@ -17,7 +17,7 @@ export default function WithBaseLayout({
const setCurrentMenuInfo = useMenuStore((state) => state.setCurrentMenuInfo);
const handleMenuClick = (item: MenuItem) => {
const handleMenuClick = (item: MenuRole) => {
setCurrentMenuInfo(item);
router.push(item.urlPath);
};
@@ -1,21 +0,0 @@
"use client";
import { useMenuStore } from "@/shared/lib";
import { PageLayout } from "@/shared/ui/page-layout";
export default function PostLayout({
children,
}: {
children: React.ReactNode;
}) {
const bbsInfo = useMenuStore((state) => state.bbsInfo);
return (
<PageLayout
title={bbsInfo?.bbsNm ?? ""}
menuPaths={["서비스관리", "게시판관리"]}
>
{children}
</PageLayout>
);
}
@@ -0,0 +1,17 @@
import { cookies } from "next/headers";
import { NextResponse } from "next/server";
import {
ACCESS_TOKEN,
AUTH_USER_ID,
CLAIM_NAME,
REFRESH_TOKEN,
} from "@/shared/config";
export async function POST() {
const cookieStore = await cookies();
cookieStore.delete(ACCESS_TOKEN);
cookieStore.delete(REFRESH_TOKEN);
cookieStore.delete(AUTH_USER_ID);
cookieStore.delete(CLAIM_NAME);
return NextResponse.json({ message: "Logged out" }, { status: 200 });
}
@@ -4,7 +4,6 @@ import {
CLAIM_NAME,
REFRESH_TOKEN,
SERVER_API_URL,
SITE_ID,
} from "@/shared/config";
import { cookies } from "next/headers";
import { NextResponse } from "next/server";
@@ -15,9 +14,10 @@ async function handler(
method: "GET" | "POST" | "PUT" | "DELETE",
) {
const cookieStore = await cookies();
const siteId = cookieStore.get("site-id-key")?.value ?? "";
const headers: Record<string, string> = {
"Content-Type": "application/json",
"X-Site-Id": SITE_ID,
"X-Site-Id": siteId,
};
let body = {};
const isRefreshHandler = params.url.includes("refresh");
+12 -1
View File
@@ -1,5 +1,16 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {};
const nextConfig: NextConfig = {
async rewrites() {
return {
afterFiles: [
{
source: "/cms/:path*",
destination: "/:path*",
},
],
};
},
};
export default nextConfig;
+2 -1
View File
@@ -29,9 +29,11 @@
"dayjs": "^1.11.13",
"js-cookie": "^3.0.5",
"next": "15.3.0",
"next-themes": "^0.4.6",
"react-chartjs-2": "^5.3.0",
"react-dnd": "^16.0.1",
"react-hook-form": "^7.54.2",
"sonner": "^2.0.1",
"tailwindcss-animate": "^1.0.7",
"tus-js-client": "^4.3.1",
"zod": "^3.24.2",
@@ -39,7 +41,6 @@
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"@faker-js/faker": "^9.5.0",
"@types/js-cookie": "^3.0.6",
"@types/node": "^22.13.1",
"@types/webpack": "^5.28.5",
@@ -5,10 +5,11 @@ import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
import { ConfirmProvider } from "@frontend-opensource/use-react-hooks";
import { AuthWrapper } from "@/entities/auth";
import { MenuWrapper } from "@/entities/menu";
import { StoreProvider, PromptProvider } from "@/shared/providers";
import { Toaster } from "@/shared/ui/sonner";
import { AlertDialog } from "@/shared/ui/alert-dialog";
import { PromptDialog } from "@/shared/ui/prompt-dialog";
import { ConfirmDialog } from "@/shared/ui/confirm-dialog";
import { StoreProvider, PromptProvider } from "@/shared/providers";
const AppProvider = ({ children }: Readonly<{ children: React.ReactNode }>) => {
const queryClient = new QueryClient();
@@ -22,6 +23,7 @@ const AppProvider = ({ children }: Readonly<{ children: React.ReactNode }>) => {
<AlertDialog />
<PromptDialog />
<ConfirmDialog />
<Toaster position="top-center" />
</AuthWrapper>
</ConfirmProvider>
</PromptProvider>
@@ -19,6 +19,17 @@ export class ContentsApiService implements ContentsService {
return response.data;
}
public async getLatestApprovedContentsInfo(
contsSn: number,
menuCd: string,
): Promise<ContentsDetail> {
const response = await client.get<ContentsDetail>(
`${ENDPOINT.CMS_SERVICE.CONTENTS}/${contsSn}`,
{ params: { menuCd } },
);
return response.data;
}
public async getContentsVersionList(
params: ContentsVersionParams,
): Promise<ContentsVersionList> {
@@ -65,6 +65,7 @@ export const contentsDetailSchema = z.object({
aprvDt: z.string(),
autzr: z.string(),
useYn: z.string(),
menuPicUserUnqIdNm: z.string().nullish(),
});
export const contentsFormSchema = contentsDetailSchema.omit({
@@ -81,6 +82,10 @@ export type ContentsVersionList = PageableList<ContentsVersion>;
export interface ContentsService {
getContentsList(params: ContentsParams): Promise<ContentsList>;
getLatestApprovedContentsInfo(
contsSn: number,
menuCd: string,
): Promise<ContentsDetail>;
getContentsVersionList(
params: ContentsVersionParams,
): Promise<ContentsVersionList>;
@@ -1,3 +1,4 @@
export { MenuAuthorityApi } from "./api/menu-authority-service";
export { type PageMenuAuthority } from "./model/menu-authority-interface";
export { AuthorityButton } from "./ui/authority-button";
export { ManagementAuthorityDialog } from "./ui/management-authority-dialog";
@@ -0,0 +1,26 @@
import { useMenuStore } from "@/shared/lib";
import { Button, cn, type ButtonProps } from "@common/components";
import type { PageMenuAuthority } from "../model/menu-authority-interface";
type AuthorityButtonProps = {
authority: keyof PageMenuAuthority;
} & ButtonProps;
function AuthorityButton({
authority,
className,
children,
...props
}: AuthorityButtonProps) {
const pageMenuAuthority = useMenuStore((state) => state.pageMenuAuthority);
const isAuthority = pageMenuAuthority?.[authority] === "Y";
return (
<Button className={cn(className, !isAuthority && "hidden")} {...props}>
{children}
</Button>
);
}
export { AuthorityButton };
@@ -1,14 +1,21 @@
import { client } from "@/shared/api";
import { ENDPOINT } from "@/shared/config";
import type { MenuItem, MenuService } from "../model/menu-interface";
import type { MenuInfo, MenuRole, MenuService } from "../model/menu-interface";
export class MenuApiService implements MenuService {
async getMenuRoles(siteId: string): Promise<MenuItem[]> {
const response = await client.get<MenuItem[]>(
async getMenuRoles(siteId: string): Promise<MenuRole[]> {
const response = await client.get<MenuRole[]>(
`${ENDPOINT.CMS_SERVICE.MENU_ROLES}/${siteId}`,
);
return response.data;
}
async getMenuInfo(menuCd: string): Promise<MenuInfo> {
const response = await client.get<MenuInfo>(
`${ENDPOINT.CMS_SERVICE.MENUS}/${menuCd}`,
);
return response.data;
}
}
export const MenuApi = new MenuApiService();
@@ -1,2 +1,3 @@
export { MenuApi } from "./api/menu-service";
export { MenuWrapper } from "./lib/menu-wrapper";
export type { MenuItem } from "./model/menu-interface";
export type { MenuRole } from "./model/menu-interface";
@@ -4,10 +4,11 @@ import { useEffect } from "react";
import { usePathname, useRouter } from "next/navigation";
import { MenuAuthorityApi } from "@/entities/menu-authority/@x/menu";
import { getCookie, useAlertStore, useMenuStore } from "@/shared/lib";
import { SITE_ID } from "@/shared/config";
import { MenuApi } from "../api/menu-service";
import { getCurrentMenu } from "./utils";
const siteId = getCookie("site-id-key") ?? "";
const MenuWrapper = ({ children }: { children: React.ReactNode }) => {
const router = useRouter();
const pathname = usePathname();
@@ -17,7 +18,7 @@ const MenuWrapper = ({ children }: { children: React.ReactNode }) => {
useMenuStore((state) => state);
const getCurrentMenuInfo = async () => {
const menuRoles = await MenuApi.getMenuRoles(SITE_ID);
const menuRoles = await MenuApi.getMenuRoles(siteId);
if (!menuRoles) return;
return getCurrentMenu(menuRoles, pathname ?? "");
};
@@ -44,7 +45,7 @@ const MenuWrapper = ({ children }: { children: React.ReactNode }) => {
if (pageMenuAuthority?.length)
setPageMenuAuthority(pageMenuAuthority[0]!);
})();
}, []);
}, [pathname]);
useEffect(() => {
if (!pageMenuAuthority) return;
@@ -1,9 +1,9 @@
import type { MenuItem } from "../model/menu-interface";
import type { MenuRole } from "../model/menu-interface";
export const getCurrentMenu = (
menus: MenuItem[],
menus: MenuRole[],
pathname: string,
): MenuItem | null => {
): MenuRole | null => {
for (const menu of menus) {
if (
menu.urlPath !== "" &&
@@ -1,11 +1,8 @@
export interface MenuItem {
interface Menu {
menuCd: number;
menuKornNm: string;
menuEngNm: string;
parentId: number | null;
sortSeq: number;
iconNm?: string;
children: MenuItem[] | null;
levelNo: number;
urlPath: string;
menuLnkgTypeCd: string;
@@ -15,9 +12,30 @@ export interface MenuItem {
useYn: string;
otptYn: string;
newWndwYn: string;
}
export interface MenuRole extends Menu {
parentId: number | null;
iconNm?: string;
children: MenuRole[] | null;
requiredUrlPath: boolean;
}
export interface MenuService {
getMenuRoles(siteId: string): Promise<MenuItem[]>;
export interface MenuInfo extends Menu {
siteId: string;
menuSubKornNm: string;
menuSubEngNm: string;
iconName: string;
menuLnkgTypeCdNm: string;
prntMenuCd: number;
evlUseYn: string;
menuLnkgSnNm: string;
menuPicUserUnqId: string;
menuPicUserUnqIdNm: string;
menuPicDsgnYmd: string;
}
export interface MenuService {
getMenuRoles(siteId: string): Promise<MenuRole[]>;
getMenuInfo(menuCd: string): Promise<MenuInfo>;
}
@@ -31,6 +31,16 @@ export class PostApiService implements PostService {
return response.data;
}
public async getPostEditInfo(
bbsId: number,
pstNo: number,
): Promise<PostInfo> {
const response = await client.get<PostInfo>(
`${ENDPOINT.BOARD_SERVICE.POSTS_USER}/edit/${bbsId}/${pstNo}`,
);
return response.data;
}
public async createPost(data: PostFormData): Promise<Post> {
const validatedData = postFormSchema.parse(data);
const response = await client.post<Post>(
@@ -9,6 +9,7 @@ export interface PostParams extends PageableParams {
prdPstgYn?: string;
siteId?: string;
bbsTypeCd?: string;
ansUseYn?: string;
}
export interface Post {
@@ -77,6 +78,7 @@ export type PostUpdateFormData = z.infer<typeof postUpdateFormSchema>;
export interface PostService {
getPostList(bbsId: number, params: PostParams): Promise<PostList>;
getPostInfo(bbsId: number, pstNo: number): Promise<PostInfo>;
getPostEditInfo(bbsId: number, pstNo: number): Promise<PostInfo>;
createPost(data: PostFormData): Promise<Post>;
updatePost(
bbsId: number,
@@ -185,6 +185,15 @@ function PostingDialog({ postingType, postingTargets }: PostingDialogProps) {
...prev,
[siteId]: value,
}));
// 상시 선택 시 게시 기간 미설정
if (value === "99") {
handleUpdateFields(siteId)({
pstgPrdSeCd: value,
});
return;
}
setRememberPeriodDate((prev) => ({
...prev,
[siteId]: { from, to },
@@ -0,0 +1,320 @@
"use client";
import { useEffect, useState } from "react";
import { usePathname, useRouter } from "next/navigation";
import { useMutation, useQuery } from "@tanstack/react-query";
import {
Accordion,
AccordionContent,
AccordionItem,
AccordionTrigger,
Button,
Checkbox,
Input,
Label,
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
Skeleton,
} from "@common/components";
import { AttachmentApi } from "@/entities/attachment";
import { PostApi, PostPageGuard, type PostParams } from "@/entities/post";
import { useAlertStore, useMenuStore, useUserStore } from "@/shared/lib";
import { ENDPOINT } from "@/shared/config";
import dayjs from "dayjs";
import React from "react";
import { useConfirm } from "@frontend-opensource/use-react-hooks";
function FaqPage({ bbsId }: { bbsId: string }) {
const router = useRouter();
const pathname = usePathname();
const { confirm } = useConfirm();
const userInfo = useUserStore((state) => state.userInfo);
const alert = useAlertStore((state) => state.setMessage);
const { bbsInfo, pageMenuAuthority } = useMenuStore((state) => state);
const [postParams, setPostParams] = useState<PostParams>({
keywordType: "title",
keyword: "",
});
const [selectedPostNumbers, setSelectedPostNumbers] = useState<number[]>([]);
const {
data: postList,
isFetched,
refetch,
} = useQuery({
queryKey: [ENDPOINT.BOARD_SERVICE.POSTS_USER, bbsInfo?.bbsTypeCd],
queryFn: () =>
PostApi.getPostList(parseInt(bbsId), {
...postParams,
bbsTypeCd: bbsInfo?.bbsTypeCd,
}),
enabled: !!bbsInfo?.bbsTypeCd,
});
const { mutate: deletePost } = useMutation({
mutationFn: ({ pstNo, pstPswd }: { pstNo: number; pstPswd?: string }) =>
PostApi.deletePost(parseInt(bbsId), pstNo, pstPswd),
onSuccess: () => {
alert("삭제되었습니다.");
refetch();
},
});
const handleDeletePost = async (pstNo: number) => {
if (await confirm("삭제하시겠습니까?")) {
deletePost({ pstNo, pstPswd: userInfo?.userUnqId });
}
};
const onSelectedPostDelete = async () => {
if (await confirm("삭제하시겠습니까?")) {
await Promise.all(
selectedPostNumbers.map((pstNo) =>
PostApi.deletePost(parseInt(bbsId), pstNo, userInfo?.userUnqId),
),
);
refetch();
setSelectedPostNumbers([]);
alert("삭제되었습니다.");
}
};
const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();
refetch();
};
const handleCheckboxChange = (pstNo: number, checked: boolean | string) => {
setSelectedPostNumbers(
checked === true
? [...selectedPostNumbers, pstNo]
: selectedPostNumbers.filter((num) => num !== pstNo),
);
};
const handleAllCheckboxChange = (checked: boolean | string) => {
setSelectedPostNumbers(
checked === true ? postList?.content.map((item) => item.pstNo) || [] : [],
);
};
return (
<PostPageGuard bbsId={bbsId}>
<div className="card card-border !mt-6">
<div className="card card-border">
<form onSubmit={handleSubmit} className="flex items-center gap-2 p-2">
<Label className="mr-2 text-label">검색</Label>
<Select
value={postParams.keywordType}
onValueChange={(keywordType) => {
setPostParams({ ...postParams, keywordType });
}}
>
<SelectTrigger className="h-[3.2rem] w-[10rem]">
<SelectValue placeholder="선택" />
</SelectTrigger>
<SelectContent>
<SelectItem value="title">제목</SelectItem>
<SelectItem value="all">제목+내용</SelectItem>
<SelectItem value="writer">작성자</SelectItem>
</SelectContent>
</Select>
<Input
value={postParams.keyword}
onChange={(e) =>
setPostParams({ ...postParams, keyword: e.target.value })
}
className="h-[3.2rem] w-[24rem] rounded-sm !text-[1.3rem]"
/>
<Button className="h-[3.2rem]" type="submit">
조회
</Button>
</form>
</div>
<div className="card card-border">
<div className="card-header">
<div className="flex w-full items-center justify-between">
<h3 className="text-2xl font-medium text-label">콘텐츠 목록</h3>
<div className="flex gap-2">
{pageMenuAuthority?.regAuthrtYn === "Y" && (
<Button onClick={() => router.push(`${pathname}/register`)}>
등록
</Button>
)}
{pageMenuAuthority?.delAuthrtYn === "Y" && (
<Button
color="red"
onClick={onSelectedPostDelete}
disabled={!selectedPostNumbers.length}
>
선택삭제
</Button>
)}
</div>
</div>
</div>
<div className="card !m-[1.2rem] h-full overflow-auto !p-0">
<div className="mb-4 flex items-center gap-2 rounded-sm border border-border bg-background p-4">
<Checkbox
id="all-select"
checked={
selectedPostNumbers.length === postList?.content.length
}
onClick={(e) => e.stopPropagation()}
onCheckedChange={handleAllCheckboxChange}
/>
<Label htmlFor="all-select" className="text-2xl">
전체선택
</Label>
</div>
{isFetched ? (
<Accordion
type="multiple"
className="secondary flex flex-col gap-4"
>
{postList?.content.map((item) => (
<div key={item.pstNo} className="flex items-start gap-2">
<Checkbox
id={item.pstNo.toString()}
checked={selectedPostNumbers.includes(item.pstNo)}
onClick={(e) => e.stopPropagation()}
onCheckedChange={(checked) =>
handleCheckboxChange(item.pstNo, checked)
}
className="mx-2 my-6"
/>
<AccordionItem
value={item.pstNo.toString()}
className="w-full"
>
<AccordionTrigger>
<div className="flex flex-1 items-center justify-between">
<div className="flex items-center gap-4">
<span className="text-primary">Q</span>
<span>{item.pstTtl}</span>
</div>
<span className="px-4 text-[1.2rem] font-normal text-label">
등록일: {dayjs(item.regDt).format("YYYY-MM-DD")}
</span>
</div>
</AccordionTrigger>
<AccordionContent>
<div className="flex items-start gap-4">
<span className="text-[1.4rem] font-bold text-label">
A
</span>
<div className="flex-1">
<pre className="whitespace-pre-wrap font-noto text-[1.4rem] tracking-tighter text-foreground">
{item.pstCn}
</pre>
<Attachment atflCd={item.atflCd} />
</div>
<div className="flex justify-end gap-2">
<Button
size="icon"
color="white"
onClick={() =>
router.push(`${pathname}/${item.pstNo}`)
}
>
<i className="diveicon di-pencil" />
</Button>
<Button
size="icon"
color="white"
onClick={() => handleDeletePost(item.pstNo)}
>
<i className="diveicon di-trash" />
</Button>
</div>
</div>
</AccordionContent>
</AccordionItem>
</div>
))}
</Accordion>
) : (
<Skeleton className="h-[36rem] w-full" />
)}
</div>
</div>
</div>
</PostPageGuard>
);
}
function Attachment({ atflCd }: { atflCd: string }) {
const [filename, setFilename] = useState("");
const { data: downloadResponse, isFetching } = useQuery({
queryKey: [ENDPOINT.ATTACH_SERVICE.DOWNLOAD, atflCd],
queryFn: () => AttachmentApi.downloadAttachmentByAtflCd(atflCd),
enabled: !!atflCd,
});
const handleDownload = async () => {
if (!downloadResponse) return;
try {
const blob = new Blob([downloadResponse.data]);
const url = window.URL.createObjectURL(blob);
const link = document.createElement("a");
link.href = url;
link.download = filename || "download";
document.body.appendChild(link);
link.click();
window.URL.revokeObjectURL(url);
document.body.removeChild(link);
} catch (error) {
console.error(error);
}
};
useEffect(() => {
if (!downloadResponse) return;
try {
let filename = "";
const contentDisposition =
downloadResponse.headers["content-disposition"];
if (contentDisposition) {
const filenameMatch = contentDisposition.match(
/filename\*=UTF-8''([^;]+)/,
);
if (filenameMatch && filenameMatch[1]) {
filename = decodeURIComponent(filenameMatch[1]);
}
}
setFilename(filename);
} catch {
setFilename("");
}
}, [downloadResponse]);
return isFetching ? (
<div className="my-8">
<Skeleton className="h-[2.5rem] w-[32rem]" />
</div>
) : (
filename && (
<div className="my-8 flex items-center gap-4">
<span className="font-bold text-label">첨부파일</span>
<Button
size="sm"
color="white"
className="flex w-fit items-center gap-2"
onClick={handleDownload}
>
<i className="diveicon di-download" />
<span>{filename}</span>
</Button>
</div>
)
);
}
export { FaqPage };
@@ -20,7 +20,7 @@ function ModifyPage({ bbsId, pstNo }: { bbsId: string; pstNo: string }) {
const { data: postInfo } = useQuery({
queryKey: [ENDPOINT.BOARD_SERVICE.POSTS_USER, bbsId, pstNo],
queryFn: () => PostApi.getPostInfo(parseInt(bbsId), parseInt(pstNo)),
queryFn: () => PostApi.getPostEditInfo(parseInt(bbsId), parseInt(pstNo)),
});
const { mutateAsync: updatePost } = useMutation({
@@ -20,7 +20,7 @@ function ModifyPage({ bbsId, pstNo }: { bbsId: string; pstNo: string }) {
const { data: postInfo } = useQuery({
queryKey: [ENDPOINT.BOARD_SERVICE.POSTS_USER, bbsId, pstNo],
queryFn: () => PostApi.getPostInfo(parseInt(bbsId), parseInt(pstNo)),
queryFn: () => PostApi.getPostEditInfo(parseInt(bbsId), parseInt(pstNo)),
});
const { mutateAsync: updatePost } = useMutation({
@@ -20,7 +20,7 @@ function ModifyPage({ bbsId, pstNo }: { bbsId: string; pstNo: string }) {
const { data: postInfo } = useQuery({
queryKey: [ENDPOINT.BOARD_SERVICE.POSTS_USER, bbsId, pstNo],
queryFn: () => PostApi.getPostInfo(parseInt(bbsId), parseInt(pstNo)),
queryFn: () => PostApi.getPostEditInfo(parseInt(bbsId), parseInt(pstNo)),
});
const { mutateAsync: updatePost } = useMutation({
@@ -20,7 +20,7 @@ function ModifyPage({ bbsId, pstNo }: { bbsId: string; pstNo: string }) {
const { data: postInfo } = useQuery({
queryKey: [ENDPOINT.BOARD_SERVICE.POSTS_USER, bbsId, pstNo],
queryFn: () => PostApi.getPostInfo(parseInt(bbsId), parseInt(pstNo)),
queryFn: () => PostApi.getPostEditInfo(parseInt(bbsId), parseInt(pstNo)),
});
const { mutateAsync: updatePost } = useMutation({
@@ -8,6 +8,12 @@ export const columns: ColumnDef<Post>[] = [
{
accessorKey: "rowNo",
header: "NO",
cell: ({ row, table }) => {
const totalRows = table.getRowCount();
const currentPage = table.getState().pagination.pageIndex;
const pageSize = table.getState().pagination.pageSize;
return totalRows - (currentPage * pageSize + row.index);
},
},
{
accessorKey: "pstTtl",
@@ -20,7 +20,7 @@ function ModifyPage({ bbsId, pstNo }: { bbsId: string; pstNo: string }) {
const { data: postInfo } = useQuery({
queryKey: [ENDPOINT.BOARD_SERVICE.POSTS_USER, bbsId, pstNo],
queryFn: () => PostApi.getPostInfo(parseInt(bbsId), parseInt(pstNo)),
queryFn: () => PostApi.getPostEditInfo(parseInt(bbsId), parseInt(pstNo)),
});
const { mutateAsync: updatePost } = useMutation({
@@ -1,316 +0,0 @@
"use client";
import { useEffect, useState } from "react";
import { usePathname, useRouter } from "next/navigation";
import { useMutation, useQuery } from "@tanstack/react-query";
import {
Accordion,
AccordionContent,
AccordionItem,
AccordionTrigger,
Button,
Checkbox,
Input,
Label,
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
Skeleton,
} from "@common/components";
import { AttachmentApi } from "@/entities/attachment";
import { PostApi, type PostParams } from "@/entities/post";
import { useAlertStore, useMenuStore, useUserStore } from "@/shared/lib";
import { ENDPOINT } from "@/shared/config";
import dayjs from "dayjs";
import React from "react";
import { useConfirm } from "@frontend-opensource/use-react-hooks";
function FaqPage({ bbsId }: { bbsId: string }) {
const router = useRouter();
const pathname = usePathname();
const { confirm } = useConfirm();
const userInfo = useUserStore((state) => state.userInfo);
const alert = useAlertStore((state) => state.setMessage);
const { bbsInfo, pageMenuAuthority } = useMenuStore((state) => state);
const [postParams, setPostParams] = useState<PostParams>({
keywordType: "title",
keyword: "",
});
const [selectedPostNumbers, setSelectedPostNumbers] = useState<number[]>([]);
const {
data: postList,
isFetched,
refetch,
} = useQuery({
queryKey: [ENDPOINT.BOARD_SERVICE.POSTS_USER, bbsInfo?.bbsTypeCd],
queryFn: () =>
PostApi.getPostList(parseInt(bbsId), {
...postParams,
bbsTypeCd: bbsInfo?.bbsTypeCd,
}),
enabled: !!bbsInfo?.bbsTypeCd,
});
const { mutate: deletePost } = useMutation({
mutationFn: ({ pstNo, pstPswd }: { pstNo: number; pstPswd?: string }) =>
PostApi.deletePost(parseInt(bbsId), pstNo, pstPswd),
onSuccess: () => {
alert("삭제되었습니다.");
refetch();
},
});
const handleDeletePost = async (pstNo: number) => {
if (await confirm("삭제하시겠습니까?")) {
deletePost({ pstNo, pstPswd: userInfo?.userUnqId });
}
};
const onSelectedPostDelete = async () => {
if (await confirm("삭제하시겠습니까?")) {
await Promise.all(
selectedPostNumbers.map((pstNo) =>
PostApi.deletePost(parseInt(bbsId), pstNo, userInfo?.userUnqId),
),
);
refetch();
setSelectedPostNumbers([]);
alert("삭제되었습니다.");
}
};
const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();
refetch();
};
const handleCheckboxChange = (pstNo: number, checked: boolean | string) => {
setSelectedPostNumbers(
checked === true
? [...selectedPostNumbers, pstNo]
: selectedPostNumbers.filter((num) => num !== pstNo),
);
};
const handleAllCheckboxChange = (checked: boolean | string) => {
setSelectedPostNumbers(
checked === true ? postList?.content.map((item) => item.pstNo) || [] : [],
);
};
return (
<div className="card card-border !mt-6">
<div className="card card-border">
<form onSubmit={handleSubmit} className="flex items-center gap-2 p-2">
<Label className="mr-2 text-label">검색</Label>
<Select
value={postParams.keywordType}
onValueChange={(keywordType) => {
setPostParams({ ...postParams, keywordType });
}}
>
<SelectTrigger className="h-[3.2rem] w-[10rem]">
<SelectValue placeholder="선택" />
</SelectTrigger>
<SelectContent>
<SelectItem value="title">제목</SelectItem>
<SelectItem value="all">제목+내용</SelectItem>
<SelectItem value="writer">작성자</SelectItem>
</SelectContent>
</Select>
<Input
value={postParams.keyword}
onChange={(e) =>
setPostParams({ ...postParams, keyword: e.target.value })
}
className="h-[3.2rem] w-[24rem] rounded-sm !text-[1.3rem]"
/>
<Button className="h-[3.2rem]" type="submit">
조회
</Button>
</form>
</div>
<div className="card card-border">
<div className="card-header">
<div className="flex w-full items-center justify-between">
<h3 className="text-2xl font-medium text-label">콘텐츠 목록</h3>
<div className="flex gap-2">
{pageMenuAuthority?.regAuthrtYn === "Y" && (
<Button onClick={() => router.push(`${pathname}/register`)}>
등록
</Button>
)}
{pageMenuAuthority?.delAuthrtYn === "Y" && (
<Button
color="red"
onClick={onSelectedPostDelete}
disabled={!selectedPostNumbers.length}
>
선택삭제
</Button>
)}
</div>
</div>
</div>
<div className="card !m-[1.2rem] h-full overflow-auto !p-0">
<div className="mb-4 flex items-center gap-2 rounded-sm border border-border bg-background p-4">
<Checkbox
id="all-select"
checked={selectedPostNumbers.length === postList?.content.length}
onClick={(e) => e.stopPropagation()}
onCheckedChange={handleAllCheckboxChange}
/>
<Label htmlFor="all-select" className="text-2xl">
전체선택
</Label>
</div>
{isFetched ? (
<Accordion
type="multiple"
className="secondary flex flex-col gap-4"
>
{postList?.content.map((item) => (
<div key={item.pstNo} className="flex items-start gap-2">
<Checkbox
id={item.pstNo.toString()}
checked={selectedPostNumbers.includes(item.pstNo)}
onClick={(e) => e.stopPropagation()}
onCheckedChange={(checked) =>
handleCheckboxChange(item.pstNo, checked)
}
className="mx-2 my-6"
/>
<AccordionItem
value={item.pstNo.toString()}
className="w-full"
>
<AccordionTrigger>
<div className="flex flex-1 items-center justify-between">
<div className="flex items-center gap-4">
<span className="text-primary">Q</span>
<span>{item.pstTtl}</span>
</div>
<span className="px-4 text-[1.2rem] font-normal text-label">
등록일: {dayjs(item.regDt).format("YYYY-MM-DD")}
</span>
</div>
</AccordionTrigger>
<AccordionContent>
<div className="flex items-start gap-4">
<span className="text-[1.4rem] font-bold text-label">
A
</span>
<div className="flex-1">
<pre className="whitespace-pre-wrap font-noto text-[1.4rem] tracking-tighter text-foreground">
{item.pstCn}
</pre>
<Attachment atflCd={item.atflCd} />
</div>
<div className="flex justify-end gap-2">
<Button
size="icon"
color="white"
onClick={() =>
router.push(`${pathname}/${item.pstNo}`)
}
>
<i className="diveicon di-pencil" />
</Button>
<Button
size="icon"
color="white"
onClick={() => handleDeletePost(item.pstNo)}
>
<i className="diveicon di-trash" />
</Button>
</div>
</div>
</AccordionContent>
</AccordionItem>
</div>
))}
</Accordion>
) : (
<Skeleton className="h-[36rem] w-full" />
)}
</div>
</div>
</div>
);
}
function Attachment({ atflCd }: { atflCd: string }) {
const [filename, setFilename] = useState("");
const { data: downloadResponse, isFetching } = useQuery({
queryKey: [ENDPOINT.ATTACH_SERVICE.DOWNLOAD, atflCd],
queryFn: () => AttachmentApi.downloadAttachmentByAtflCd(atflCd),
enabled: !!atflCd,
});
const handleDownload = async () => {
if (!downloadResponse) return;
try {
const blob = new Blob([downloadResponse.data]);
const url = window.URL.createObjectURL(blob);
const link = document.createElement("a");
link.href = url;
link.download = filename || "download";
document.body.appendChild(link);
link.click();
window.URL.revokeObjectURL(url);
document.body.removeChild(link);
} catch (error) {
console.error(error);
}
};
useEffect(() => {
if (!downloadResponse) return;
try {
let filename = "";
const contentDisposition =
downloadResponse.headers["content-disposition"];
if (contentDisposition) {
const filenameMatch = contentDisposition.match(
/filename\*=UTF-8''([^;]+)/,
);
if (filenameMatch && filenameMatch[1]) {
filename = decodeURIComponent(filenameMatch[1]);
}
}
setFilename(filename);
} catch {
setFilename("");
}
}, [downloadResponse]);
return isFetching ? (
<div className="my-8">
<Skeleton className="h-[2.5rem] w-[32rem]" />
</div>
) : (
filename && (
<div className="my-8 flex items-center gap-4">
<span className="font-bold text-label">첨부파일</span>
<Button
size="sm"
color="white"
className="flex w-fit items-center gap-2"
onClick={handleDownload}
>
<i className="diveicon di-download" />
<span>{filename}</span>
</Button>
</div>
)
);
}
export { FaqPage };
@@ -0,0 +1,59 @@
import { client } from "@/shared/api";
import { ENDPOINT } from "@/shared/config";
import type {
MenuEvaluation,
MenuEvaluationDetail,
MenuEvaluationParams,
MenuEvaluationService,
MenuEvaluationCreateRequestDto,
MenuEvaluationUpdateRequestDto,
PageMenuEvaluationListResponseDto,
} from "../model/menu-evaluation-interface";
export class MenuEvaluationApiService implements MenuEvaluationService {
public async getMenuEvaluationList(
params: MenuEvaluationParams,
): Promise<PageMenuEvaluationListResponseDto> {
const response = await client.get<PageMenuEvaluationListResponseDto>(
`${ENDPOINT.CMS_SERVICE.MENU_EVALUATION}`,
{ params },
);
return response.data;
}
public async getMenuEvaluation(
menuEvlSn: number,
): Promise<MenuEvaluationDetail> {
const response = await client.get<MenuEvaluationDetail>(
`${ENDPOINT.CMS_SERVICE.MENU_EVALUATION}/${menuEvlSn}`,
);
return response.data;
}
public async createMenuEvaluation(
data: MenuEvaluationCreateRequestDto,
): Promise<MenuEvaluation> {
const response = await client.post<MenuEvaluation>(
`${ENDPOINT.CMS_SERVICE.MENU_EVALUATION}`,
data,
);
return response.data;
}
public async updateMenuEvaluation(
menuEvlSn: number,
data: MenuEvaluationUpdateRequestDto,
): Promise<MenuEvaluation> {
const response = await client.put<MenuEvaluation>(
`${ENDPOINT.CMS_SERVICE.MENU_EVALUATION}/${menuEvlSn}`,
data,
);
return response.data;
}
public async deleteMenuEvaluation(menuEvlSn: number): Promise<void> {
await client.delete(`${ENDPOINT.CMS_SERVICE.MENU_EVALUATION}/${menuEvlSn}`);
}
}
export const MenuEvaluationApi = new MenuEvaluationApiService();
@@ -0,0 +1,66 @@
import { client } from "@/shared/api";
import { ENDPOINT } from "@/shared/config";
import type {
MenuModificationDemand,
MenuModificationDemandCreateRequestDto,
MenuModificationDemandDetail,
MenuModificationDemandParams,
MenuModificationDemandService,
MenuModificationDemandUpdateRequestDto,
PageMenuModificationDemandListResponseDto,
} from "../model/menu-modification-demand-interface";
export class MenuModificationDemandApiService
implements MenuModificationDemandService
{
public async getMenuModificationDemandList(
params: MenuModificationDemandParams,
): Promise<PageMenuModificationDemandListResponseDto> {
const response =
await client.get<PageMenuModificationDemandListResponseDto>(
`${ENDPOINT.CMS_SERVICE.MENU_MODIFICATION_DEMAND}`,
{ params },
);
return response.data;
}
public async getMenuModificationDemand(
mdfcnRcptNo: number,
): Promise<MenuModificationDemandDetail> {
const response = await client.get<MenuModificationDemandDetail>(
`${ENDPOINT.CMS_SERVICE.MENU_MODIFICATION_DEMAND}/${mdfcnRcptNo}`,
);
return response.data;
}
public async createMenuModificationDemand(
data: MenuModificationDemandCreateRequestDto,
): Promise<MenuModificationDemand> {
const response = await client.post<MenuModificationDemand>(
`${ENDPOINT.CMS_SERVICE.MENU_MODIFICATION_DEMAND}`,
data,
);
return response.data;
}
public async updateMenuModificationDemand(
mdfcnRcptNo: number,
data: MenuModificationDemandUpdateRequestDto,
): Promise<MenuModificationDemand> {
const response = await client.put<MenuModificationDemand>(
`${ENDPOINT.CMS_SERVICE.MENU_MODIFICATION_DEMAND}/${mdfcnRcptNo}`,
data,
);
return response.data;
}
public async deleteMenuModificationDemand(
mdfcnRcptNo: number,
): Promise<void> {
await client.delete(
`${ENDPOINT.CMS_SERVICE.MENU_MODIFICATION_DEMAND}/${mdfcnRcptNo}`,
);
}
}
export const MenuModificationDemandApi = new MenuModificationDemandApiService();
@@ -0,0 +1 @@
export { ContentsPage } from "./ui/contents-page";
@@ -0,0 +1,49 @@
import type { PageableList, PageableParams } from "@/shared/model";
export interface MenuEvaluationParams extends PageableParams {
menuCd?: number;
siteId?: string;
evlIp?: string;
}
export interface MenuEvaluation {
evlSn: number;
menuCd: number;
siteId: string;
evlDt: string;
evlScr: number;
}
export interface MenuEvaluationDetail extends MenuEvaluation {
evlIp: string;
userUnqId: string;
}
export interface MenuEvaluationCreateRequestDto {
menuCd: number;
siteId: string;
evlIp?: string;
evlScr: number;
userUnqId: string;
}
export interface MenuEvaluationUpdateRequestDto {
evlScr: number;
}
export type PageMenuEvaluationListResponseDto = PageableList<MenuEvaluation>;
export interface MenuEvaluationService {
getMenuEvaluationList(
params: MenuEvaluationParams,
): Promise<PageMenuEvaluationListResponseDto>;
getMenuEvaluation(menuEvlSn: number): Promise<MenuEvaluationDetail>;
createMenuEvaluation(
data: MenuEvaluationCreateRequestDto,
): Promise<MenuEvaluation>;
updateMenuEvaluation(
menuEvlSn: number,
data: MenuEvaluationUpdateRequestDto,
): Promise<MenuEvaluation>;
deleteMenuEvaluation(menuEvlSn: number): Promise<void>;
}
@@ -0,0 +1,68 @@
import type { PageableList, PageableParams } from "@/shared/model";
import { z } from "zod";
export interface MenuModificationDemandParams extends PageableParams {
menuCd?: number;
siteId?: string;
mdfcnDmndSttusCd?: string;
}
export interface MenuModificationDemand {
mdfcnRcptNo: number;
menuCd: number;
rcptDt: string;
aplcnt: string;
aplcnYn: string;
}
export interface MenuModificationDemandDetail extends MenuModificationDemand {
mdfcnCn: string;
userUnqId: string;
aplcntEml: string;
}
export const menuModificationDemandCreateRequestDtoSchema = z.object({
menuCd: z.number(),
mdfcnCn: z.string(),
userUnqId: z.string().optional(),
aplcnt: z.string(),
aplcntEml: z.string().optional(),
});
export const menuModificationDemandUpdateRequestDtoSchema = z.object({
mdfcnCn: z.string(),
aplcntEml: z.string().optional(),
aplcnYn: z.string(),
});
export type MenuModificationDemandCreateRequestDto = z.infer<
typeof menuModificationDemandCreateRequestDtoSchema
>;
export type MenuModificationDemandUpdateRequestDto = z.infer<
typeof menuModificationDemandUpdateRequestDtoSchema
>;
export type PageMenuModificationDemandListResponseDto =
PageableList<MenuModificationDemand>;
export interface MenuModificationDemandService {
getMenuModificationDemandList(
params: MenuModificationDemandParams,
): Promise<PageMenuModificationDemandListResponseDto>;
getMenuModificationDemand(
mdfcnRcptNo: number,
): Promise<MenuModificationDemandDetail>;
createMenuModificationDemand(
data: MenuModificationDemandCreateRequestDto,
): Promise<MenuModificationDemand>;
updateMenuModificationDemand(
mdfcnRcptNo: number,
data: MenuModificationDemandUpdateRequestDto,
): Promise<MenuModificationDemand>;
deleteMenuModificationDemand(mdfcnRcptNo: number): Promise<void>;
}
@@ -0,0 +1,163 @@
"use client";
import dayjs from "dayjs";
import Image from "next/image";
import { toast } from "sonner";
import { useEffect, useRef, useState } from "react";
import { useMutation, useQuery } from "@tanstack/react-query";
import { useClipboard } from "@frontend-opensource/use-react-hooks";
import {
Button,
getCookie,
Label,
RadioGroup,
RadioGroupItem,
} from "@common/components";
import { CodeApi } from "@/entities/code";
import { ContentsApi } from "@/entities/content";
import { AUTH_USER_ID, ENDPOINT } from "@/shared/config";
import { useAlertStore, useMenuStore } from "@/shared/lib";
import { MenuEvaluationApi } from "../api/menu-evaluation-service";
import { MenuModificationDemandDialog } from "./menu-modification-demand-dialog";
function ContentsPage({ contsSn }: { contsSn: number }) {
const [evlScr, setEvlScr] = useState(5);
const shadowRootRef = useRef<HTMLDivElement>(null);
const { copyText, copied } = useClipboard();
const alert = useAlertStore((state) => state.setMessage);
const currentMenuInfo = useMenuStore((state) => state.currentMenuInfo);
const siteId = getCookie("site-id-key") ?? "";
const userUnqId = getCookie(AUTH_USER_ID) ?? "";
const { data: contentsDetail } = useQuery({
queryKey: [ENDPOINT.CMS_SERVICE.CONTENTS_DETAILS, contsSn],
queryFn: () =>
ContentsApi.getLatestApprovedContentsInfo(
contsSn,
currentMenuInfo?.menuCd.toString() ?? "",
),
enabled: !!contsSn && !!currentMenuInfo,
});
const { data: koglData } = useQuery({
queryKey: [ENDPOINT.CMS_SERVICE.CODE, "KOGLCD"],
queryFn: () => CodeApi.getCode("KOGLCD"),
select: (data) =>
data.find((code) => code.lwpoCd === contentsDetail?.koglCd),
enabled: !!contentsDetail,
});
const { data: cclData } = useQuery({
queryKey: [ENDPOINT.CMS_SERVICE.CODE, "CCLCD"],
queryFn: () => CodeApi.getCode("CCLCD"),
select: (data) =>
data.find((code) => code.lwpoCd === contentsDetail?.cclCd),
enabled: !!contentsDetail,
});
const { mutate: menuEvaluation } = useMutation({
mutationFn: (evlScr: number) =>
MenuEvaluationApi.createMenuEvaluation({
menuCd: currentMenuInfo?.menuCd ?? 0,
siteId,
evlScr,
userUnqId,
}),
onSuccess: () => {
alert("게시물 평가가 완료되었습니다.");
},
});
useEffect(() => {
if (!shadowRootRef.current || !contentsDetail?.contsCn) return;
const shadowRoot = shadowRootRef.current.attachShadow({ mode: "open" });
const styleElement = document.createElement("style");
styleElement.textContent = `div { font-size: 16px; line-height: 1.5; }`;
shadowRoot.appendChild(styleElement);
const contentElement = document.createElement("div");
contentElement.innerHTML = contentsDetail.contsCn;
shadowRoot.appendChild(contentElement);
}, [contentsDetail?.contsCn]);
useEffect(() => {
if (copied) toast.success("URL이 클립보드에 복사되었습니다.");
}, [copied]);
return (
<>
<div className="card card-border !mt-6 !p-6">
<div ref={shadowRootRef} />
</div>
<div className="flex">
<div className="card card-border flex flex-1 items-center gap-2">
<div className="rounded-sm border border-border bg-accent px-8 py-4">
<RadioGroup
value={evlScr.toString()}
onValueChange={(value) => setEvlScr(parseInt(value))}
className="flex items-center space-x-4"
>
<div className="flex items-center space-x-2">
<RadioGroupItem value="5" id="evl5" />
<Label htmlFor="evl5">매우 만족 😊</Label>
</div>
<div className="flex items-center space-x-2">
<RadioGroupItem value="4" id="evl4" />
<Label htmlFor="evl4">만족 🙂</Label>
</div>
<div className="flex items-center space-x-2">
<RadioGroupItem value="3" id="evl3" />
<Label htmlFor="evl3">보통 😐</Label>
</div>
<div className="flex items-center space-x-2">
<RadioGroupItem value="2" id="evl2" />
<Label htmlFor="evl2">불만족 🙁</Label>
</div>
<div className="flex items-center space-x-2">
<RadioGroupItem value="1" id="evl1" />
<Label htmlFor="evl1">매우 불만족 😞</Label>
</div>
</RadioGroup>
</div>
<Button
size="lg"
color="white"
onClick={() => menuEvaluation(evlScr)}
>
평가하기
</Button>
</div>
<div className="card card-border flex flex-1 items-center gap-4">
<div className="rounded-sm border border-border bg-accent px-8 py-4">
최종수정일: {dayjs(contentsDetail?.aprvDt).format("YYYY-MM-DD")} |
담당자: {contentsDetail?.menuPicUserUnqIdNm}
</div>
<Image
src={`/images/${cclData?.unit}`}
alt="CCL"
width={114}
height={40}
/>
<Image
src={`/images/${koglData?.unit}`}
alt="CCL"
width={140}
height={40}
/>
<Button
size="lg"
color="emerald"
onClick={() => copyText(window.location.href)}
>
퍼가기
</Button>
<MenuModificationDemandDialog menuCd={currentMenuInfo?.menuCd} />
</div>
</div>
</>
);
}
export { ContentsPage };
@@ -0,0 +1,173 @@
import { memo, useEffect, useState } from "react";
import { useForm } from "react-hook-form";
import { useMutation } from "@tanstack/react-query";
import { zodResolver } from "@hookform/resolvers/zod";
import { useConfirm } from "@frontend-opensource/use-react-hooks";
import {
Button,
Dialog,
DialogClose,
DialogContent,
DialogFooter,
DialogHeader,
DialogTitle,
Table,
TableBody,
TableCell,
TableHead,
TableRow,
Input,
DialogTrigger,
Textarea,
} from "@common/components";
import { useAlertStore } from "@/shared/lib";
import { Form, FormField, FormItem, FormControl } from "@/shared/ui/form";
import { MenuModificationDemandApi } from "../api/menu-modification-demand-service";
import {
menuModificationDemandCreateRequestDtoSchema,
type MenuModificationDemandCreateRequestDto,
} from "../model/menu-modification-demand-interface";
type MenuModificationDemandDialogProps = {
menuCd?: number;
};
const MenuModificationDemandDialog = memo(
({ menuCd }: MenuModificationDemandDialogProps) => {
const [open, setOpen] = useState(false);
const { confirm } = useConfirm();
const alert = useAlertStore((state) => state.setMessage);
const { mutateAsync: createMenuModificationDemand } = useMutation({
mutationFn: (data: MenuModificationDemandCreateRequestDto) =>
MenuModificationDemandApi.createMenuModificationDemand(data),
onSuccess: () => {
alert("메뉴 수정 요청이 등록되었습니다.", () => setOpen(false));
},
});
const form = useForm<MenuModificationDemandCreateRequestDto>({
resolver: zodResolver(menuModificationDemandCreateRequestDtoSchema),
defaultValues: {
menuCd: menuCd ?? 0,
mdfcnCn: "",
aplcnt: "",
aplcntEml: "",
},
});
const onSubmit = async (data: MenuModificationDemandCreateRequestDto) => {
if (await confirm("메뉴 수정 요청을 등록하시겠습니까?")) {
createMenuModificationDemand(data);
}
};
useEffect(() => {
if (!open) form.reset();
}, [open]);
return (
<Dialog open={open} onOpenChange={setOpen}>
<DialogTrigger asChild>
<Button size="lg" color="white">
수정요청
</Button>
</DialogTrigger>
<DialogContent className="max-w-[60rem]" aria-describedby={undefined}>
<DialogHeader>
<DialogTitle>메뉴 수정 요청</DialogTitle>
</DialogHeader>
<Form {...form}>
<form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">
<Table variant="secondary">
<colgroup>
<col width="15%" />
<col width="85%" />
</colgroup>
<TableBody>
<TableRow>
<TableHead>신청자</TableHead>
<TableCell className="border">
<FormField
control={form.control}
name="aplcnt"
render={({ field }) => (
<FormItem>
<FormControl>
<Input
{...field}
value={field.value ?? ""}
className="!text-[1.3rem]"
placeholder="신청자명을 입력해주세요"
/>
</FormControl>
</FormItem>
)}
/>
</TableCell>
</TableRow>
<TableRow>
<TableHead>이메일</TableHead>
<TableCell className="border">
<FormField
control={form.control}
name="aplcntEml"
render={({ field }) => (
<FormItem>
<FormControl>
<Input
{...field}
value={field.value ?? ""}
className="!text-[1.3rem]"
placeholder="이메일을 입력해주세요"
/>
</FormControl>
</FormItem>
)}
/>
</TableCell>
</TableRow>
<TableRow>
<TableHead>요청 내용</TableHead>
<TableCell className="border">
<FormField
control={form.control}
name="mdfcnCn"
render={({ field }) => (
<FormItem>
<FormControl>
<Textarea
{...field}
value={field.value ?? ""}
className="!text-[1.3rem]"
placeholder="요청 내용을 입력해주세요"
/>
</FormControl>
</FormItem>
)}
/>
</TableCell>
</TableRow>
</TableBody>
</Table>
<DialogFooter className="!justify-center">
<Button size="lg" type="submit">
요청하기
</Button>
<DialogClose asChild>
<Button size="lg" color="white">
취소
</Button>
</DialogClose>
</DialogFooter>
</form>
</Form>
</DialogContent>
</Dialog>
);
},
);
MenuModificationDemandDialog.displayName = "MenuModificationDemandDialog";
export { MenuModificationDemandDialog };
@@ -1,8 +1,10 @@
import { Client } from "@common/network";
import { BASE_URL } from "../config/api";
import { SITE_ID } from "../config/env";
import { getCookie } from "../lib";
const siteId = getCookie("site-id-key") ?? "";
export const client = Client.getInstance({
baseURL: BASE_URL,
siteId: SITE_ID,
siteId,
});
@@ -28,6 +28,8 @@ export const ENDPOINT = {
MENUS: "/cms-service/api/v1/menus",
MENU_ROLES: "/cms-service/api/v1/menu-roles",
MENU_AUTHRTS: "/cms-service/api/v1/menu-authrts",
MENU_EVALUATION: "/cms-service/api/v1/menu-evls",
MENU_MODIFICATION_DEMAND: "/cms-service/api/v1/menu-mdfcn-dmnds",
CONTENTS: "/cms-service/api/v1/contents",
CONTENTS_DETAILS: "/cms-service/api/v1/contents-details",
ORGANIZATIONS: "/cms-service/api/v1/ognzs",
@@ -41,6 +43,7 @@ export const ENDPOINT = {
BBS: "/board-service/api/v1/bbs",
POSTS_USER: "/board-service/api/v1/posts/user",
POSTS_COMMENTS: "/board-service/api/v1/posts-cmnts",
POST_EVALUATION: "/board-service/api/v1/pstEvl",
},
};
@@ -2,7 +2,6 @@ export const PORT = process.env.NEXT_PUBLIC_PORT || "13000";
export const PROXY_HOST =
process.env.NEXT_PUBLIC_PROXY_HOST || `http://localhost:${PORT}`;
export const SERVER_API_URL = process.env.NEXT_PUBLIC_SERVER_API_URL;
export const SITE_ID = process.env.NEXT_PUBLIC_SITE_ID || "CS";
export const CLAIM_NAME = process.env.NEXT_PUBLIC_CLAIM_NAME || "Authorization";
export const ACCESS_TOKEN =
process.env.NEXT_PUBLIC_ACCESS_TOKEN || "access-token";
@@ -30,5 +30,5 @@ export interface PageableList<T> {
export interface PageableParams {
page?: number;
size?: number;
sort?: string[];
sort?: string;
}
@@ -0,0 +1,25 @@
"use client";
import { useTheme } from "next-themes";
import { Toaster as Sonner, type ToasterProps } from "sonner";
const Toaster = ({ ...props }: ToasterProps) => {
const { theme = "system" } = useTheme();
return (
<Sonner
theme={theme as ToasterProps["theme"]}
className="toaster group"
style={
{
"--normal-bg": "var(--popover)",
"--normal-text": "var(--popover-foreground)",
"--normal-border": "var(--border)",
} as React.CSSProperties
}
{...props}
/>
);
};
export { Toaster };
@@ -0,0 +1,14 @@
import { client } from "@/shared/api";
import { ENDPOINT } from "@/shared/config";
import type {
PostEvaluationPayload,
PostEvaluationService,
} from "../model/post-evaluation-interface";
export class PostEvaluationApiService implements PostEvaluationService {
public async postEvaluation(payload: PostEvaluationPayload) {
await client.post(ENDPOINT.BOARD_SERVICE.POST_EVALUATION, payload);
}
}
export const PostEvaluationApi = new PostEvaluationApiService();
@@ -1,3 +1,4 @@
export { Post } from "./ui/post";
export { PostForm } from "./ui/post-form";
export { PostPage } from "./ui/post-page";
export { SortSelect } from "./ui/sort-select";
@@ -0,0 +1,10 @@
export interface PostEvaluationPayload {
pstNo: number;
evlIp?: string;
evlDt?: string;
evlScr: number;
}
export interface PostEvaluationService {
postEvaluation: (payload: PostEvaluationPayload) => Promise<void>;
}
@@ -29,7 +29,7 @@ export const columns: ColumnDef<Post & { isUpndFixPost?: boolean }>[] = [
{
accessorKey: "rowNo",
header: "NO",
cell: ({ row }) => {
cell: ({ row, table }) => {
if (row.original.isUpndFixPost) {
return (
<Badge
@@ -40,19 +40,23 @@ export const columns: ColumnDef<Post & { isUpndFixPost?: boolean }>[] = [
</Badge>
);
}
return row.original.rowNo;
const totalRows = table.getRowCount();
const currentPage = table.getState().pagination.pageIndex;
const pageSize = table.getState().pagination.pageSize;
return totalRows - (currentPage * pageSize + row.index);
},
},
{
accessorKey: "pstTtl",
header: "제목",
cell: ({ row }) => {
const { ansPstn, pstTtl, inqNocs, cmntCnt } = row.original;
const { ansPstn = 0, pstTtl, inqNocs, cmntCnt } = row.original;
const indentPadding = ansPstn > 0 ? (ansPstn - 1) * 20 : 0;
return (
<div
className="flex min-w-[20vw] items-center gap-2 text-left"
style={{ paddingInlineStart: `${(ansPstn - 1) * 20}px` }}
style={{ paddingInlineStart: `${indentPadding}px` }}
>
{ansPstn > 0 && (
<div className="flex items-center gap-1">
@@ -1,22 +1,28 @@
import { toast } from "sonner";
import { useEffect } from "react";
import { useRouter, usePathname } from "next/navigation";
import { useConfirm } from "@frontend-opensource/use-react-hooks";
import { useClipboard, useConfirm } from "@frontend-opensource/use-react-hooks";
import { Button } from "@common/components";
import { AuthorityButton } from "@/entities/menu-authority";
import { useMenuStore, useUserStore } from "@/shared/lib";
type PostActionProps = {
bbsId: string;
pstNo: string;
registerId?: string;
children: React.ReactNode;
handleDelete: () => Promise<void>;
};
function PostAction({ children, handleDelete }: PostActionProps) {
function PostAction({ registerId, children, handleDelete }: PostActionProps) {
const router = useRouter();
const pathname = usePathname();
const { confirm } = useConfirm();
const { copyText, copied } = useClipboard();
const bbsInfo = useMenuStore((state) => state.bbsInfo);
const userInfo = useUserStore((state) => state.userInfo);
const actionButtonAuthrt =
userInfo?.adminRoleYn === "Y" || userInfo?.userUnqId === registerId;
const onDelete = async () => {
if (await confirm("삭제하시겠습니까?")) handleDelete();
};
@@ -34,10 +40,22 @@ function PostAction({ children, handleDelete }: PostActionProps) {
return true;
};
useEffect(() => {
if (copied) toast.success("URL이 클립보드에 복사되었습니다.");
}, [copied]);
return (
<>
{children}
<div className="flex justify-center gap-4 pb-12 pt-10">
<Button
size="lg"
color="emerald"
type="button"
onClick={() => copyText(window.location.href)}
>
퍼가기
</Button>
<Button
size="lg"
color="white"
@@ -46,15 +64,19 @@ function PostAction({ children, handleDelete }: PostActionProps) {
>
목록
</Button>
<Button
size="lg"
type="button"
onClick={() => router.push(`${pathname}/modify`)}
>
수정
</Button>
{actionButtonAuthrt && (
<AuthorityButton
authority="mdfcnAuthrtYn"
size="lg"
type="button"
onClick={() => router.push(`${pathname}/modify`)}
>
수정
</AuthorityButton>
)}
{bbsInfo?.ansUseYn === "Y" && (
<Button
<AuthorityButton
authority="regAuthrtYn"
size="lg"
type="button"
color="gray"
@@ -62,11 +84,19 @@ function PostAction({ children, handleDelete }: PostActionProps) {
disabled={!checkAnsUseAuthrt()}
>
답글
</Button>
</AuthorityButton>
)}
{actionButtonAuthrt && (
<AuthorityButton
authority="delAuthrtYn"
size="lg"
color="red"
type="button"
onClick={onDelete}
>
삭제
</AuthorityButton>
)}
<Button size="lg" color="red" type="button" onClick={onDelete}>
삭제
</Button>
</div>
</>
);
@@ -77,7 +77,7 @@ function PostForm<T extends PostFormData | PostUpdateFormData>({
</colgroup>
<TableBody>
<TableRow>
<TableHead>제목</TableHead>
<TableHead data-required>제목</TableHead>
<TableCell className="border">
<FormField
control={form.control}
@@ -120,7 +120,7 @@ function PostForm<T extends PostFormData | PostUpdateFormData>({
</TableRow>
{!userInfo?.userUnqId && (
<TableRow>
<TableHead>비밀번호</TableHead>
<TableHead data-required>비밀번호</TableHead>
<TableCell className="border">
<FormField
control={form.control}
@@ -33,6 +33,7 @@ import { useMenuStore, useUserStore } from "@/shared/lib";
import { GridViewDataTable } from "@/shared/ui/grid-view-data-table";
import { columns as tableColumns } from "../model/post-table-columns";
import { createColumns as createGridViewColumns } from "../model/grid-view-table-columns";
import { SortSelect } from "./sort-select";
function PostPage({ bbsId }: { bbsId: string }) {
const router = useRouter();
@@ -42,7 +43,10 @@ function PostPage({ bbsId }: { bbsId: string }) {
const { bbsInfo, pageMenuAuthority } = useMenuStore((state) => state);
const thumbRefs = useRef<Map<number, string>>(new Map());
const [postParams, setPostParams] = useState<PostParams>({
const [tableSort, setTableSort] = useState("");
const [keywordType, setKeywordType] = useState("title");
const [keyword, setKeyword] = useState("");
const [searchParams, setSearchParams] = useState<PostParams>({
keywordType: "title",
keyword: "",
});
@@ -56,7 +60,7 @@ function PostPage({ bbsId }: { bbsId: string }) {
queryKey: [ENDPOINT.BOARD_SERVICE.POSTS_USER, bbsId, bbsInfo],
queryFn: () =>
PostApi.getPostList(parseInt(bbsId), {
...postParams,
...searchParams,
upndFixYn: bbsInfo?.upndFixUseYn,
}),
select: (data) => {
@@ -77,12 +81,20 @@ function PostPage({ bbsId }: { bbsId: string }) {
isLoading,
refetch,
} = useQuery({
queryKey: [ENDPOINT.BOARD_SERVICE.POSTS_USER, bbsId],
queryKey: [
ENDPOINT.BOARD_SERVICE.POSTS_USER,
bbsId,
searchParams,
pagination,
tableSort,
],
queryFn: () =>
PostApi.getPostList(parseInt(bbsId), {
...postParams,
...searchParams,
ansUseYn: bbsInfo?.ansUseYn,
page: pagination.pageIndex,
size: pagination.pageSize,
sort: tableSort,
}),
});
@@ -124,7 +136,29 @@ function PostPage({ bbsId }: { bbsId: string }) {
const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();
refetch();
setPagination({
...pagination,
pageIndex: 0,
});
setSearchParams({
...searchParams,
keywordType,
keyword,
});
};
const handleReset = () => {
setKeywordType("title");
setKeyword("");
setPagination({
...pagination,
pageIndex: 0,
});
setSearchParams({
...searchParams,
keywordType: "title",
keyword: "",
});
};
const handleRowClick = (row: Post) => {
@@ -137,12 +171,7 @@ function PostPage({ bbsId }: { bbsId: string }) {
<div className="card card-border">
<form onSubmit={handleSubmit} className="flex items-center gap-2 p-2">
<Label className="mr-2 text-label">검색</Label>
<Select
value={postParams.keywordType}
onValueChange={(keywordType) => {
setPostParams({ ...postParams, keywordType });
}}
>
<Select value={keywordType} onValueChange={setKeywordType}>
<SelectTrigger className="h-[3.2rem] w-[10rem]">
<SelectValue placeholder="선택" />
</SelectTrigger>
@@ -153,15 +182,21 @@ function PostPage({ bbsId }: { bbsId: string }) {
</SelectContent>
</Select>
<Input
value={postParams.keyword}
onChange={(e) =>
setPostParams({ ...postParams, keyword: e.target.value })
}
value={keyword}
onChange={(e) => setKeyword(e.target.value)}
className="h-[3.2rem] w-[24rem] rounded-sm !text-[1.3rem]"
/>
<Button className="h-[3.2rem]" type="submit">
조회
</Button>
<Button
type="button"
color="white"
className="h-[3.2rem]"
onClick={handleReset}
>
초기화
</Button>
</form>
</div>
<div className="card card-border">
@@ -200,6 +235,9 @@ function PostPage({ bbsId }: { bbsId: string }) {
))}
</SelectContent>
</Select>
{bbsInfo?.ansUseYn === "N" && (
<SortSelect value={tableSort} onValueChange={setTableSort} />
)}
</div>
</div>
</div>
@@ -5,7 +5,13 @@ import Image from "next/image";
import { useEffect, useState } from "react";
import { useRouter } from "next/navigation";
import { useMutation, useQuery } from "@tanstack/react-query";
import { Button, Skeleton } from "@common/components";
import {
Button,
Label,
RadioGroup,
RadioGroupItem,
Skeleton,
} from "@common/components";
import { AttachmentApi } from "@/entities/attachment";
import { PostApi } from "@/entities/post";
import {
@@ -17,6 +23,7 @@ import {
import { ENDPOINT } from "@/shared/config";
import { PostAction } from "./post-action";
import { PostComment } from "./post-comment";
import { PostEvaluationApi } from "../api/post-evaluation-service";
function Post({ bbsId, pstNo }: { bbsId: string; pstNo: string }) {
const router = useRouter();
@@ -26,6 +33,7 @@ function Post({ bbsId, pstNo }: { bbsId: string; pstNo: string }) {
const bbsInfo = useMenuStore((state) => state.bbsInfo);
const [filename, setFilename] = useState("");
const [evlScr, setEvlScr] = useState(5);
const { data: postData } = useQuery({
queryKey: [ENDPOINT.BOARD_SERVICE.POSTS_USER, bbsId, pstNo],
@@ -73,6 +81,17 @@ function Post({ bbsId, pstNo }: { bbsId: string; pstNo: string }) {
},
});
const { mutate: postEvaluation } = useMutation({
mutationFn: (evlScr: number) =>
PostEvaluationApi.postEvaluation({
pstNo: parseInt(pstNo),
evlScr,
}),
onSuccess: () => {
alert("게시물 평가가 완료되었습니다.");
},
});
const handleDelete = async () => {
let pstPswd = "";
if (userInfo?.userUnqId) {
@@ -125,7 +144,7 @@ function Post({ bbsId, pstNo }: { bbsId: string; pstNo: string }) {
return (
<>
<PostAction bbsId={bbsId} pstNo={pstNo} handleDelete={handleDelete}>
<PostAction registerId={postData?.rgtr} handleDelete={handleDelete}>
<div className="card card-border !p-8">
<h3 className="text-[2rem] font-bold text-foreground">
{postData?.pstTtl}
@@ -194,6 +213,53 @@ function Post({ bbsId, pstNo }: { bbsId: string; pstNo: string }) {
</>
)
)}
{bbsInfo?.dgstfnEvlUseYn === "Y" && (
<>
<hr />
<div className="mt-8 flex items-center gap-2 px-4">
<p>
이 페이지에서 제공하는
<br />
정보에 대하여 만족하시나요?
</p>
<div className="ml-4 rounded-sm border border-border bg-accent px-8 py-4">
<RadioGroup
value={evlScr.toString()}
onValueChange={(value) => setEvlScr(parseInt(value))}
className="flex items-center space-x-4"
>
<div className="flex items-center space-x-2">
<RadioGroupItem value="5" id="evl5" />
<Label htmlFor="evl5">매우 만족 😊</Label>
</div>
<div className="flex items-center space-x-2">
<RadioGroupItem value="4" id="evl4" />
<Label htmlFor="evl4">만족 🙂</Label>
</div>
<div className="flex items-center space-x-2">
<RadioGroupItem value="3" id="evl3" />
<Label htmlFor="evl3">보통 😐</Label>
</div>
<div className="flex items-center space-x-2">
<RadioGroupItem value="2" id="evl2" />
<Label htmlFor="evl2">불만족 🙁</Label>
</div>
<div className="flex items-center space-x-2">
<RadioGroupItem value="1" id="evl1" />
<Label htmlFor="evl1">매우 불만족 😞</Label>
</div>
</RadioGroup>
</div>
<Button
size="lg"
color="white"
onClick={() => postEvaluation(evlScr)}
>
평가하기
</Button>
</div>
</>
)}
</div>
</PostAction>
<PostComment bbsId={parseInt(bbsId)} pstNo={parseInt(pstNo)} />
@@ -0,0 +1,32 @@
import {
Select,
SelectTrigger,
SelectValue,
SelectContent,
SelectItem,
} from "@common/components";
type SortSelectProps = {
value: string;
onValueChange: (value: string) => void;
};
function SortSelect(props: SortSelectProps) {
return (
<Select {...props}>
<SelectTrigger className="h-[3.2rem] w-[8rem]">
<SelectValue placeholder="정렬" />
</SelectTrigger>
<SelectContent>
<SelectItem value="pstTtl,asc">제목&uarr;</SelectItem>
<SelectItem value="pstTtl,desc">제목&darr;</SelectItem>
<SelectItem value="rgtrNm,asc">작성자&uarr;</SelectItem>
<SelectItem value="rgtrNm,desc">작성자&darr;</SelectItem>
<SelectItem value="regDt,asc">등록일&uarr;</SelectItem>
<SelectItem value="regDt,desc">등록일&darr;</SelectItem>
</SelectContent>
</Select>
);
}
export { SortSelect };
+25
View File
@@ -0,0 +1,25 @@
#!/bin/bash
PORT=13000
LOG_FILE="start_13000.log"
# 1. 기존 포트 사용 프로세스 종료
PID=$(lsof -t -i :$PORT)
if [ -n "$PID" ]; then
echo "Killing process on port $PORT (PID: $PID)"
kill -9 $PID
fi
# 2. 백그라운드로 앱 시작 (로그 파일로 리디렉션)
echo "Starting app on port $PORT..."
nohup pnpm start > $LOG_FILE 2>&1 &
# 3. PID 확인
sleep 1
NEW_PID=$(lsof -t -i :$PORT)
if [ -n "$NEW_PID" ]; then
echo "App started successfully (PID: $NEW_PID)"
echo "Logs: tail -f $LOG_FILE"
else
echo "Failed to start app. Check logs: $LOG_FILE"
fi
+7
View File
@@ -0,0 +1,7 @@
# apps/cs/src/shared/config/env.ts 참고
NEXT_PUBLIC_PORT=3000
NEXT_PUBLIC_PROXY_HOST=http://localhost:3000
NEXT_PUBLIC_SITE_ID=CS
NEXT_PUBLIC_SUB_DOMAIN=http://localhost:3000
NEXT_PUBLIC_SERVER_API_URL=http://192.168.0.102:8000
NEXT_PUBLIC_TINY_API_KEY=t9nc4z6inquvvd5pq1vea8wcp7lb01qmqseh6egms9vpaju2
+2 -1
View File
@@ -37,4 +37,5 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts
.env*
.env*
!.env.example
@@ -0,0 +1,2 @@
import { AdminPage } from "@/pages/admin";
export default AdminPage;
@@ -0,0 +1,2 @@
import { ApiLogPage } from "@/pages/apilog";
export default ApiLogPage;
@@ -0,0 +1,2 @@
import { GroupsPage } from "@/pages/groups";
export default GroupsPage;

Some files were not shown because too many files have changed in this diff Show More