Browse Source

eTEC E&C Standard

DESKTOP-HMLPH8S\kim 2 years ago
parent
commit
a2f6e54d6b

+ 8 - 5
src/main/webapp/ux/qc/qc0102/QC01020001U.xml

@@ -846,17 +846,18 @@
 		
 		
 		scwin.grdSearchCont(docId, name);
 		scwin.grdSearchCont(docId, name);
 		
 		
+		var colCheck = grdData4.getTotalCol();
+		
 		if(dsContextList.getTotalRow() == 0){
 		if(dsContextList.getTotalRow() == 0){
 			contextGroup1.hide();
 			contextGroup1.hide();
 		}else if(dsContextList.getTotalRow() > 0){
 		}else if(dsContextList.getTotalRow() > 0){
 			
 			
-			if(info.colIndex != 1){
+			if(info.colIndex != colCheck - 1){
 				contextGroup1.show();
 				contextGroup1.show();
 				contextGroup1.setPosition( left + 700 , top + 500);
 				contextGroup1.setPosition( left + 700 , top + 500);
-			}else if(info.colIndex == 1){
+			}else if(info.colIndex == colCheck - 1){
 				contextGroup1.show();
 				contextGroup1.show();
 				contextGroup1.setPosition( left + 280 , top + 500);
 				contextGroup1.setPosition( left + 280 , top + 500);
-				//contextGroup1.setPosition( left - 460 , top + 920);
 			}
 			}
 		}
 		}
 	};
 	};
@@ -886,14 +887,16 @@
 		
 		
 		scwin.grdSearchCont(docId, name);
 		scwin.grdSearchCont(docId, name);
 		
 		
+		var colCheck = grdData5.getTotalCol();
+		
 		if(dsContextList.getTotalRow() == 0){
 		if(dsContextList.getTotalRow() == 0){
 			contextGroup1.hide();
 			contextGroup1.hide();
 		}else if(dsContextList.getTotalRow() > 0){
 		}else if(dsContextList.getTotalRow() > 0){
 		
 		
-			if(info.colIndex != 7){
+			if(info.colIndex != colCheck - 1){
 				contextGroup1.show();
 				contextGroup1.show();
 				contextGroup1.setPosition( left - 35 , top + 920);
 				contextGroup1.setPosition( left - 35 , top + 920);
-			}else if(info.colIndex == 7){
+			}else if(info.colIndex == colCheck - 1){
 				contextGroup1.show();
 				contextGroup1.show();
 				contextGroup1.setPosition( left - 460 , top + 920);
 				contextGroup1.setPosition( left - 460 , top + 920);
 			}
 			}

+ 6 - 7
src/main/webapp/ux/qc/qc0102/QC01020002U.xml

@@ -762,15 +762,10 @@
 		tab = idx;
 		tab = idx;
 		
 		
 		if(idx == "0"){
 		if(idx == "0"){
-		
-			//tabControl1.setReadOnly( true );
 			tabControl1.setSelectedTabIndex( 0 );
 			tabControl1.setSelectedTabIndex( 0 );
 	    	scwin.grdSearch();
 	    	scwin.grdSearch();
-        	//scwin.grdSearch();
         }else if(idx == "1"){
         }else if(idx == "1"){
-        	//scwin.grdSearch2();
         }else if(idx == "2"){
         }else if(idx == "2"){
-        	//scwin.grdSearch3();
         }
         }
 	};
 	};
 	
 	
@@ -787,6 +782,10 @@
 	    scwin.v_docId = dcdataListTree.getCellData(index - 1, "docId");
 	    scwin.v_docId = dcdataListTree.getCellData(index - 1, "docId");
 	    scwin.v_stndDocNm = dcdataListTree.getCellData(index - 1, "stndDocNm");
 	    scwin.v_stndDocNm = dcdataListTree.getCellData(index - 1, "stndDocNm");
 	    
 	    
+	    
+	    //
+	    
+	    
 	    tabControl1.setSelectedTabIndex( 0 );
 	    tabControl1.setSelectedTabIndex( 0 );
 	    scwin.grdSearch();
 	    scwin.grdSearch();
 	};
 	};
@@ -814,7 +813,7 @@
 						</xf:group>
 						</xf:group>
 					</xf:group>
 					</xf:group>
 					<xf:group class="twbox">
 					<xf:group class="twbox">
-						<w2:treeview tooltipGroupClass="false" dataType="listed" lineShow="" style="height:700px" id="treeList" useDrag=""
+						<w2:treeview tooltipGroupClass="false" dataType="listed" lineShow="" style="height:830px" id="treeList" useDrag=""
 							class="autoHeight" showTreeDepth="1" ev:onlabelclick="scwin.treeList_onlabelclick">
 							class="autoHeight" showTreeDepth="1" ev:onlabelclick="scwin.treeList_onlabelclick">
 							<w2:itemset nodeset="data:dcdataListTree">
 							<w2:itemset nodeset="data:dcdataListTree">
 								<w2:label ref="stndDocNm"></w2:label>
 								<w2:label ref="stndDocNm"></w2:label>
@@ -853,7 +852,7 @@
 										fixedColumnWithHidden="false" id="grdData1" ignoreCellClick="false" ignoreToggleOnDisabled="false" keyMoveEditMode="true"
 										fixedColumnWithHidden="false" id="grdData1" ignoreCellClick="false" ignoreToggleOnDisabled="false" keyMoveEditMode="true"
 										moveKeyEditMode="true" rowNumHeaderValue="No" rowNumStatusResize="true" rowNumVisible="false" rowNumWidth="35"
 										moveKeyEditMode="true" rowNumHeaderValue="No" rowNumStatusResize="true" rowNumVisible="false" rowNumWidth="35"
 										rowStatusHeaderValue="상태" rowStatusVisible="false" rowStatusWidth="35" scrollByColumn="false" scrollByColumnAdaptive="false"
 										rowStatusHeaderValue="상태" rowStatusVisible="false" rowStatusWidth="35" scrollByColumn="false" scrollByColumnAdaptive="false"
-										style="height:702px;" summaryAuto="false" useShiftKey="true" visibleRowNum="" readOnly="true" mergeCellsFixedRows=""
+										style="height:830px;" summaryAuto="false" useShiftKey="true" visibleRowNum="" readOnly="true" mergeCellsFixedRows=""
 										mergeCellsFixedCols="" mergeCells="byrestriccol">
 										mergeCellsFixedCols="" mergeCells="byrestriccol">
 										<w2:header style="" id="">
 										<w2:header style="" id="">
 											<w2:row style="" id="row1">
 											<w2:row style="" id="row1">