SMIIA00102_IRB일정관리.xrw 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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="TRIIA00194" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/irbschelist"/>
  86. <submission id="TXIIA00137" 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.setValue("/root/send/srchstartdd", (((getCurrentDate()).toDate("YYYYMMDD")).getAddDate(-1,"Y")).getDateFormat("YYYYMMDD") );
  98. model.setValue("/root/send/srchenddd", getCurrentDate());
  99. model.refresh();
  100. ]]>
  101. </script>
  102. </xhtml:head>
  103. <xhtml:body guideline="1,1198;">
  104. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:14px; ">
  105. <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">보고 일정 관리</caption>
  106. </group>
  107. <group id="group3" style="left:0px; top:15px; width:1194px; height:37px; vertical-align:top; ">
  108. <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; "/>
  109. <input id="ipt_startdd" ref="/root/send/srchstartdd" class="input_search" inputtype="date" style="left:90px; top:10px; width:95px; height:19px; "/>
  110. <caption id="caption1" class="search_name" style="left:10px; top:10px; width:86px; height:17px; ">조회일</caption>
  111. <input id="ipt_enddd" ref="/root/send/srchenddd" class="input_search" inputtype="date" style="left:205px; top:10px; width:95px; height:19px; "/>
  112. <caption id="caption2" style="left:190px; top:15px; width:20px; height:15px; ">~</caption>
  113. <button id="btn_sea" class="btn1_letter2" _auth="R" style="left:1125px; top:8px; width:56px; height:22px; ">
  114. <caption>조회</caption>
  115. <script type="javascript" ev:event="DOMActivate">
  116. <![CDATA[
  117. if(fCheckSearch()){
  118. submit("TRIIA00194");
  119. model.refresh();
  120. }
  121. ]]>
  122. </script>
  123. </button>
  124. <caption id="caption3" class="search_name" style="left:620px; top:10px; width:86px; height:17px; ">연구자 :</caption>
  125. <caption id="caption5" class="search_name" style="left:770px; top:10px; width:86px; height:17px; ">의뢰자 :</caption>
  126. <caption id="caption6" class="search_name" style="left:925px; top:10px; width:86px; height:17px; ">과제번호 :</caption>
  127. <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; ">
  128. <choices>
  129. <item>
  130. <label>심의일</label>
  131. <value>1</value>
  132. </item>
  133. <item>
  134. <label>중간보고일</label>
  135. <value>2</value>
  136. </item>
  137. <item>
  138. <label>결과보고일</label>
  139. <value>3</value>
  140. </item>
  141. <item>
  142. <label>종료보고일</label>
  143. <value>4</value>
  144. </item>
  145. </choices>
  146. </select1>
  147. <input id="input1" ref="/root/send/srchreststdynm" style="left:695px; top:10px; width:70; height:19px; ">
  148. <script type="javascript" ev:event="onkeyup">
  149. <![CDATA[
  150. inputEnterKey("btn_sea","DOMActivate");
  151. ]]>
  152. </script>
  153. </input>
  154. <input id="input2" ref="/root/send/srchsubjno" style="left:1014px; top:10px; width:100px; height:19px; ">
  155. <script type="javascript" ev:event="onkeyup">
  156. <![CDATA[
  157. inputEnterKey("btn_sea","DOMActivate");
  158. ]]>
  159. </script>
  160. </input>
  161. <input id="input3" ref="/root/send/srchcmpynm" style="left:847px; top:10px; width:70px; height:19px; ">
  162. <script type="javascript" ev:event="onkeyup">
  163. <![CDATA[
  164. inputEnterKey("btn_sea","DOMActivate");
  165. ]]>
  166. </script>
  167. </input>
  168. </group>
  169. <button id="button4" class="btn5_letter2" _auth="X" style="left:1138px; top:59px; width:42px; height:19px; ">
  170. <caption>저장</caption>
  171. <script type="javascript" ev:event="DOMActivate">
  172. <![CDATA[
  173. model.setValue("/root/send/senddata",grd_irbsche.getUpdateData());
  174. if(submit("TXIIA00137")){
  175. if(fCheckSearch()){
  176. submit("TRIIA00194");
  177. }
  178. }
  179. model.refresh();
  180. ]]>
  181. </script>
  182. </button>
  183. <button id="button7" class="btn2_letter2" visibility="visible" _auth="P" style="left:1035px; top:59px; width:42px; height:19px; ">
  184. <caption>출력</caption>
  185. </button>
  186. <datagrid id="grd_irbsche" nodeset="/root/main/irbschelist/item" caption="심사차수^과제번호^과제명^품목명^접수일^의뢰자^연구자^심사비금액^심사비^심의일^중간보고일^지속심의일^종료보고일^결과보고일^instcd^subjid^respstdyempno^reqinstcd" colsep="^" colwidth="55, 104, 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; ">
  187. <col ref="judgappdg"/>
  188. <col ref="subjno"/>
  189. <col ref="subjnm"/>
  190. <col ref="itemnm"/>
  191. <col disabled="true" ref="reqdt" type="output" format="yyyy-mm-dd"/>
  192. <col ref="cmpynm"/>
  193. <col ref="respstdynm"/>
  194. <col ref="irbjudgcostamt" format="(-)#,###" style="text-align:right; "/>
  195. <col disabled="true" ref="irbjudgcostdepoyn" type="combo">
  196. <choices>
  197. <item>
  198. <label>입금</label>
  199. <value>Y</value>
  200. </item>
  201. <item>
  202. <label>미입금</label>
  203. <value>N</value>
  204. </item>
  205. </choices>
  206. </col>
  207. <col ref="conftm" type="output" format="yyyy-mm-dd"/>
  208. <col ref="mdlschedd" type="inputdate"/>
  209. <col ref="contschedd" type="inputdate"/>
  210. <col ref="endschedd" type="inputdate"/>
  211. <col ref="rsltschedd" type="inputdate"/>
  212. <col ref="instcd" visibility="hidden"/>
  213. <col ref="subjid" visibility="hidden"/>
  214. <col ref="respstdyempno" visibility="hidden"/>
  215. <col ref="reqinstcd" visibility="hidden"/>
  216. </datagrid>
  217. <caption id="caption4" class="tit_2" style="left:12px; top:60px; width:185px; height:13px; ">과제목록</caption>
  218. <line id="line2" class="line_1" style="x1:2px; y1:80px; x2:1183px; y2:80px; "/>
  219. <line id="line3" class="line_3" style="x1:5px; y1:770px; x2:1186px; y2:770px; "/>
  220. <button id="button1" class="btn2_letter3" style="left:1081px; top:59px; width:53px; height:19px; ">
  221. <caption>Excel</caption>
  222. <script type="javascript" ev:event="DOMActivate">
  223. <![CDATA[
  224. if((grd_irbsche.rows - grd_irbsche.fixedRows)==0){
  225. messageBox("조회된 ", "E013");
  226. return;
  227. }else{
  228. var fileName = window.fileDialog("save",",",false,"보고서-IRB일정관리","xls","All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
  229. }
  230. if(fileName !=""){
  231. grd_irbsche.saveExcel(fileName);
  232. }
  233. ]]>
  234. </script>
  235. </button>
  236. </xhtml:body>
  237. </xhtml:html>