포탈 사용자 관리 페이지 수정
This commit is contained in:
@@ -122,6 +122,14 @@
|
||||
.setObj($("select[name=approvalStatus]"))
|
||||
.setData(json.approvalStatusRows).setFormat(nameOptionFormat).rendering();
|
||||
|
||||
// 신규 등록일 경우 기본값 설정
|
||||
if (!isDetail) {
|
||||
$("#userStatus").val("READY");
|
||||
$("#approvalStatus").val("COMPLETED");
|
||||
$("#accountLockYn").val("N");
|
||||
$("#roleCode").val("ROLE_USER").trigger('change');
|
||||
}
|
||||
|
||||
let key = "${param.id}";
|
||||
if (key != "" && key !== "null") {
|
||||
detail(key);
|
||||
@@ -363,10 +371,6 @@
|
||||
} else {
|
||||
$("#title").append(" 등록")
|
||||
$("#btn_modify").html('<i class="material-icons">save</i> <%= localeMessage.getString("button.register") %>');
|
||||
$("#userStatus").val("READY");
|
||||
$("#approvalStatus").val("COMPLETED");
|
||||
$("#accountLockYn").val("N");
|
||||
$("#roleCode").val("ROLE_USER").trigger('change');
|
||||
updateButtonStates(STATUS.READY, false);
|
||||
}
|
||||
|
||||
@@ -645,8 +649,8 @@
|
||||
<th><%= getRequiredLabel(localeMessage.getString("portalUser.mobileNumber")) %>
|
||||
</th>
|
||||
<td>
|
||||
<div class="input-group" style="width: 60%; display: flex; align-items: center; gap: 8px;">
|
||||
<div class="select-style" style="flex: 0 0 auto; width: 90px;">
|
||||
<div style="display: flex; align-items: center; gap: 5px; flex-wrap: nowrap; white-space: nowrap;">
|
||||
<div style="width: 80px; flex-shrink: 0;">
|
||||
<select id="mobilePrefix" style="padding-left: 10px; width: 100%;">
|
||||
<option value="010">010</option>
|
||||
<option value="011">011</option>
|
||||
@@ -655,10 +659,10 @@
|
||||
<option value="018">018</option>
|
||||
</select>
|
||||
</div>
|
||||
<span>-</span>
|
||||
<input type="text" id="mobileMiddle" maxlength="4" style="flex: 1 1 auto; min-width: 60px; text-align: center;"/>
|
||||
<span>-</span>
|
||||
<input type="text" id="mobileLast" maxlength="4" style="flex: 1 1 auto; min-width: 60px; text-align: center;"/>
|
||||
<span style="flex-shrink: 0;">-</span>
|
||||
<input type="text" id="mobileMiddle" maxlength="4" style="width: 50px; text-align: center; flex-shrink: 0;"/>
|
||||
<span style="flex-shrink: 0;">-</span>
|
||||
<input type="text" id="mobileLast" maxlength="4" style="width: 50px; text-align: center; flex-shrink: 0;"/>
|
||||
<input type="hidden" name="mobileNumber"/>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user