123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- /*
-
- (SMMNR07600_혈액미불출리스트조회.xrw - JScript )
- - Version :
- 1) : Ver.1.00.01
- */
- /**
- * @group :
- * @ver : 2007.06.18
- * @by : 정찬성
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 혈액미불출 리스트 조회
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fGetBlodNoDeliveList(){
- if(radio1.value == "patient") {
- if (input3.value == ""){
- messageBox("등록번호를 ","C001");
- model.setfocus("input3");
- return;
- }
- }
- model.removenode("/root/send");
- model.makeValue("/root/send/prcpddfrom", input2.value);
- model.makeValue("/root/send/prcpddto", input11.value);
- model.makeValue("/root/send/wardcd", combo7.value);
- model.makeValue("/root/send/roomcd", combo2.value);
- model.makeValue("/root/send/hngnm", combo8.value);
- model.makeValue("/root/send/pid", input3.value);
- model.makeValue("/root/send/dateflag", combo1.value);
- model.makeValue("/root/send/wardpatientflag", radio1.value);
- model.makeValue("/root/send/deliveflag", radio2.value);
- if(submit("TRMNR07606")){
- }
- }
-
- /**
- * @group :
- * @ver : 2007.06.18
- * @by : 정찬성
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 환자 상세정보 조회 combo
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fGetPatientInfo(pFlag){
- model.removenode("/root/send");
- if(pFlag == "entr"){
- combo7.value = "";
- combo2.value = "";
- combo8.value = "";
- model.makeValue("/root/send/pid", input3.value);
- }else{
- model.makeValue("/root/send/wardcd", combo7.value);
- model.makeValue("/root/send/roomcd", combo2.value);
- if( model.makeValue("/root/send/pid", combo8.value) != "" ){
- model.makeValue("/root/send/pid", combo8.value);
- }
- }
- if(submit("TRMNR07605")){
- if(pFlag == "entr"){
- model.setValue("/root/main/cond/patientgrup/patientgruplist/patientnm", model.getValue("/root/main/cond/patientgrupInfo/patientgruplistInfo/patientnm"));
- model.setValue("/root/main/cond/patientgrup/patientgruplist/pid", model.getValue("/root/main/cond/patientgrupInfo/patientgruplistInfo/pid"));
- }
- }
- model.setfocus("button3");
- }
- /**
- * @group :
- * @ver : 2007.06.18
- * @by : 정찬성
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 환자 정보 조회 combo
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fGetPatientList(){
- model.removenode("/root/send");
- model.makeValue("/root/send/wardcd", combo7.value);
- model.makeValue("/root/send/roomcd", combo2.value);
- if(submit("TRMNR07604")){
- }
- model.setfocus("combo8");
- }
- /**
- * @group :
- * @ver : 2007.06.18
- * @by : 정찬성
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 병실 조회 combo
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fGetRoomList(){
- model.removenode("/root/send");
-
- model.makeValue("/root/send/wardcd", combo7.value);
- if(submit("TRMNR07603")){
- }
- model.setfocus("combo2");
- }
- /**
- * @group :
- * @ver : 2007.06.18
- * @by : 정찬성
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 병동 조회
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fGetWardList(){
- model.removenode("/root/send");
-
- model.makeValue("/root/send/wardcd", model.getValue("/root/main/cond/wardcdgrup/wardcdgruplist/wardcd"));
- if(submit("TRMNR07602")){
- if(model.getValue("/root/main/cond/wardpatientflag") == "ward" ){
- model.setfocus("combo7");
- }else{
- model.setfocus("input3");
- }
- }
- }
- /**
- * @group :
- * @ver : 2007.07.20
- * @by : 정찬성
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 혈액미불출리스트조회 init
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fInit(){
- fGetWardList();// 병동코드 리스트
- model.setfocus("input3");
- }
- /**
- * @group :
- * @ver : 2007.06.07
- * @by : 양천덕
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : Exel 저장
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fSaveExcel(){
- var fileName = window.fileDialog("save", ",", false, "혈액미불출리스트_"+getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
-
- if (fileName != "") {
- datagrid5.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- }
|