LogView 리팩토링

LogDetailModal 생성
화면별 히스토리(LogDetailModal) 적용
This commit is contained in:
2025-05-22 14:55:37 +09:00
parent 64bf449de7
commit 1532793cc1
35 changed files with 1977 additions and 352 deletions

View File

@@ -5,6 +5,14 @@ export const benItems = [
"19010005"
];
export const historyBenField = [
"create_by",
"create_dt",
"update_by",
"update_dt",
"id"
]
export const HourList = ['00', '01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23'];
export const MinuteList = [
@@ -113,4 +121,75 @@ export const STATUS_STYLES = {
background: '#4287f5',
color: 'white'
},
};
};
export const logFieldLabels = {
// DynamoDB 필드
'attribFieldName': '속성 명',
'pk': '파티션 키',
'sk': '정렬 키',
'DocType': '문서 타입',
'CreatedDateTime': '생성 일시',
'UpdatedDateTime': '수정 일시',
'DeletedDateTime': '삭제 일시',
'RestoredDateTime': '복원 일시',
'INSERT': '등록',
'UPDATE': '수정',
'DELETE': '삭제',
//기본
'id': 'ID',
'userId': '사용자 ID',
'userIP': '사용자 IP',
'timestamp': '타임스탬프',
'message': '메시지',
'tranId': '트랜잭션 ID',
'group_id': '그룹 ID',
'update_dt': '수정 일시',
'updateDt': '수정 일시',
'update_by': '수정자',
'create_dt': '생성 일시',
'createDt': '생성 일시',
'create_by': '생성자',
'status': '상태',
'deleted': '삭제 여부',
// 이벤트 필드 관련
'eventId': '이벤트 ID',
'eventName': '이벤트 명',
'repeatType': '반복 타입',
'eventOperationTime': '운영 시간(초)',
'eventStartDt': '시작 시간',
'eventEndDt': '종료 시간',
'roundTime': '라운드 시간(초)',
'roundCount': '라운드 수',
'hotTime': '핫타임',
'configId': '설정 ID',
'rewardGroupId': '보상 그룹 ID',
'attrib_type': '속성 타입',
'event_id': '이벤트 ID',
'is_active': '활성화 여부',
'start_day': '시작일',
'start_hour': '시작 시간',
'start_min': '시작 분',
'end_date': '종료 일시',
'instance_id': '인스턴스 ID',
'once_period_type': '주기 타입',
'day_of_week_type': '요일 타입',
'ffa_config_data_id': 'FFA 설정 ID',
'ffa_reward_group_id': 'FFA 보상 그룹 ID',
'ffa_hot_time': 'FFA 핫타임',
'round_count': '라운드 수',
};
export const historyTables = {
userBlock: 'black_list',
landAuction: 'land_auction',
landOwnerChange: 'land_ownership_changes',
event: 'event',
mail: 'mail',
notice: 'notice',
battleEvent: 'battle_event',
caliumRequest: 'calium_request',
}