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