/** - ¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì ÀÇ·áÁ¤º¸ - ÀÔÅð¿ø¿ä¾àÁö ( SMMMR08100_ÀÔÅð¿ø¿ä¾àÁö.xrw - JScript ) - Version : 1) : Ver.1.00.00 - Author : ÀÌȯ¼® - ¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì¢Ì **/ function fInitialize(){ var rgstfromdd = ((getCurrentDate()).toDate()).getAddDate(-7, "D"); model.setValue("/root/main/search/fromdd", rgstfromdd.getDateFormat()); model.setValue("/root/main/search/todd", getCurrentDate()); fGetDeptList(); model.refresh(); } function fPatPopUp() { if(ipt_pid.currentText.length > 0) { model.setValue("/root/temp/autoflag", "Y"); model.setValue("root/temp/srchcond", 1); } model.setValue("/root/temp/pid", model.getValue("/root/main/search/pid")); modal("SPPMC02500", 1,10, 10, "SPPMC02500", "/root/temp", "/root/send"); model.setValue("/root/main/search/pid" , model.getValue("/root/main/patinfo/patinfolist/pid")); model.setValue("/root/main/search/hngnm" , model.getValue("/root/main/patinfo/patinfolist/hngnm")); model.refresh(); } function fGetDeptList() { var instcd = getUserInfo("dutplceinstcd"); var standard_yn = "rcptuseyn"; var ord_deptflag = 'D'; var rslt_ref = "/root/init/dept"; var sort_method = "depthngnm"; sort_field = "depthngnm" var base_dd = model.getValue("/root/main/search/todd"); zsdfGetInOutOrdDeptList(instcd, rslt_ref, sort_field, sort_method, base_dd); // Áø·á°ú addComboItem("cmb_orddeptcd", "", "", "above"); } function fGetiohsHist() { model.removeNodeset("root/main/iohslist"); model.removeNodeset("/root/send/reqdata"); if(model.getValue("/root/main/search/pid") != "") { model.makeValue("/root/send/reqdata/fromdd" , ""); model.makeValue("/root/send/reqdata/todd" , ""); model.makeValue("/root/send/reqdata/pid" , model.getValue("/root/main/search/pid")); model.makeValue("/root/send/reqdata/offset", "0"); model.makeValue("/root/send/reqdata/pagesize", model.getValue("/root/main/search/pagesize")); } else { model.makeValue("/root/send/reqdata/fromdd" , model.getValue("/root/main/search/fromdd")); model.makeValue("/root/send/reqdata/todd" , model.getValue("/root/main/search/todd")); model.makeValue("/root/send/reqdata/pid" , model.getValue("/root/main/search/pid")); model.makeValue("/root/send/reqdata/orddeptcd", model.getValue("/root/main/search/orddeptcd")); model.makeValue("/root/send/reqdata/offset", "0"); model.makeValue("/root/send/reqdata/pagesize", model.getValue("/root/main/search/pagesize")); } submit("TRMMR08101"); model.refresh(); }