12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- /* ---------------------------------------------------------------------
- 과별 집도의별 수술 건수 통계 (SSMNP00200.xfm - JScript )
- - Version :
- 1) : Ver.1.00.01
- : Create By taebum
- : 2008-09-28 오후 4:07:39
- ---------------------------------------------------------------------- */
- /**
- * @group :
- * @ver : 2008-09-28 오후 4:07:46
- * @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.removeNodeSet("/root/main/deptlists/roomDepsumarytlist");
- datagrid3.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("combo2" , "전 체", "%", "above" );
- }
-
- 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"));
-
- if(model.getValue("/root/send/frdd") == "" || model.getValue("/root/send/todd") == ""){
- messageBox("시작일, 종료일은 필수입력 사항입니다.", "I000");
- return;
- }
-
- model.removeNodeSet("/root/main/deptlists/roomDepsumarytlist");
- datagrid3.refresh();
- submit("TRSNP00200");
- }
- /**
- * @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);
- }
- }
|