/** * @--------------------------------------------------- * @desc : HWCI ºñ¿¹Ãø±âŸ ÃʱâÈ­ * @param : * @return : * @--------------------------------------------------- */ function fInitialize(){ var screenID = parent.window.javascript.getScreenID(); //alert(screenID); if(screenID == "SMMQR01100"){ grp_main.attribute("width") = "1192"; grp_hwci.attribute("width") = "1191"; line1.attribute("x2") = "1190"; line2.attribute("x2") = "1190"; line3.attribute("x2") = "1190"; line4.attribute("x2") = "1190"; line8.attribute("x2") = "1190"; tar_detlcnts.attribute("width") = "780"; btn_hist.attribute("left") = "1100"; } else if(screenID == "SMMQR02300"){ btn_patid.disabled = true; } zbcfGetCodeList(new Array("M0450", "M0498", "M0452"), new Array("/root/init/anstkindcd", "/root/init/resncd", "/root/init/cpryncd"), true); model.refresh(); } /** * @--------------------------------------------------- * @desc : HWCI ºñ¿¹Ãø»ç¸Á - ȯÀÚÁ¤º¸Á¶È¸ * @param : * @return : * @--------------------------------------------------- */ function fGetPatInfo(pid, indd, cretno, seqno, inptno){ //Á¶È¸¿¡ ÇÊ¿äÇÑ Á¶°ÇµéÀ» send¿¡º¹»ç model.setValue("/root/send/patinfo/pid", pid); model.setValue("/root/send/patinfo/indd", indd); model.setValue("/root/send/patinfo/cretno", cretno); model.setValue("/root/send/patinfo/seqno", seqno); model.setValue("/root/send/patinfo/inptno", inptno); model.setValue("/root/send/patinfo/kind", model.getValue("/root/main/cond/kind")); //±âÁ¸ µ¥ÀÌÅ͸¦ »èÁ¦ model.removenode("/root/tmp/cond/patinfO"); model.resetInstanceNode("/root/main/cond"); model.removeNodeset("/root/main/valuColleague/row"); if(inptno != ""){ //ÀÔ·ÂµÈ ³»¿ëÀ» Á¶È¸ submit("TRMQR01201"); copyNodeType("/root/main/cond", "/root/tmp/cond/patinfo", "replace"); submit("TRMQR02600"); } //´ÙÀ½Á¶È¸¸¦ À§Çؼ­ F·Î ´Ù½Ã setting model.makeValue("/root/main/cond/kind", "F"); model.refresh(); SetVisible("tar_hwcietcresnetccnts", "/root/main/cond/hwcietcresncd", "06"); } /** * @--------------------------------------------------- * @desc : HWCI ºñ¿¹Ãø»ç¸Á - ÀúÀåÀ» À§ÇØ ºÎ¸ðâÀ¸·Î Nodeº¹»ç * @param : * @return : * @--------------------------------------------------- */ function fSetDetlnfo(){ if(!isRequiredControls("opt_pid")){ return false; } copyNodeType("/root/send/recinfo", "/root/main/cond", "replace", parent); parent.model.makeValue("/root/send/recinfo/valucolleague", getGridUpdateData(grd_valu)); return true; }