SMMNE05600_응급당직전문의변경이력조회.xrw 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. <main>
  10. <grpmasterinfo>
  11. <grpmasterinfolist>
  12. <shownm/>
  13. <grtype/>
  14. <staffid/>
  15. <orddeptcd/>
  16. </grpmasterinfolist>
  17. </grpmasterinfo>
  18. <drinfo>
  19. <drinfolist>
  20. <drnm/>
  21. <drid/>
  22. <deptcd/>
  23. <phone/>
  24. <bbtel/>
  25. </drinfolist>
  26. </drinfo>
  27. <workerinfo>
  28. <workerinfolist/>
  29. </workerinfo>
  30. <titleinfo>
  31. <worktitle/>
  32. <grpmtitle/>
  33. <staffnm/>
  34. <staffid/>
  35. <fromtm/>
  36. <totm/>
  37. </titleinfo>
  38. <drdetlinfo>
  39. <drnm/>
  40. <drid/>
  41. <deptcd/>
  42. <phone/>
  43. <bbtel/>
  44. </drdetlinfo>
  45. </main>
  46. <cond>
  47. <sdate/>
  48. <edate/>
  49. <orddeptcd/>
  50. </cond>
  51. <init>
  52. <orddeptinfo>
  53. <orddeptinfolist>
  54. <orddeptcd/>
  55. <orddeptnm/>
  56. </orddeptinfolist>
  57. </orddeptinfo>
  58. </init>
  59. <send/>
  60. </root>
  61. </instance>
  62. <script type="javascript" ev:event="xforms-ready">
  63. <![CDATA[
  64. var curdt = getCurrentDate().substring(0, 8);
  65. model.makeValue("/root/cond/sdate", curdt);
  66. model.makeValue("/root/cond/edate", curdt);
  67. var curym = getCurrentDate().substring(0, 6);
  68. model.removenode("/root/send");
  69. model.makeValue("/root/send/srchym", curym);
  70. model.makeValue("/root/send/gbn", 'E');
  71. // 당직 기준 진료과 가져오기
  72. submit("TRMNE05401");
  73. ]]>
  74. </script>
  75. <submission id="TRMNE05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/orddeptinfo/orddeptinfolist"/>
  76. <submission id="TRMNE05601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/workerinfo/workerinfolist"/>
  77. <submission id="TXMNE05401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/workerinfo/workerinfolist"/>
  78. <submission id="TXMNE05402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deldata" resultref="/root/main/workerinfo/workerinfolist"/>
  79. </model>
  80. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  81. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  82. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  83. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  84. <script type="javascript">
  85. <![CDATA[
  86. //이전 셀의 행,열 인덱스를 저장하는 변수
  87. var col = 0;
  88. var row = 0;
  89. ]]>
  90. </script>
  91. </xhtml:head>
  92. <xhtml:body pagewidth="780" pageheight="850" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  93. <group id="group3" scroll="auto" style="left:0px; top:16px; width:745px; height:774px; text-align:center; ">
  94. <!-- 트리그룹시작 -->
  95. <!-- 트리그룹종료 -->
  96. <!-- 당직리스트그룹시작 -->
  97. <!-- 당직리스트그룹종료 -->
  98. <!-- 당직대상자그룹시작 -->
  99. <!-- 당직대상자그룹종료 -->
  100. <line id="line2" class="line_1" style="x1:1px; y1:42px; x2:723px; y2:42px; "/>
  101. <!-- 조회그룹 시작 -->
  102. <group id="group4" style="left:1px; top:0px; width:723px; height:40px; vertical-align:top; ">
  103. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:723px; height:40px; "/>
  104. <button id="btn_search" class="btn1_letter2" navindex="3" style="left:645px; top:10px; width:56px; height:22px; ">
  105. <caption>조회</caption>
  106. <script type="javascript" ev:event="DOMActivate">
  107. <![CDATA[
  108. //당직자를 조회하기 전에 이전 변경내역이 있는지 조회하여 재조회할것인지 여부에 따라 조회를 진행한다.
  109. var orddeptcd = model.getValue("/root/cond/orddeptcd");
  110. if(orddeptcd == null || orddeptcd == ''){
  111. messageBox("선택된 진료과가 없습니다.", "E999");
  112. return;
  113. }
  114. model.removenode("/root/send");
  115. model.makeValue("/root/send/orddeptcd", model.getValue("/root/cond/orddeptcd"));
  116. model.makeValue("/root/send/sdate", model.getValue("/root/cond/sdate"));
  117. model.makeValue("/root/send/edate", model.getValue("/root/cond/edate"));
  118. model.makeValue("/root/send/gbn", 'E');
  119. submit("TRMNE05601");
  120. ]]>
  121. </script>
  122. </button>
  123. <line id="line13" class="line_4" style="x1:638px; y1:9px; x2:638px; y2:34px; "/>
  124. <caption id="caption4" class="search_name" style="left:5px; top:9px; width:91px; height:17px; ">기 간:</caption>
  125. <caption id="caption1" class="search_name" style="left:309px; top:10px; width:91px; height:17px; ">진료과:</caption>
  126. <select1 id="cmb_orddeptcd" ref="/root/cond/orddeptcd" navindex="2" appearance="minimal" style="left:380px; top:10px; width:180px; height:19px; text-align:left; ">
  127. <choices>
  128. <itemset nodeset="/root/init/orddeptinfo/orddeptinfolist">
  129. <label ref="deptnm"/>
  130. <value ref="deptcd"/>
  131. </itemset>
  132. </choices>
  133. <script type="javascript" ev:event="xforms-value-changed">
  134. <![CDATA[
  135. btn_search.dispatch('DOMActivate');
  136. ]]>
  137. </script>
  138. </select1>
  139. <input id="input1" ref="/root/cond/sdate" class="input_search" inputtype="date" style="left:70px; top:9px; width:95px; height:19px; text-align:center; "/>
  140. <input id="input2" ref="/root/cond/edate" class="input_search" inputtype="date" style="left:189px; top:9px; width:95px; height:19px; text-align:center; "/>
  141. <caption id="caption2" style="left:171px; top:9px; width:15px; height:20px; text-align:center; ">~</caption>
  142. </group>
  143. <!-- 조회그룹 종료 -->
  144. <datagrid id="grd_workerlist" nodeset="/root/main/workerinfo/workerinfolist" caption="일자^요일^진료과^의사^수정일자^수정자" colsep="^" colwidth="120, 50, 150, 100, 160, 100" defaultrows="0" focuscolor="#ece1ec" mergecellsfixedrows="never" rowheader="update" rowsep="|" selectionmode="free" style="left:1px; top:48px; width:723px; height:707px; ">
  145. <col ref="workdd" format="yyyy-mm-dd"/>
  146. <col ref="datenm"/>
  147. <col ref="orddeptnm"/>
  148. <col ref="drnm"/>
  149. <col ref="lastupdtdt"/>
  150. <col ref="lastupdtrnm"/>
  151. </datagrid>
  152. </group>
  153. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:745px; height:13px; ">응급실 당직 전문의 스케줄 변경이력 조회</caption>
  154. </xhtml:body>
  155. </xhtml:html>