SMMNE01700.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. 응급실 전원전입환자 조회(SMMNE01700.xfm - JScript )
  3. - Version :
  4. 1) : Ver.1.00.01
  5. */
  6. /**
  7. * @group :
  8. * @ver : 2007.07.12
  9. * @by : 양천덕
  10. * @---------------------------------------------------
  11. * @type : function
  12. * @access : public
  13. * @desc : 초기 화면 설정(기초 정보 설정)
  14. * @param :
  15. * @return :
  16. * @---------------------------------------------------
  17. */
  18. function finit(){
  19. model.removeNodeset("/root/main/inchnghostlist");
  20. var toDate = getCurrentDate();
  21. model.setValue("/root/main/cond/fromdate", toDate);
  22. model.setValue("/root/main/cond/todate" , toDate);
  23. model.setValue("/root/main/cond/printdd" , toDate);
  24. model.refresh();
  25. model.removenode("/root/send");
  26. model.makeValue("/root/send/searchitem", "outrmcd");
  27. submit("TRMNE00203");
  28. fSearchList();
  29. }
  30. /**
  31. * @group :
  32. * @ver : 2007.07.12
  33. * @by : 양천덕
  34. * @---------------------------------------------------
  35. * @type : function
  36. * @access : public
  37. * @desc : 환자 조회
  38. * @param :
  39. * @return :
  40. * @---------------------------------------------------
  41. */
  42. function fSearchList(){
  43. var sSrchData = "";
  44. var sSrchHeader = "inouttp▦fromdate▦todate▩";
  45. var sSrchData = model.getValue("/root/main/cond/inouttp" )+"▦"
  46. + model.getValue("/root/main/cond/fromdate")+"▦"
  47. + model.getValue("/root/main/cond/todate" )+"▩";
  48. model.removenode("/root/send");
  49. model.makeValue("/root/send/cond", sSrchHeader + sSrchData);
  50. submit("TXMNE01701");
  51. }