Browse Source

eTEC E&C Standard 재업2

DESKTOP-HMLPH8S\kim 2 years ago
parent
commit
2165a70cd3

+ 3 - 12
src/main/webapp/ux/cs/cs0001/CS00010001P.xml

@@ -1124,10 +1124,7 @@
 									</xf:group>
 									</xf:group>
 									<xf:group tagname="td" style="" class="w2tb_td">
 									<xf:group tagname="td" style="" class="w2tb_td">
 										<w2:attributes></w2:attributes>
 										<w2:attributes></w2:attributes>
-										<w2:inputCalendar footerDiv="false" id="icalPeriod1" style="width: 70%;height:21px;" renderDiv="true"
-											focusOnDateSelect="false" calendarValueType="yearMonthDate" rightAlign="false" renderType="component"
-											ref="data:dcdataMap1.estaDate" ev:onviewchange="scwin.icalPeriod1_onviewchange">
-										</w2:inputCalendar>
+										<w2:udc_ymd style="" id="icalPeriod1" ref="data:dcdataMap1.estaDate" width="70%"/>
 									</xf:group>
 									</xf:group>
 								</xf:group>
 								</xf:group>
 								<xf:group tagname="tr" style="">
 								<xf:group tagname="tr" style="">
@@ -1138,10 +1135,7 @@
 										</w2:attributes>
 										</w2:attributes>
 									</xf:group>
 									</xf:group>
 									<xf:group tagname="td" style="" class="w2tb_td">
 									<xf:group tagname="td" style="" class="w2tb_td">
-										<w2:inputCalendar footerDiv="false" id="icalPeriod2" style="width: 70%;height:21px;" renderDiv="true"
-											focusOnDateSelect="false" calendarValueType="yearMonthDate" rightAlign="false" renderType="component" ref="data:dcdataMap1.canDt"
-											ev:onviewchange="scwin.icalPeriod2_onviewchange">
-										</w2:inputCalendar>
+										<w2:udc_ymd style="" id="icalPeriod2" ref="data:dcdataMap1.canDt" width="70%"/>
 									</xf:group>
 									</xf:group>
 								</xf:group>
 								</xf:group>
 								<xf:group tagname="tr" style="">
 								<xf:group tagname="tr" style="">
@@ -1152,10 +1146,7 @@
 										</w2:attributes>
 										</w2:attributes>
 									</xf:group>
 									</xf:group>
 									<xf:group tagname="td" style="" class="w2tb_td">
 									<xf:group tagname="td" style="" class="w2tb_td">
-										<w2:inputCalendar footerDiv="false" id="icalPeriod3" style="width: 70%;height:21px;" renderDiv="true"
-											focusOnDateSelect="false" calendarValueType="yearMonthDate" rightAlign="false" renderType="component"
-											ref="data:dcdataMap1.clseDt" ev:onviewchange="scwin.icalPeriod3_onviewchange">
-										</w2:inputCalendar>
+										<w2:udc_ymd style="" id="icalPeriod3" ref="data:dcdataMap1.clseDt" width="70%"/>
 									</xf:group>
 									</xf:group>
 								</xf:group>
 								</xf:group>
 							</xf:group>
 							</xf:group>

+ 3 - 12
src/main/webapp/ux/cs/cs0101/CS01010001P.xml

@@ -509,10 +509,7 @@
 						</xf:group>
 						</xf:group>
 						<xf:group tagname="td" class="w2tb_td">
 						<xf:group tagname="td" class="w2tb_td">
 							<w2:attributes></w2:attributes>
 							<w2:attributes></w2:attributes>
-							<w2:inputCalendar footerDiv="false" id="icalPeriod1" style="width: 99%;height:21px;" renderDiv="true"
-								focusOnDateSelect="false" calendarValueType="yearMonthDate" rightAlign="false" renderType="component"
-								ref="data:dcdataMap1.ptupStaDt">
-							</w2:inputCalendar>
+							<w2:udc_ymd style="" id="icalPeriod1" ref="data:dcdataMap1.ptupStaDt" width="99%"/>
 						</xf:group>
 						</xf:group>
 						<xf:group tagname="th" class="w2tb_th ast">게시&amp;nbsp;종료일
 						<xf:group tagname="th" class="w2tb_th ast">게시&amp;nbsp;종료일
 							<w2:attributes>
 							<w2:attributes>
