|
|
@ -14,7 +14,6 @@ export const statisticsReducer = createReducer< |
|
|
|
draft.flight = data || state.flight; |
|
|
|
draft.flight = data || state.flight; |
|
|
|
}) |
|
|
|
}) |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
// 비행 통계 카테고리별 검색
|
|
|
|
// 비행 통계 카테고리별 검색
|
|
|
|
.handleAction(Actions.FLIGHT_STCS_SEARCH.success, (state, action) => |
|
|
|
.handleAction(Actions.FLIGHT_STCS_SEARCH.success, (state, action) => |
|
|
|
produce(state, draft => { |
|
|
|
produce(state, draft => { |
|
|
@ -23,6 +22,21 @@ export const statisticsReducer = createReducer< |
|
|
|
}) |
|
|
|
}) |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 비정상상황 통계 (비행경로이탈, 비정상고도, 충돌위험)
|
|
|
|
|
|
|
|
.handleAction(Actions.ABNORMAL_STCS.success, (state, action) => |
|
|
|
|
|
|
|
produce(state, draft => { |
|
|
|
|
|
|
|
const data = action.payload; |
|
|
|
|
|
|
|
draft.abnormal = data || state.abnormal; |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
// 비정상상황 통계 카테고리별 검색
|
|
|
|
|
|
|
|
.handleAction(Actions.ABNORMAL_STCS_SEARCH.success, (state, action) => |
|
|
|
|
|
|
|
produce(state, draft => { |
|
|
|
|
|
|
|
const data = action.payload; |
|
|
|
|
|
|
|
draft.abnormalSearch = data || state.abnormalSearch; |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
// 비행 실적 통계 (비행실적, 비행계획, 비행승인)
|
|
|
|
// 비행 실적 통계 (비행실적, 비행계획, 비행승인)
|
|
|
|
.handleAction(Actions.RESULT_STCS.success, (state, action) => |
|
|
|
.handleAction(Actions.RESULT_STCS.success, (state, action) => |
|
|
|
produce(state, draft => { |
|
|
|
produce(state, draft => { |
|
|
@ -30,7 +44,6 @@ export const statisticsReducer = createReducer< |
|
|
|
draft.result = data || state.result; |
|
|
|
draft.result = data || state.result; |
|
|
|
}) |
|
|
|
}) |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
// 비행 실적 통계 카테고리별 검색
|
|
|
|
// 비행 실적 통계 카테고리별 검색
|
|
|
|
.handleAction(Actions.RESULT_STCS_SEARCH.success, (state, action) => |
|
|
|
.handleAction(Actions.RESULT_STCS_SEARCH.success, (state, action) => |
|
|
|
produce(state, draft => { |
|
|
|
produce(state, draft => { |
|
|
|