SMIIA00102_IRB일정관리.xrw 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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>IRB일정관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <irbschelist>
  11. <item>
  12. <judgappdg/>
  13. <subjno/>
  14. <subjnm/>
  15. <itemnm/>
  16. <reqdt/>
  17. <respstdynm/>
  18. <cmpynm/>
  19. <irbjudgcostamt/>
  20. <irbjudgcostdepoyn/>
  21. <conftm/>
  22. <mdlschedd/>
  23. <contschedd/>
  24. <endschedd/>
  25. <rsltschedd/>
  26. <instcd/>
  27. <subjid/>
  28. <respstdyempno/>
  29. <reqinstcd/>
  30. </item>
  31. </irbschelist>
  32. </main>
  33. <send>
  34. <srchstartdd/>
  35. <srchenddd/>
  36. <srchdateflag>1</srchdateflag>
  37. <srchreststdynm/>
  38. <srchcmpynm/>
  39. <srchsubjno/>
  40. <senddata/>
  41. </send>
  42. <hidden/>
  43. <init>
  44. </init>
  45. <temp/>
  46. </root>
  47. </instance>
  48. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  50. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  51. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  52. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  53. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  54. <script type="javascript">
  55. <![CDATA[
  56. function fCheckSearch(){
  57. var startdd = model.getValue("/root/send/srchstartdd");
  58. var enddd = model.getValue("/root/send/srchenddd");
  59. var dateflag = model.getValue("/root/send/srchdateflag");
  60. var flag = true;
  61. if(startdd=="" && enddd!=""){
  62. messageBox("조회시작일을","C001")
  63. model.setFocus("ipt_startdd");
  64. flag = false;
  65. }
  66. if(startdd!="" && enddd==""){
  67. messageBox("조회종료일을","C001")
  68. model.setFocus("ipt_enddd");
  69. flag = false;
  70. }
  71. if(startdd>enddd){
  72. messageBox("검색날짜가 잘못 입력 되었습니다.","E000");
  73. model.setFocus("ipt_enddd");
  74. flag = false;
  75. }
  76. if(startdd!="" && enddd!="" && dateflag==""){
  77. messageBox("조회할 검색조건을 선택해 주세요 .","E000");
  78. model.setFocus("ipt_enddd");
  79. flag = false;
  80. }
  81. return flag;
  82. }
  83. ]]>
  84. </script>
  85. <submission id="TRIIA00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/irbschelist"/>
  86. <submission id="TXIIA00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
  87. </model>
  88. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  89. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  90. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  91. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  92. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  93. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  94. <script type="javascript" ev:event="xforms-ready">
  95. <![CDATA[
  96. model.removenode("/root/main/irbschelist/item");
  97. model.refresh();
  98. ]]>
  99. </script>
  100. </xhtml:head>
  101. <xhtml:body guideline="1,1198;">
  102. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:14px; ">
  103. <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">보고 일정 관리</caption>
  104. </group>
  105. <group id="group3" style="left:0px; top:15px; width:1194px; height:37px; vertical-align:top; ">
  106. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:2px; top:0px; width:1190px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  107. <input id="ipt_startdd" ref="/root/send/srchstartdd" class="input_search" inputtype="date" style="left:90px; top:10px; width:95px; height:19px; "/>
  108. <caption id="caption1" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">조회일</caption>
  109. <input id="ipt_enddd" ref="/root/send/srchenddd" class="input_search" inputtype="date" style="left:205px; top:10px; width:95px; height:19px; "/>
  110. <caption id="caption2" style="left:190px; top:15px; width:20px; height:15px; ">~</caption>
  111. <button id="btn_sea" class="btn1_letter2" _auth="R" style="left:1125px; top:8px; width:56px; height:22px; ">
  112. <caption>조회</caption>
  113. <script type="javascript" ev:event="DOMActivate">
  114. <![CDATA[
  115. if(fCheckSearch()){
  116. submit("TRIIA00202");
  117. model.refresh();
  118. }
  119. ]]>
  120. </script>
  121. </button>
  122. <caption id="caption3" class="search_name" style="left:620px; top:10px; width:86px; height:17px; ">연구자 :</caption>
  123. <caption id="caption5" class="search_name" style="left:770px; top:10px; width:86px; height:17px; ">의뢰자 :</caption>
  124. <caption id="caption6" class="search_name" style="left:925px; top:10px; width:86px; height:17px; ">과제번호 :</caption>
  125. <select1 id="radio2" ref="/root/send/srchdateflag" class="s" appearance="full" cols="4" rows="1" overflow="visible" style="left:305px; top:12px; width:305px; height:15px; border-style:none; ">
  126. <choices>
  127. <item>
  128. <label>심의일</label>
  129. <value>1</value>
  130. </item>
  131. <item>
  132. <label>중간보고일</label>
  133. <value>2</value>
  134. </item>
  135. <item>
  136. <label>결과보고일</label>
  137. <value>3</value>
  138. </item>
  139. <item>
  140. <label>종료보고일</label>
  141. <value>4</value>
  142. </item>
  143. </choices>
  144. </select1>
  145. <input id="input1" ref="/root/send/srchreststdynm" style="left:695px; top:10px; width:70; height:19px; ">
  146. <script type="javascript" ev:event="onkeyup">
  147. <![CDATA[
  148. inputEnterKey("btn_sea","DOMActivate");
  149. ]]>
  150. </script>
  151. </input>
  152. <input id="input2" ref="/root/send/srchsubjno" style="left:1014px; top:10px; width:100px; height:19px; ">
  153. <script type="javascript" ev:event="onkeyup">
  154. <![CDATA[
  155. inputEnterKey("btn_sea","DOMActivate");
  156. ]]>
  157. </script>
  158. </input>
  159. <input id="input3" ref="/root/send/srchcmpynm" style="left:847px; top:10px; width:70px; height:19px; ">
  160. <script type="javascript" ev:event="onkeyup">
  161. <![CDATA[
  162. inputEnterKey("btn_sea","DOMActivate");
  163. ]]>
  164. </script>
  165. </input>
  166. </group>
  167. <button id="button4" class="btn5_letter2" _auth="X" style="left:1138px; top:59px; width:42px; height:19px; ">
  168. <caption>저장</caption>
  169. <script type="javascript" ev:event="DOMActivate">
  170. <![CDATA[
  171. model.setValue("/root/send/senddata",grd_irbsche.getUpdateData());
  172. if(submit("TXIIA00202")){
  173. if(fCheckSearch()){
  174. submit("TRIIA00202");
  175. }
  176. }
  177. model.refresh();
  178. ]]>
  179. </script>
  180. </button>
  181. <button id="button7" class="btn2_letter2" visibility="visible" _auth="P" style="left:1035px; top:59px; width:42px; height:19px; ">
  182. <caption>출력</caption>
  183. </button>
  184. <datagrid id="grd_irbsche" nodeset="/root/main/irbschelist/item" caption="심사차수^과제번호^과제명^품목명^접수일^의뢰자^연구자^심사비금액^심사비^심의일^중간보고일^지속심의일^종료보고일^결과보고일^instcd^subjid^respstdyempno^reqinstcd" colsep="^" colwidth="55, 93, 190, 106, 75, 82, 56, 76, 65, 73, 90, 90, 90, 90, 40, 40, 40, 40" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" tooltip="true" style="left:2px; top:85px; width:1181px; height:680px; ">
  185. <col ref="judgappdg"/>
  186. <col ref="subjno"/>
  187. <col ref="subjnm"/>
  188. <col ref="itemnm"/>
  189. <col disabled="true" ref="reqdt" type="output" format="yyyy-mm-dd"/>
  190. <col ref="cmpynm"/>
  191. <col ref="respstdynm"/>
  192. <col disabled="true" ref="irbjudgcostamt" type="input"/>
  193. <col ref="irbjudgcostdepoyn" type="combo">
  194. <choices>
  195. <item>
  196. <label>입금</label>
  197. <value>1</value>
  198. </item>
  199. <item>
  200. <label>미입금</label>
  201. <value>2</value>
  202. </item>
  203. </choices>
  204. </col>
  205. <col ref="conftm" type="output" format="yyyy-mm-dd"/>
  206. <col ref="mdlschedd" type="inputdate"/>
  207. <col ref="contschedd" type="inputdate"/>
  208. <col ref="endschedd" type="inputdate"/>
  209. <col ref="rsltschedd" type="inputdate"/>
  210. <col ref="instcd" visibility="hidden"/>
  211. <col ref="subjid" visibility="hidden"/>
  212. <col ref="respstdyempno" visibility="hidden"/>
  213. <col ref="reqinstcd" visibility="hidden"/>
  214. </datagrid>
  215. <caption id="caption4" class="tit_2" style="left:12px; top:60px; width:185px; height:13px; ">과제목록</caption>
  216. <line id="line2" class="line_1" style="x1:2px; y1:80px; x2:1183px; y2:80px; "/>
  217. <line id="line3" class="line_3" style="x1:5px; y1:770px; x2:1186px; y2:770px; "/>
  218. <button id="button1" class="btn2_letter3" style="left:1081px; top:59px; width:53px; height:19px; ">
  219. <caption>Excel</caption>
  220. <script type="javascript" ev:event="DOMActivate">
  221. <![CDATA[
  222. if((grd_irbsche.rows - grd_irbsche.fixedRows)==0){
  223. messageBox("조회된 ", "E013");
  224. return;
  225. }else{
  226. var fileName = window.fileDialog("save",",",false,"보고서-IRB일정관리","xls","All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
  227. }
  228. if(fileName !=""){
  229. grd_irbsche.saveExcel(fileName);
  230. }
  231. ]]>
  232. </script>
  233. </button>
  234. </xhtml:body>
  235. </xhtml:html>