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