SMRTS03000_당직비조회.xrw 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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. <ngdtamt>
  11. <ngdtamtlist/>
  12. </ngdtamt>
  13. </main>
  14. <hidden>
  15. </hidden>
  16. <temp>
  17. </temp>
  18. <init/>
  19. <send>
  20. <req>
  21. <yy/>
  22. <mm/>
  23. <deptcd/>
  24. <instcd/>
  25. <apprtcdrflag/>
  26. </req>
  27. <save/>
  28. </send>
  29. </root>
  30. </instance>
  31. <script type="javascript" ev:event="xforms-ready">
  32. <![CDATA[
  33. misfComboComCdListMulti("R0305,R0151", "cmb_instcd,cmb_apprtcdrflag");
  34. submit("TRRTS00602");
  35. var today = getCurrentDate();
  36. var cur_mm = parseInt(today.substring(4, 6));
  37. var cur_yy = parseInt(today.substring(0, 4));
  38. model.setValue("/root/send/req/yy", cur_yy);
  39. model.setValue("/root/send/req/mm", cur_mm);
  40. ipt_yy.refresh();
  41. ipt_mm.refresh();
  42. ]]>
  43. </script>
  44. <submission id="TRRTS00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdept" resultref="/root/main/ngdtcdlist"/>
  45. <bind id="bind1" ref="/root/main/ngdtamt/ngdtamtlist/ngdtamt" calculate="../weekno * 20000 + ../holino * 40000"/>
  46. <submission id="TRRTS03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/ngdtamt"/>
  47. <submission id="TXRTS03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req"/>
  48. </model>
  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/commonweb/js/stringHelper.js"/>
  53. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  54. <script type="javascript" src="../../../mis/tistrngeducplanmngtweb/js/SMRTS00600.js"/>
  55. <script type="javascript">
  56. <![CDATA[
  57. ]]>
  58. </script>
  59. </xhtml:head>
  60. <xhtml:body>
  61. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  62. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">당직비 조회</caption>
  63. </group>
  64. <group id="group2" scroll="auto" style="left:0px; top:38px; width:1195px; height:744px; ">
  65. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1195px; height:36px; background-color:#fffbf2; border-color:#ffd799; "/>
  66. <input id="ipt_yy" ref="/root/send/req/yy" class="input_s_essential" style="left:90px; top:14px; width:55px; height:19px; "/>
  67. <caption id="cap_yy" class="search_name" style="left:5px; top:15px; width:86px; height:17px; ">년 도 :</caption>
  68. <datagrid id="grd_ngdtamtlist" nodeset="/root/main/ngdtamt/ngdtamtlist" caption="부서코드^사원번호^성명^전공의구분^년차^평일당직수^휴일당직수^당직비" colsep="^" colwidth="75, 70, 100, 80, 40, 90, 90, 100" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="25" rowsep="|" style="left:0px; top:70px; width:1190px; height:670px; ">
  69. <col ref="orddeptcd" visibility="hidden"/>
  70. <col ref="emplno"/>
  71. <col ref="name"/>
  72. <col ref="apprtcdrflag"/>
  73. <col ref="anual" style="text-align:center; "/>
  74. <col ref="weekcnt" style="text-align:center; "/>
  75. <col ref="holicnt" style="text-align:center; "/>
  76. <col ref="payngdtamt" format="#,###" style="text-align:right; "/>
  77. </datagrid>
  78. <button id="btn_search" class="btn1_letter2" style="left:1130px; top:12px; width:56px; height:22px; text-align:left; ">
  79. <caption>조회</caption>
  80. <script type="javascript" ev:event="DOMActivate">
  81. <![CDATA[
  82. // if ( !isRequiredControls("ipt_yy", "ipt_mm", "cmb_deptcd", "cmb_instcd") ) {
  83. if ( !isRequiredControls("ipt_yy", "ipt_mm", "cmb_instcd") ) {
  84. return false;
  85. }
  86. model.setValue("/root/send/req/mm", model.getValue("/root/send/req/mm").getLeftPad(2, "0"));
  87. ipt_mm.refresh();
  88. submit("TRRTS03001");
  89. ]]>
  90. </script>
  91. </button>
  92. <line id="line82" class="line_4" style="x1:1115px; y1:10px; x2:1115px; y2:36px; border-color:#ffe4bb; border-left-style:solid; "/>
  93. <select1 id="cmb_deptcd" ref="/root/send/req/deptcd" class="combo_search" appearance="minimal" style="left:387px; top:14px; width:100px; height:19px; ">
  94. <choices>
  95. <itemset nodeset="/root/main/tisorddeptcdlist">
  96. <label ref="deptnm"/>
  97. <value ref="deptcd"/>
  98. </itemset>
  99. </choices>
  100. </select1>
  101. <caption id="cap_deptcd" class="search_name" style="left:315px; top:15px; width:75px; height:17px; ">임상과 :</caption>
  102. <caption id="caption5" class="tit_2" style="left:5px; top:48px; width:140px; height:13px; font-size:10pt; ">스케줄</caption>
  103. <line id="line1" class="line_1" style="x1:0px; y1:65px; x2:1190px; y2:66px; "/>
  104. <input id="ipt_mm" ref="/root/send/req/mm" class="input_s_essential" style="left:234px; top:14px; width:50px; height:19px; "/>
  105. <caption id="cap_mm" class="search_name" style="left:160px; top:15px; width:86px; height:17px; ">근무월 :</caption>
  106. <select1 id="cmb_instcd" ref="/root/send/req/instcd" class="combo_s_essential" disabled="false" appearance="minimal" style="left:587px; top:14px; width:148px; height:19px; ">
  107. <choices>
  108. <itemset>
  109. <label/>
  110. <value/>
  111. </itemset>
  112. </choices>
  113. </select1>
  114. <caption id="cap_instcd" class="search_name" style="left:501px; top:15px; width:94px; height:17px; ">근무병원 :</caption>
  115. <button id="btn_cret" class="btn2_letter6" style="left:1101px; top:44px; width:86px; height:19px; text-align:center; ">
  116. <caption>당직비 생성</caption>
  117. <script type="javascript" ev:event="DOMActivate">
  118. <![CDATA[
  119. var retMes = messageBox("당직비 생성을 ", "Q004");
  120. if ( retMes != 6) {
  121. return;
  122. }
  123. if ( !isRequiredControls("ipt_yy", "ipt_mm", "cmb_instcd") ) {
  124. return false;
  125. }
  126. model.setValue("/root/send/req/mm", model.getValue("/root/send/req/mm").getLeftPad(2, "0"));
  127. ipt_mm.refresh();
  128. submit("TXRTS03001");
  129. btn_search.dispatch("DOMActivate");
  130. ]]>
  131. </script>
  132. </button>
  133. <caption id="cap_apprtcdrflag" class="search_name" style="left:759px; top:16px; width:99px; height:17px; ">전공의구분 :</caption>
  134. <select1 id="cmb_apprtcdrflag" ref="/root/send/req/apprtcdrflag" class="combo_s_essential" appearance="minimal" style="left:860px; top:15px; width:148px; height:19px; ">
  135. <choices>
  136. <itemset>
  137. <label/>
  138. <value/>
  139. </itemset>
  140. </choices>
  141. </select1>
  142. </group>
  143. <group id="grp_btn" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; "/>
  144. </xhtml:body>
  145. </xhtml:html>