Browse Source

점수 숨김처리 및 상태에 따라 색상변경 처리

SH 1 month ago
parent
commit
85a295929a
1 changed files with 8 additions and 5 deletions
  1. 8 5
      src/main/webapp/ux/cw/cw0630/CW06300001U.xml

+ 8 - 5
src/main/webapp/ux/cw/cw0630/CW06300001U.xml

@@ -233,9 +233,12 @@
                 	var status = gStatusCd.getValue();
                 	var status = gStatusCd.getValue();
     				var evalSum = dcdataList1.getCellData( i , "evalSum" );
     				var evalSum = dcdataList1.getCellData( i , "evalSum" );
 	                
 	                
-		    		if (conf != "10") {
+		    		if (conf == "10") {
+		    			grdData1.setCellColor( i, "conf", "red" );
+		    		} else {
 		    			grdData1.setCellReadOnly(i, "sel", true);
 		    			grdData1.setCellReadOnly(i, "sel", true);
 		    			grdData1.setCellReadOnly(i, "sel2", true);
 		    			grdData1.setCellReadOnly(i, "sel2", true);
+		    			grdData1.setCellColor( i, "conf", "blue" );
 		    		}
 		    		}
                 	
                 	
 	                if(status != "110" && status != "120") {
 	                if(status != "110" && status != "120") {
@@ -377,7 +380,7 @@
 		
 		
 		rowInx = row;
 		rowInx = row;
 		
 		
-        if(colId == "evalSum") {
+        if(colId == "conf") {
         	if(gStatusCd.getValue() == "110") {
         	if(gStatusCd.getValue() == "110") {
         		        	
         		        	
 	        	var yearYy = dcdataList1.getCellData( row , "yearYy" );
 	        	var yearYy = dcdataList1.getCellData( row , "yearYy" );
@@ -535,11 +538,11 @@
 								<w2:column removeBorderStyle="false" width="70" inputType="text" id="evalEmpNo" value="평가자"
 								<w2:column removeBorderStyle="false" width="70" inputType="text" id="evalEmpNo" value="평가자"
 									blockSelect="false" displayMode="label" hidden="true">
 									blockSelect="false" displayMode="label" hidden="true">
 								</w2:column>
 								</w2:column>
-								<w2:column removeBorderStyle="false" width="80" inputType="text" id="conf" value="상태"
+								<w2:column removeBorderStyle="false" width="80" inputType="text" id="conf" value="상태"
 									blockSelect="false" displayMode="label">
 									blockSelect="false" displayMode="label">
 								</w2:column>
 								</w2:column>
-								<w2:column removeBorderStyle="false" width="100" inputType="text" id="evalSum" value="평가점수"
-									blockSelect="false" displayMode="label">
+								<w2:column removeBorderStyle="false" width="100" inputType="text" id="evalSum" value="평가점수"
+									blockSelect="false" displayMode="label" hidden="true">
 								</w2:column>
 								</w2:column>
 								<w2:column removeBorderStyle="false" width="100" inputType="text" id="itemCnt" value="문항수"
 								<w2:column removeBorderStyle="false" width="100" inputType="text" id="itemCnt" value="문항수"
 									blockSelect="false" displayMode="label" hidden="true">
 									blockSelect="false" displayMode="label" hidden="true">