@@ -521,10 +518,7 @@
 						</xf:group>
 						</xf:group>
 						<xf:group tagname="td" class="w2tb_td">
 						<xf:group tagname="td" class="w2tb_td">
 							<w2:attributes></w2:attributes>
 							<w2:attributes></w2:attributes>
-							<w2:inputCalendar footerDiv="false" id="icalPeriod2" style="width:90%;height:21px;" renderDiv="true"
-								focusOnDateSelect="false" calendarValueType="yearMonthDate" rightAlign="false" renderType="component"
-								ref="data:dcdataMap1.ptupEndDt">
-							</w2:inputCalendar>
+							<w2:udc_ymd style="" id="icalPeriod2" ref="data:dcdataMap1.ptupEndDt" width="90%"/>
 						</xf:group>
 						</xf:group>
 					</xf:group>
 					</xf:group>
 					<xf:group tagname="tr" style="">
 					<xf:group tagname="tr" style="">
@@ -557,10 +551,7 @@
 						</xf:group>
 						</xf:group>
 						<xf:group tagname="td" class="w2tb_td">
 						<xf:group tagname="td" class="w2tb_td">
 							<w2:attributes></w2:attributes>
 							<w2:attributes></w2:attributes>
-							<w2:inputCalendar footerDiv="false" id="icalPeriod3" style="width:99%;height:21px;" renderDiv="true"
-								focusOnDateSelect="false" calendarValueType="yearMonthDate" rightAlign="false" renderType="component"
-								ref="data:dcdataMap1.ppupNotiEndDt">
-							</w2:inputCalendar>
+							<w2:udc_ymd style="" id="icalPeriod3" ref="data:dcdataMap1.ppupNotiEndDt" width="99%"/>
 						</xf:group>
 						</xf:group>
 						<xf:group tagname="td" class="w2tb_td">
 						<xf:group tagname="td" class="w2tb_td">
 							<w2:attributes>
 							<w2:attributes>

+ 3 - 12
src/main/webapp/ux/cs/cs0101/CS01010002P.xml

@@ -393,10 +393,7 @@
 						</xf:group>
 						</xf:group>
 						<xf:group tagname="td" class="w2tb_td">
 						<xf:group tagname="td" class="w2tb_td">
 							<w2:attributes></w2:attributes>
 							<w2:attributes></w2:attributes>
-							<w2:inputCalendar footerDiv="false" id="icalPeriod1" style="width: 99%;height:21px;" renderDiv="true"
-								focusOnDateSelect="false" calendarValueType="yearMonthDate" rightAlign="false" renderType="component"
-								ref="data:dcsearchMap1.ptupStaDt">
-							</w2:inputCalendar>
+							<w2:udc_ymd style="" id="icalPeriod1" ref="data:dcsearchMap1.ptupStaDt" width="99%"/>
 						</xf:group>
 						</xf:group>
 						<xf:group tagname="th" class="w2tb_th">게시&amp;nbsp;종료일
 						<xf:group tagname="th" class="w2tb_th">게시&amp;nbsp;종료일
 							<w2:attributes>
 							<w2:attributes>
@@ -405,10 +402,7 @@
 						</xf:group>
 						</xf:group>
 						<xf:group tagname="td" class="w2tb_td">
 						<xf:group tagname="td" class="w2tb_td">
 							<w2:attributes></w2:attributes>
 							<w2:attributes></w2:attributes>
-							<w2:inputCalendar footerDiv="false" id="icalPeriod2" style="width:90%;height:21px;" renderDiv="true"
-								focusOnDateSelect="false" calendarValueType="yearMonthDate" rightAlign="false" renderType="component"
-								ref="data:dcsearchMap1.ptupEndDt">
-							</w2:inputCalendar>
+							<w2:udc_ymd style="" id="icalPeriod2" ref="data:dcsearchMap1.ptupEndDt" width="90%"/>
 						</xf:group>
 						</xf:group>
 					</xf:group>
 					</xf:group>
 					<xf:group tagname="tr" style="">
 					<xf:group tagname="tr" style="">
