/* ºÐ¸¸ÀåºÎ(SMMNN00800_ºÐ¸¸ÀåºÎ.xrw - JScript ) - Version : 1) : Ver.1.00.01 */ var xPartRtnListPath = "/root/main/womanlist/womanlist"; /** * @group : * @ver : 2007.06.15 * @by : ÃÖ°æ¿ë * @--------------------------------------------------- * @type : function * @access : public * @desc : ÃʱâÈ­ ÀÛ¾÷À» ÇÕ´Ï´Ù. * @param : * @param : * @return : * @--------------------------------------------------- */ function fInitialize(){ model.setValue("/root/main/cond/bthddfromdd", getCurrentDate().substr(0,6) + "01"); model.setValue("/root/main/cond/bthddtodd", getCurrentDate()); fSearchClick(); model.refresh(); } /** * @group : * @ver : 2007.06.15 * @by : ÃÖ°æ¿ë * @--------------------------------------------------- * @type : function * @access : public * @desc : »ç¿ëÀÚ ¸®½ºÆ® Á¶È¸ * @param : * @param : * @return : * @--------------------------------------------------- */ function fSearchClick(){ model.copyNode("/root/send/reqdata", "/root/main/cond"); submit("TRMNN00801"); } /** * @group : * @ver : 2007.07.09 * @by : ÃÖ°æ¿ë * @--------------------------------------------------- * @type : function * @access : public * @desc : ºÐ¸¸½Ç ȯÀÚ Á¤º¸ ´õºíŬ¸¯½Ã * @param : * @param : * @return : * @--------------------------------------------------- */ function fGridDbClick(row){ if( grd_wardpatlist.row > 1 ) { condparam = "I" + "¢Ë" + model.getValue(xPartRtnListPath + "[" + row + "]/pid") + "¢Ë" + model.getValue(xPartRtnListPath + "[" + row + "]/indd") + "¢Ë" + model.getValue(xPartRtnListPath + "[" + row + "]/cretno") + "¢Ë" + model.getValue(xPartRtnListPath + "[" + row + "]/seqno") + "¢Ë" + model.getValue(xPartRtnListPath + "[" + row + "]/instcd"); setParameter("condparam", condparam); modal("SPMMO08900", "1", "450", "400"); } var pid = setParameter("pid",model.getValue("/root/main/partrtn/partrtnlist[" + row + "]/pid")); var patnm = setParameter("patnm",model.getValue("/root/main/partrtn/partrtnlist[" + row + "]/patnm")); modal("SMMNN00700"); } function fSaveExcel(grd){ file = window.fileDialog("save","","true","","xls","All Files (*.*)|*.*|Excel Files(*.xls)|*.xls"); if(file != "") { grd.saveExcel(file); } } /** * @group : * @ver : 2007.06.23 * @by : ÃÖ°æ¿ë * @--------------------------------------------------- * @type : function * @access : public * @desc : ExcelÆÄÀÏ·Î ÀúÀå * @param : grid ¸í * @param : * @return : * @--------------------------------------------------- */ function fSaveExcel(){ file = window.fileDialog("save","","true","","xls","All Files (*.*)|*.*|Excel Files(*.xls)|*.xls"); if(file != "") { grd_wardpatlist.saveExcel(file); } } /** * @group : * @ver : 2007.06.23 * @by : ÃÖ°æ¿ë * @--------------------------------------------------- * @type : function * @access : public * @desc : ºÐ¸¸ÀåºÎ Ãâ·Â * @param : grid ¸í * @param : * @return : * @--------------------------------------------------- */ function fClickPrint(){ model.removenode("/root/send/printdata"); //send À籸¼º model.makeValue("/root/send/printdata/",""); model.copynode("/root/send/printdata", "/root/main"); exeReportPreview("RPMNN00801", "XMLSTR"); }