|
@@ -92,15 +92,30 @@
|
|
|
* 기 능: 화면 초기화(권한 및 공통코드 초기화)
|
|
|
***************************************************************************/
|
|
|
scwin.initScreen = function() {
|
|
|
-
|
|
|
- comboCommon.setCommonCode([{"code":"CO003","compID":""} //본부조회권한 예외사용자
|
|
|
- ]);
|
|
|
-
|
|
|
- udcYm.setValue(dateLib.getCurrentDate('yyyyMM'));
|
|
|
- rdoComplCd.setValue( "01" ); //진행구분
|
|
|
- scwin.getComboCcgrp(); //본부
|
|
|
- ccPop.hideComp(false,false,false,true,true,true); //현장udc
|
|
|
+ param = popupLib.getPopupParam();
|
|
|
+ var param_data = JSON.parse(strLib.serialize(param));
|
|
|
+ ccPop.hideComp(false,false,false,true,true,true); //현장udc
|
|
|
|
|
|
+ if(param_data.stdYm == undefined){
|
|
|
+ comboCommon.setCommonCode([{"code":"CO003","compID":""} //본부조회권한 예외사용자
|
|
|
+ ]);
|
|
|
+
|
|
|
+ udcYm.setValue(dateLib.getCurrentDate('yyyyMM'));
|
|
|
+ rdoComplCd.setValue( "01" ); //진행구분
|
|
|
+ scwin.getComboCcgrp(); //본부
|
|
|
+ } else {
|
|
|
+ udcYm.disableComp(true);
|
|
|
+ udcYm.setValue(param_data.stdYm);
|
|
|
+ rdoComplCd.setValue( param_data.rdoComplCd ); //진행구분
|
|
|
+ rdoComplCd.setDisabled(true);
|
|
|
+ selCcgrp.setDisabled(true);
|
|
|
+ pgtDiv.hide();
|
|
|
+ btnHelpHover.hide();
|
|
|
+ ccPop.disableComp(true,true,true,true,true,true);
|
|
|
+ dcsearchMap1.set( "ccCd" , param_data.ccCd );
|
|
|
+ dcsearchMap1.set( "ccNm" , param_data.ccNm );
|
|
|
+ scwin.grdSearch();
|
|
|
+ }
|
|
|
};
|
|
|
|
|
|
/**************************************************************************
|
|
@@ -324,7 +339,7 @@
|
|
|
<body>
|
|
|
<xf:group id="sub_contents" style="" class="sub_contents fixed_cont">
|
|
|
<xf:group style="" id="contTop" class="">
|
|
|
- <xf:group id="pgtbox" style="" class="pgtbox">
|
|
|
+ <xf:group id="pgtDiv" style="" class="pgtbox">
|
|
|
<w2:textbox id="pageTitle" class="pgt_tit" />
|
|
|
<xf:group id="" class="pgt_icobox">
|
|
|
<w2:anchor id="btnBookmark" style="" class="btn_bookmark" outerDiv="false" ev:onclick="scwin.btnBookmark_onclick">
|