SPADB60606_약사메모현황관리.xrw 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <example>Sample</example>
  10. <send>
  11. <srchstartdate/>
  12. <srchenddate/>
  13. <memosrchinfo>
  14. <srchpid/>
  15. <srchseqno/>
  16. <srchindd/>
  17. <srchinstcd/>
  18. <srchioflag/>
  19. <srchhosinhosoutflag/>
  20. <srchorddeptcd/>
  21. </memosrchinfo>
  22. </send>
  23. <view>
  24. <item>
  25. <pid/>
  26. <pname/>
  27. <juminno/>
  28. <tel/>
  29. <orddeptnm/>
  30. <gubun/>
  31. <memo/>
  32. <writnm/>
  33. <writdt/>
  34. <hosinhosoutflag/>
  35. <instcd/>
  36. <orddeptcd/>
  37. <drugno/>
  38. <drugdd/>
  39. <writid/>
  40. <useyn/>
  41. </item>
  42. </view>
  43. </root>
  44. </instance>
  45. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  48. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  49. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  50. <script type="javascript" ev:event="xforms-ready">
  51. <![CDATA[
  52. model.setValue("/root/send/srchstartdate",getCurrentDate());
  53. model.setValue("/root/send/srchenddate",getCurrentDate());
  54. model.refresh();
  55. ]]>
  56. </script>
  57. <submission id="TRADB60606" mediatype="application/x-www-form-urlencoded" method="get" ref="/root/send" resultref="/root/view/item"/>
  58. </model>
  59. </xhtml:head>
  60. <xhtml:body>
  61. <caption id="caption1" class="tit_2" style="left:5px; top:6px; width:235px; height:15px; ">약사메모현황관리</caption>
  62. <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:1200px; y2:60px; "/>
  63. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:150px; top:23px; width:340px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
  64. <input id="ipt_sumdt1" ref="/root/send/srchstartdate" class="input_default" inputtype="date" style="left:254px; top:30px; width:95px; height:19px; "/>
  65. <input id="ipt_sumdt2" ref="/root/send/srchenddate" class="input_default" inputtype="date" style="left:387px; top:30px; width:95px; height:19px; "/>
  66. <caption id="caption32" style="left:362px; top:32px; width:25px; height:20px; vertical-align:middle; ">~</caption>
  67. <caption id="caption3" class="search_name" style="left:156px; top:29px; width:88px; height:17px; ">등록일자:</caption>
  68. <button id="button1" class="btn1_letter2" style="left:1010px; top:30px; width:56px; height:22px; ">
  69. <caption>조회</caption>
  70. <script type="javascript" ev:event="DOMActivate">
  71. <![CDATA[
  72. submit("TRADB60606");
  73. model.refresh();
  74. ]]>
  75. </script>
  76. </button>
  77. <button id="button2" class="btn1_letter2" style="left:1070px; top:30px; width:56px; height:22px; ">
  78. <caption>출력</caption>
  79. <script type="javascript" ev:event="DOMActivate">
  80. <![CDATA[
  81. exeReportPreview("RPADB60606", "XMLSTR", "");
  82. ]]>
  83. </script>
  84. </button>
  85. <button id="button3" class="btn1_letter2" style="left:1135px; top:30px; width:56px; height:22px; ">
  86. <caption>종료</caption>
  87. </button>
  88. <datagrid id="grid_memolist" nodeset="/root/view/item" autoresize="true" caption="등록번호^성명^주민번호^연락처^진료과명^구분^메모^작성자^등록일자" colsep="^" colwidth="66, 68, 83, 117, 127, 66, 512, 54, 76" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:67px; width:1190px; height:703px; ">
  89. <col ref="pid"/>
  90. <col ref="pname"/>
  91. <col ref="juminno" style="text-align:center; "/>
  92. <col ref="tel"/>
  93. <col ref="orddeptnm"/>
  94. <col ref="gubun" style="text-align:center; "/>
  95. <col ref="memo"/>
  96. <col ref="writnm"/>
  97. <col ref="writdt" format="yyyy-mm-dd"/>
  98. <script type="javascript" ev:event="ondblclick">
  99. <![CDATA[
  100. // 약사메모이력
  101. model.setValue("/root/send/memosrchinfo/srchpid" , model.getValue("/root/view/item["+grid_memolist.row+"]/pid"));
  102. model.setValue("/root/send/memosrchinfo/srchhosinhosoutflag" , "");
  103. model.setValue("/root/send/memosrchinfo/srchioflag" , "");
  104. model.setValue("/root/send/memosrchinfo/srchorddeptcd" , "");
  105. model.setValue("/root/send/memosrchinfo/srchindd" , "");
  106. // 20100218_laboru_약사메모 전체 조회
  107. modal("SPADB60605",0,100,150,"SPADB60605","/root/send/memosrchinfo","/root/send/srchinfo");
  108. ]]>
  109. </script>
  110. </datagrid>
  111. </xhtml:body>
  112. </xhtml:html>