@@ -441,10 +435,7 @@
 						</xf:group>
 						</xf:group>
 						<xf:group tagname="td" class="w2tb_td">
 						<xf:group tagname="td" class="w2tb_td">
 							<w2:attributes></w2:attributes>
 							<w2:attributes></w2:attributes>
-							<w2:inputCalendar footerDiv="false" id="icalPeriod3" style="width:99%;height:21px;" renderDiv="true"
-								focusOnDateSelect="false" calendarValueType="yearMonthDate" rightAlign="false" renderType="component"
-								ref="data:dcsearchMap1.ppupNotiEndDt">
-							</w2:inputCalendar>
+							<w2:udc_ymd style="" id="icalPeriod3" ref="data:dcsearchMap1.ppupNotiEndDt" width="99%"/>
 						</xf:group>
 						</xf:group>
 						<xf:group tagname="td" class="w2tb_td">
 						<xf:group tagname="td" class="w2tb_td">
 							<w2:attributes>
 							<w2:attributes>

+ 16 - 13
src/main/webapp/ux/cs/cs0401/CS04010001U.xml

@@ -32,7 +32,7 @@
 						<w2:key id="apicEmpno" name="" dataType="text"></w2:key>
 						<w2:key id="apicEmpno" name="" dataType="text"></w2:key>
 					</w2:keyInfo>
 					</w2:keyInfo>
 				</w2:dataMap>
 				</w2:dataMap>
-				<w2:dataMap baseNode="map" id="dcsearchMapComm">
+				<w2:dataMap baseNode="map" id="dcsearchMapComm" ev:onmodelchange="scwin.dcsearchMapComm_onmodelchange">
 					<w2:keyInfo>
 					<w2:keyInfo>
 						<w2:key id="cmpnCd" name="" dataType="text"></w2:key>
 						<w2:key id="cmpnCd" name="" dataType="text"></w2:key>
 						<w2:key id="workMonth1" name="" dataType="text"></w2:key>
 						<w2:key id="workMonth1" name="" dataType="text"></w2:key>
@@ -126,6 +126,7 @@
     	var year = WebSquare.date.getCurrentServerDate("yyyy");
     	var year = WebSquare.date.getCurrentServerDate("yyyy");
     	var month = WebSquare.date.getCurrentServerDate("MM");
     	var month = WebSquare.date.getCurrentServerDate("MM");
     	var from = WebSquare.date.getFormattedDate(new Date(year, month-1), "yyyyMM");
     	var from = WebSquare.date.getFormattedDate(new Date(year, month-1), "yyyyMM");
+    	
     	input1.setValue(from);
     	input1.setValue(from);
 
 
         scwin.grdSearchComm();
         scwin.grdSearchComm();
@@ -416,16 +417,13 @@
 
 
 	
 	
 	/***************************************************************************
 	/***************************************************************************
-     * 함 수 명: scwin.input1_onviewchange
+     * 함 수 명: scwin.dcsearchMapComm_onmodelchange
      * 기    능: 날짜변경
      * 기    능: 날짜변경
      ***************************************************************************/
      ***************************************************************************/
-	scwin.input1_onviewchange = function(info) {
-		dcsearchMapComm.set( "cmpnCd"    ,  scwin.cmpnCd );
-    	dcsearchMapComm.set( "workMonth1" , info.newValue);
-    	dcsearchMapComm.set( "workMonth2" , (info.newValue.substr(0,4) - 1) + "1231");
+ 	scwin.dcsearchMapComm_onmodelchange = function(info) {
 		scwin.grdSearchComm();
 		scwin.grdSearchComm();
 	};
 	};
