fix:민간통역인 수정이력 리스트클릭시 해당체크박스 체크,한개만선택되게수정
parent
9110d2164b
commit
b81c6db3f3
|
|
@ -142,6 +142,11 @@ function valueCheck(form){
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).on('click', '.historyInfoTr', function (){
|
$(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({
|
$.ajax({
|
||||||
url: '/translator/HistoryView',
|
url: '/translator/HistoryView',
|
||||||
data: {
|
data: {
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
</thead>
|
</thead>
|
||||||
<tbody class="overflow-scroll">
|
<tbody class="overflow-scroll">
|
||||||
<tr class="historyInfoTr" th:each="trInfo:${HistoryList}">
|
<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="trKey" th:value="${trInfo.translatorKey}">
|
||||||
<input type="hidden" class="verNo" th:value="${trInfo.versionNo}">
|
<input type="hidden" class="verNo" th:value="${trInfo.versionNo}">
|
||||||
</td>
|
</td>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue