123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- /*
-
- 재원중인 암상병 환자 조회(SMMNH05000.xfm - JScript )
- - Version :
- 1) : Ver.1.00.01
- */
- function fInit(){
- model.setValue("/root/cond/dd", getCurrentDate());
- model.removenode("/root/send");
- model.makeValue("/root/send/dd", getCurrentDate());
- //병동 및 진료과 조회
- if(submit("TRMNH05001")){
-
- }else{
- model.alert("병동 및 진료과 조회 도중 서버오류가 발생되었습니다.");
- return false;
- }
- model.refresh();
- }
- /**
- * @group :
- * @ver : 2009-06-16 오후 8:26:46
- * @by : 김태범
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 부서코드 변경시 의사 리스트 조회
- * @param :
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fValueChangedDeptCombo(){
- model.removenode("/root/send");
- model.makeValue("/root/send/orddd", model.getValue("/root/cond/dd"));
- model.makeValue("/root/send/orddeptcd", model.getValue("/root/cond/orddeptcd"));
- if(submit("TRMNH05002")){
-
- }else{
- model.alert("주치의 및 담당의 조회 도중 서버오류가 발생되었습니다.");
- return false;
- }
- }
- /**
- * @group :
- * @ver : 2009-06-16 오후 8:26:46
- * @by : 김태범
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 재원중인 암상병 환자 조회
- * @param :
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fClickSearchBtn(){
- model.removenode("/root/send");
- model.makeValue("/root/send/dd", model.getValue("/root/cond/dd"));
- model.makeValue("/root/send/wardcd", model.getValue("/root/cond/wardcd"));
- model.makeValue("/root/send/orddeptcd", model.getValue("/root/cond/orddeptcd"));
- model.makeValue("/root/send/medispclid", model.getValue("/root/cond/medispclid"));
- model.makeValue("/root/send/atdoctid", model.getValue("/root/cond/atdoctid"));
- if(submit("TRMNH05003")){
-
- }else{
- model.alert("주치의 및 담당의 조회 도중 서버오류가 발생되었습니다.");
- return false;
- }
- }
-
-
- function fOnClickExcelBtn(){
- var fileName = window.fileDialog("save", ",", false, "암환자재원환자리스트__"+getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "") {
- grd_codelist.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- }
|