/* Àç¿øÁßÀÎ ¾Ï»óº´ ȯÀÚ Á¶È¸(SMMNH05000.xfm - JScript ) - Version : 1) : Ver.1.00.01 */ function fInit(){ model.setValue("/root/cond/dd", getCurrentDate()); model.removenode("/root/send"); model.makeValue("/root/send/dd", getCurrentDate()); //º´µ¿ ¹× Áø·á°ú Á¶È¸ if(submit("TRMNH05001")){ }else{ model.alert("º´µ¿ ¹× Áø·á°ú Á¶È¸ µµÁß ¼­¹ö¿À·ù°¡ ¹ß»ýµÇ¾ú½À´Ï´Ù."); return false; } model.refresh(); } /** * @group : * @ver : 2009-06-16 ¿ÀÈÄ 8:26:46 * @by : ±èŹü * @--------------------------------------------------- * @type : function * @access : public * @desc : ºÎ¼­ÄÚµå º¯°æ½Ã ÀÇ»ç ¸®½ºÆ® Á¶È¸ * @param : * @param : * @return : * @--------------------------------------------------- */ function fValueChangedDeptCombo(){ model.removenode("/root/send"); model.makeValue("/root/send/orddd", model.getValue("/root/cond/dd")); model.makeValue("/root/send/orddeptcd", model.getValue("/root/cond/orddeptcd")); if(submit("TRMNH05002")){ }else{ model.alert("ÁÖÄ¡ÀÇ ¹× ´ã´çÀÇ Á¶È¸ µµÁß ¼­¹ö¿À·ù°¡ ¹ß»ýµÇ¾ú½À´Ï´Ù."); return false; } } /** * @group : * @ver : 2009-06-16 ¿ÀÈÄ 8:26:46 * @by : ±èŹü * @--------------------------------------------------- * @type : function * @access : public * @desc : Àç¿øÁßÀÎ ¾Ï»óº´ ȯÀÚ Á¶È¸ * @param : * @param : * @return : * @--------------------------------------------------- */ function fClickSearchBtn(){ model.removenode("/root/send"); model.makeValue("/root/send/dd", model.getValue("/root/cond/dd")); model.makeValue("/root/send/wardcd", model.getValue("/root/cond/wardcd")); model.makeValue("/root/send/orddeptcd", model.getValue("/root/cond/orddeptcd")); model.makeValue("/root/send/medispclid", model.getValue("/root/cond/medispclid")); model.makeValue("/root/send/atdoctid", model.getValue("/root/cond/atdoctid")); if(submit("TRMNH05003")){ }else{ model.alert("ÁÖÄ¡ÀÇ ¹× ´ã´çÀÇ Á¶È¸ µµÁß ¼­¹ö¿À·ù°¡ ¹ß»ýµÇ¾ú½À´Ï´Ù."); return false; } } function fOnClickExcelBtn(){ var fileName = window.fileDialog("save", ",", false, "¾ÏȯÀÚÀç¿øÈ¯ÀÚ¸®½ºÆ®__"+getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls"); if (fileName != "") { grd_codelist.saveExcel(fileName, "SheetName", true, true, "", "", false); } }