SPATR00400_임상시험약사메모이력.xrw 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. <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. <script type="javascript" ev:event="xforms-ready">
  55. <![CDATA[
  56. model.makeValue("/root/send/srchinfo/srchhosinhosoutflag", model.getValue("/root/send/srchinfo/srchioflag"));
  57. submit("TRADB60604");
  58. model.refresh();
  59. ]]>
  60. </script>
  61. <submission id="TRADB60604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/memoinfo"/>
  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:14px; ">메모이력</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="312, 55, 45, 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 disabled="true" ref="hosinhosoutflag" type="combo">
  73. <choices>
  74. <item>
  75. <label>입원</label>
  76. <value>F</value>
  77. </item>
  78. <item>
  79. <label>외래</label>
  80. <value>G</value>
  81. </item>
  82. </choices>
  83. </col>
  84. <col ref="orddeptnm"/>
  85. <col ref="writdt" format="yyyy-mm-dd hh:dd:ss" style="text-align:center; "/>
  86. <script type="javascript" ev:event="onclick">
  87. <![CDATA[
  88. if (model.getValue("/root/main/memoinfo/item["+grd_memolist.row+"]/writid") == getUserId()) {
  89. btn_del.visible = true;
  90. } else {
  91. btn_del.visible = false;
  92. }
  93. ]]>
  94. </script>
  95. </datagrid>
  96. </group>
  97. <group id="grp_btn" scroll="auto" style="left:0px; top:361px; width:630px; height:27px; ">
  98. <button id="btn_cls" class="btn4_letter2" style="left:564px; top:5px; width:56px; height:22px; ">
  99. <caption>닫기</caption>
  100. <close ev:event="DOMActivate"/>
  101. </button>
  102. <button id="btn_del" class="btn4_letter2" visibility="visible" style="left:504px; top:5px; width:56px; height:22px; ">
  103. <caption>삭제</caption>
  104. <script type="javascript" ev:event="onclick">
  105. <![CDATA[
  106. if (messageBox("약사메모를","Q001")==6)
  107. {
  108. model.setValue("/root/send/delinfo/pid" , model.getValue("/root/main/memoinfo/item["+grd_memolist.row+"]/pid"));
  109. model.setValue("/root/send/delinfo/seqno" , model.getValue("/root/main/memoinfo/item["+grd_memolist.row+"]/seqno"));
  110. model.setValue("/root/send/delinfo/hosinhosoutflag", model.getValue("/root/main/memoinfo/item["+grd_memolist.row+"]/hosinhosoutflag"));
  111. model.setValue("/root/send/delinfo/m" , "d");
  112. model.setValue("/root/send/delinfo/ioflag" , "O");
  113. submit("TXADB60601");
  114. submit("TRADB60601");
  115. }
  116. ]]>
  117. </script>
  118. </button>
  119. </group>
  120. </xhtml:body>
  121. </xhtml:html>