1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- /*
-
- 분만실 처치장부(SMMNN02500_출생 100일 대상자 조회.xrw - JScript )
- - Version :
- 1) : Ver.1.00.01
- */
- var xnbabyhoundListPath = "/root/main/nbabyinfo/nbabyinfolist";
- var xPrintListPath = "/root/send/printdata/nbabyinfo/nbabyinfolist";
- /**
- * @group :
- * @ver : 2008.11.20
- * @by : 정경화
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화 작업을 합니다.
- * @param :
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fInitialize(){
- model.removenode(xnbabyhoundListPath);
- //model.setValue("/root/main/cond/fromdd", getCurrentDate().substr(0,6) + "01");
- model.setValue("/root/main/cond/fromdd", getCurrentDate());
- model.setValue("/root/main/cond/todd", getCurrentDate());
- model.refresh();
-
- fGetnbabyhoundInfo();
- }
- /**
- * @group :
- * @ver : 2008.11.20
- * @by : 정경화
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 분만실 처치장부 조회.
- * @param :
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fGetnbabyhoundInfo(){
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNN02501");
- }
- /**
- * @group :
- * @ver : 2008.11.20
- * @by : 정경화
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드 데이터 엑셀 전환
- * @param :
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fSaveExcel(){
- grd_nbabyhoundlist.gridToInstance();
- file = window.fileDialog("save","","true","","xls","All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if(file != "") {
- grd_nbabyhoundlist.saveExcel(file);
- }
- }
- /**
- * @group :
- * @ver : 2008.11.20
- * @by : 정경화
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 출생 100일대상자 출력
- * @param : grid 명
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fClickPrint(){
- grd_nbabyhoundlist.gridToInstance();
- model.removenode("/root/send/printdata");
- model.makeValue("/root/send/printdata","");
- model.copynode("/root/send/printdata", "/root/main");
-
- var nodecnt = getNodesetCount(xPrintListPath);
- if(nodecnt > 0){
- exeReportPreview("RPMNN02501", "XMLSTR");
- }else{
- messageBox("출력할 내용이","I004");
- }
- }
|