123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- /* ---------------------------------------------------------------------
- 과별 수술명별 수술건수 통계 (SSMNP00900.xfm - JScript )
- - Version :
- 1) : Ver.1.00.01
- : Create By taebum
- : 2008-10-26 오후 2:44:31
- ---------------------------------------------------------------------- */
- /**
- * @group :
- * @ver : 2008-10-26 오후 2:44:38
- * @by :
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fInit(){
- model.setValue("/root/hidden/condition/frdd", getCurrentDate());
- model.setValue("/root/hidden/condition/todd" , getCurrentDate());
- model.refresh();
- model.setValue("/root/init/tab","day");
- model.removeNodeSet("/root/main/daylists/deptDoctDaylist");
- datagrid1.refresh();
-
- model.removenode("/root/send");
- model.makeValue("/root/send/flag" , "X" );
- model.makeValue("/root/send/searchitem", "XX" );
- model.makeValue("/root/send/deptflag" , "011" );
- submit("TRMNP00107");
- //집도의 리스트 조회
-
-
- addComboItem("combo1" , "전 체", "%", "above" );
- addComboItem("combo2" , "전 체", "%", "above" );
-
- model.setValue("/root/hidden/condition/deptcd","%");
- model.setValue("/root/hidden/condition/doctid","%");
- model.refresh();
- }
-
- function fOnClickSearchBtn(){
- model.removenode("/root/send");
- model.makeValue("/root/send/frdd" ,model.getValue("/root/hidden/condition/frdd"));
- model.makeValue("/root/send/todd" ,model.getValue("/root/hidden/condition/todd"));
- model.makeValue("/root/send/ssflag1" ,model.getValue("/root/hidden/condition/ssflag1"));
- model.makeValue("/root/send/ssflag2" ,model.getValue("/root/hidden/condition/ssflag2"));
- model.makeValue("/root/send/ssflag3" ,model.getValue("/root/hidden/condition/ssflag3"));
- model.makeValue("/root/send/etcflag1",model.getValue("/root/hidden/condition/etcflag1"));
- model.makeValue("/root/send/etcflag2",model.getValue("/root/hidden/condition/etcflag2"));
- model.makeValue("/root/send/etcflag3",model.getValue("/root/hidden/condition/etcflag3"));
- model.makeValue("/root/send/deptcd" ,model.getValue("/root/hidden/condition/deptcd"));
- model.makeValue("/root/send/doctcd" ,model.getValue("/root/hidden/condition/doctid"));
- if(model.getValue("/root/send/frdd") == "" || model.getValue("/root/send/todd") == ""){
- messageBox("시작일, 종료일은 필수입력 사항입니다.", "I000");
- return;
- }
- var sCurrentTab = model.getValue("/root/init/tab");
- if(sCurrentTab == "day"){
- model.removeNodeSet("/root/main/daylists/AnstKindDetailDaylist");
- datagrid1.refresh();
- submit("TRSNP00900");
- }
- }
- /**
- * @group :
- * @ver : 2007.10.17
- * @by : Grace
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : Exel 저장
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fSaveExcel(){
- fileName = window.fileDialog("save", ",", false, "과별수술명별수술건수통계_일자별_"+getCurrentDate(), "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- if (fileName != "" && fileName != null) {
- datagrid3.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- }
- /**
- * @group :
- * @ver : 2007.10.17
- * @by : Grace
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 집도과 클릭시 해당 집도의 정보 조회
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fValueChangedDeptCombo(){
- var sDeptcd = model.getValue("/root/hidden/condition/deptcd");
- if(sDeptcd != "%" && sDeptcd != "undefined" && sDeptcd != "" && sDeptcd != null){
- model.removenode("/root/send");
- model.makeValue("/root/send/orddept" ,sDeptcd);
- submit("TRMNP00103");
- addComboItem("combo2" , "전 체", "%", "above" );
- combo2.refresh();
- }
- }
|