SPMNP06700_DCC입실등록.xrw 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>입실등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <patinfo/>
  11. <careinrmdd/>
  12. <careinrmtm/>
  13. </main>
  14. <send/>
  15. </root>
  16. </instance>
  17. <script type="javascript" ev:event="xforms-model-construct-done">
  18. <![CDATA[
  19. ]]>
  20. </script>
  21. <script type="javascript" ev:event="xforms-ready">
  22. <![CDATA[
  23. if (checkOpener()) {
  24. var Patinfo = opener.javascript.getParameter("Patinfo");
  25. model.setValue("/root/main/patinfo", Patinfo);
  26. model.setValue("/root/main/careinrmdd", getCurrentDate());
  27. model.setValue("/root/main/careinrmtm", getCurrentTime().substring(0,4));
  28. }
  29. model.refresh();
  30. ]]>
  31. </script>
  32. </model>
  33. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  34. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  35. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  36. </xhtml:head>
  37. <xhtml:body pagewidth="360" pageheight="146" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  38. <group id="group1" scroll="auto" style="left:0px; top:0px; width:344px; height:146px; ">
  39. <shape id="roundrect2" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:344px; height:146px; background-color:#dfdfdf; border-color:#808080; "/>
  40. <button id="btn_cnfm" class="btn4_letter3" navindex="5" style="left:105px; top:100px; width:68px; height:22px; text-align:left; ">
  41. <caption>예</caption>
  42. <script type="javascript" ev:event="DOMActivate">
  43. <![CDATA[
  44. opener.javascript.setParameter("ChkYN", "Y");
  45. opener.javascript.setParameter("CareinrmDD", model.getValue("/root/main/careinrmdd"));
  46. opener.javascript.setParameter("CareinrmTM", model.getValue("/root/main/careinrmtm"));
  47. window.close();
  48. ]]>
  49. </script>
  50. </button>
  51. <caption id="cap_narccnt" style="left:179px; top:25px; width:145px; height:20px; font-weight:bold; ">입실등록하시겠습니까?</caption>
  52. <output id="output32" ref="/root/main/patinfo" style="left:34px; top:26px; width:136px; height:19px; font-weight:bold; text-align:center; "/>
  53. <input id="ipt_chkid" ref="/root/main/careinrmtm" class="input_s_essential" navindex="2" format="nn:ss" style="left:190px; top:60px; width:60px; height:19px; text-align:left; "/>
  54. <input id="ipt_opcnfmdd" ref="/root/main/careinrmdd" class="input_s_essential" disabled="true" navindex="1" inputtype="date" style="left:75px; top:60px; width:105px; height:19px; text-align:center; "/>
  55. <button id="button1" class="btn4_letter3" navindex="5" style="left:180px; top:100px; width:68px; height:22px; ">
  56. <caption>아니오</caption>
  57. <script type="javascript" ev:event="DOMActivate">
  58. <![CDATA[
  59. model.close();
  60. ]]>
  61. </script>
  62. </button>
  63. </group>
  64. </xhtml:body>
  65. </xhtml:html>