1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- /*
-
- 회사 별 환자리스트(SMMND02300.xrw - JScript )
- - Version :
- 1) : Ver.1.00.01
- */
- //**전역변수**//
-
- /**
- * @group :
- * @ver : 2007.06.22
- * @by : 김진아
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 화면 초기화
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fDone(){
- //**상단정보 초기화**//
- delPatientInfos(); //화면상단정보 삭제
- setGlobalVariable("paminfo", ""); //원무정보 reset
-
- //**그리드 초기화**//
- model.removeNodeset("/root/main/cmpypatlist"); // 회사별 환자리스트
-
- // 조회일자 설정
- var sCurrentDate = getCurrentDate(); // 현재일자
- model.setValue("/root/main/condition/srchtodd", sCurrentDate);
- model.setValue("/root/main/condition/srchfromdd", sCurrentDate);
- model.refresh();
- }
- /**
- * @group :
- * @ver : 2007.06.22
- * @by : 김진아
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 회사별 환자리스트 조회
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fSrchCmpyPatList(){
- // 조회기간 체크
- if(model.getValue("/root/main/condition/srchfromdd") > model.getValue("/root/main/condition/srchtodd")) {
- messageBox("예약일자 기간이 올바르지 않습니다.", "E");
- var sCurrentDate = getCurrentDate(); // 현재일자
- model.setValue("/root/main/condition/srchfromdd", sCurrentDate);
- model.setValue("/root/main/condition/srchtodd" , sCurrentDate);
- model.refresh();
- }
- model.removenode("/root/send");
- model.makeNode("/root/send");
- model.makeValue("/root/send/reqdata/srchfromdd", model.getValue("/root/main/condition/srchfromdd"));
- model.makeValue("/root/send/reqdata/srchtodd", model.getValue("/root/main/condition/srchtodd"));
- model.removeNodeset("/root/main/cmpypatlist"); // 회사별 환자리스트 초기화
- submit("TRMND02301");
- // 회사별 환자 수 설정
- model.setValue("/root/main/countlist/totalcount" , model.getValue("/root/main/cmpypatlist/cmpypatinfo/totalcount" ));
- model.setValue("/root/main/countlist/baxtercount" , model.getValue("/root/main/cmpypatlist/cmpypatinfo/baxtercount" ));
- model.setValue("/root/main/countlist/gambrocount" , model.getValue("/root/main/cmpypatlist/cmpypatinfo/gambrocount" ));
- model.setValue("/root/main/countlist/boryungcount", model.getValue("/root/main/cmpypatlist/cmpypatinfo/boryungcount"));
- model.setValue("/root/main/countlist/fmccount" , model.getValue("/root/main/cmpypatlist/cmpypatinfo/fmccount" ));
- model.refresh();
- }
- /**
- * @group
- * @ver : 2007.09.20
- * @by : 김진아
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 출력기능
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fExecPrint(){
- model.removenode("/root/send");
- model.makeNode ("/root/send/printdata");
- model.copynode ("/root/send/printdata", "/root/main");
- exeReportPreview("RPMND02301", "XMLSTR");
- }
|