SPMRI02300.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /**
  2. * @desc : 초기화
  3. * @
  4. * @param :
  5. * @return :
  6. * @---------------------------------------------------
  7. */
  8. function fInitialize(){
  9. model.setValue("/root/main/cond/fromdd", getCurrentDate());
  10. model.setValue("/root/main/cond/instcd", getUserInfo("dutplceinstcd"));
  11. /*
  12. mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept", "D");
  13. addComboInstance("/root/init/orddept", "deptcd^depthngnm", "-^전체", "dept"); //진료과 전체항목 추가
  14. model.setValue("/root/main/condition/unprepdeptcd", "-");
  15. model.setValue("/root/main/condition/dschdeptcd", "-");
  16. */
  17. model.refresh();
  18. }
  19. /**
  20. * @desc : 미비 확인
  21. * @
  22. * @param :
  23. * @return :
  24. * @---------------------------------------------------
  25. */
  26. function fCnfmBtn(){
  27. if (submit("TXMRI02301") == true){
  28. alert("미비 배치가 성공하였습니다. ");
  29. }
  30. else {
  31. alert("미비 배치가 실패하였습니다. 담당자에게 문의 바랍니다. ");
  32. }
  33. }
  34. /**
  35. * @desc : Close
  36. * @
  37. * @param :
  38. * @return :
  39. * @---------------------------------------------------
  40. */
  41. function fClose(){
  42. model.close();
  43. }