/* - ¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì ¹ßÇàºÎ¼­ ( SPMMB02600_¹ßÇàºÎ¼­.xrw - JScript ) - ¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì */ var sPUBDEPTLIST_PATH = "/root/main/orddept/dept"; /** * @desc : È­¸é ÃʱâÈ­ * @ * @param : * @return : * @author : ¿ÀÁöÈÆ * @--------------------------------------------------- */ function fInitialize_SPMMB02600(){ model.removeNodeset(sPUBDEPTLIST_PATH); model.refresh(); } /** * @desc : ¹ßÇàºÎ¼­ Á¶È¸ * @ * @param : * @return : * @author : ¿ÀÁöÈÆ * @--------------------------------------------------- */ function fReqPubDeptList(){ model.removeNodeset("/root/send/reqdata"); model.makeValue("/root/send/reqdata/stnddd", getCurrentDate()); if(submit("TRMMB02601")){ var levelcol = grd_execdeptlist.colRef("depth"); var targetcol = grd_execdeptlist.colRef("outline"); setTree(grd_execdeptlist, levelcol , targetcol, true); } } /** * @desc : ¹ßÇàºÎ¼­ ¼±Åà * @ * @param : * @return : * @author : ¿ÀÁöÈÆ * @--------------------------------------------------- */ function fSelectPubDeptList(grdobj){ var currow = grdobj.row; if(currow < 1){ return; } var useyn = model.getValue(sPUBDEPTLIST_PATH + "[" + currow + "]/useyn"); if(useyn != "Y"){ //depth 1ÀÎ °ªÀ» ¼±ÅÃÇÑ °æ¿ì return; } var sTRGTNODE_PATH = opener.javascript.getParameter("SPMMB02600_trgtnode_path"); var deptcd = model.getValue(sPUBDEPTLIST_PATH + "[" + currow + "]/deptcd"); if(sTRGTNODE_PATH == ""){ opener.model.setValue("/root/issdept", deptcd); }else{ opener.model.setValue(sTRGTNODE_PATH, deptcd); } opener.model.refresh(); window.close(); }