SMMNH03600_pop 호스피스기록지이력.xrw 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <hospicerecd>
  11. <recdlist>
  12. <pid/>
  13. <hngnm/>
  14. <cretdd/>
  15. <crettm/>
  16. </recdlist>
  17. </hospicerecd>
  18. </main>
  19. <cond>
  20. <pid/>
  21. <flag>1</flag>
  22. </cond>
  23. <send/>
  24. </root>
  25. </instance>
  26. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  27. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  28. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  30. <script type="javascript" ev:event="xforms-ready">
  31. <![CDATA[
  32. model.makeNode("/root/main/paminfo");
  33. var node = getGlobalVariable("paminfo");
  34. setCSVToNode("/root/main/paminfo", node);
  35. var pid = model.getValue("/root/main/paminfo/list/pid");
  36. if(pid != ""){
  37. input1.value = pid;
  38. fSearch();
  39. }
  40. ]]>
  41. </script>
  42. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  43. <submission id="TRMNH03601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/cond" resultref="/root/main/recdlist"/>
  44. </model>
  45. <script type="javascript">
  46. <![CDATA[
  47. function fSearch(){
  48. model.removeNodeset("/root/main/hospicerecd/recdlist");
  49. model.removenode("/root/send");
  50. model.makeValue("/root/send/pid",model.getValue("/root/cond/pid"));
  51. model.makeValue("/root/send/flag",model.getValue("/root/cond/flag"));
  52. submit("TRMNH03601");
  53. }
  54. ]]>
  55. </script>
  56. </xhtml:head>
  57. <xhtml:body pagewidth="320" pageheight="300" guideline="1,1232;1,1228;1,1234;1,1246;1,1226;1,-3;2,604;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  58. <group id="group1" style="left:0px; top:0px; width:230px; height:13px; ">
  59. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">호스피스 기록이력조회</caption>
  60. </group>
  61. <group id="group2" scroll="auto" style="left:0px; top:13px; width:297px; height:267px; ">
  62. <datagrid id="grd_hospicelist" nodeset="/root/main/hospicerecd/recdlist" scroll="auto" caption="등록번호^환자명^생성일자^시간^cretdt^recdd" colsep="^" colwidth="68, 79, 78, 42" defaultrows="1" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowsep="|" style="left:4px; top:64px; width:289px; height:192px; ">
  63. <col ref="pid"/>
  64. <col disabled="true" ref="hngnm"/>
  65. <col ref="cretdd" format="yyyy-mm-dd"/>
  66. <col ref="crettm" format="mm:ss"/>
  67. <script type="javascript" ev:event="ondblclick">
  68. <![CDATA[
  69. //기록지 연결. key pid,cretdt,instcd
  70. setParameter("pid",model.getValue("/root/main/hospicerecd/recdlist"+"["+grd_hospicelist.row+"]/pid"));
  71. setParameter("cretdd",model.getValue("/root/main/hospicerecd/recdlist"+"["+grd_hospicelist.row+"]/cretdd"));
  72. setParameter("crettm",model.getValue("/root/main/hospicerecd/recdlist"+"["+grd_hospicelist.row+"]/crettm"));
  73. var flag = model.getValue(rdo_flag.attribute("ref"));
  74. if(flag == "1") {
  75. modal("SMMNH01500",1,50,50);
  76. } else {
  77. modal("SMMNH06700");
  78. }
  79. window.close();
  80. ]]>
  81. </script>
  82. <script type="javascript" ev:event="onaftersort">
  83. <![CDATA[
  84. grd_hospicelist.gridToInstance();
  85. ]]>
  86. </script>
  87. </datagrid>
  88. <line id="line2" class="line_1" style="x1:4px; y1:59px; x2:292px; y2:59px; "/>
  89. <shape id="roundrect1" appearance="roundrect" style="left:0px; top:6px; width:287px; height:33px; "/>
  90. <caption id="caption5" class="search_name" style="left:11px; top:14px; width:86px; height:17px; ">등록번호 :</caption>
  91. <button id="button1" class="btn1_letter2" navindex="5" style="left:225px; top:12px; width:56px; height:22px; ">
  92. <caption>조회</caption>
  93. <script type="javascript" ev:event="DOMActivate">
  94. <![CDATA[
  95. fSearch();
  96. ]]>
  97. </script>
  98. </button>
  99. <line id="line13" class="line_4" style="x1:215px; y1:10px; x2:215px; y2:32px; "/>
  100. <input id="ipt_pid" ref="/root/cond/pid" visibility="visible" style="left:100px; top:13px; width:100px; height:19px; "/>
  101. <input id="input1" ref="/root/cond/pid" visibility="visible" maxlength="10" format="9999999999" style="left:100px; top:13px; width:100px; height:19px; ">
  102. <script type="javascript" ev:event="onkeyup">
  103. <![CDATA[
  104. if(event.keyCode== 13){
  105. model.setFocus("button1");
  106. fSearch();
  107. }
  108. ]]>
  109. </script>
  110. </input>
  111. <caption id="caption2" class="search_name" style="left:11px; top:14px; width:86px; height:17px; ">등록번호 :</caption>
  112. <select1 id="rdo_flag" ref="/root/cond/flag" appearance="full" cols="2" overflow="visible" style="left:95px; top:40px; width:185px; height:13px; border-style:none; ">
  113. <choices>
  114. <item>
  115. <label>호스피스기록</label>
  116. <value>1</value>
  117. </item>
  118. <item>
  119. <label>사별가족기록</label>
  120. <value>2</value>
  121. </item>
  122. </choices>
  123. </select1>
  124. </group>
  125. <caption id="caption1" class="tit_2" style="left:4px; top:55px; width:100px; height:13px; ">기록지이력</caption>
  126. </xhtml:body>
  127. </xhtml:html>