SMISA00200_CRCC 연구비신청관리.xrw 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695
  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>CRCC연구비신청관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <stdysubjinfo>
  11. <item>
  12. <subjno/>
  13. <subjnm/>
  14. <cmpynm/>
  15. <stdystaydd/>
  16. <direccost/>
  17. <reqtotcost/>
  18. <inputtotcost/>
  19. <totstdycost/>
  20. <reqinstcd/>
  21. <usernm/>
  22. <subjid/>
  23. <instcd/>
  24. </item>
  25. </stdysubjinfo>
  26. <stdycostinfo>
  27. <item>
  28. <updtdg/>
  29. <bugtupdtdd/>
  30. <fstbugt/>
  31. <bugtamt/>
  32. <crccaprvyn/>
  33. <rtnresn/>
  34. <subjid/>
  35. <instcd/>
  36. </item>
  37. </stdycostinfo>
  38. <bugtdata>
  39. <icumbugta>
  40. <subjid/>
  41. <instcd/>
  42. <updtdg/>
  43. <itemexpendcd/>
  44. <detlitemexpendcd/>
  45. <detlitemexpendnm/>
  46. <bugt/>
  47. <calcbase/>
  48. <appamt/>
  49. </icumbugta>
  50. <icumbugtb>
  51. <subjid/>
  52. <instcd/>
  53. <updtdg/>
  54. <itemexpendcd/>
  55. <detlitemexpendcd/>
  56. <detlitemexpendnm/>
  57. <bugt/>
  58. <calcbase/>
  59. <appamt/>
  60. </icumbugtb>
  61. <icumbugtc>
  62. <subjid/>
  63. <instcd/>
  64. <updtdg/>
  65. <itemexpendcd/>
  66. <detlitemexpendcd/>
  67. <detlitemexpendnm/>
  68. <bugt/>
  69. <calcbase/>
  70. <appamt/>
  71. </icumbugtc>
  72. <icumbugtfilelst>
  73. <attfilenm1/>
  74. <attfilenm2/>
  75. <attfilenm3/>
  76. <attfilenm4/>
  77. <attfilenm5/>
  78. </icumbugtfilelst>
  79. <selectrow>
  80. <subjid/>
  81. <instcd/>
  82. <updtdg/>
  83. </selectrow>
  84. </bugtdata>
  85. <calc>
  86. <subtotal/>
  87. <hospindirect/>
  88. <crccindirect/>
  89. <totalindirect/>
  90. </calc>
  91. <newElement/>
  92. </main>
  93. <send>
  94. <srchsubjid/>
  95. <srchinstcd/>
  96. <srchupdtdg/>
  97. <crccaprvyn>A</crccaprvyn>
  98. <saveappdata/>
  99. <savebugtadata/>
  100. <savebugtbdata/>
  101. <savebugtcdata/>
  102. <save>
  103. <senddata>
  104. <updtdg/>
  105. <bugtamt/>
  106. <crccaprvyn/>
  107. <subjid/>
  108. <instcd/>
  109. <rtnresn/>
  110. </senddata>
  111. </save>
  112. <attach>
  113. <file/>
  114. </attach>
  115. <stdycrccaprvyn>1</stdycrccaprvyn>
  116. <srchusernm/>
  117. </send>
  118. <init>
  119. <subjid/>
  120. <instcd/>
  121. <appdg/>
  122. <baseinfo>
  123. <instinfo>
  124. <instcd/>
  125. <hospnm/>
  126. </instinfo>
  127. </baseinfo>
  128. <sumcost/>
  129. </init>
  130. <temp>
  131. <directcost/>
  132. </temp>
  133. </root>
  134. </instance>
  135. <bind id="bind1" ref="/root/main/calc/subtotal" calculate="sum(/root/main/bugtdata/icumbugta/bugt) +&#xA;sum(/root/main/bugtdata/icumbugtb/bugt) + &#xA;sum(/root/main/bugtdata/icumbugtc/bugt)"/>
  136. <bind id="bind2" ref="/root/main/calc/hospindirect" calculate="/root/main/calc/subtotal * 0.10"/>
  137. <bind id="bind3" ref="/root/main/calc/crccindirect" calculate="/root/main/calc/subtotal * 0.05"/>
  138. <bind id="bind4" ref="/root/main/calc/totalindirect" calculate="/root/main/calc/subtotal + &#xA;/root/main/calc/hospindirect + /root/main/calc/crccindirect"/>
  139. <submission id="TRIRZ00000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/init" replace="instance" resultref="/root/init/baseinfo"/>
  140. <submission id="TRISA00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/stdycostinfo"/>
  141. <submission id="TRISA00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/bugtdata"/>
  142. <submission id="TXIRS00125"/>
  143. <submission id="TXISA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/senddata" replace="instance"/>
  144. <submission id="TRISA00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/stdysubjinfo"/>
  145. </model>
  146. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  147. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  148. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  149. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  150. <script type="javascript">
  151. <![CDATA[
  152. //과제리스트 선택시 : 신청차수 + 연구비목록 조회
  153. function fSearchStdyAppSubmit(){
  154. if(submit("TRISA00202")){
  155. if(grd_applist.rows>1 && grd_applist.row == grd_applist.mouseRow){
  156. var rowStatus = grd_applist.rowStatus(grd_applist.row);
  157. model.setValue("/root/send/srchupdtdg",model.getValue("/root/main/stdycostinfo/item[" + grd_applist.row + "]/updtdg"));
  158. if(rowStatus!=1){
  159. submit("TRISA00203");
  160. }
  161. else{
  162. model.removenode("/root/main/bugtdata/icumbugta");
  163. model.removenode("/root/main/bugtdata/icumbugtb");
  164. model.removenode("/root/main/bugtdata/icumbugtc");
  165. model.removenode("/root/main/bugtdata/icumbugtfilelst");
  166. }
  167. model.refresh();
  168. }
  169. else{
  170. model.removenode("/root/main/bugtdata/icumbugta");
  171. model.removenode("/root/main/bugtdata/icumbugtb");
  172. model.removenode("/root/main/bugtdata/icumbugtc");
  173. model.removenode("/root/main/bugtdata/icumbugtfilelst");
  174. return;
  175. }
  176. }
  177. }
  178. ]]>
  179. </script>
  180. <script type="javascript" ev:event="xforms-ready">
  181. <![CDATA[
  182. model.removenode("/root/main/stdycostinfo/item");
  183. model.removenode("/root/main/bugtdata/icumbugta");
  184. model.removenode("/root/main/bugtdata/icumbugtb");
  185. model.removenode("/root/main/bugtdata/icumbugtc");
  186. model.removenode("/root/main/bugtdata/icumbugtfilelst");
  187. submit("TRISA00204");
  188. submit("TRIRZ00000");
  189. astfAddCombo("/root/init/baseinfo","instinfo","instcd,hospnm",",전체");
  190. model.refresh();
  191. ]]>
  192. </script>
  193. </xhtml:head>
  194. <xhtml:body>
  195. <group id="group2" style="left:0px; top:54px; width:1194px; height:141px; ">
  196. <datagrid id="grd_subjlist" nodeset="/root/main/stdysubjinfo/item" caption="과제번호^과제명^의뢰자^연구자^연구기간^직접비(100%)^총연구비^신청총액^입금총액^instcd^subjid" colsep="^" colwidth="114, 220, 115, 82, 143, 101, 100, 100, 108, 44, 44" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:1190px; height:138px; ">
  197. <col ref="subjno"/>
  198. <col ref="subjnm"/>
  199. <col ref="cmpynm"/>
  200. <col ref="usernm"/>
  201. <col ref="stdystaydd"/>
  202. <col ref="direccost" format="(-)#,###" style="text-align:right; "/>
  203. <col ref="totstdycost" format="(-)#,###" style="text-align:right; "/>
  204. <col ref="reqtotcost" format="(-)#,###" style="text-align:right; "/>
  205. <col ref="inputtotcost" format="(-)#,###" style="text-align:right; "/>
  206. <col ref="instcd" visibility="hidden"/>
  207. <col ref="subjid" visibility="hidden"/>
  208. <script type="javascript" ev:event="onclick">
  209. <![CDATA[
  210. model.makeNode("/root/temp/directcost");
  211. if(grd_subjlist.rows>1 && grd_subjlist.row == grd_subjlist.mouseRow){
  212. model.setValue("/root/send/srchsubjid",model.getValue("/root/main/stdysubjinfo/item["+ grd_subjlist.row +"]/subjid"));
  213. model.setValue("/root/send/srchinstcd",model.getValue("/root/main/stdysubjinfo/item["+ grd_subjlist.row +"]/instcd"));
  214. fSearchStdyAppSubmit();
  215. model.setValue("/root/temp/directcost", model.getValue("/root/main/stdysubjinfo/item[" + grd_subjlist.row + "]/direccost"));
  216. if(grd_applist.rows > 1)
  217. {
  218. grd_applist.row = 1;
  219. grd_applist.dispatch("onclick");
  220. //강제하단보여주기
  221. if(grd_applist.rows>1 && grd_applist.row > 0){
  222. grd_applist.editCell();
  223. var rowStatus = grd_applist.rowStatus(grd_applist.row);
  224. model.setValue("/root/send/srchupdtdg",model.getValue("/root/main/stdycostinfo/item[" + grd_applist.row + "]/updtdg"));
  225. if(rowStatus!=1){
  226. submit("TRISA00203");
  227. }
  228. else{
  229. model.removenode("/root/main/bugtdata/icumbugta");
  230. model.removenode("/root/main/bugtdata/icumbugtb");
  231. model.removenode("/root/main/bugtdata/icumbugtc");
  232. model.removenode("/root/main/bugtdata/icumbugtfilelst");
  233. }
  234. model.refresh();
  235. }
  236. }
  237. }
  238. ]]>
  239. </script>
  240. </datagrid>
  241. </group>
  242. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  243. <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:120px; height:14px; ">등록된 병원목록</caption>
  244. </group>
  245. <group id="group3" style="left:0px; top:195px; width:1194px; height:142px; border-color:#99ccff; border-style:solid; ">
  246. <caption id="caption2" class="tit_2" style="left:10px; top:2px; width:160px; height:18px; font-weight:bold; vertical-align:middle; ">* 신청차수</caption>
  247. <datagrid id="grd_applist" nodeset="/root/main/stdycostinfo/item" caption="신청차수^신청일^초기신청금액^신청금액^승인여부^반려사유^caption1^caption2" colsep="^" colwidth="62, 88, 88, 88, 74, 105, 27, 34" mergecellsfixedrows="bycolrec" rowsep="|" style="left:10px; top:22px; width:519px; height:115px; ">
  248. <col ref="updtdg" style="text-align:center; "/>
  249. <col ref="bugtupdtdd" format="yyyy-mm-dd" style="text-align:center; "/>
  250. <col ref="fstbugt" format="(-)#,###" style="text-align:right; "/>
  251. <col ref="bugtamt" format="(-)#,###" style="text-align:right; "/>
  252. <col class="gridcombo" ref="crccaprvyn" type="combo">
  253. <choices>
  254. <item>
  255. <label>승인</label>
  256. <value>Y</value>
  257. </item>
  258. <item>
  259. <label>신청완료</label>
  260. <value>N</value>
  261. </item>
  262. <item>
  263. <label>반려</label>
  264. <value>R</value>
  265. </item>
  266. <item>
  267. <label>저장</label>
  268. <value>T</value>
  269. </item>
  270. </choices>
  271. </col>
  272. <col ref="rtnresn" type="input"/>
  273. <col ref="subjid" visibility="hidden"/>
  274. <col ref="instcd" visibility="hidden"/>
  275. <script type="javascript" ev:event="onclick">
  276. <![CDATA[
  277. if(grd_applist.rows>1 && grd_applist.row == grd_applist.mouseRow){
  278. grd_applist.editCell();
  279. var rowStatus = grd_applist.rowStatus(grd_applist.row);
  280. model.setValue("/root/send/srchupdtdg",model.getValue("/root/main/stdycostinfo/item[" + grd_applist.row + "]/updtdg"));
  281. if(rowStatus!=1){
  282. submit("TRISA00203");
  283. }
  284. else{
  285. model.removenode("/root/main/bugtdata/icumbugta");
  286. model.removenode("/root/main/bugtdata/icumbugtb");
  287. model.removenode("/root/main/bugtdata/icumbugtc");
  288. model.removenode("/root/main/bugtdata/icumbugtfilelst");
  289. }
  290. model.refresh();
  291. }
  292. ]]>
  293. </script>
  294. </datagrid>
  295. <button id="btn_saveapp" class="btn5_letter2" _auth="X" style="left:484px; top:1px; width:42px; height:24px; ">
  296. <caption>저장</caption>
  297. <script type="javascript" ev:event="DOMActivate">
  298. <![CDATA[
  299. model.setValue("/root/send/save/senddata/updtdg", model.getValue("/root/main/stdycostinfo/item[1]/updtdg"));
  300. model.setValue("/root/send/save/senddata/bugtamt", model.getValue("/root/main/stdycostinfo/item[1]/bugtamt"));
  301. model.setValue("/root/send/save/senddata/crccaprvyn", model.getValue("/root/main/stdycostinfo/item[1]/crccaprvyn"));
  302. model.setValue("/root/send/save/senddata/rtnresn", model.getValue("/root/main/stdycostinfo/item[1]/rtnresn"));
  303. model.setValue("/root/send/save/senddata/subjid", model.getValue("/root/main/stdycostinfo/item[1]/subjid"));
  304. model.setValue("/root/send/save/senddata/instcd", model.getValue("/root/main/stdycostinfo/item[1]/instcd"));
  305. if ( model.getValue("/root/main/stdycostinfo/item[" + grd_applist.row + "]/crccaprvyn") == 'R' && model.getValue("/root/main/stdycostinfo/item[" + grd_applist.row + "]/rtnresn") == '' ) {
  306. messageBox("반려사유는 필수입력사항입니다.", "I");
  307. return;
  308. }
  309. submit("TXISA00102");
  310. model.refresh();
  311. ]]>
  312. </script>
  313. </button>
  314. </group>
  315. <group id="group5" style="left:0px; top:339px; width:1194px; height:437px; border-color:#99ccff; border-style:solid; ">
  316. <datagrid id="grd_attach" nodeset="/root/send/attach" visibility="hidden" caption="파일경로^" colwidth="291" extendlastcol="scroll" mergecellsfixedrows="bycolrec" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:609px; top:312px; width:315px; height:45px; ">
  317. <col ref="file" style="left:0px; top:23px; width:644px; height:23px; "/>
  318. </datagrid>
  319. <line id="line8" class="line_3" style="x1:6px; y1:432px; x2:553px; y2:432px; "/>
  320. <line id="line9" class="line_3" style="x1:869px; y1:432px; x2:1178px; y2:432px; "/>
  321. <datagrid id="grd_icumbugtc" nodeset="/root/main/bugtdata/icumbugtc" caption="지출항목^기집행금액^실행예산^산출근거" colsep="^" colwidth="100, 120, 120, 200, 100, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:6px; top:203px; width:564px; height:179px; ">
  322. <col disabled="true" ref="detlitemexpendcd" type="combo">
  323. <choices>
  324. <item>
  325. <label>유인물비</label>
  326. <value>30001</value>
  327. </item>
  328. <item>
  329. <label>문헌조사비</label>
  330. <value>30002</value>
  331. </item>
  332. <item>
  333. <label>설문조사비</label>
  334. <value>30003</value>
  335. </item>
  336. <item>
  337. <label>공공요금,잡비</label>
  338. <value>30004</value>
  339. </item>
  340. <item>
  341. <label>자문료</label>
  342. <value>30005</value>
  343. </item>
  344. <item>
  345. <label>기타</label>
  346. <value>30099</value>
  347. </item>
  348. </choices>
  349. </col>
  350. <col ref="appamt" format="#,###" style="text-align:right; "/>
  351. <col ref="bugt" type="input" format="###,###,###,###" mask="exclude" maxlength="12" style="text-align:right; "/>
  352. <col ref="calcbase" type="input"/>
  353. <col ref="subjid" visibility="hidden"/>
  354. <col ref="instcd" visibility="hidden"/>
  355. <col ref="updtdg" visibility="hidden"/>
  356. <col ref="itemexpendcd" visibility="hidden"/>
  357. <col ref="totstdycost" visibility="hidden"/>
  358. </datagrid>
  359. <line id="line10" class="line_1" style="x1:869px; y1:403px; x2:1178px; y2:403px; "/>
  360. <line id="line45" class="line_1" style="x1:609px; y1:18px; x2:1172px; y2:18px; "/>
  361. <caption id="caption31" class="tit_2" style="left:609px; top:388px; width:191px; height:14px; ">* 신청금액(100%)(가+나+다)</caption>
  362. <caption id="caption64" class="tit_2" style="left:6px; top:3px; width:161px; height:13px; ">가.연구활동비(단위: 원)</caption>
  363. <caption id="caption3" class="tit_2" style="left:6px; top:184px; width:161px; height:13px; ">다.연구운영비</caption>
  364. <line id="line46" class="line_3" style="x1:609px; y1:181px; x2:1172px; y2:181px; "/>
  365. <caption id="caption87" class="tit_2" style="left:609px; top:3px; width:161px; height:13px; ">나.직접연구경비</caption>
  366. <line id="line13" class="line_1" style="x1:6px; y1:403px; x2:553px; y2:403px; "/>
  367. <caption id="caption32" class="tit_2" style="left:609px; top:184px; width:300px; height:13px; ">라.기타 산출근거(임상검사비등) 파일첨부</caption>
  368. <datagrid id="grd_icumbugtb" nodeset="/root/main/bugtdata/icumbugtb" caption="지출항목^기집행금액^실행예산^산출근거" colsep="^" colwidth="100, 120, 120, 200, 100, 100, 100, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:609px; top:22px; width:564px; height:157px; ">
  369. <col disabled="true" ref="detlitemexpendcd" type="combo">
  370. <choices>
  371. <item>
  372. <label>임상검사비</label>
  373. <value>20001</value>
  374. </item>
  375. <item>
  376. <label>장비사용(임대)</label>
  377. <value>20002</value>
  378. </item>
  379. <item>
  380. <label>기기 구입비</label>
  381. <value>20003</value>
  382. </item>
  383. <item>
  384. <label>시약,재료대</label>
  385. <value>20004</value>
  386. </item>
  387. <item>
  388. <label>Volunteer Fee</label>
  389. <value>20005</value>
  390. </item>
  391. <item>
  392. <label>약품관리비</label>
  393. <value>20006</value>
  394. </item>
  395. </choices>
  396. </col>
  397. <col ref="appamt" format="#,###" style="text-align:right; "/>
  398. <col ref="bugt" type="input" format="###,###,###,###" mask="exclude" maxlength="12" style="text-align:right; "/>
  399. <col ref="calcbase" type="input"/>
  400. <col ref="subjid" visibility="hidden"/>
  401. <col ref="instcd" visibility="hidden"/>
  402. <col ref="updtdg" visibility="hidden"/>
  403. <col ref="itemexpendcd" visibility="hidden"/>
  404. <col ref="totstdycost" visibility="hidden"/>
  405. </datagrid>
  406. <input id="input23" bind="bind2" class="input_default" format="(-)#,###" style="left:120px; top:410px; width:135px; height:19px; text-align:right; "/>
  407. <caption id="caption33" class="tit_2" style="left:6px; top:388px; width:120px; height:13px; ">마.간접비(15%)</caption>
  408. <datagrid id="grd_icumbugta" nodeset="/root/main/bugtdata/icumbugta" caption="지출항목^기집행금액^실행예산^산출근거" colsep="^" colwidth="100, 120, 120, 200, 50, 50, 50, 50, 50" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:6px; top:22px; width:564px; height:157px; ">
  409. <col disabled="true" ref="detlitemexpendcd" type="combo">
  410. <choices>
  411. <item>
  412. <label>연구교수인건비</label>
  413. <value>10001</value>
  414. </item>
  415. <item>
  416. <label>인건보조비</label>
  417. <value>10002</value>
  418. </item>
  419. <item>
  420. <label>회의비</label>
  421. <value>10003</value>
  422. </item>
  423. <item>
  424. <label>여비</label>
  425. <value>10004</value>
  426. </item>
  427. </choices>
  428. </col>
  429. <col ref="appamt" format="#,###" style="text-align:right; "/>
  430. <col ref="bugt" type="input" format="###,###,###,###" mask="exclude" maxlength="12" style="text-align:right; "/>
  431. <col ref="calcbase" type="input"/>
  432. <col ref="subjid" visibility="hidden"/>
  433. <col ref="instcd" visibility="hidden"/>
  434. <col ref="updtdg" visibility="hidden"/>
  435. <col ref="itemexpendcd" visibility="hidden"/>
  436. <col ref="totstdycost" visibility="hidden"/>
  437. </datagrid>
  438. <caption id="caption34" class="cell_1" style="left:6px; top:408px; width:110px; height:23px; text-align:center; vertical-align:middle; ">병원간접비(10%)</caption>
  439. <caption id="caption35" class="cell_1" style="left:265px; top:408px; width:110px; height:23px; text-align:center; vertical-align:middle; ">CRCC간접비(5%)</caption>
  440. <caption id="caption36" class="tit_2" style="left:869px; top:388px; width:222px; height:13px; ">바.총연구비(115%) (가+나+다+마)</caption>
  441. <line id="line2" class="line_1" style="x1:6px; y1:199px; x2:569px; y2:199px; "/>
  442. <caption id="caption37" class="cell_1" style="left:869px; top:408px; width:110px; height:23px; text-align:center; vertical-align:middle; ">총연구비(115%)</caption>
  443. <input id="input16" bind="bind1" class="input_default" format="(-)#,###" style="left:610px; top:410px; width:249px; height:19px; text-align:right; "/>
  444. <line id="line3" class="line_1" style="x1:6px; y1:18px; x2:569px; y2:18px; "/>
  445. <input id="input17" bind="bind4" class="input_default" format="(-)#,###" style="left:980px; top:410px; width:197px; height:19px; text-align:right; "/>
  446. <line id="line4" class="line_3" style="x1:6px; y1:384px; x2:569px; y2:384px; "/>
  447. <line id="line7" class="line_3" style="x1:6px; y1:181px; x2:569px; y2:181px; "/>
  448. <input id="input6" bind="bind3" class="input_default" format="(-)#,###" style="left:378px; top:410px; width:175px; height:19px; text-align:right; "/>
  449. <button id="btn_addfile5" class="btn2_letter4" _auth="X" style="left:811px; top:282px; width:64px; height:19px; ">
  450. <caption>파일첨부</caption>
  451. <script type="javascript" ev:event="DOMActivate">
  452. <![CDATA[
  453. var maxsize = uploadfiles.attribute("filesize");
  454. files = window.fileDialog("open", "|", true);
  455. filelist = files.split("|");
  456. var j = 5;
  457. for(var i = 0 ; i < filelist.length && (i < 1) ; i++ ) {
  458. if(filelist[i] == "") continue;
  459. grd_attach.addRow(false);
  460. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
  461. if(!checkFileSize(uploadfiles)) {
  462. grd_attach.removeItem();
  463. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  464. } else {
  465. model.setValue("/root/main/bugtdata/icumbugtfilelst/attfilenm" + j++ ,filelist[i]);
  466. model.refresh();
  467. }
  468. }
  469. if(submit("TXIRS00125")) {
  470. model.removeNodeset("/root/send/attach");
  471. model.refresh();
  472. }
  473. ]]>
  474. </script>
  475. </button>
  476. <button id="button16" class="btn5_letter2" _auth="X" style="left:877px; top:202px; width:42px; height:19px; ">
  477. <caption>삭제</caption>
  478. </button>
  479. <upload id="upload_attach1" nodeset="/root/send/attach/file" filecount="1" filesize="10485760" validate="true" style="left:801px; top:207px; width:100px; height:20px; "/>
  480. <button id="button10" class="btn5_letter2" _auth="X" style="left:877px; top:222px; width:42px; height:19px; ">
  481. <caption>삭제</caption>
  482. </button>
  483. <button id="btn_addfile2" class="btn2_letter4" _auth="X" style="left:811px; top:222px; width:64px; height:19px; ">
  484. <caption>파일첨부</caption>
  485. <script type="javascript" ev:event="DOMActivate">
  486. <![CDATA[
  487. var maxsize = uploadfiles.attribute("filesize");
  488. files = window.fileDialog("open", "|", true);
  489. filelist = files.split("|");
  490. var j = 2;
  491. for(var i = 0 ; i < filelist.length && (i < 4) ; i++ ) {
  492. if(filelist[i] == "") continue;
  493. grd_attach.addRow(false);
  494. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
  495. if(!checkFileSize(uploadfiles)) {
  496. grd_attach.removeItem();
  497. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  498. } else {
  499. model.setValue("/root/main/bugtdata/icumbugtfilelst/attfilenm" + j++ ,filelist[i]);
  500. model.refresh();
  501. }
  502. }
  503. if(submit("TXIRS00125")) {
  504. model.removeNodeset("/root/send/attach");
  505. model.refresh();
  506. }
  507. ]]>
  508. </script>
  509. </button>
  510. <button id="button14" class="btn5_letter2" _auth="X" style="left:877px; top:242px; width:42px; height:19px; ">
  511. <caption>삭제</caption>
  512. </button>
  513. <input id="input1" ref="/root/main/bugtdata/icumbugtfilelst/attfilenm1" class="input_default" style="left:609px; top:202px; width:200px; height:19px; "/>
  514. <button id="btn_addfile3" class="btn2_letter4" _auth="X" style="left:811px; top:242px; width:64px; height:19px; ">
  515. <caption>파일첨부</caption>
  516. <script type="javascript" ev:event="DOMActivate">
  517. <![CDATA[
  518. var maxsize = uploadfiles.attribute("filesize");
  519. files = window.fileDialog("open", "|", true);
  520. filelist = files.split("|");
  521. var j = 3;
  522. for(var i = 0 ; i < filelist.length && (i < 3) ; i++ ) {
  523. if(filelist[i] == "") continue;
  524. grd_attach.addRow(false);
  525. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
  526. if(!checkFileSize(uploadfiles)) {
  527. grd_attach.removeItem();
  528. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  529. } else {
  530. model.setValue("/root/main/bugtdata/icumbugtfilelst/attfilenm" + j++ ,filelist[i]);
  531. model.refresh();
  532. }
  533. }
  534. if(submit("TXIRS00125")) {
  535. model.removeNodeset("/root/send/attach");
  536. model.refresh();
  537. }
  538. ]]>
  539. </script>
  540. </button>
  541. <input id="input2" ref="/root/main/bugtdata/icumbugtfilelst/attfilenm2" class="input_default" style="left:609px; top:222px; width:200px; height:19px; "/>
  542. <button id="button18" class="btn5_letter2" _auth="X" style="left:877px; top:262px; width:42px; height:19px; ">
  543. <caption>삭제</caption>
  544. </button>
  545. <input id="input3" ref="/root/main/bugtdata/icumbugtfilelst/attfilenm3" class="input_default" style="left:609px; top:242px; width:200px; height:19px; "/>
  546. <button id="btn_addfile1" class="btn2_letter4" _auth="X" style="left:811px; top:202px; width:64px; height:19px; ">
  547. <caption>파일첨부</caption>
  548. <script type="javascript" ev:event="DOMActivate">
  549. <![CDATA[
  550. var maxsize = uploadfiles.attribute("filesize");
  551. files = window.fileDialog("open", "|", true);
  552. filelist = files.split("|");
  553. var j = 1;
  554. for(var i = 0 ; i < filelist.length && (i < 5) ; i++) {
  555. if(filelist[i] == "") continue;
  556. grd_attach.addRow(false);
  557. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
  558. if(!checkFileSize(uploadfiles)) {
  559. grd_attach.removeItem();
  560. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  561. } else {
  562. model.setValue("/root/main/bugtdata/icumbugtfilelst/attfilenm" + j++ ,filelist[i]);
  563. }
  564. }
  565. if(submit("TXIRS00125")) {
  566. model.removeNodeset("/root/send/attach");
  567. model.refresh();
  568. }
  569. ]]>
  570. </script>
  571. </button>
  572. <input id="input4" ref="/root/main/bugtdata/icumbugtfilelst/attfilenm4" class="input_default" style="left:609px; top:262px; width:200px; height:19px; "/>
  573. <button id="btn_addfile4" class="btn2_letter4" _auth="X" style="left:811px; top:262px; width:64px; height:19px; ">
  574. <caption>파일첨부</caption>
  575. <script type="javascript" ev:event="DOMActivate">
  576. <![CDATA[
  577. var maxsize = uploadfiles.attribute("filesize");
  578. files = window.fileDialog("open", "|", true);
  579. filelist = files.split("|");
  580. var j = 4;
  581. for(var i = 0 ; i < filelist.length && (i < 2) ; i++ ) {
  582. if(filelist[i] == "") continue;
  583. grd_attach.addRow(false);
  584. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
  585. if(!checkFileSize(uploadfiles)) {
  586. grd_attach.removeItem();
  587. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  588. } else {
  589. model.setValue("/root/main/bugtdata/icumbugtfilelst/attfilenm" + j++ ,filelist[i]);
  590. model.refresh();
  591. }
  592. }
  593. if(submit("TXIRS00125")) {
  594. model.removeNodeset("/root/send/attach");
  595. model.refresh();
  596. }
  597. ]]>
  598. </script>
  599. </button>
  600. <input id="input5" ref="/root/main/bugtdata/icumbugtfilelst/attfilenm5" class="input_default" style="left:609px; top:282px; width:200px; height:19px; "/>
  601. <button id="button21" class="btn5_letter2" _auth="X" style="left:877px; top:282px; width:42px; height:19px; ">
  602. <caption>삭제</caption>
  603. </button>
  604. <upload id="uploadfiles" nodeset="/root/send/attach/file" filecount="1" filesize="10485760" validate="true" style="left:884px; top:184px; width:100px; height:20px; "/>
  605. <line id="line1" class="line_3" style="x1:610px; y1:432px; x2:859px; y2:432px; "/>
  606. <line id="line5" class="line_1" style="x1:610px; y1:403px; x2:859px; y2:403px; "/>
  607. </group>
  608. <group id="group4" style="left:0px; top:15px; width:1194px; height:40px; vertical-align:top; ">
  609. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:37px; background-color:#fffbf2; border-color:#ffd799; "/>
  610. <caption id="caption146" class="search_name" style="left:15px; top:10px; width:91px; height:17px; ">신청구분 :</caption>
  611. <button id="button8" class="btn1_letter2" _auth="R" style="left:927px; top:6px; width:56px; height:22px; ">
  612. <caption>조회</caption>
  613. <script type="javascript" ev:event="DOMActivate">
  614. <![CDATA[
  615. submit("TRISA00204");
  616. ]]>
  617. </script>
  618. </button>
  619. <select1 id="combo64" ref="/root/send/crccaprvyn" class="combo_search" appearance="minimal" style="left:104px; top:8px; width:105px; height:19px; ">
  620. <choices>
  621. <item>
  622. <label>- 전체 -</label>
  623. <value>A</value>
  624. </item>
  625. <item>
  626. <label>신청</label>
  627. <value>N</value>
  628. </item>
  629. <item>
  630. <label>승인</label>
  631. <value>Y</value>
  632. </item>
  633. <item>
  634. <label>반려</label>
  635. <value>R</value>
  636. </item>
  637. <item>
  638. <label>보류</label>
  639. <value>H</value>
  640. </item>
  641. </choices>
  642. <script type="javascript" ev:event="xforms-value-changed">
  643. <![CDATA[
  644. ]]>
  645. </script>
  646. </select1>
  647. <caption id="caption143" class="search_name" style="left:215px; top:10px; width:86px; height:17px; ">병원선택 :</caption>
  648. <select1 id="combo1" ref="/root/send/srchinstcd" class="combo_search" appearance="minimal" style="left:305px; top:8px; width:140px; height:19px; ">
  649. <choices>
  650. <itemset nodeset="/root/init/baseinfo/instinfo">
  651. <label ref="hospnm"/>
  652. <value ref="instcd"/>
  653. </itemset>
  654. </choices>
  655. </select1>
  656. <caption id="caption4" visibility="hidden" style="left:645px; top:10px; width:280px; height:20px; font-weight:normal; color:#ff0000; ">* 계약 완료 되지 않은 과제는 검색되지 않습니다.</caption>
  657. <caption id="caption5" class="search_name" style="left:455px; top:10px; width:86px; height:17px; ">연 구 자:</caption>
  658. <input id="ip_usernm" ref="/root/send/srchusernm" class="input_search" style="left:540px; top:8px; width:100px; height:19px; "/>
  659. </group>
  660. </xhtml:body>
  661. </xhtml:html>