사용자 상태 변경

main
mjkhan21 6 months ago
parent b305bed7fd
commit f479bb8812

@ -18,7 +18,7 @@
<div> <div>
<button onclick="search${infoPrefix}s();" class="btn btn-primary">찾기</button> <button onclick="search${infoPrefix}s();" class="btn btn-primary">찾기</button>
<button onclick="${infoPrefix}Control.newInfo();" class="btn btn-primary">+ 추가</button> <button onclick="${infoPrefix}Control.newInfo();" class="btn btn-primary">+ 추가</button>
<button id="btnRemove${infoPrefix}s" onclick="remove${infoPrefix}s();" class="btn btn-primary">- 제거</button> <button onclick="remove${infoPrefix}s();" class="btn btn-primary on-select">- 제거</button>
</div> </div>
</div> </div>
<div class="table-responsive"> <div class="table-responsive">
@ -135,7 +135,7 @@ ${infoPrefix}Control.onSelectionChange = selected => {
checkbox.prop("checked", keys.includes(checkbox.val())); checkbox.prop("checked", keys.includes(checkbox.val()));
}); });
$("#btnRemove${infoPrefix}s").prop("disabled", keys.length < 1); $("button.on-select").prop("disabled", keys.length < 1);
}; };
$("#term").onEnterPress(search${infoPrefix}s); $("#term").onEnterPress(search${infoPrefix}s);

@ -185,8 +185,10 @@
<div class="row"> <div class="row">
<label class="col-sm-3 col-form-label text-sm-end" for="status">상태</label> <label class="col-sm-3 col-form-label text-sm-end" for="status">상태</label>
<div class="col-sm-9"> <div class="col-sm-9">
<input name="status" type="text" data-map="STTS" class="form-control" <select name="status" class="form-select no-bgi" data-map="STTS" title="상태" disabled>
placeholder="상태"/> <option value="A">신청</option>
<option value="P">승인</option>
</select>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save