12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- /*
- - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
- 신장환자조회 ( SMMND04200_신장환자조회.xrw - JScript )
- - Version :
- 1) : Ver.1.00.01
- - Author : 최원돈
- - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
- */
- /**
- * creat : 20101012
- * author : 최원돈
- * desc : 초기화
- */
- function fInitialize(){
-
- //조회조건 default 세팅
- model.removenode('/root/main/cond');
- model.makeValue('/root/main/cond/fromprcpdd' , getCurrentDate().toDate().getAddDate(-1, "M").getDateFormat()); //처방시작일
- model.makeValue('/root/main/cond/toprcpdd' , getCurrentDate()); //처방종료일
-
- //그리드 노드 초기화
- model.removenode('/root/main/bdHtPatinfo');
- model.makenode('/root/main/bdHtPatinfo');
-
- model.refresh();
- }
-
-
- /**
- * creat : 20101012
- * author : 최원돈
- * desc : 신장실 환장명단조회
- */
- function fGetBdHtPatList(){
-
- //조건변수
- var fromdd = model.getValue('/root/main/cond/fromprcpdd'); //처방시작일자
- var todd = model.getValue('/root/main/cond/toprcpdd'); //처방종료일자
-
- //null 처리
- if(fromdd == null)
- {
- fromdd = '';
- }
- if(todd == null)
- {
- todd = '';
- }
- //send parameter 설정
- model.removenode('/root/send');
- model.makeValue('/root/send/fromprcpdd', fromdd);
- model.makeValue('/root/send/toprcpdd', todd);
-
- //submit 호출
- if(!submit('TRMND04201')){
- messageBox('조회를 실패하였습니다.', 'E999');
- return;
- }
-
- model.refresh();
- }
-
|