feat: 암석시험정보 > 일축압축에서 시험횟수 숫자 입력 시, 바로 적용되도록 개선
parent
71be5b2823
commit
4520f140c1
|
|
@ -327,7 +327,7 @@ function fn_setFile(arrayRock){
|
||||||
for(var i =0; i < arrayRock.length; i++){
|
for(var i =0; i < arrayRock.length; i++){
|
||||||
|
|
||||||
|
|
||||||
file += ' <div class="contents-title-1depth marT20"><span>일축압축시험결과 그래프를 입력하세요. (최대크기: 500KB)</span></div>';
|
file += ' <div class="contents-title-1depth marT20"><span>일축압축시험결과 그래프를 입력하세요. (최대크기: 500KB) 파일은 <span class="textR">JPEG 또는 PNG</span> 형태로 올려주셔야 합니다.</span></div>';
|
||||||
file += ' <table class="table table-file marT0" data-target="form-file">';
|
file += ' <table class="table table-file marT0" data-target="form-file">';
|
||||||
file += ' <colgroup>';
|
file += ' <colgroup>';
|
||||||
file += ' <col width="160px" />';
|
file += ' <col width="160px" />';
|
||||||
|
|
@ -882,7 +882,11 @@ function fn_openClipReport2(table,project,hole,sample,etc1,etc2,gbn){
|
||||||
|
|
||||||
<div class="table-top-control">
|
<div class="table-top-control">
|
||||||
<div class="table-info-group form-inline" data-target="grid-row-cnt">
|
<div class="table-info-group form-inline" data-target="grid-row-cnt">
|
||||||
<input type="text" name="GridRowCnt" id="GridRowCnt" value="${fn:length(arrayRock)}" maxlength="2" onkeypress="fn_gridAddEnterKey(event);return isNumberKey(event);" onChange = "fn_rowChange()" class="gg-input row-control-input">
|
<input type="text" name="GridRowCnt" id="GridRowCnt" value="${fn:length(arrayRock)}" maxlength="2" onkeypress="fn_gridAddEnterKey(event);return isNumberKey(event);" onChange = "fn_rowChange()"
|
||||||
|
onkeyup="fn_rowChange()"
|
||||||
|
onclick="this.select()"
|
||||||
|
onfocus="this.select()"
|
||||||
|
class="gg-input row-control-input">
|
||||||
<button type="button" class="btn btn-small btn-rounded5 btn-dark-gray btn-icon-single btn-icon-pm-plus" onClick="fn_add(); return false;"></button>
|
<button type="button" class="btn btn-small btn-rounded5 btn-dark-gray btn-icon-single btn-icon-pm-plus" onClick="fn_add(); return false;"></button>
|
||||||
<button type="button" class="btn btn-small btn-rounded5 btn-dark-gray btn-icon-single btn-icon-pm-minus" onClick="removeItemAt(); return false;"></button>
|
<button type="button" class="btn btn-small btn-rounded5 btn-dark-gray btn-icon-single btn-icon-pm-minus" onClick="removeItemAt(); return false;"></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -1219,7 +1223,7 @@ function fn_openClipReport2(table,project,hole,sample,etc1,etc2,gbn){
|
||||||
|
|
||||||
<div id="table_file" class="table-file">
|
<div id="table_file" class="table-file">
|
||||||
<c:forEach var="mapFile" items="${arrayRock}" varStatus="status">
|
<c:forEach var="mapFile" items="${arrayRock}" varStatus="status">
|
||||||
<div class="contents-title-1depth marT20"><span>일축압축시험결과 그래프를 입력하세요. (최대크기: 500KB)</span></div>
|
<div class="contents-title-1depth marT20"><span>일축압축시험결과 그래프를 입력하세요. (최대크기: 500KB) 파일은 <span class='textR'>JPEG 또는 PNG</span> 형태로 올려주셔야 합니다.</span></span></div>
|
||||||
<table class="table table-file marT0" data-target="form-file">
|
<table class="table table-file marT0" data-target="form-file">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col width="160px" />
|
<col width="160px" />
|
||||||
|
|
|
||||||
|
|
@ -834,11 +834,10 @@ function fn_FileAddRow(tableId, file_key, file_id, tr_id, desc){
|
||||||
//첨부파일 row 동적삭제
|
//첨부파일 row 동적삭제
|
||||||
function fn_FileRemoveRow(tableId, rowIndex, num){
|
function fn_FileRemoveRow(tableId, rowIndex, num){
|
||||||
|
|
||||||
debugger;
|
|
||||||
var objTable = document.getElementById(tableId);
|
var objTable = document.getElementById(tableId);
|
||||||
|
|
||||||
//현재 로우가 있을경우만 삭제 가능
|
//현재 로우가 있을경우만 삭제 가능
|
||||||
if(objTable.rows.length > 0){
|
if(objTable && objTable.rows && objTable.rows.length > 0){
|
||||||
for(var i=1; i<=num; i++){
|
for(var i=1; i<=num; i++){
|
||||||
objTable.deleteRow(rowIndex-i);
|
objTable.deleteRow(rowIndex-i);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue