- 변경/해지 상태 표시 및 취소 기능 추가 - 해지 신청 사전검사 및 경고 메시지 처리 구현 - 관리자 승인 이전 허용되는 취소 정책 지원
This commit is contained in:
@@ -264,6 +264,16 @@
|
||||
|
||||
$("#clientName").text(data.clientName);
|
||||
|
||||
// 신청 사유. 해지 신청은 사유 입력이 필수이므로 "해지 사유"로 표기하고, 그 외 유형은 "신청 사유"
|
||||
if (data.requestReason) {
|
||||
$("#requestReasonLabel").text(data.requestType === 'DELETE' ? "해지 사유" : "신청 사유");
|
||||
$("#requestReason").text(data.requestReason);
|
||||
$("#requestReasonRow").show();
|
||||
} else {
|
||||
$("#requestReason").text("");
|
||||
$("#requestReasonRow").hide();
|
||||
}
|
||||
|
||||
var apiServiceHtml = "";
|
||||
for (var i = 0; i < data.apiServices.length; i++) {
|
||||
var apiService = data.apiServices[i];
|
||||
@@ -365,6 +375,10 @@
|
||||
<th style="width:20%;">이름</th>
|
||||
<td><span id="clientName"></span></td>
|
||||
</tr>
|
||||
<tr id="requestReasonRow" style="display:none;">
|
||||
<th style="width:20%;"><span id="requestReasonLabel">신청 사유</span></th>
|
||||
<td><span id="requestReason" style="white-space: pre-wrap;"></span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="title">API 목록</div>
|
||||
<table id="apisTable" class="table_row" cellspacing="0">
|
||||
|
||||
Reference in New Issue
Block a user