260617_01_ENH: 배정 테스트를 위해 개발 중도 커밋

This commit is contained in:
2026-06-17 15:56:38 +09:00
parent fcb2c7a270
commit 28da30b865
61 changed files with 5136 additions and 510 deletions

View File

@@ -4,6 +4,15 @@ export type DataVerification = {
errMessage: string;
}
export type ExcelUploadResult = {
totalCount: number;
successCount: number;
failCount: number;
hasErrorFile: boolean;
errorFileName: string;
errorFileBase64: string;
}
export type RouteContext = { params: Promise<{ slug?: string[] }> };
export type PageRequest = {
@@ -25,4 +34,4 @@ export type PageResponse<T> = {
empty: boolean;
}
export type SelectedMap = Record<string, string>;
export type SelectedMap = Record<string, string>;

View File

@@ -9,6 +9,23 @@ export type UserFull = {
userDetail: Record<string, string>;
};
export type UserCompact = {
userId: string;
userCmpn: string;
userTeam: string;
userName: string;
userRole: number;
userDetail: Record<string, string>;
};
export type Code = {
codeGroup: string;
codeValue: number;
codeGroupLabel: string;
codeLabel: string;
memo: string;
};
export type PerformanceAssign = {
id: number;
performanceId: number;
@@ -18,6 +35,29 @@ export type PerformanceAssign = {
assignConfirm: boolean;
};
export type MonitoringApplyUser = {
performanceId: number;
userId: string;
user: UserCompact;
};
export type AssignUserCount = {
assignUser: string;
assignCount: number;
};
export type PerformanceApplyCount = {
performanceId: string;
applyCnt: number;
};
export type MonitoringGpsRequest = {
gpsLatitude: number;
gpsLongitude: number;
gpsAccuracyM: number;
gpsRaw: Record<string, unknown>;
};
export type PerformanceBase = {
id: number;
businessType: number;
@@ -59,6 +99,8 @@ export type PerformanceMonitoringSchedule = {
export type PerformanceMonitoringVisit = {
id: number;
performanceId: number;
regUser?: string;
regDt?: string;
monitoringVisitStatus: number;
evidenceImg: string;
gpsLatitude: number;
@@ -70,6 +112,7 @@ export type PerformanceMonitoringVisit = {
export type PerformanceReview = {
performanceId: number;
reviewType: number;
regUser?: string;
reviewStatus: number;
uploadFileName: string;
pdfConvert: boolean;

40
src/types/notification.ts Normal file
View File

@@ -0,0 +1,40 @@
export type Template = {
itrntPrjctCd: string;
tmplatTy: number;
tmplatNm: string;
tmplatTitle: string;
tmplatBody: string;
senderKey?: string;
kkoTmplatCd?: string;
nationCd?: string;
atchFl?: string;
delayTime?: number;
sendTel?: string;
sendEml?: string;
sendNm: string;
tmplatIdx: number;
};
export type SmsDestination = {
sid?: string;
destTel: string;
destNm: string;
msgParam?: Record<string, string>;
};
export type SaveTemplateRequest = Pick<Template, "tmplatIdx" | "tmplatNm" | "tmplatTitle" | "tmplatBody" | "sendTel">;
export type SendSmsBulkRequest = {
templateIdx: number;
reqstCmpn: string;
reqstUser: string;
reqstSvc: string;
destinations: SmsDestination[];
};
export type BulkSendResponse = {
bulkSendKey: string;
requestCount: number;
acceptCount: number;
failCount: number;
};