SMMQR03000.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
  3. 외래환자리스트 ( SMMQR03000_의사별진료대기시간관리.xrw - JScript )
  4. - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
  5. */
  6. function fInitialize() {
  7. var currentDate = getCurrentDate();
  8. model.setValue("/root/main/search/fromdd" , currentDate);
  9. model.setValue("/root/main/search/todd" , currentDate);
  10. fGetDeptList();
  11. model.refresh();
  12. }
  13. function fGetDeptList() {
  14. var instcd = getUserInfo("dutplceinstcd");
  15. var standard_yn = "rcptuseyn";
  16. var ord_deptflag = 'D';
  17. var rslt_ref = "/root/init/dept";
  18. var sort_method = "depthngnm";
  19. sort_field = "depthngnm";
  20. var base_dd = model.getValue("/root/main/search/todd");
  21. zsdfGetInOutOrdDeptList(instcd, rslt_ref, sort_field, sort_method, base_dd);
  22. // 진료과
  23. addComboItem("cmb_orddeptcd", "", "", "above");
  24. }
  25. function fGetOrdWaitlist() {
  26. model.removeNodeset("/root/main/ordwaitlist");
  27. model.setValue("/root/main/search/offset", "0");
  28. submit("TRMQR03001");
  29. }