260812_01_ENH: 배정·진행 현황 개선 및 예약/이벤트 이력 기능 추가
- 프로젝트별 외주사·필드워커 배정 현황 및 미배정 건수 UI 추가 - 현장 면접 진행 여부와 사용자 권한에 따른 배정 탭·필터·컬럼 노출 제어 - 컨택 마지막 이벤트 일자 필터·정렬 및 결과/일자 컬럼 분리 - 컨택·면접·발송 현황의 날짜 범위 선택 optional 처리 - 진행 현황의 미배정 표시 및 일자별 미사용 결과 제외 - 전역 예약 기간 조회·이동 및 5분 단위 예약 알림 추가 - 내부 관리자용 이벤트 이력 단건 삭제 기능 추가 - 리스트 필터 UI 및 일반 헤더 정렬 기준 개선 - 프로젝트 저장 시 선택 프로젝트 정보 동기화
This commit is contained in:
@@ -46,7 +46,7 @@ export enum ListEventHistoryBase {
|
||||
LATEST = 2,
|
||||
}
|
||||
|
||||
export type FilterOperator = 'eq' | 'neq' | 'contains' | 'notContains' | 'empty' | 'notEmpty';
|
||||
export type FilterOperator = 'eq' | 'neq' | 'contains' | 'notContains' | 'empty' | 'notEmpty' | 'none';
|
||||
|
||||
export type FilterValueOption = {
|
||||
value: string;
|
||||
@@ -57,6 +57,7 @@ export type FilterHeaderOption = {
|
||||
id: number;
|
||||
label: string;
|
||||
allowedOperators: FilterOperator[];
|
||||
defaultOperator: FilterOperator;
|
||||
valueOptions?: FilterValueOption[];
|
||||
disabled?: boolean;
|
||||
};
|
||||
@@ -120,6 +121,13 @@ export type SurveyResultCondition = {
|
||||
resultCodes: number[];
|
||||
};
|
||||
|
||||
export interface LastEventDateRange {
|
||||
resultCodeType: 21 | 22 | 91;
|
||||
prjctSurveyIdx?: number | null;
|
||||
startDate?: string | null;
|
||||
endDate?: string | null;
|
||||
}
|
||||
|
||||
export type ListFilter = {
|
||||
sidSet: string[];
|
||||
listUseSet: ListIsUse[];
|
||||
@@ -128,6 +136,7 @@ export type ListFilter = {
|
||||
assignConditions: ListAssignFilterCondition[];
|
||||
resultCodeMap: Record<Exclude<ResultCodeType, ResultCodeType.SURVEY>, number[]>;
|
||||
surveyResultConditions: SurveyResultCondition[];
|
||||
lastEventDateRange?: LastEventDateRange[];
|
||||
memoConditions: ListFilterCondition[];
|
||||
otherItemConditions: ListOtherItemFilterCondition[];
|
||||
};
|
||||
@@ -160,6 +169,7 @@ export type SurveyResultSelections = Record<number, string[]>;
|
||||
export type ListSearchUiState = {
|
||||
searchText: string;
|
||||
searchContactResult: string[];
|
||||
searchContactDateRange: { from: string; to: string };
|
||||
searchInterviewResult: string[];
|
||||
surveyResultSelections: SurveyResultSelections;
|
||||
filterRows: FilterRow[];
|
||||
@@ -252,6 +262,7 @@ export type ListUpdateHistory = {
|
||||
export type ListReserve = {
|
||||
listResveIdx: number;
|
||||
prjctIdx: number;
|
||||
prjctName: string;
|
||||
sid: string;
|
||||
memo?: string;
|
||||
cnfirm: boolean;
|
||||
@@ -310,6 +321,31 @@ export type ListAssignResetRequest = {
|
||||
listFilter: ListFilter;
|
||||
};
|
||||
|
||||
export type CompanyAssignSummaryItem = {
|
||||
cmpnId: string;
|
||||
cmpnAlias: string;
|
||||
assignedCount: number;
|
||||
};
|
||||
|
||||
export type ProjectCompanyAssignSummary = {
|
||||
totalCount: number;
|
||||
unassignedCount: number;
|
||||
assignees: CompanyAssignSummaryItem[];
|
||||
};
|
||||
|
||||
export type FieldworkAssignSummaryItem = {
|
||||
userId: string;
|
||||
userName: string;
|
||||
userCmpn: string;
|
||||
assignedCount: number;
|
||||
};
|
||||
|
||||
export type ProjectFieldworkAssignSummary = {
|
||||
totalCount: number;
|
||||
unassignedCount: number;
|
||||
assignees: FieldworkAssignSummaryItem[];
|
||||
};
|
||||
|
||||
export type ListResetRequest = {
|
||||
resetMode: ListResetMode;
|
||||
listFilter: ListFilter;
|
||||
|
||||
Reference in New Issue
Block a user