-	
+
 	/***************************************************************************
 	/***************************************************************************
      * 함 수 명: scwin.inputWeek1_onviewchange
      * 함 수 명: scwin.inputWeek1_onviewchange
      * 기    능: Map rowStatus 변경
      * 기    능: Map rowStatus 변경
@@ -461,6 +459,10 @@
 			dcsearchMapWeek.set( "rowStatus" , "U" );
 			dcsearchMapWeek.set( "rowStatus" , "U" );
 		}
 		}
 	};
 	};
+	
+	
+	
+	
 	]]></script>
 	]]></script>
 	</head>
 	</head>
 	<body>
 	<body>
@@ -500,7 +502,8 @@
 						<xf:group tagname="caption"></xf:group>
 						<xf:group tagname="caption"></xf:group>
 						<xf:group tagname="colgroup">
 						<xf:group tagname="colgroup">
 							<xf:group style="width:10%;" tagname="col"></xf:group>
 							<xf:group style="width:10%;" tagname="col"></xf:group>
-							<xf:group style="width:35%;" tagname="col"></xf:group>
+							<xf:group style="width:10%;" tagname="col"></xf:group>
+							<xf:group style="width:25%;" tagname="col"></xf:group>
 							<xf:group style="width:10%;" tagname="col"></xf:group>
 							<xf:group style="width:10%;" tagname="col"></xf:group>
 							<xf:group style="width:45%;" tagname="col"></xf:group>
 							<xf:group style="width:45%;" tagname="col"></xf:group>
 						</xf:group>
 						</xf:group>
@@ -516,10 +519,10 @@
 									<w2:colspan></w2:colspan>
 									<w2:colspan></w2:colspan>
 									<w2:rowspan></w2:rowspan>
 									<w2:rowspan></w2:rowspan>
 								</w2:attributes>
 								</w2:attributes>
-								<w2:inputCalendar footerDiv="false" id="input1" style="width: 30%;height: 21px;" renderDiv="true"
-									focusOnDateSelect="false" calendarValueType="yearMonth" rightAlign="false" renderType="component" ev:onviewchange="scwin.input1_onviewchange">
-								</w2:inputCalendar>
-								<xf:select1 id="sel1" chooseOption="" style="width: 65%;height: 21px;" submenuSize="auto" allOption=""
+								<w2:udc_ym style="" id="input1" ref="data:dcsearchMapComm.workMonth1" width="100%"/>
+							</xf:group>		
+							<xf:group class="w2tb_td" style="" tagname="td">
+								<xf:select1 id="sel1" chooseOption="" style="width: 85%;height: 21px;" submenuSize="auto" allOption=""
 									disabled="false" direction="auto" appearance="minimal" disabledClass="w2selectbox_disabled" ref="" ev:onviewchange="scwin.sel1_onviewchange">
 									disabled="false" direction="auto" appearance="minimal" disabledClass="w2selectbox_disabled" ref="" ev:onviewchange="scwin.sel1_onviewchange">
 									<xf:choices>
 									<xf:choices>
 										<xf:itemset nodeset="data:dcdataListComm">
 										<xf:itemset nodeset="data:dcdataListComm">
@@ -528,7 +531,7 @@
 										</xf:itemset>
 										</xf:itemset>
 									</xf:choices>
 									</xf:choices>
 								</xf:select1>
 								</xf:select1>
-							</xf:group>					
+							</xf:group>			
 							<xf:group class="w2tb_th" style="" tagname="th">작성자<w2:attributes>
 							<xf:group class="w2tb_th" style="" tagname="th">작성자<w2:attributes>
 									<w2:scope>row</w2:scope>
 									<w2:scope>row</w2:scope>
 								</w2:attributes></xf:group>
 								</w2:attributes></xf:group>

+ 6 - 12
src/main/webapp/ux/cs/cs0402/CS04020001U.xml

@@ -39,7 +39,7 @@
 					</w2:columnInfo>
 					</w2:columnInfo>
 					<w2:data use="true"></w2:data>
 					<w2:data use="true"></w2:data>
 				</w2:dataList>
 				</w2:dataList>
-				<w2:dataMap baseNode="map" id="dcsearchMap1">
+				<w2:dataMap baseNode="map" id="dcsearchMap1" ev:onmodelchange="scwin.dcsearchMap1_onmodelchange">
 					<w2:keyInfo>
 					<w2:keyInfo>
 						<w2:key id="cmpnCd" name="" dataType="text"></w2:key>
 						<w2:key id="cmpnCd" name="" dataType="text"></w2:key>
 						<w2:key id="workMonth1" name="" dataType="text"></w2:key>
 						<w2:key id="workMonth1" name="" dataType="text"></w2:key>
@@ -372,18 +372,14 @@
 	       	}
 	       	}
 		}
 		}
 	};
 	};
-	
+
 	/***************************************************************************
 	/***************************************************************************
-     * 함 수 명: scwin.input1_onviewchange
+     * 함 수 명: scwin.dcsearchMap1_onmodelchange
      * 기    능: 날짜변경
      * 기    능: 날짜변경
      ***************************************************************************/
      ***************************************************************************/
