SMMMO09400_일자설정변경.xrw 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  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>WorkList 지정일자 등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <apntdaylist/>
  12. <wrklflag/>
  13. <wrkltrgtcd/>
  14. </cond>
  15. <info>
  16. <setdaylist>
  17. <setdaycls/>
  18. <fromdd/>
  19. <todd/>
  20. <newElement/>
  21. </setdaylist>
  22. </info>
  23. </main>
  24. <send>
  25. <savedata/>
  26. <reqdata/>
  27. </send>
  28. <hidden>
  29. </hidden>
  30. <init>
  31. <apntdaylist/>
  32. </init>
  33. <temp/>
  34. </root>
  35. </instance>
  36. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  37. <bind id="bind1" ref="/root/allsizegrupprcp/allsizegrupprcplist/drugqty" readonly="../status != &quot;Y&quot;"/>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. model.removeNodeset("/root/main/info/setdaylist");
  41. model.makeNode("/root/main/apntday/apntdaylist");
  42. var sCONDITION_PATH = "/root/main/cond";
  43. param = opener.javascript.getParameter("param");
  44. var paramArray = param.split("▩");
  45. model.removeNodeset(sCONDITION_PATH);
  46. model.MakeValue(sCONDITION_PATH + "/wrklflag" , paramArray[1]);
  47. model.MakeValue(sCONDITION_PATH + "/wrkltrgtcd" , paramArray[2]);
  48. model.MakeValue(sCONDITION_PATH + "/wrklno" , paramArray[3]);
  49. model.MakeValue(sCONDITION_PATH + "/instcd" , paramArray[4]);
  50. model.MakeValue(sCONDITION_PATH + "/pid" , paramArray[5]);
  51. model.MakeValue(sCONDITION_PATH + "/srchdd" , paramArray[6]);
  52. model.copyNode("/root/send/reqdata","/root/cond");
  53. fInitialize();
  54. // submit("TRMMO09402");
  55. model.refresh();
  56. ]]>
  57. </script>
  58. <submission id="TRMMO09402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/apntdayclslist"/>
  59. <submission id="TRMMO09403" mediatype="application/x-www-form-urlencoded" method="post"/>
  60. </model>
  61. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  62. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  63. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  64. <script type="javascript">
  65. <![CDATA[
  66. function fInitialize() {
  67. model.removeNodeset("/root/init/apntdaylist");
  68. model.makeValue("/root/send/reqdata/wrklflag",model.getValue("/root/main/cond/wrklflag"));
  69. model.makeValue("/root/send/reqdata/wrkltrgtcd",model.getValue("/root/main/cond/wrkltrgtcd"));
  70. submit("TRMMO09402");
  71. }
  72. ]]>
  73. </script>
  74. </xhtml:head>
  75. <xhtml:body pagewidth="330" pageheight="430" style="background-color:transparent; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  76. <caption id="caption1" class="tit_2" style="left:5px; top:20px; width:110px; height:13px; ">지정일자 등록</caption>
  77. <line id="line7" class="line_1" style="x1:8px; y1:35px; x2:300px; y2:35px; "/>
  78. <datagrid id="grd_setday" nodeset="/root/main/info/setdaylist" caption="등록명칭^시작일자^종료일자" colsep="^" colwidth="80, 90, 90" extendlastcol="noscroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:7px; top:41px; width:295px; height:150px; ">
  79. <col ref="setdaycls" type="combo">
  80. <choices>
  81. <itemset nodeset="/root/init/apntdaylist/apntdaylist">
  82. <label ref="apntdaynm"/>
  83. <value ref="apntdayno"/>
  84. </itemset>
  85. </choices>
  86. </col>
  87. <col ref="fromdd" type="inputdate"/>
  88. <col ref="todd" type="inputdate"/>
  89. </datagrid>
  90. <button id="button7" class="btn2_letter2" style="left:168px; top:13px; width:42px; height:19px; ">
  91. <caption>신규</caption>
  92. <script type="javascript" ev:event="DOMActivate">
  93. <![CDATA[
  94. grd_setday.addRow(true, true);
  95. grd_setday.topRow = grd_setday.rows;
  96. grd_setday.refresh();
  97. ]]>
  98. </script>
  99. </button>
  100. <button id="button8" class="btn2_letter2" style="left:213px; top:13px; width:42px; height:19px; ">
  101. <caption>삭제</caption>
  102. </button>
  103. <button id="button9" class="btn5_letter2" style="left:259px; top:13px; width:42px; height:19px; ">
  104. <caption>저장</caption>
  105. </button>
  106. <caption id="caption5" class="tit_2" style="left:5px; top:200px; width:110px; height:13px; ">이식일자 등록</caption>
  107. <line id="line1" class="line_1" style="x1:8px; y1:215px; x2:300px; y2:215px; "/>
  108. <select id="checkbox1" overflow="visible" appearance="full" style="left:10px; top:225px; width:100px; height:20px; font-weight:bold; background-color:#ccecff; border-style:none; ">
  109. <choices>
  110. <item>
  111. <label>장기이식일</label>
  112. <value>checkbox1</value>
  113. </item>
  114. </choices>
  115. </select>
  116. <select id="checkbox2" overflow="visible" appearance="full" style="left:10px; top:250px; width:100px; height:20px; font-weight:bold; background-color:#ccecff; border-style:none; ">
  117. <choices>
  118. <item>
  119. <label>골수이식일</label>
  120. <value>checkbox1</value>
  121. </item>
  122. </choices>
  123. </select>
  124. <button id="button2" class="btn2_letter2" style="left:213px; top:193px; width:42px; height:19px; ">
  125. <caption>삭제</caption>
  126. <script type="javascript" ev:event="DOMActivate">
  127. <![CDATA[
  128. ]]>
  129. </script>
  130. </button>
  131. <button id="button3" class="btn5_letter2" style="left:259px; top:193px; width:42px; height:19px; ">
  132. <caption>저장</caption>
  133. <script type="javascript" ev:event="DOMActivate">
  134. <![CDATA[
  135. ]]>
  136. </script>
  137. </button>
  138. <input id="input1" inputtype="date" style="left:115px; top:225px; width:100px; height:19px; "/>
  139. <input id="input2" inputtype="date" style="left:115px; top:250px; width:100px; height:19px; "/>
  140. <button id="button4" class="btn2_letter2" style="left:213px; top:278px; width:42px; height:19px; ">
  141. <caption>삭제</caption>
  142. </button>
  143. <button id="button5" class="btn5_letter2" style="left:259px; top:278px; width:42px; height:19px; ">
  144. <caption>저장</caption>
  145. </button>
  146. <select id="checkbox3" overflow="visible" appearance="full" style="left:10px; top:310px; width:100px; height:20px; font-weight:bold; background-color:#ccecff; border-style:none; ">
  147. <choices>
  148. <item>
  149. <label>수술일</label>
  150. <value>checkbox1</value>
  151. </item>
  152. </choices>
  153. </select>
  154. <line id="line2" class="line_1" style="x1:8px; y1:300px; x2:300px; y2:300px; "/>
  155. <caption id="caption2" class="tit_2" style="left:5px; top:285px; width:110px; height:13px; ">수술일자 등록</caption>
  156. <input id="input3" inputtype="date" style="left:115px; top:310px; width:100px; height:19px; "/>
  157. <button id="button6" class="btn2_letter2" style="left:213px; top:338px; width:42px; height:19px; ">
  158. <caption>삭제</caption>
  159. </button>
  160. <button id="button10" class="btn5_letter2" style="left:259px; top:338px; width:42px; height:19px; ">
  161. <caption>저장</caption>
  162. </button>
  163. <select id="checkbox5" overflow="visible" appearance="full" style="left:10px; top:370px; width:100px; height:20px; font-weight:bold; background-color:#ccecff; border-style:none; ">
  164. <choices>
  165. <item>
  166. <label>시작일자</label>
  167. <value>checkbox1</value>
  168. </item>
  169. </choices>
  170. </select>
  171. <caption id="caption3" class="tit_2" style="left:5px; top:345px; width:110px; height:13px; ">항암일자 등록</caption>
  172. <select id="checkbox6" overflow="visible" appearance="full" style="left:10px; top:395px; width:100px; height:20px; font-weight:bold; background-color:#ccecff; border-style:none; ">
  173. <choices>
  174. <item>
  175. <label>종료일자</label>
  176. <value>checkbox1</value>
  177. </item>
  178. </choices>
  179. </select>
  180. <line id="line3" class="line_1" style="x1:8px; y1:360px; x2:300px; y2:360px; "/>
  181. <input id="input5" inputtype="date" style="left:115px; top:370px; width:100px; height:19px; "/>
  182. <input id="input6" inputtype="date" style="left:115px; top:395px; width:100px; height:19px; "/>
  183. <button id="btn_setdaycls" class="btn3_letter2" style="left:110px; top:10px; width:56px; height:22px; ">
  184. <caption>등록</caption>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. var wrkltrgtcd = model.getValue("/root/main/cond/wrkltrgtcd");
  188. var wrklflag = model.getValue("/root/main/cond//wrklflag");
  189. var wrklno = model.getValue("/root/main/cond//wrklno");
  190. var instcd = model.getValue("/root/main/cond/instcd");
  191. var pid = model.getValue("/root/main/cond//pid");
  192. var srchdd = model.getValue("/root/main/cond/srchdd"); //조회일자
  193. var param = "S" + "▩" + wrklflag + "▩" + wrkltrgtcd + "▩" + wrklno + "▩" + instcd + "▩" + pid + "▩" + srchdd;
  194. setParameter("param", param);
  195. modal("SPMMO09400","1","150","150","SMMMO09400","/root/hidden/tmp/pidpopupinfo","root/send");
  196. ]]>
  197. </script>
  198. </button>
  199. </xhtml:body>
  200. </xhtml:html>