Browse Source

eTEC E&C Standard 재업

DESKTOP-HMLPH8S\kim 2 years ago
parent
commit
2812a3dc8c
1 changed files with 16 additions and 5 deletions
  1. 16 5
      src/main/webapp/ux/qc/qc0102/QC01020002U.xml

+ 16 - 5
src/main/webapp/ux/qc/qc0102/QC01020002U.xml

@@ -762,6 +762,14 @@
 		tab = idx;
 		
 		if(idx == "0"){
+			
+			fileList2.removeAll();
+            fileList3.removeAll();
+            fileList4.removeAll();
+            document.getElementById("viewerOb1").src = "/pdfjs/web/viewer.html?file=" + "";
+            document.getElementById("viewerOb2").src = "/pdfjs/web/viewer.html?file=" + "";
+            document.getElementById("viewerOb3").src = "/pdfjs/web/viewer.html?file=" + "";
+			
 			tabControl1.setSelectedTabIndex( 0 );
 	    	scwin.grdSearch();
         }else if(idx == "1"){
@@ -774,6 +782,13 @@
      * 기    능: 표준문서 트리 조회
      ***************************************************************************/
 	scwin.treeList_onlabelclick = function(value,nodeElement,index) {
+	
+		fileList2.removeAll();
+        fileList3.removeAll();
+        fileList4.removeAll();
+        document.getElementById("viewerOb1").src = "/pdfjs/web/viewer.html?file=" + "";
+        document.getElementById("viewerOb2").src = "/pdfjs/web/viewer.html?file=" + "";
+        document.getElementById("viewerOb3").src = "/pdfjs/web/viewer.html?file=" + "";
 		
 		scwin.v_ItmlLv = parseInt(dcdataListTree.getCellData(index - 1, "itmlLv")) + 1;
 	    scwin.v_upperDocId = value;
@@ -781,11 +796,7 @@
 	    scwin.v_docYn = dcdataListTree.getCellData(index - 1, "docYn");
 	    scwin.v_docId = dcdataListTree.getCellData(index - 1, "docId");
 	    scwin.v_stndDocNm = dcdataListTree.getCellData(index - 1, "stndDocNm");
-	    
-	    
-	    //
-	    
-	    
+	   
 	    tabControl1.setSelectedTabIndex( 0 );
 	    scwin.grdSearch();
 	};