-	scwin.input1_onviewchange = function(info) {
+	scwin.dcsearchMap1_onmodelchange = function(info) {
 		
 		
-		dcsearchMap1.set( "cmpnCd" 		 , scwin.cmpnCd );
-        dcsearchMap1.set( "workMonth1"   , info.newValue);
-        dcsearchMap1.set( "workMonth2"   , (info.newValue.substr(0,4) - 1) + "1231");
-       
-        dcsearchMapWeek.setEmptyValue();
+		dcsearchMapWeek.setEmptyValue();
  		dcdataListWeek1.removeAll();
  		dcdataListWeek1.removeAll();
  		dcdataListWeek2.removeAll();
  		dcdataListWeek2.removeAll();
   		span.setValue( "" );
   		span.setValue( "" );
@@ -429,9 +425,7 @@
 								</w2:attributes>
 								</w2:attributes>
 							</xf:group>
 							</xf:group>
 							<xf:group tagname="td" style="" class="w2tb_td">
 							<xf:group tagname="td" style="" class="w2tb_td">
-								<w2:inputCalendar footerDiv="false" id="input1" style="width: 11.7%;height:21px;" renderDiv="true"
-									focusOnDateSelect="false" calendarValueType="yearMonth" rightAlign="false" renderType="component" ev:onviewchange="scwin.input1_onviewchange">
-								</w2:inputCalendar>
+								<w2:udc_ym style="" id="input1" ref="data:dcsearchMap1.workMonth1" width="11.7%"/>
 							</xf:group>
 							</xf:group>
 						</xf:group>
 						</xf:group>
 					</xf:group>
 					</xf:group>

+ 26 - 29
src/main/webapp/ux/cs/cs0403/CS04030001U.xml

@@ -73,7 +73,7 @@
 						<w2:key id="workBasedate" name="" dataType="text"></w2:key>
 						<w2:key id="workBasedate" name="" dataType="text"></w2:key>
 					</w2:keyInfo>
 					</w2:keyInfo>
 				</w2:dataMap>
 				</w2:dataMap>
-				<w2:dataMap baseNode="map" id="dcsearchMapComm">
+				<w2:dataMap baseNode="map" id="dcsearchMapComm" ev:onmodelchange="scwin.dcsearchMapComm_onmodelchange">
 					<w2:keyInfo>
 					<w2:keyInfo>
 						<w2:key id="cmpnCd" name="" dataType="text"></w2:key>
 						<w2:key id="cmpnCd" name="" dataType="text"></w2:key>
 						<w2:key id="workMonth1" name="" dataType="text"></w2:key>
 						<w2:key id="workMonth1" name="" dataType="text"></w2:key>
@@ -379,28 +379,6 @@
 		}
 		}
 	};
 	};
 	
 	
