SMMRS01600.js 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /**
  2. - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
  3. 진료 - 재원통계 ( SMMRS01600_재원통계.xrw - JScript )
  4. - Version :
  5. 1) : Ver.1.00.01
  6. -안종수
  7. - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
  8. /**
  9. /**
  10. * @desc : 초기화
  11. * @
  12. * @param :
  13. * @return :
  14. * @---------------------------------------------------
  15. */
  16. function fInitialize(){
  17. model.removeNodeset("/root/main/statslist");
  18. model.setValue("/root/main/condition/fromdd", getCurrentDate());
  19. //model.setValue("/root/main/condition/todd", getCurrentDate());
  20. //mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept", "D");
  21. //addComboInstance("/root/init/orddept", "deptcd^depthngnm", "-^전체", "dept"); //진료과 전체항목 추가
  22. model.refresh();
  23. }
  24. /**
  25. * @desc : 미비기록리스트 조회
  26. * @
  27. * @param :
  28. * @return :
  29. * @---------------------------------------------------
  30. */
  31. function fSrchStatsList(){
  32. model.copyNode("/root/send/reqdata","/root/main/condition");
  33. model.refresh();
  34. submit("TRMRS01600");
  35. }
  36. /**
  37. * @desc : 엑셀 저장
  38. * @
  39. * @param :
  40. * @return :
  41. * @---------------------------------------------------
  42. */
  43. function fSaveExcel(){
  44. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  45. if (fileName != "")
  46. {
  47. grd_unpreplist.saveExcel(fileName, "SheetName", true, true, "", "", "false");
  48. }
  49. }