Merge branch 'susu' into dev

This commit is contained in:
주수현
2025-07-11 14:57:50 +09:00
6 changed files with 45 additions and 24 deletions

View File

@@ -29,15 +29,17 @@
<tr>
<th>첨부파일<i class="ico-required-mark" role="img" aria-label="필수">*</i></th>
<td colspan="3">
<div class="btns-row align-left publicFileInputs">
<button type="button" class="btn btn-secondary" onclick="addFileInput();">
<span class="btn-txt">다건 파일 첨부</span>
</button>
<div class="input-file-group">
<label for="file" class="input-file-btn">
<input type="file" name="multipartAttachments" id="file" onchange="uiUtil.uploadFile('NOTICE', this);" >
<span class="file-txt">파일첨부</span>
</label>
<p class="desc">첨부 가능 파일 형식: 문서(pdf, docx, xlsx, pptx, hwp), 이미지(jpg, jpeg, png, gif), 기타(zip,
csv, txt) / 파일당 최대 5MB까지 등록 가능합니다.</p>
<ul class="file-list input-group" id="noticeAttachments">
</ul>
</div>
</td>
</tr>
@@ -74,8 +76,6 @@
<td></td>
<td></td>
</tr>
</tbody>
</table>
@@ -164,7 +164,8 @@
},
// validation fail
422: function (res) {
alert("error");
debugger
alert(res.responseJSON[0].defaultMessage);
// $(res.responseJSON).each((idx, oj) => {
// let target = $(f).find('[name=' + oj.field + ']');
// target.addClass('is-invalid');

View File

@@ -220,7 +220,7 @@
},
// validation fail
422: function (res) {
alert('error');
alert(res.responseJSON[0].defaultMessage);
// $(res.responseJSON).each((idx, oj) => {
// let target = $(f).find('[name=' + oj.field + ']');
// target.addClass('is-invalid');