-	/***************************************************************************
-     * 함 수 명: scwin.input1_onviewchange
-     * 기    능: 날짜변경
-     ***************************************************************************/
-	scwin.input1_onviewchange = function(info) {
-		
-		if(info.newValue == ""){
-			radio1.setValue( "" );
-			radio1.removeAll();
-			commLib.getAlert("기준일자를 선택하십시오.","데이터확인","V");
-    		return;
-		}else if(info.newValue != ""){
-			dcsearchMapComm.set( "cmpnCd"    ,  scwin.cmpnCd );
-    		dcsearchMapComm.set( "workMonth1" , info.newValue);
-    		dcsearchMapComm.set( "workMonth2" , (info.newValue.substr(0,4) - 1) + "1231");
-    		
-    		scwin.grdSearchComm();
-    		radio1.setValue( dcdataListComm.getCellData( 0 , "codeValue" ) );
-    		scwin.grdSearch();
-		}		
-	};
-	
 	/***************************************************************************
 	/***************************************************************************
      * 함 수 명: scwin.grdData1_oneditkeyup
      * 함 수 명: scwin.grdData1_oneditkeyup
      * 기    능: 그리드 ENTERKEY
      * 기    능: 그리드 ENTERKEY
@@ -459,6 +437,25 @@
     
     
     	scwin.grdSearch();
     	scwin.grdSearch();
 	};
 	};
+	
+	/***************************************************************************
+     * 함 수 명: scwin.dcsearchMapComm_onmodelchange
+     * 기    능: 날짜 변경
+     ***************************************************************************/
+	scwin.dcsearchMapComm_onmodelchange = function(info) {
+	
+		if(info.newValue == ""){
+			radio1.setValue( "" );
+			radio1.removeAll();
+			commLib.getAlert("기준일자를 선택하십시오.","데이터확인","V");
+    		return;
+    		
+		}else if(info.newValue != ""){
+			scwin.grdSearchComm();
+   			radio1.setValue( dcdataListComm.getCellData( 0 , "codeValue" ) );
+   			scwin.grdSearch();
+		}	
+	};
 	]]></script>
 	]]></script>
 	</head>
 	</head>
 	<body>
 	<body>
@@ -498,7 +495,8 @@
 						<xf:group tagname="caption"></xf:group>
 						<xf:group tagname="caption"></xf:group>
 						<xf:group tagname="colgroup">
 						<xf:group tagname="colgroup">
 							<xf:group tagname="col" style="width:10%;"></xf:group>
 							<xf:group tagname="col" style="width:10%;"></xf:group>
-							<xf:group tagname="col" style="width:90%;"></xf:group>
+							<xf:group tagname="col" style="width:12%;"></xf:group>
+							<xf:group tagname="col" style="width:78%;"></xf:group>
 						</xf:group>
 						</xf:group>
 						<xf:group tagname="tr" style="">
 						<xf:group tagname="tr" style="">
 							<xf:group tagname="th" style="" class="w2tb_th">
 							<xf:group tagname="th" style="" class="w2tb_th">
@@ -508,11 +506,10 @@
 								</w2:attributes>
 								</w2:attributes>
 							</xf:group>
 							</xf:group>
 							<xf:group tagname="td" style="" class="w2tb_td">
 							<xf:group tagname="td" style="" class="w2tb_td">
-								<w2:inputCalendar footerDiv="false" id="input1" style="width: 11.7%;height:21px;" renderDiv="true"
-									focusOnDateSelect="false" calendarValueType="yearMonth" rightAlign="false" renderType="component"
-									ev:onviewchange="scwin.input1_onviewchange">
-								</w2:inputCalendar>
-								<xf:select1 id="radio1" selectedIndex="-1" appearance="full" style="width: 40%;height: 21px;" cols="" rows="1" ref=""
+								<w2:udc_ym style="" id="input1" ref="data:dcsearchMapComm.workMonth1" width="100%"/>
+							</xf:group>
+							<xf:group tagname="td" style="" class="w2tb_td">
+								<xf:select1 id="radio1" selectedIndex="-1" appearance="full" style="width: 50%;height: 21px;" cols="" rows="1" ref=""
 									ev:onviewchange="scwin.radio1_onviewchange">
 									ev:onviewchange="scwin.radio1_onviewchange">
 									<xf:choices>
 									<xf:choices>
 										<xf:itemset nodeset="data:dcdataListComm">
 										<xf:itemset nodeset="data:dcdataListComm">

+ 29 - 7
src/main/webapp/ux/cw/cw0901/CW09010001U.xml

@@ -58,7 +58,7 @@
 						<w2:key id="workBasedateFrom" name="" dataType="text"></w2:key>
 						<w2:key id="workBasedateFrom" name="" dataType="text"></w2:key>
 					</w2:keyInfo>
 					</w2:keyInfo>
 				</w2:dataMap>
 				</w2:dataMap>
-				<w2:dataMap baseNode="map" id="dcsearchMapComm">
+				<w2:dataMap baseNode="map" id="dcsearchMapComm" ev:onmodelchange="scwin.dcsearchMapComm_onmodelchange">
 					<w2:keyInfo>
 					<w2:keyInfo>
 						<w2:key id="cmpnCd" name="" dataType="text"></w2:key>
 						<w2:key id="cmpnCd" name="" dataType="text"></w2:key>
 						<w2:key id="workMonth1" name="" dataType="text"></w2:key>
 						<w2:key id="workMonth1" name="" dataType="text"></w2:key>
