fix:민간통역인 수정이력 리스트클릭시 해당체크박스 체크,한개만선택되게수정

TaehunPark 2022-09-16 17:01:03 +09:00
parent 9110d2164b
commit b81c6db3f3
2 changed files with 6 additions and 1 deletions

View File

@ -142,6 +142,11 @@ function valueCheck(form){
}
$(document).on('click', '.historyInfoTr', function (){
$(this).find('.hisChk').prop('checked',true)
if($(this).find('.hisChk').prop('checked')){
$('.hisChk').prop('checked',false);
$(this).find('.hisChk').prop('checked',true)
}
$.ajax({
url: '/translator/HistoryView',
data: {

View File

@ -23,7 +23,7 @@
</thead>
<tbody class="overflow-scroll">
<tr class="historyInfoTr" th:each="trInfo:${HistoryList}">
<td><input type="checkbox">
<td><input type="checkbox" class="hisChk">
<input type="hidden" class="trKey" th:value="${trInfo.translatorKey}">
<input type="hidden" class="verNo" th:value="${trInfo.versionNo}">
</td>