SPMNW17300_입원업무 체크리스트 조회기준 팝업.xrw 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>입원업무 체크리스트 조회기준</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <instcd/>
  12. <wardcd/>
  13. <wardnm/>
  14. </cond>
  15. </main>
  16. <send>
  17. <req/>
  18. <save/>
  19. </send>
  20. </root>
  21. </instance>
  22. <submission id="TRMNW17300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/inchkinfo"/>
  23. <submission id="TXMNW17300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/inchklist" resultref="/root/main/inchkinfo"/>
  24. </model>
  25. </xhtml:head>
  26. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  27. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  28. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  29. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. if(checkOpener() ) {
  33. var instcd = getUserInfo("dutplceinstcd");
  34. var wardcd = opener.javascript.getParameter("PARAM1");
  35. var wardnm = opener.javascript.getParameter("PARAM2");
  36. model.setValue("/root/main/cond/instcd",instcd);
  37. model.setValue("/root/main/cond/wardcd",wardcd);
  38. model.setValue("/root/main/cond/wardnm",wardnm);
  39. }
  40. fSearch();
  41. ]]>
  42. </script>
  43. <script type="javascript">
  44. <![CDATA[
  45. function fSearch() {
  46. model.copyNode("/root/send/req","/root/main/cond");
  47. submit("TRMNW17300");
  48. model.refresh();
  49. }
  50. function fSave() {
  51. for (i = grd_inchklist.fixedRows ; i < grd_inchklist.rows; i++) {
  52. model.setValue("/root/main/inchkinfo/inchklist[" + i + "]/chkward", model.getValue("/root/main/inchkinfo/inchklist[" + i + "]/chkcd")+model.getValue("/root/main/cond/wardcd"));
  53. }
  54. var data = getGridUpdateData(grd_inchklist) ;
  55. if(data == "") {
  56. messageBox("저장 할 내용이", "I004");
  57. return;
  58. }
  59. model.makeValue("/root/send/save/inchklist", data);
  60. submit("TXMNW17300");
  61. fSearch() ;
  62. }
  63. ]]>
  64. </script>
  65. <xhtml:body overflow="hidden" pagewidth="345" pageheight="400" style="font-family:굴림; margin:8; ">
  66. <button id="btn_save" class="btn4_letter2" style="left:210px; top:370px; width:56px; height:22px; font-family:굴림; ">
  67. <caption>저장</caption>
  68. <script type="javascript" ev:event="DOMActivate">
  69. <![CDATA[
  70. fSave() ;
  71. ]]>
  72. </script>
  73. </button>
  74. <caption id="caption21" class="tit_2" style="left:0px; top:0px; width:211px; height:14px; font-family:굴림; ">입원업무 체크리스트 조회기준</caption>
  75. <datagrid id="grd_inchklist" nodeset="/root/main/inchkinfo/inchklist" autoresize="true" caption="체크 항목^체크여부^체크항목코드^chkward" colsep="^" colwidth="220, 60, 30, 65" frozencols="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:45px; width:325px; height:315px; font-family:굴림; ">
  76. <col ref="chknm"/>
  77. <col checkvalue="Y,N" ref="chkyn" type="checkbox" style="font-family:굴림; "/>
  78. <col ref="chkcd" visibility="hidden"/>
  79. <col ref="chkward" visibility="hidden"/>
  80. </datagrid>
  81. <button id="button1" class="btn4_letter2" style="left:270px; top:370px; width:56px; height:22px; font-family:굴림; ">
  82. <caption>닫기</caption>
  83. <script type="javascript" ev:event="onclick">
  84. <![CDATA[
  85. window.close();
  86. ]]>
  87. </script>
  88. </button>
  89. <line id="line4" class="line_1" style="x1:0px; y1:40px; x2:325px; y2:40px; "/>
  90. <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:325px; y2:15px; "/>
  91. <caption id="caption7" class="cell_1" style="left:0px; top:20px; width:85px; height:19px; font-family:굴림; text-align:center; ">병 동</caption>
  92. <output id="output1" ref="/root/main/cond/wardnm" style="left:90px; top:20px; width:235px; height:19px; "/>
  93. </xhtml:body>
  94. </xhtml:html>