@@ -121,6 +121,9 @@
     	scwin.grdSearchComm();
     	scwin.grdSearchComm();
     	radio1.setValue( dcdataListComm.getCellData( 0 , "codeValue" ) );
     	radio1.setValue( dcdataListComm.getCellData( 0 , "codeValue" ) );
     	
     	
+    	inputDeptCd.setValue( scwin.user.deptCd );
+    	inputDeptNm.setValue( scwin.user.deptNm );
+    	
     	if(inputDeptCd.getValue() == ""){
     	if(inputDeptCd.getValue() == ""){
     		commLib.getAlert("소속 부서를 선택하십시오.","데이터확인","V");
     		commLib.getAlert("소속 부서를 선택하십시오.","데이터확인","V");
     		return;
     		return;
@@ -660,6 +663,25 @@
    		scwin.grdSearchFile();
    		scwin.grdSearchFile();
 		
 		
 	};
 	};
+	
+	/***************************************************************************
+     * 함 수 명: scwin.dcsearchMapComm_onmodelchange
+     * 기    능: 날짜 변경
+     ***************************************************************************/
+	scwin.dcsearchMapComm_onmodelchange = function(info) {
+	
+		if(info.newValue == ""){
+			radio1.setValue( "" );
+			radio1.removeAll();
+			commLib.getAlert("기준일자를 선택하십시오.","데이터확인","V");
+    		return;
+		}else if(info.newValue != ""){
+    		scwin.grdSearchComm();
+    		radio1.setValue( dcdataListComm.getCellData( 0 , "codeValue" ) );
+    		scwin.grdSearch();
+   			scwin.grdSearchFile();
+		}	
+	};
 	]]></script>
 	]]></script>
 	</head>
 	</head>
 	<body>
 	<body>
@@ -700,7 +722,8 @@
 							<xf:group tagname="col" style="width:10%;" />
 							<xf:group tagname="col" style="width:10%;" />
 							<xf:group tagname="col" style="width:30%;" />
 							<xf:group tagname="col" style="width:30%;" />
 							<xf:group tagname="col" style="width:10%;" />
 							<xf:group tagname="col" style="width:10%;" />
-							<xf:group tagname="col" style="width:50%;" />
+							<xf:group tagname="col" style="width:10%;" />
+							<xf:group tagname="col" style="width:40%;" />
 						</xf:group>
 						</xf:group>
 						<xf:group tagname="tr" style="">
 						<xf:group tagname="tr" style="">
 							<xf:group tagname="th" class="w2tb_th ast">소속</xf:group>
 							<xf:group tagname="th" class="w2tb_th ast">소속</xf:group>
@@ -714,11 +737,10 @@
 							</xf:group>
 							</xf:group>
 							<xf:group tagname="th" class="w2tb_th ast">기준일자</xf:group>
 							<xf:group tagname="th" class="w2tb_th ast">기준일자</xf:group>
 							<xf:group tagname="td" style="" class="w2tb_td">
 							<xf:group tagname="td" style="" class="w2tb_td">
-								<w2:inputCalendar footerDiv="false" id="input2" style="width: 25%;height: 21px;" renderDiv="true"
-									focusOnDateSelect="false" calendarValueType="yearMonth" rightAlign="false" renderType="component"
-									ev:onviewchange="scwin.input1_onviewchange">
-								</w2:inputCalendar>
-								<xf:select1 id="radio1" selectedIndex="-1" appearance="full" style="width: 65%;height: 21px;" cols="" rows="1" ref=""
+								<w2:udc_ym style="" id="input2" ref="data:dcsearchMapComm.workMonth1" width="100%"/>
+							</xf:group>
+							<xf:group tagname="td" style="" class="w2tb_td">
+								<xf:select1 id="radio1" selectedIndex="-1" appearance="full" style="width: 75%;height: 21px;" cols="" rows="1" ref=""
 									ev:onviewchange="scwin.radio1_onviewchange">
 									ev:onviewchange="scwin.radio1_onviewchange">
 									<xf:choices>
 									<xf:choices>
 										<xf:itemset nodeset="data:dcdataListComm">
 										<xf:itemset nodeset="data:dcdataListComm">

