12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?xml version="1.0" encoding="utf-8"?>
- <Script type ="xscript4.0"><![CDATA[/*
- - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
- 신장환자조회 ( SMMND04200_신장환자조회.xrw - JScript )
- - Version :
- 1) : Ver.1.00.01
- - Author : 최원돈
- - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
- */
- /**
- * creat : 20101012
- * author : 최원돈
- * desc : 초기화
- */
- function fInitialize(){
- //조회조건 default 세팅
- ds_main_cond.clearData();
- dsf_makeValue( ds_main_cond, "fromprcpdd", "string", utlf_getCurrentDate().toDate().getAddDate(-1, "M").getDateFormat()); //처방시작일
- dsf_makeValue( ds_main_cond, "toprcpdd", "string", utlf_getCurrentDate()); //처방종료일
- //그리드 노드 초기화
- ds_main_bdHtPatinfo.clearData();
- dsf_makeValue( ds_main, "bdHtPatinfo", "string", "" );
- //model.refresh();
- }
- /**
- * creat : 20101012
- * author : 최원돈
- * desc : 신장실 환장명단조회
- */
- function fGetBdHtPatList(){
- //조건변수
- var fromdd = ds_main_cond.getColumn(0, "fromprcpdd"); //처방시작일자
- var todd = ds_main_cond.getColumn(0, "toprcpdd"); //처방종료일자
- //null 처리
- if(fromdd == null)
- {
- fromdd = '';
- }
- if(todd == null)
- {
- todd = '';
- }
- //send parameter 설정
- ds_send.clearData();
- dsf_makeValue( ds_send, "fromprcpdd", "string", fromdd);
- dsf_makeValue( ds_send, "toprcpdd", "string", todd);
- //submit 호출
- if(!submit('TRMND04201')){
- sysf_messageBox('조회를 실패하였습니다.', 'E999');
- return;
- }
- //model.refresh();
- }
- ]]></Script>
|