SMISA00101_연구자연구자관리연구비현황및신청.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  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>Untitle</xhtml:title>
  6. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  7. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  8. <script type="javascript" ev:event="xforms-ready">
  9. <![CDATA[
  10. submit("TRISR00006");
  11. ]]>
  12. </script>
  13. <script type="javascript">
  14. <![CDATA[
  15. function setViewTab() {
  16. var subjid = model.getValue("/root/init/subjid");
  17. if(subjid == "") return false;
  18. else return true;
  19. }
  20. function getSubjInfoSdy() {
  21. model.removeNodeset("/root/main/grid/sdysubjlst");
  22. submit("TRISR00002");
  23. model.refresh();
  24. }
  25. function setButton(boo) {
  26. button42.disabled = boo;
  27. button9.disabled = boo;
  28. button10.disabled = boo;
  29. }
  30. function set_iviewer() {
  31. model.resetInstanceNode("/root/main/selinfo");
  32. var judgkindcodet = model.getValue("/root/main/view/irsmsubjinfo/judgkindcode");
  33. var judgkindcode = judgkindcodet.split("!-");
  34. judgkindcode[0] == "1" ? model.setValue("/root/main/selinfo/item1", "1") : "";
  35. judgkindcode[1] == "2" ? model.setValue("/root/main/selinfo/item2", "2") : "";
  36. judgkindcode[2] == "3" ? model.setValue("/root/main/selinfo/item3", "3") : "";
  37. if(judgkindcode[3]== "4") {
  38. model.setValue("/root/main/selinfo/item4", "4");
  39. } else if(judgkindcode[3] == "5") {
  40. model.setValue("/root/main/selinfo/item4", "5");
  41. }
  42. if(judgkindcode[4] == "6") {
  43. model.setValue("/root/main/selinfo/item5", "6");
  44. } else if(judgkindcode[4] == "7") {
  45. model.setValue("/root/main/selinfo/item5", "7");
  46. }
  47. judgkindcode[5] == "8" ? model.setValue("/root/main/selinfo/item6", "8") : "";
  48. judgkindcode[6] == "9" ? model.setValue("/root/main/selinfo/item7", "9") : "";
  49. judgkindcode[7] == "10" ? model.setValue("/root/main/selinfo/item8", "10") : "";
  50. judgkindcode[8] == "11" ? model.setValue("/root/main/selinfo/item9", "11") : "";
  51. judgkindcode[9] == "12" ? model.setValue("/root/main/selinfo/item10", "12") : "";
  52. if(judgkindcode[10] == "13") {
  53. model.setValue("/root/main/selinfo/item11", "13");
  54. } else if(judgkindcode[10] == "14") {
  55. model.setValue("/root/main/selinfo/item11", "14");
  56. }
  57. if(judgkindcode[11] == "15") {
  58. model.setValue("/root/main/selinfo/item12", "15");
  59. } else if(judgkindcode[11] == "16") {
  60. model.setValue("/root/main/selinfo/item12", "16");
  61. }
  62. if(judgkindcode[12] == "17") {
  63. model.setValue("/root/main/selinfo/item13", "17");
  64. } else if(judgkindcode[12] == "18") {
  65. model.setValue("/root/main/selinfo/item13", "18");
  66. }
  67. judgkindcode[13] == "19" ? model.setValue("/root/main/selinfo/item14", "19") : "";
  68. if(judgkindcode[14] == "20") {
  69. model.setValue("/root/main/selinfo/item15", "20");
  70. } else if(judgkindcode[14] == "21") {
  71. model.setValue("/root/main/selinfo/item15", "21");
  72. }
  73. if(judgkindcode[15] == "22") {
  74. model.setValue("/root/main/selinfo/item16", "22");
  75. } else if(judgkindcode[15] == "23") {
  76. model.setValue("/root/main/selinfo/item16", "23");
  77. }
  78. if(judgkindcode[16] == "24") {
  79. model.setValue("/root/main/selinfo/item17", "24");
  80. } else if(judgkindcode[16] == "25") {
  81. model.setValue("/root/main/selinfo/item17", "25");
  82. }
  83. judgkindcode[17] == "26" ? model.setValue("/root/main/selinfo/item18", "26") : "";
  84. judgkindcode[18] == "27" ? model.setValue("/root/main/selinfo/item19", "27") : "";
  85. judgkindcode[19] == "28" ? model.setValue("/root/main/selinfo/item20", "28") : "";
  86. var acptyn = model.getValue("/root/main/view/irsmsubjinfo/acptyn");
  87. checkbox9.disabled = false;
  88. checkbox1.disabled = false;
  89. checkbox2.disabled = false;
  90. radio1.disabled = false;
  91. radio2.disabled = false;
  92. checkbox10.disabled = false;
  93. checkbox3.disabled = false;
  94. checkbox4.disabled = false;
  95. checkbox6.disabled = false;
  96. checkbox5.disabled = false;
  97. radio3.disabled = false;
  98. radio4.disabled = false;
  99. radio5.disabled = false;
  100. checkbox8.disabled = false;
  101. radio6.disabled = false;
  102. radio7.disabled = false;
  103. radio8.disabled = false;
  104. checkbox7.disabled = false;
  105. checkbox11.disabled = false;
  106. checkbox12.disabled = false;
  107. if(acptyn == "Y") {
  108. checkbox9.disabled = true;
  109. checkbox1.disabled = true;
  110. checkbox2.disabled = true;
  111. radio1.disabled = true;
  112. radio2.disabled = true;
  113. checkbox10.disabled = true;
  114. checkbox3.disabled = true;
  115. checkbox4.disabled = true;
  116. checkbox6.disabled = true;
  117. checkbox5.disabled = true;
  118. radio3.disabled = true;
  119. radio4.disabled = true;
  120. radio5.disabled = true;
  121. checkbox8.disabled = true;
  122. radio6.disabled = true;
  123. radio7.disabled = true;
  124. radio8.disabled = true;
  125. checkbox7.disabled = true;
  126. checkbox11.disabled = true;
  127. checkbox12.disabled = true;
  128. } else {
  129. setRadio1();
  130. setRadio2();
  131. setRadio3();
  132. }
  133. model.refresh();
  134. }
  135. function setRadio1() {
  136. var chk_value = model.getValue("/root/main/selinfo/item3");
  137. if(chk_value.indexOf(3) > -1) {
  138. radio1.disabled = false;
  139. radio2.disabled = false;
  140. } else {
  141. model.setValue("/root/main/selinfo/item4", "");
  142. model.setValue("/root/main/selinfo/item5", "");
  143. radio1.disabled = true;
  144. radio2.disabled = true;
  145. }
  146. }
  147. function setRadio2() {
  148. var chk_value = model.getValue("/root/main/selinfo/item10");
  149. if(chk_value.indexOf(12) > -1) {
  150. radio3.disabled = false;
  151. radio4.disabled = false;
  152. radio5.disabled = false;
  153. } else {
  154. model.setValue("/root/main/selinfo/item11", "");
  155. model.setValue("/root/main/selinfo/item12", "");
  156. model.setValue("/root/main/selinfo/item13", "");
  157. radio3.disabled = true;
  158. radio4.disabled = true;
  159. radio5.disabled = true;
  160. }
  161. }
  162. function setRadio3() {
  163. var chk_value = model.getValue("/root/main/selinfo/item14");
  164. if(chk_value.indexOf(19) > -1) {
  165. radio6.disabled = false;
  166. radio7.disabled = false;
  167. radio8.disabled = false;
  168. } else {
  169. model.setValue("/root/main/selinfo/item15", "");
  170. model.setValue("/root/main/selinfo/item16", "");
  171. model.setValue("/root/main/selinfo/item17", "");
  172. radio6.disabled = true;
  173. radio7.disabled = true;
  174. radio8.disabled = true;
  175. }
  176. }
  177. ]]>
  178. </script>
  179. <model id="model1">
  180. <instance id="instance1">
  181. <root xmlns="">
  182. <tasklist>
  183. <taskitem>
  184. <chk>true</chk>
  185. <name>과제목록</name>
  186. </taskitem>
  187. <taskitem>
  188. <chk>true</chk>
  189. <name>연구비신청</name>
  190. </taskitem>
  191. <taskitem>
  192. <chk>false</chk>
  193. <name>항목별연구비</name>
  194. </taskitem>
  195. <taskitem>
  196. <chk>false</chk>
  197. <name>항목별집행내역</name>
  198. </taskitem>
  199. <taxkitem>
  200. <chk>false</chk>
  201. <name>
  202. <항목별집행내역/>
  203. </name>
  204. </taxkitem>
  205. </tasklist>
  206. <main>
  207. <grid>
  208. <sdysubjlst>
  209. <subjno/>
  210. <subjnm/>
  211. <perchgrid/>
  212. <stdystaydd/>
  213. <directcost/>
  214. <reqtotcost/>
  215. <inputtotcost/>
  216. </sdysubjlst>
  217. </grid>
  218. </main>
  219. <init>
  220. <subjid/>
  221. <hospcd/>
  222. <judgkind/>
  223. </init>
  224. </root>
  225. </instance>
  226. <submission id="TRISR00006" ref="/root/init" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/main/grid"/>
  227. </model>
  228. </xhtml:head>
  229. <xhtml:body guideline="2,781;1,1192;">
  230. <iviewer id="iviewer1" src="IVIEW_M_연구자연구관리연구비현황2.xrw" style="left:0px; top:195px; width:1194px; height:585px; border-style:sunken; "/>
  231. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:14px; ">
  232. <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">연구비현황</caption>
  233. </group>
  234. <line id="line1" class="line_1" style="x1:0px; y1:87px; x2:1194px; y2:87px; "/>
  235. <datagrid id="datagrid2" nodeset="/root/main/grid/sdysubjlst" scroll="auto" caption="과제번호^과제명^의뢰자^연구기간^직접비100%^신청총액^입금총액" colwidth="100, 410, 125, 189, 100, 100, 100" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" colsep="^" style="left:0px; top:55px; width:1194px; height:140px; ">
  236. <col ref="subjno"/>
  237. <col ref="subjnm"/>
  238. <col ref="perchgrid"/>
  239. <col ref="stdystaydd"/>
  240. <col ref="directcost"/>
  241. <col ref="reqtotcost"/>
  242. <col ref="inputtotcost"/>
  243. </datagrid>
  244. <group id="group3" style="left:0px; top:20px; width:1194px; height:37px; vertical-align:top; ">
  245. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  246. <caption id="caption73" class="search_name" style="left:30px; top:8px; width:74px; height:17px; ">의뢰자 :</caption>
  247. <input id="input21" class="input_search" style="left:595px; top:8px; width:60px; height:19px; "/>
  248. <button id="button6" class="btn1_letter2" style="left:1129px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  249. <caption>조회</caption>
  250. </button>
  251. <caption id="caption77" class="search_name" style="left:520px; top:8px; width:79px; height:17px; ">연구자 :</caption>
  252. <input id="input19" class="input_search" style="left:265px; top:8px; width:80px; height:19px; "/>
  253. <caption id="caption1" class="search_name" style="left:175px; top:8px; width:89px; height:17px; ">과제번호 :</caption>
  254. <input id="input1" class="input_search" style="left:105px; top:8px; width:65px; height:19px; "/>
  255. <caption id="caption2" class="search_name" style="left:350px; top:8px; width:89px; height:17px; ">과제명 :</caption>
  256. <input id="input2" class="input_search" style="left:425px; top:8px; width:80px; height:19px; "/>
  257. <caption id="caption3" class="search_name" style="left:700px; top:8px; width:69px; height:17px; ">금액 :</caption>
  258. <input id="input3" class="input_search" style="left:765px; top:8px; width:60px; height:19px; "/>
  259. </group>
  260. </xhtml:body>
  261. </xhtml:html>