+ 5 - 11
src/main/webapp/ux/cw/cw0902/CW09020001U.xml

@@ -39,7 +39,7 @@
 					</w2:columnInfo>
 					</w2:columnInfo>
 					<w2:data use="true"></w2:data>
 					<w2:data use="true"></w2:data>
 				</w2:dataList>
 				</w2:dataList>
-				<w2:dataMap baseNode="map" id="dcsearchMap1">
+				<w2:dataMap baseNode="map" id="dcsearchMap1" ev:onmodelchange="scwin.dcsearchMap1_onmodelchange">
 					<w2:keyInfo>
 					<w2:keyInfo>
 						<w2:key id="cmpnCd" name="" dataType="text"></w2:key>
 						<w2:key id="cmpnCd" name="" dataType="text"></w2:key>
 						<w2:key id="workMonth1" name="" dataType="text"></w2:key>
 						<w2:key id="workMonth1" name="" dataType="text"></w2:key>
@@ -275,15 +275,11 @@
 	};
 	};
 	
 	
 	/***************************************************************************
 	/***************************************************************************
-     * 함 수 명: scwin.input1_onviewchange
+     * 함 수 명: scwin.dcsearchMap1_onmodelchange
      * 기    능: 달력변경
      * 기    능: 달력변경
      ***************************************************************************/
      ***************************************************************************/
-	scwin.input1_onviewchange = function(info) {
-	
-		dcsearchMap1.set( "cmpnCd" 		 , scwin.cmpnCd );
-        dcsearchMap1.set( "workMonth1"   , info.newValue);
-        dcsearchMap1.set( "workMonth2"   , (info.newValue.substr(0,4) - 1) + "1231");
-        scwin.grdSearch();
+	scwin.dcsearchMap1_onmodelchange = function(info) {
+		scwin.grdSearch();
 	};
 	};
 	]]></script>
 	]]></script>
 	</head>
 	</head>
@@ -325,9 +321,7 @@
 								</w2:attributes>
 								</w2:attributes>
 							</xf:group>
 							</xf:group>
 							<xf:group tagname="td" style="" class="w2tb_td">
 							<xf:group tagname="td" style="" class="w2tb_td">
-								<w2:inputCalendar footerDiv="false" id="input1" style="width: 11.7%;height:21px;" renderDiv="true"
-									focusOnDateSelect="false" calendarValueType="yearMonth" rightAlign="false" renderType="component" ev:onviewchange="scwin.input1_onviewchange">
-								</w2:inputCalendar>
+								<w2:udc_ym style="" id="input1" ref="data:dcsearchMap1.workMonth1" width="11.7%"/>
 							</xf:group>
 							</xf:group>
 						</xf:group>
 						</xf:group>
 					</xf:group>
 					</xf:group>

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

@@ -782,13 +782,6 @@
      * 기    능: 표준문서 트리 조회
      * 기    능: 표준문서 트리 조회
      ***************************************************************************/
      ***************************************************************************/
 	scwin.treeList_onlabelclick = function(value,nodeElement,index) {
 	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_ItmlLv = parseInt(dcdataListTree.getCellData(index - 1, "itmlLv")) + 1;
 	    scwin.v_upperDocId = value;
 	    scwin.v_upperDocId = value;
@@ -799,6 +792,13 @@
 	   
 	   
 	    tabControl1.setSelectedTabIndex( 0 );
 	    tabControl1.setSelectedTabIndex( 0 );
 	    scwin.grdSearch();
 	    scwin.grdSearch();
+	    
+		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=" + "";
 	};
 	};
 	]]></script>
 	]]></script>
 	</head>
 	</head>
@@ -825,7 +825,7 @@
 					</xf:group>
 					</xf:group>
 					<xf:group class="twbox">
 					<xf:group class="twbox">
 						<w2:treeview tooltipGroupClass="false" dataType="listed" lineShow="" style="height:830px" 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 system-menu-tree" 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>
 								<w2:value ref="docId"></w2:value>
 								<w2:value ref="docId"></w2:value>