SPADB60600_약사메모이력외래.xrw 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. <memoinfo>
  11. <item>
  12. <memo/>
  13. <writnm/>
  14. <orddeptnm/>
  15. <writdt/>
  16. <pid/>
  17. <seqno/>
  18. <hosinhosoutflag/>
  19. <instcd/>
  20. <orddeptcd/>
  21. <drugno/>
  22. <drugdd/>
  23. <writid/>
  24. <useyn/>
  25. </item>
  26. </memoinfo>
  27. </main>
  28. <send>
  29. <srchinfo>
  30. <srchpid/>
  31. <srchinstcd/>
  32. <srchioflag/>
  33. <srchhosinhosoutflag/>
  34. </srchinfo>
  35. <delinfo>
  36. <pid/>
  37. <seqno/>
  38. <hosinhosoutflag/>
  39. <instcd/>
  40. <m/>
  41. <ioflag/>
  42. </delinfo>
  43. </send>
  44. <init/>
  45. <hidden>
  46. </hidden>
  47. </root>
  48. </instance>
  49. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  51. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  52. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  53. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  54. <submission id="TRADB60601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/memoinfo"/>
  55. <script type="javascript" ev:event="xforms-ready">
  56. <![CDATA[
  57. model.setValue("/root/send/srchinfo/srchioflag","O");
  58. submit("TRADB60601");
  59. model.refresh();
  60. ]]>
  61. </script>
  62. <submission id="TXADB60601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/delinfo" replace="instance" resultref="/root/hidden"/>
  63. </model>
  64. </xhtml:head>
  65. <xhtml:body pagewidth="650" pageheight="400" guideline="2,-1;1,1194;2,784;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  66. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:630px; height:364px; ">
  67. <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:95px; height:13px; ">약사메모이력</caption>
  68. <line id="line1" class="line_1" style="x1:0px; y1:31px; x2:630px; y2:31px; "/>
  69. <datagrid id="grd_memolist" nodeset="/root/main/memoinfo/item" allowselection="false" autoresize="true" caption="메모^작성자^진료과^작성일시" colsep="^" colwidth="357, 55, 95, 108" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" selectionmode="byrow" style="left:0px; top:36px; width:630px; height:324px; ">
  70. <col ref="memo"/>
  71. <col ref="writnm" style="text-align:center; vertical-align:middle; "/>
  72. <col ref="orddeptnm"/>
  73. <col ref="writdt" format="yyyy-mm-dd hh:dd:ss" style="text-align:center; "/>
  74. <script type="javascript" ev:event="onclick">
  75. <![CDATA[
  76. if (model.getValue("/root/main/memoinfo/item["+grd_memolist.row+"]/writid") == getUserId()) {
  77. btn_del.visible = true;
  78. } else {
  79. btn_del.visible = false;
  80. }
  81. ]]>
  82. </script>
  83. </datagrid>
  84. </group>
  85. <group id="grp_btn" scroll="auto" style="left:0px; top:361px; width:630px; height:27px; ">
  86. <button id="btn_cls" class="btn4_letter2" style="left:564px; top:5px; width:56px; height:22px; ">
  87. <caption>닫기</caption>
  88. <close ev:event="DOMActivate"/>
  89. </button>
  90. <button id="btn_del" class="btn4_letter2" visibility="visible" style="left:504px; top:5px; width:56px; height:22px; ">
  91. <caption>삭제</caption>
  92. <script type="javascript" ev:event="onclick">
  93. <![CDATA[
  94. if (messageBox("약사메모를","Q001")==6)
  95. {
  96. model.setValue("/root/send/delinfo/pid" , model.getValue("/root/main/memoinfo/item["+grd_memolist.row+"]/pid"));
  97. model.setValue("/root/send/delinfo/seqno" , model.getValue("/root/main/memoinfo/item["+grd_memolist.row+"]/seqno"));
  98. model.setValue("/root/send/delinfo/hosinhosoutflag", model.getValue("/root/main/memoinfo/item["+grd_memolist.row+"]/hosinhosoutflag"));
  99. model.setValue("/root/send/delinfo/m" , "d");
  100. model.setValue("/root/send/delinfo/ioflag" , "O");
  101. submit("TXADB60601");
  102. submit("TRADB60601");
  103. }
  104. ]]>
  105. </script>
  106. </button>
  107. </group>
  108. </xhtml:body>
  109. </xhtml:html>