SMMNP20400.js 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. 수술통계 - 수술대장
  3. - Version :
  4. 1) : Ver.1.00.01
  5. - Create : 2012.04.17 KJS
  6. */
  7. //화면초기화
  8. function fInitialize(){
  9. var currentdate = getCurrentDate();
  10. var sdate = currentdate.substr(0,6)+"01";
  11. var edate = currentdate;
  12. model.setValue("/root/cond/sdate", sdate);
  13. model.setValue("/root/cond/edate", edate);
  14. zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "orduseyn", "D", "/root/init/orddept"); //부서코드 콤보조회
  15. addComboInstance("/root/init/orddept", "deptcd^depthngnm", "-^전체", "dept"); //부서콤보 전체추가
  16. //zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "orduseyn", "D", "/root/init/orddept"); //부서코드 콤보조회
  17. //addComboInstance("/root/init/orddept", "deptcd^depthngnm", "-^전체", "dept"); //부서콤보 전체추가
  18. // model.setValue("/root/cond/perfdeptcd" , "/root/init/orddept");
  19. // model.setValue("/root/cond/orddeptcd" , "/root/init/orddept");
  20. model.refresh();
  21. }
  22. // 현황내역 가져오기
  23. function fSearch()
  24. {
  25. submit("TRMNP20401");
  26. model.refresh();
  27. }