260625_01_ENH: 연구, 실사 수정사항 적용 1차
This commit is contained in:
@@ -52,6 +52,15 @@ export const buildReviewPdfPreviewUrl = (
|
||||
return `/file-preview?type=pdf&src=${encodeURIComponent(src)}&title=${encodeURIComponent(title || getReviewPdfDownloadName(performanceId, reviewType))}`;
|
||||
};
|
||||
|
||||
export const buildReviewTemplatePdfPreviewUrl = (
|
||||
reviewType: number,
|
||||
classification: number,
|
||||
title?: string
|
||||
) => {
|
||||
const src = `/api/review/template/pdf/${reviewType}/${classification}?disposition=inline`;
|
||||
return `/file-preview?type=pdf&src=${encodeURIComponent(src)}&title=${encodeURIComponent(title || `review-template-${reviewType}-${classification}.pdf`)}`;
|
||||
};
|
||||
|
||||
export const buildEvidenceImageSrc = (
|
||||
performanceId: number,
|
||||
userId: string,
|
||||
|
||||
Reference in New Issue
Block a user