Merge branch 'dev' into susu

This commit is contained in:
주수현
2025-06-19 08:27:19 +09:00
206 changed files with 6796 additions and 1100 deletions

View File

@@ -37,6 +37,9 @@ let uiUtil = {
isoStrToReadable(isoStr) {
return isoStr.replace(/T/, ' ').substring(0, 19);
},
isoStrToDateOnly(isoStr) {
return isoStr.split('T')[0];
},
// Pagination UI 생성 함수
getPagingUI(curPageNo, size, totalPages, moveHandler) {
curPageNo = parseInt(curPageNo);
@@ -280,6 +283,8 @@ uiUtil.showFileInfo = (input, uploadFile, showImg) => {
inputGroup.find('.fileInfo').remove();
inputGroup.append(`
<div class="fileInfo row text-muted fw-normal" style="display: none">
<img src="${showImg ? uploadFile.referURL : ''}" class="w-75 mt-3 mb-3"/>
@@ -292,6 +297,7 @@ uiUtil.showFileInfo = (input, uploadFile, showImg) => {
</div>
`);
const fileInfo = inputGroup.find('.fileInfo');
if (!showImg) {
fileInfo.find('img').remove();
@@ -453,7 +459,7 @@ const showAudit = (auditItem, createdBy, createdAt, updatedBy, updatedAt) => {
})
})();
const ifNullDash = (value, fallback = '-') => {
const ifNullHyphen = (value, fallback = '-') => {
return value !== null && value !== undefined && value !== '' ? value : fallback;
}