SMMMO08100.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
  3. 관심환자조회 ( SMMMO08100_관심환자조회.xrw - JScript )
  4. - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
  5. */
  6. /**
  7. * @desc : 화면 초기화
  8. * @
  9. * @param :
  10. * @return :
  11. * @author : 오지훈
  12. * @---------------------------------------------------
  13. */
  14. function fInitialize_SMMMO08100(){
  15. model.removeNodeset("/root/send/reqdata");
  16. model.setValue("/root/main/cond/stnddd", getCurrentDate());
  17. model.copyNode("/root/send/reqdata", "/root/main/cond");
  18. var conckindcd = model.getValue("/root/main/cond/conckindcd");
  19. fReqConcTypeCombo(conckindcd);
  20. model.removeNodeset("/root/main/concpatinfo/concpatlist");
  21. model.refresh();
  22. }
  23. /**
  24. * @desc : 관심분류명 콤보
  25. * @
  26. * @param :
  27. * @return :
  28. * @author : 오지훈
  29. * @---------------------------------------------------
  30. */
  31. function fReqConcTypeCombo(conckindcd){
  32. model.removeNodeset("/root/send/reqdata");
  33. model.makeValue("/root/send/reqdata/conckindcd", conckindcd);
  34. if(submit("TRMMO08301")){
  35. }
  36. }
  37. /**
  38. * @desc : 관심분류명 콤보
  39. * @
  40. * @param :
  41. * @return :
  42. * @author : 오지훈
  43. * @---------------------------------------------------
  44. */
  45. function fReqConcPatList(){
  46. model.copyNode("/root/send/reqdata", "/root/main/cond");
  47. submit("TRMMO08101");
  48. }
  49. /**
  50. * @desc : (입원)관심환자등록창 호출
  51. * @
  52. * @param :
  53. * @return :
  54. * @author :박유진
  55. * @---------------------------------------------------
  56. */
  57. function fCallWndConcPatRgst(){
  58. var sINPATLIST_PATH = "/root/main/concpatinfo/concpatlist";
  59. var iRow = grd_concpatlist.row;
  60. var pid = model.getValue(sINPATLIST_PATH + "[" + iRow + "]/pid");
  61. var hngnm = model.getValue(sINPATLIST_PATH + "[" + iRow + "]/hngnm");
  62. var param = "I" + "▩" + pid + "▩" + hngnm;
  63. setParameter("param", param);
  64. modal("SPMMO08200");
  65. fReqConcPatList();
  66. }