|
|
|
@ -256,15 +256,15 @@
|
|
|
|
|
|
|
|
|
|
<div class="area-photoinspection h-px-200">
|
|
|
|
|
선택자료
|
|
|
|
|
<strong id="curDataVhrno--${pageName}"></strong>
|
|
|
|
|
<div id="curDataFiles--${pageName}" class="ox-scroll d-flex w-100 h-px-175 bg-bordergray">
|
|
|
|
|
<strong name="curDataVhrno"></strong>
|
|
|
|
|
<div name="curDataFiles" class="ox-scroll d-flex w-100 h-px-175 bg-bordergray">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="area-photoinspection h-px-200">
|
|
|
|
|
비교자료(선택자료의 다음 자료가 보여집니다.)
|
|
|
|
|
<strong id="nextDataVhrno--${pageName}"></strong>
|
|
|
|
|
<div id="nextDataFiles--${pageName}" class="ox-scroll d-flex w-100 h-px-175 bg-bordergray">
|
|
|
|
|
<strong name="nextDataVhrno"></strong>
|
|
|
|
|
<div name="nextDataFiles" class="ox-scroll d-flex w-100 h-px-175 bg-bordergray">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -833,15 +833,15 @@ $(document).ready(function(){
|
|
|
|
|
$P.showPhoto = (dataKey, nextDataKey, curDataVhrno, nextDataVhrno) => {
|
|
|
|
|
|
|
|
|
|
if(dataKey == ""){
|
|
|
|
|
$("#curDataVhrno--${pageName}").html("");
|
|
|
|
|
$("#nextDataVhrno--${pageName}").html("");
|
|
|
|
|
$("#curDataFiles--${pageName}").html("");
|
|
|
|
|
$("#nextDataFiles--${pageName}").html("");
|
|
|
|
|
$P.$find("curDataVhrno").html("");
|
|
|
|
|
$P.$find("nextDataVhrno").html("");
|
|
|
|
|
$P.$find("curDataFiles").html("");
|
|
|
|
|
$P.$find("nextDataFiles").html("");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$("#curDataVhrno--${pageName}").html(curDataVhrno);
|
|
|
|
|
$("#nextDataVhrno--${pageName}").html(nextDataVhrno);
|
|
|
|
|
$P.$find("curDataVhrno").html(curDataVhrno);
|
|
|
|
|
$P.$find("nextDataVhrno").html(nextDataVhrno);
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
url:"file/list.do",
|
|
|
|
@ -857,16 +857,16 @@ $(document).ready(function(){
|
|
|
|
|
var currentDataFileList = fileList.filter(x => x.INF_KEY == dataKey);
|
|
|
|
|
var nextDataFileList = fileList.filter(x => x.INF_KEY == nextDataKey);
|
|
|
|
|
|
|
|
|
|
$("#curDataFiles--${pageName}").html("");
|
|
|
|
|
$("#nextDataFiles--${pageName}").html("");
|
|
|
|
|
$P.$find("curDataFiles").html("");
|
|
|
|
|
$P.$find("nextDataFiles").html("");
|
|
|
|
|
|
|
|
|
|
currentDataFileList.forEach(function(item, index, array){
|
|
|
|
|
var output = fnMakeImgTagForInspection(item.URL, item.FILE_NM,"cur"+item.FILE_ID+'${pageName}',item.MOSAIC);
|
|
|
|
|
$("#curDataFiles--${pageName}").append(output);
|
|
|
|
|
$P.$find("curDataFiles").append(output);
|
|
|
|
|
});
|
|
|
|
|
nextDataFileList.forEach(function(item, index, array){
|
|
|
|
|
var output = fnMakeImgTagForInspection(item.URL, item.FILE_NM,"next"+item.FILE_ID+'${pageName}',item.MOSAIC);
|
|
|
|
|
$("#nextDataFiles--${pageName}").append(output);
|
|
|
|
|
$P.$find("nextDataFiles").append(output);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|