SMPMB01600_의사별당일마감조회.xrw 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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. <drtodayend>
  11. <drtodayendlist/>
  12. </drtodayend>
  13. </main>
  14. <send>
  15. <orddd/>
  16. <orddeptcd/>
  17. <orddrid/>
  18. </send>
  19. <init>
  20. <P0037list>
  21. <P0037>
  22. <cdnm/>
  23. <cdid/>
  24. </P0037>
  25. </P0037list>
  26. <orddeptcd>
  27. <orddeptcdlist>
  28. <cd/>
  29. <nm/>
  30. </orddeptcdlist>
  31. </orddeptcd>
  32. <orddrid>
  33. <orddridlist>
  34. <cd/>
  35. <nm/>
  36. <dp/>
  37. <sp/>
  38. </orddridlist>
  39. </orddrid>
  40. <P0316list>
  41. <P0316>
  42. <cdnm/>
  43. <cdid/>
  44. </P0316>
  45. </P0316list>
  46. </init>
  47. <hidden>
  48. <tmp/>
  49. </hidden>
  50. </root>
  51. </instance>
  52. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  53. <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
  54. <script type="javascript" ev:event="xforms-ready">
  55. <![CDATA[
  56. zbcfGetCodeList(new Array("P0037", "P0316"), new Array("/root/init/P0037list", "/root/init/P0316list"));
  57. pamGetDeptCDDrIDList();
  58. model.makeNode("/root/init/temp/orddeptcd/orddeptcdlist/cd");
  59. model.makeNode("/root/init/temp/orddeptcd/orddeptcdlist/nm");
  60. copyNodesetType("/root/init/orddeptcd/orddeptcdlist", "/root/init/temp/orddeptcd/orddeptcdlist", "before");
  61. //fInitControl();
  62. fInitialize();
  63. model.refresh();
  64. ]]>
  65. </script>
  66. <submission id="TRPMB01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/drtodayend"/>
  67. </model>
  68. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  69. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  70. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  71. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  73. <script type="javascript">
  74. <![CDATA[
  75. function fInitialize(){
  76. model.removeNodeset("/root/main/drtodayend/drtodayendlist");
  77. //날자 입력 항목에 오늘 날자 세팅
  78. var curDate = getCurrentDate();
  79. model.setValue("/root/send/orddd", curDate);
  80. //model.setValue("/root/send/todd", curDate);
  81. //model.refresh();
  82. }
  83. /*
  84. function fInitControl()
  85. {
  86. //서버 일자로 처리
  87. today = new Date();
  88. var isYear, isMonth, ls_day;
  89. isYear = (today.getYear()).toString();
  90. isMonth = (today.getMonth() + 1).toString();
  91. isDay = (today.getDate()).toString();
  92. //1~9월까지 숫자 앞에 0을 붙여준다. ex) 1 -> 01
  93. if ((isMonth.toString()).length == 1) isMonth = ("0".concat(isMonth.toString()));
  94. if ((isDay.toString()).length == 1) isDay = ("0".concat(isDay.toString()));
  95. model.setValue("root/send/orddd", isYear.concat(isMonth, isDay) );
  96. //model.refresh();
  97. }
  98. */
  99. ]]>
  100. </script>
  101. </xhtml:head>
  102. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  103. <group id="group1" style="left:0px; top:0px; width:800px; height:13px; ">
  104. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:14px; ">의사별당일마감조회</caption>
  105. </group>
  106. <group id="group3" scroll="auto" style="left:0px; top:13px; width:800px; height:662px; ">
  107. <group id="group4" style="left:0px; top:10px; width:800px; height:35px; vertical-align:top; ">
  108. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:800px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  109. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:732px; top:7px; width:56px; height:22px; ">
  110. <caption>조회</caption>
  111. <script type="javascript" ev:event="DOMActivate">
  112. <![CDATA[
  113. if( ipt_orddd.value != "" ){
  114. if (submit("TRPMB01601")) {
  115. // var rows = grd_holische_mis.rows;
  116. // var fixedRows = grd_holische_mis.fixedRows;
  117. // var dataRows = rows - fixedRows;
  118. // var strDate = "";
  119. //
  120. // for (var i = dataRows ; i>0; i--){
  121. // strDate = "";
  122. // strDate = model.getValue("/root/main/drtodayend/drtodayendlist["+i+"]/lastupdtdt");
  123. // strDate = strDate.substr(0,10) + " "+ strDate.substr(11,2)+ ":" + strDate.substr(14,2);
  124. // model.setValue("/root/main/drtodayend/drtodayendlist["+i+"]/lastupdtdt",strDate);
  125. // }
  126. }
  127. }else{
  128. messageBox("진료일자를", "C002");
  129. }
  130. model.refresh();
  131. ]]>
  132. </script>
  133. </button>
  134. <line id="line2" class="line_4" style="x1:716px; y1:7px; x2:716px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  135. <select1 id="cmb_orddeptcd" ref="/root/send/orddeptcd" class="combo_s_essential" navindex="2" appearance="minimal" style="left:289px; top:8px; width:198px; height:19px; ">
  136. <choices>
  137. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  138. <label ref="nm"/>
  139. <value ref="cd"/>
  140. </itemset>
  141. </choices>
  142. <script type="javascript" ev:event="xforms-value-changed">
  143. <![CDATA[
  144. if( ipt_orddd.value != "" ){
  145. submit("TRPMB01601");
  146. }else{
  147. messageBox("진료일자를", "C002");
  148. }
  149. cmb_orddrid.choices.itemset.attribute("nodeset") = "/root/init/orddrid/orddridlist[dp = '" + cmb_orddeptcd.value + "']";
  150. model.setValue("/root/send/orddrid", "");
  151. cmb_orddrid.refresh();
  152. ]]>
  153. </script>
  154. </select1>
  155. <caption id="caption5" class="search_name" style="left:213px; top:9px; width:133px; height:17px; ">진료과 :</caption>
  156. <caption id="caption2" class="search_name" style="left:15px; top:8px; width:86px; height:17px; ">진료일자 :</caption>
  157. <input id="ipt_orddd" ref="/root/send/orddd" class="input_search" navindex="1" inputtype="date" style="left:104px; top:8px; width:100px; height:19px; "/>
  158. </group>
  159. <col type="checkbox"/>
  160. <caption id="caption4" class="tit_2" style="left:6px; top:55px; width:139px; height:13px; ">의사별당일마감내역</caption>
  161. <line id="line3" class="line_1" style="x1:0px; y1:70px; x2:800px; y2:70px; "/>
  162. <datagrid id="grd_holische_mis" nodeset="/root/main/drtodayend/drtodayendlist" class="datagrid1" autoresize="true" caption="진료일자^진료과^진료의사^오전/오후^마감사유^마감기간^작업자^작업시간" colsep="^" colwidth="85, 130, 61, 61, 130, 208, 90, 120" dataheight="25" defaultrows="2" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" navindex="5" style="left:0px; top:75px; width:800px; height:581px; ">
  163. <col ref="orddd" visibility="hidden" format="yyyy-mm-dd"/>
  164. <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
  165. <choices>
  166. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  167. <label ref="nm"/>
  168. <value ref="cd"/>
  169. </itemset>
  170. </choices>
  171. </col>
  172. <col disabled="true" ref="orddrid" type="combo" style="text-align:center; ">
  173. <choices>
  174. <itemset nodeset="/root/init/orddrid/orddridlist">
  175. <label ref="nm"/>
  176. <value ref="cd"/>
  177. </itemset>
  178. </choices>
  179. </col>
  180. <col disabled="true" ref="ampmflag" type="combo" visibility="hidden">
  181. <choices>
  182. <itemset nodeset="/root/init/P0316list/P0316">
  183. <label ref="cdnm"/>
  184. <value ref="cdid"/>
  185. </itemset>
  186. </choices>
  187. </col>
  188. <col disabled="true" ref="ordendresn" type="combo" style="text-align:center; ">
  189. <choices>
  190. <itemset nodeset="/root/init/P0037list/P0037">
  191. <label ref="cdnm"/>
  192. <value ref="cdid"/>
  193. </itemset>
  194. </choices>
  195. </col>
  196. <col ref="enddt" style="text-align:center; "/>
  197. <col ref="lastupdtrid" style="text-align:center; "/>
  198. <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss" style="text-align:center; "/>
  199. <script type="javascript" ev:event="onaftersort">
  200. <![CDATA[
  201. grd_holische_mis.gridToInstance();
  202. ]]>
  203. </script>
  204. </datagrid>
  205. </group>
  206. <group id="group2" scroll="auto" style="left:0px; top:675px; width:800px; height:27px; ">
  207. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:800px; y2:0px; "/>
  208. <button id="btn_cancel" class="btn4_letter2" navindex="6" style="left:744px; top:5px; width:56px; height:22px; ">
  209. <caption>취소</caption>
  210. <script type="javascript" ev:event="DOMActivate">
  211. <![CDATA[
  212. window.close();
  213. ]]>
  214. </script>
  215. </button>
  216. </group>
  217. <select1 id="cmb_orddrid" ref="/root/send/orddrid" class="combo_s_essential" navindex="3" appearance="minimal" style="left:559px; top:31px; width:150px; height:19px; ">
  218. <choices>
  219. <itemset nodeset="/root/init/orddrid/orddridlist">
  220. <label ref="nm"/>
  221. <value ref="cd"/>
  222. </itemset>
  223. </choices>
  224. </select1>
  225. <caption id="caption7" class="search_name" style="left:496px; top:31px; width:60px; height:17px; ">의사 :</caption>
  226. </xhtml:body>
  227. </xhtml:html>