SSIRB00400_지속심의.xrw 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916
  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>지속심의</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <reptdetl>
  11. <item>
  12. <instcd/>
  13. <subjid/>
  14. <subjno/>
  15. <reptseqno/>
  16. <judgappdg/>
  17. <reptkind/>
  18. <fstplanjudgdd/>
  19. <acptyn/>
  20. <acptdd/>
  21. <subjnm/>
  22. <roothospidxcasecnt/>
  23. <prcsidxcase/>
  24. <cnts1/>
  25. <cnts2/>
  26. <cnts3/>
  27. <cnts4/>
  28. <cnts5/>
  29. <cnts6/>
  30. <cnts7/>
  31. <cnts8/>
  32. <cnts9/>
  33. <cnts10/>
  34. <cnts11/>
  35. <cnts12/>
  36. <cnts13/>
  37. <acptdd/>
  38. <attfile/>
  39. <screenmenu/>
  40. <stdykind2/>
  41. <rc/>
  42. <resercnfmyn/>
  43. </item>
  44. </reptdetl>
  45. </main>
  46. <send>
  47. <savedata>
  48. </savedata>
  49. <searchitem>
  50. <reptkind/>
  51. <subjid/>
  52. <instcd/>
  53. <reptseqno/>
  54. <consorflag/>
  55. <croinstcd/>
  56. </searchitem>
  57. <attach/>
  58. </send>
  59. <hidden/>
  60. <init>
  61. <hosp>
  62. <ret>
  63. <instcd/>
  64. <hospnm/>
  65. </ret>
  66. </hosp>
  67. </init>
  68. <rex>
  69. <view>
  70. <appformhead>
  71. <subjnm/>
  72. <subjno/>
  73. <hospnm/>
  74. <depthngnm/>
  75. <cdnm/>
  76. <usernm/>
  77. <hospcd/>
  78. </appformhead>
  79. <irsdcollareser>
  80. <subjid/>
  81. <instcd/>
  82. <userid/>
  83. <userkind/>
  84. <usernm/>
  85. <posnm/>
  86. <jobposnm/>
  87. </irsdcollareser>
  88. <irsdpharmst>
  89. <subjid/>
  90. <instcd/>
  91. <userid/>
  92. <userkind/>
  93. <usernm/>
  94. <posnm/>
  95. <jobposnm/>
  96. </irsdpharmst>
  97. <irsdcodi>
  98. <subjid/>
  99. <instcd/>
  100. <userid/>
  101. <userkind/>
  102. <usernm/>
  103. <posnm/>
  104. <jobposnm/>
  105. </irsdcodi>
  106. <imcmreqinst>
  107. <cmpynm/>
  108. <prsdnm/>
  109. <jobposnm/>
  110. </imcmreqinst>
  111. </view>
  112. <basesubjinfo>
  113. <basesubjinfo>
  114. <subjid/>
  115. <perchgrid/>
  116. <acptyn/>
  117. <judgkind/>
  118. <subjnm/>
  119. <subjpwd/>
  120. <clinictrgtflag/>
  121. <reqinstflag/>
  122. <stdycostsuppinst/>
  123. <stdycostsuppinstnm/>
  124. <itemnm/>
  125. <comnm/>
  126. <allidxcase/>
  127. <stdystartdd/>
  128. <stdyenddd/>
  129. <appdd/>
  130. <testeeaprvflag/>
  131. <relprstdata1/>
  132. <relprstdata2/>
  133. <relprstdata3/>
  134. <relprstdata4/>
  135. <relprstdata5/>
  136. <prstdataetc5/>
  137. <resercd/>
  138. <reqinstcd/>
  139. <concernrela/>
  140. <verplan/>
  141. <veraprv/>
  142. <vercrf/>
  143. <verib/>
  144. <consorflag/>
  145. <deptcd/>
  146. <reqcnfmyn/>
  147. <inqrgoal/>
  148. <trgtsick/>
  149. <inqrmthd/>
  150. <stdykind1/>
  151. <etctrgt1/>
  152. <stdykind2/>
  153. <etctrgt2/>
  154. <stdykind3/>
  155. <manynation/>
  156. <manyinst/>
  157. <cmcinstcnt/>
  158. <stdykind4/>
  159. <etctrgt4/>
  160. <stdytrgt/>
  161. <etctrgt/>
  162. <agenestdyflag/>
  163. <cellcurestdyyn/>
  164. <testeestat/>
  165. <fratesteeflag/>
  166. <stdyspcl1/>
  167. <stdyspcl2/>
  168. <stdyspcl3/>
  169. <stdyspcl4/>
  170. <stdyspcl5/>
  171. <stdyspcl6/>
  172. <stdyspcl7/>
  173. <examadjthosp/>
  174. <examadjtprf/>
  175. <allexamresppos/>
  176. <allexamrespnm/>
  177. <foodscrtgovpassyn/>
  178. <prmisnnatiyn/>
  179. <intermarketyn/>
  180. <judgkindcode/>
  181. <reqinstchrgid/>
  182. <reqinstchrgnm/>
  183. <croinstnm/>
  184. <reqinstjobposnm/>
  185. <firstjudgdd/>
  186. </basesubjinfo>
  187. </basesubjinfo>
  188. <basehospinfo>
  189. <basehospinfo>
  190. <subjid/>
  191. <instcd/>
  192. <subjno/>
  193. <condd/>
  194. <reqyn/>
  195. <reqdt/>
  196. <totstdycost/>
  197. <direccost/>
  198. <stdystartdd/>
  199. <stdyenddd/>
  200. <crccaprvyn/>
  201. <crccaprvdd/>
  202. <rtnresn/>
  203. <roothospidxcasecnt/>
  204. <depomthd/>
  205. <respstdyempno/>
  206. <respstdycnfmsubjyn/>
  207. <respstdycnfmexecyn/>
  208. <respstdycnfmselfyn/>
  209. <mdlreptdd/>
  210. <subjenddd/>
  211. <subjdiscontinudd/>
  212. <subjdiscontinuresn/>
  213. <subrecuyn/>
  214. <subrecuenddd/>
  215. <reqjudgcostdepoyn/>
  216. <reqjudgcostdepodd/>
  217. <irbjudgcostamt/>
  218. <irbjudgcostdepoyn/>
  219. <irbjudgcostdepodd/>
  220. <irbjudgflag/>
  221. <conacptyn/>
  222. <conacptdd/>
  223. <conyn/>
  224. <concondd/>
  225. <examdrugwinyn/>
  226. <examdrugwindd/>
  227. <stdycostcalcyn/>
  228. <captyn/>
  229. <captdd/>
  230. <crcccnfm1/>
  231. <crcccnfm2/>
  232. <crcccnfm3/>
  233. <irbjudgyn/>
  234. <subjattfile/>
  235. <judgcnvtyn/>
  236. <mdlschedd/>
  237. <endschedd/>
  238. <rsltschedd/>
  239. <contschedd/>
  240. <croinstcd/>
  241. </basehospinfo>
  242. </basehospinfo>
  243. <data>
  244. <a/>
  245. </data>
  246. <reptdetl>
  247. <item>
  248. <instcd/>
  249. <subjid/>
  250. <subjno/>
  251. <reptseqno/>
  252. <judgappdg/>
  253. <reptkind/>
  254. <fstplanjudgdd/>
  255. <acptyn/>
  256. <acptdd/>
  257. <subjnm/>
  258. <roothospidxcasecnt/>
  259. <prcsidxcase/>
  260. <cnts1/>
  261. <cnts2/>
  262. <cnts3/>
  263. <cnts4/>
  264. <cnts5/>
  265. <cnts6/>
  266. <cnts7/>
  267. <cnts8/>
  268. <cnts9/>
  269. <cnts10/>
  270. <cnts11/>
  271. <cnts12/>
  272. <cnts13/>
  273. <acptdd/>
  274. </item>
  275. </reptdetl>
  276. </rex>
  277. <temp/>
  278. </root>
  279. </instance>
  280. <submission id="TRIRB00122" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/hosp"/>
  281. <submission id="TRIRB00124" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/main/reptdetl"/>
  282. <submission id="TXIRB00121" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/hidden"/>
  283. <submission id="TRIRS00131" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/rex/view"/>
  284. <submission id="TXIRB00122" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/hidden"/>
  285. <submission id="TRIRB00127" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/main/reptlist"/>
  286. <submission id="TRIRS00132" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/rex/basesubjinfo"/>
  287. <submission id="TRIRS00133" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/rex/basehospinfo"/>
  288. <submission id="TRIRS00135" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  289. <submission id="TXIRS00189" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
  290. <submission id="TXIRB00123" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/hidden"/>
  291. <submission id="TXIRB00124" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchitem" replace="instance" resultref="/root/hidden"/>
  292. <submission id="TXIRS00188" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  293. </model>
  294. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  295. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  296. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  297. <script type="javascript" ev:event="xforms-ready">
  298. <![CDATA[
  299. //권한이 없는경우 보고서 상단의 파일첨부,첨부삭제,임시저장,보고서접수 버튼 숨기기
  300. if ( opener.javascript.getParameter("actionyn") == "N" ) {
  301. ipt_filenm.visible = true;
  302. btn_fileatt.visible = false;
  303. btn_filedel.visible = false;
  304. btn_tmpsave.visible = false;
  305. btn_reptacpt.visible = false;
  306. btn_filedown.visible=true;
  307. button1.visible = false;
  308. }
  309. if ( parent.model.getValue("/root/send/report") == "Y" ) {
  310. ipt_filenm.visible = true;
  311. btn_fileatt.visible = false;
  312. btn_filedel.visible = false;
  313. btn_tmpsave.visible = false;
  314. btn_reptacpt.visible = false;
  315. btn_filedown.visible=true;
  316. button1.visible = false;
  317. }
  318. submit("TRIRB00122"); //병원 조회
  319. var consorflag = parent.model.getValue("/root/send/searchitem/consorflag");
  320. if ( consorflag == "Y") {
  321. model.setValue("/root/send/searchitem/consorflag", "Y");
  322. }
  323. model.setValue("/root/send/searchitem/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
  324. model.setValue("/root/send/searchitem/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
  325. model.setValue("/root/send/searchitem/reptseqno", parent.model.getValue("/root/send/searchitem2/reptseqno"));
  326. model.setValue("/root/send/searchitem/reptkind", parent.model.getValue("/root/send/searchitem2/reptkind"));
  327. //화면 오픈시 Y일 경우만 자동조회하고 Y가 아닐 경우는 빈 양식 오픈후 필수값만 세팅해준다.
  328. if ( parent.model.getValue("/root/send/searchitem2/autosrchyn") == "Y" ) {
  329. submit("TRIRB00124"); //지속심의 내용 조회
  330. }
  331. model.setValue("/root/main/reptdetl/item/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
  332. model.setValue("/root/main/reptdetl/item/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
  333. model.setValue("/root/main/reptdetl/item/judgappdg", parent.model.getValue("/root/send/searchitem2/judgappdg"));
  334. model.setValue("/root/main/reptdetl/item/roothospidxcasecnt", parent.model.getValue("/root/send/searchitem2/roothospidxcasecnt"));
  335. model.setValue("/root/main/reptdetl/item/subjno", parent.model.getValue("/root/send/searchitem2/subjno"));
  336. model.setValue("/root/main/reptdetl/item/subjnm", parent.model.getValue("/root/send/searchitem2/subjnm"));
  337. model.setValue("/root/main/reptdetl/item/fstplanjudgdd", parent.model.getValue("/root/send/searchitem2/judgdd"));
  338. model.setValue("/root/main/reptdetl/item/screenmenu", parent.model.getValue("/root/init/screenmenu"));
  339. model.setValue("/root/main/reptdetl/item/stdykind2", parent.model.getValue("/root/send/searchitem2/stdykind2"));
  340. model.setValue("/root/main/reptdetl/item/rc", parent.model.getValue("/root/send/searchitem2/rc"));
  341. model.makeValue("/root/main/reptdetl/item/resercnfmyn", parent.model.getValue("/root/send/searchitem2/resercnfmyn"));
  342. model.setValue("/root/send/searchitem/croinstcd", parent.model.getValue("/root/send/searchitem2/croinstcd"));
  343. model.refresh();
  344. ]]>
  345. </script>
  346. </xhtml:head>
  347. <xhtml:body guideline="2,417;1,1194;">
  348. <input id="ipt_judgappdg" ref="/root/main/reptdetl/item/judgappdg" class="input_default" disabled="true" editable="false" style="left:107px; top:33px; width:100px; height:19px; "/>
  349. <caption id="caption82" class="cell_1" style="left:5px; top:106px; width:100px; height:255px; text-align:center; vertical-align:middle; ">지속심의 내용</caption>
  350. <caption id="caption83" class="cell_1" style="left:700px; top:56px; width:100px; height:23px; text-align:center; vertical-align:middle; ">목표례수</caption>
  351. <caption id="caption21" class="cell_1" style="left:5px; top:31px; width:100px; height:23px; text-align:center; vertical-align:middle; ">심사차수</caption>
  352. <caption id="caption23" class="cell_1" style="left:210px; top:31px; width:180px; height:23px; text-align:center; vertical-align:middle; ">최초임상시험 계획서 심사일자</caption>
  353. <input id="ipt_subjnm" ref="/root/main/reptdetl/item/subjnm" class="input_default" disabled="true" editable="false" style="left:107px; top:58px; width:590px; height:19px; "/>
  354. <select1 id="cmb_instcd" ref="/root/main/reptdetl/item/instcd" class="combo_search" disabled="true" appearance="minimal" style="left:597px; top:33px; width:100px; height:19px; ">
  355. <choices>
  356. <itemset nodeset="/root/init/hosp/ret">
  357. <label ref="hospnm"/>
  358. <value ref="instcd"/>
  359. </itemset>
  360. </choices>
  361. </select1>
  362. <caption id="caption24" class="cell_1" style="left:495px; top:31px; width:100px; height:23px; text-align:center; vertical-align:middle; ">선택된병원</caption>
  363. <input id="ipt_subjno" ref="/root/main/reptdetl/item/subjno" class="input_default" disabled="true" editable="false" style="left:107px; top:83px; width:590px; height:19px; "/>
  364. <select1 id="cmb_acptyn" ref="/root/main/reptdetl/item/acptyn" class="combo_search" disabled="true" appearance="minimal" style="left:802px; top:33px; width:100px; height:19px; ">
  365. <choices>
  366. <item>
  367. <label>접수</label>
  368. <value>Y</value>
  369. </item>
  370. <item>
  371. <label>미접수</label>
  372. <value>N</value>
  373. </item>
  374. </choices>
  375. </select1>
  376. <caption id="caption25" class="cell_1" style="left:700px; top:31px; width:100px; height:23px; text-align:center; vertical-align:middle; ">접수여부</caption>
  377. <caption id="caption26" class="cell_1" style="left:5px; top:56px; width:100px; height:23px; text-align:center; vertical-align:middle; ">연구과제명</caption>
  378. <input id="ipt_roothospidxcasecnt" ref="/root/main/reptdetl/item/roothospidxcasecnt" class="input_default" disabled="true" editable="false" style="left:802px; top:57px; width:100px; height:19px; "/>
  379. <caption id="caption27" class="cell_1" style="left:5px; top:81px; width:100px; height:23px; text-align:center; vertical-align:middle; ">과제번호</caption>
  380. <button id="button9" class="btn2_letter8" _auth="P" style="left:794px; top:5px; width:108px; height:19px; ">
  381. <caption>지속심의서 출력</caption>
  382. <script type="javascript" ev:event="DOMActivate">
  383. <![CDATA[
  384. if(submit("TRIRS00131")) {
  385. submit("TRIRS00132");
  386. submit("TRIRS00133");
  387. model.copyNode("/root/rex/reptdetl", "root/main/reptdetl");
  388. var cnts2 = model.getValue("/root/rex/reptdetl/item/cnts2");
  389. var cnts4 = model.getValue("/root/rex/reptdetl/item/cnts4");
  390. var cnts5 = model.getValue("/root/rex/reptdetl/item/cnts5");
  391. var cnts6 = model.getValue("/root/rex/reptdetl/item/cnts6");
  392. var cnts7 = model.getValue("/root/rex/reptdetl/item/cnts7");
  393. var cnts8 = model.getValue("/root/rex/reptdetl/item/cnts8");
  394. var cnts9 = model.getValue("/root/rex/reptdetl/item/cnts9");
  395. var cnts10 = model.getValue("/root/rex/reptdetl/item/cnts10");
  396. var cnts11 = model.getValue("/root/rex/reptdetl/item/cnts11");
  397. var cnts12 = model.getValue("/root/rex/reptdetl/item/cnts12");
  398. var cnts13 = model.getValue("/root/rex/reptdetl/item/cnts13");
  399. var j = 0;
  400. var p = 0;
  401. var k = 0;
  402. if ( cnts2.indexOf("\n",p ) >=0 ){
  403. while ( (j = cnts2.indexOf("\n",p ))>=0){
  404. var sdata = cnts2.substring( p, j );
  405. p = j + 1;
  406. k = k + 1;
  407. model.makeValue("/root/rex/reptdetl/item[1]/cnts2info["+k+"]/cnts2", sdata.replace("\n","") );
  408. }
  409. if ( p<cnts2.length){ // 제일 마지막 엔터 뒤 문장 처리
  410. var sdata = cnts2.substring( p, cnts2.length );
  411. k = k + 1;
  412. model.makeValue("/root/rex/reptdetl/item[1]/cnts2info["+k+"]/cnts2", sdata.replace("\n","") );
  413. }
  414. } else { //엔터없을때 처리
  415. k = k + 1;
  416. model.makeNode("/root/rex/reptdetl");
  417. model.makeValue("/root/rex/reptdetl/item[1]/cnts2info["+k+"]/cnts2", cnts2);
  418. }
  419. if ( cnts4.indexOf("\n",p ) >=0 ){
  420. while ( (j = cnts4.indexOf("\n",p ))>=0){
  421. var sdata = cnts4.substring( p, j );
  422. p = j + 1;
  423. k = k + 1;
  424. model.makeValue("/root/rex/reptdetl/item[1]/cnts4info["+k+"]/cnts4", sdata.replace("\n","") );
  425. }
  426. if ( p<cnts4.length){ // 제일 마지막 엔터 뒤 문장 처리
  427. var sdata = cnts4.substring( p, cnts4.length );
  428. k = k + 1;
  429. model.makeValue("/root/rex/reptdetl/item[1]/cnts4info["+k+"]/cnts4", sdata.replace("\n","") );
  430. }
  431. } else { //엔터없을때 처리
  432. k = k + 1;
  433. model.makeNode("/root/rex/reptdetl");
  434. model.makeValue("/root/rex/reptdetl/item[1]/cnts4info["+k+"]/cnts4", cnts4);
  435. }
  436. if ( cnts5.indexOf("\n",p ) >=0 ){
  437. while ( (j = cnts5.indexOf("\n",p ))>=0){
  438. var sdata = cnts5.substring( p, j );
  439. p = j + 1;
  440. k = k + 1;
  441. model.makeValue("/root/rex/reptdetl/item[1]/cnts5info["+k+"]/cnts5", sdata.replace("\n","") );
  442. }
  443. if ( p<cnts5.length){ // 제일 마지막 엔터 뒤 문장 처리
  444. var sdata = cnts5.substring( p, cnts5.length );
  445. k = k + 1;
  446. model.makeValue("/root/rex/reptdetl/item[1]/cnts5info["+k+"]/cnts5", sdata.replace("\n","") );
  447. }
  448. } else { //엔터없을때 처리
  449. k = k + 1;
  450. model.makeNode("/root/rex/reptdetl");
  451. model.makeValue("/root/rex/reptdetl/item[1]/cnts5info["+k+"]/cnts5", cnts5);
  452. }
  453. if ( cnts6.indexOf("\n",p ) >=0 ){
  454. while ( (j = cnts6.indexOf("\n",p ))>=0){
  455. var sdata = cnts6.substring( p, j );
  456. p = j + 1;
  457. k = k + 1;
  458. model.makeValue("/root/rex/reptdetl/item[1]/cnts6info["+k+"]/cnts6", sdata.replace("\n","") );
  459. }
  460. if ( p<cnts6.length){ // 제일 마지막 엔터 뒤 문장 처리
  461. var sdata = cnts6.substring( p, cnts6.length );
  462. k = k + 1;
  463. model.makeValue("/root/rex/reptdetl/item[1]/cnts6info["+k+"]/cnts6", sdata.replace("\n","") );
  464. }
  465. } else { //엔터없을때 처리
  466. k = k + 1;
  467. model.makeNode("/root/rex/reptdetl");
  468. model.makeValue("/root/rex/reptdetl/item[1]/cnts6info["+k+"]/cnts6", cnts6);
  469. }
  470. if ( cnts7.indexOf("\n",p ) >=0 ){
  471. while ( (j = cnts7.indexOf("\n",p ))>=0){
  472. var sdata = cnts7.substring( p, j );
  473. p = j + 1;
  474. k = k + 1;
  475. model.makeValue("/root/rex/reptdetl/item[1]/cnts7info["+k+"]/cnts7", sdata.replace("\n","") );
  476. }
  477. if ( p<cnts7.length){ // 제일 마지막 엔터 뒤 문장 처리
  478. var sdata = cnts7.substring( p, cnts7.length );
  479. k = k + 1;
  480. model.makeValue("/root/rex/reptdetl/item[1]/cnts7info["+k+"]/cnts7", sdata.replace("\n","") );
  481. }
  482. } else { //엔터없을때 처리
  483. k = k + 1;
  484. model.makeNode("/root/rex/reptdetl");
  485. model.makeValue("/root/rex/reptdetl/item[1]/cnts7info["+k+"]/cnts7", cnts7);
  486. }
  487. if ( cnts8.indexOf("\n",p ) >=0 ){
  488. while ( (j = cnts8.indexOf("\n",p ))>=0){
  489. var sdata = cnts8.substring( p, j );
  490. p = j + 1;
  491. k = k + 1;
  492. model.makeValue("/root/rex/reptdetl/item[1]/cnts8info["+k+"]/cnts8", sdata.replace("\n","") );
  493. }
  494. if ( p<cnts8.length){ // 제일 마지막 엔터 뒤 문장 처리
  495. var sdata = cnts8.substring( p, cnts8.length );
  496. k = k + 1;
  497. model.makeValue("/root/rex/reptdetl/item[1]/cnts8info["+k+"]/cnts8", sdata.replace("\n","") );
  498. }
  499. } else { //엔터없을때 처리
  500. k = k + 1;
  501. model.makeNode("/root/rex/reptdetl");
  502. model.makeValue("/root/rex/reptdetl/item[1]/cnts8info["+k+"]/cnts8", cnts8);
  503. }
  504. if ( cnts9.indexOf("\n",p ) >=0 ){
  505. while ( (j = cnts9.indexOf("\n",p ))>=0){
  506. var sdata = cnts9.substring( p, j );
  507. p = j + 1;
  508. k = k + 1;
  509. model.makeValue("/root/rex/reptdetl/item[1]/cnts9info["+k+"]/cnts9", sdata.replace("\n","") );
  510. }
  511. if ( p<cnts9.length){ // 제일 마지막 엔터 뒤 문장 처리
  512. var sdata = cnts9.substring( p, cnts9.length );
  513. k = k + 1;
  514. model.makeValue("/root/rex/reptdetl/item[1]/cnts9info["+k+"]/cnts9", sdata.replace("\n","") );
  515. }
  516. } else { //엔터없을때 처리
  517. k = k + 1;
  518. model.makeNode("/root/rex/reptdetl");
  519. model.makeValue("/root/rex/reptdetl/item[1]/cnts9info["+k+"]/cnts9", cnts9);
  520. }
  521. if ( cnts10.indexOf("\n",p ) >=0 ){
  522. while ( (j = cnts10.indexOf("\n",p ))>=0){
  523. var sdata = cnts10.substring( p, j );
  524. p = j + 1;
  525. k = k + 1;
  526. model.makeValue("/root/rex/reptdetl/item[1]/cnts10info["+k+"]/cnts10", sdata.replace("\n","") );
  527. }
  528. if ( p<cnts10.length){ // 제일 마지막 엔터 뒤 문장 처리
  529. var sdata = cnts10.substring( p, cnts10.length );
  530. k = k + 1;
  531. model.makeValue("/root/rex/reptdetl/item[1]/cnts10info["+k+"]/cnts10", sdata.replace("\n","") );
  532. }
  533. } else { //엔터없을때 처리
  534. k = k + 1;
  535. model.makeNode("/root/rex/reptdetl");
  536. model.makeValue("/root/rex/reptdetl/item[1]/cnts10info["+k+"]/cnts10", cnts10);
  537. }
  538. if ( cnts11.indexOf("\n",p ) >=0 ){
  539. while ( (j = cnts11.indexOf("\n",p ))>=0){
  540. var sdata = cnts11.substring( p, j );
  541. p = j + 1;
  542. k = k + 1;
  543. model.makeValue("/root/rex/reptdetl/item[1]/cnts11info["+k+"]/cnts11", sdata.replace("\n","") );
  544. }
  545. if ( p<cnts11.length){ // 제일 마지막 엔터 뒤 문장 처리
  546. var sdata = cnts11.substring( p, cnts11.length );
  547. k = k + 1;
  548. model.makeValue("/root/rex/reptdetl/item[1]/cnts11info["+k+"]/cnts11", sdata.replace("\n","") );
  549. }
  550. } else { //엔터없을때 처리
  551. k = k + 1;
  552. model.makeNode("/root/rex/reptdetl");
  553. model.makeValue("/root/rex/reptdetl/item[1]/cnts11info["+k+"]/cnts11", cnts11);
  554. }
  555. if ( cnts12.indexOf("\n",p ) >=0 ){
  556. while ( (j = cnts12.indexOf("\n",p ))>=0){
  557. var sdata = cnts12.substring( p, j );
  558. p = j + 1;
  559. k = k + 1;
  560. model.makeValue("/root/rex/reptdetl/item[1]/cnts12info["+k+"]/cnts12", sdata.replace("\n","") );
  561. }
  562. if ( p<cnts12.length){ // 제일 마지막 엔터 뒤 문장 처리
  563. var sdata = cnts12.substring( p, cnts12.length );
  564. k = k + 1;
  565. model.makeValue("/root/rex/reptdetl/item[1]/cnts12info["+k+"]/cnts12", sdata.replace("\n","") );
  566. }
  567. } else { //엔터없을때 처리
  568. k = k + 1;
  569. model.makeNode("/root/rex/reptdetl");
  570. model.makeValue("/root/rex/reptdetl/item[1]/cnts12info["+k+"]/cnts12", cnts12);
  571. }
  572. if ( cnts13.indexOf("\n",p ) >=0 ){
  573. while ( (j = cnts13.indexOf("\n",p ))>=0){
  574. var sdata = cnts13.substring( p, j );
  575. p = j + 1;
  576. k = k + 1;
  577. model.makeValue("/root/rex/reptdetl/item[1]/cnts13info["+k+"]/cnts13", sdata.replace("\n","") );
  578. }
  579. if ( p<cnts13.length){ // 제일 마지막 엔터 뒤 문장 처리
  580. var sdata = cnts13.substring( p, cnts13.length );
  581. k = k + 1;
  582. model.makeValue("/root/rex/reptdetl/item[1]/cnts13info["+k+"]/cnts13", sdata.replace("\n","") );
  583. }
  584. } else { //엔터없을때 처리
  585. k = k + 1;
  586. model.makeNode("/root/rex/reptdetl");
  587. model.makeValue("/root/rex/reptdetl/item[1]/cnts13info["+k+"]/cnts13", cnts13);
  588. }
  589. exeReportPreview("PSIRB00400", "XMLSTR" , "/root/rex");
  590. }
  591. ]]>
  592. </script>
  593. </button>
  594. <caption id="caption1" class="cell_1" style="left:700px; top:81px; width:100px; height:23px; text-align:center; vertical-align:middle; ">진행례수</caption>
  595. <input id="ipt_prcsidxcase" ref="/root/main/reptdetl/item/prcsidxcase" class="input_default" style="left:802px; top:82px; width:100px; height:19px; "/>
  596. <caption id="caption2" class="cell_1" style="left:107px; top:105px; width:100px; height:23px; text-align:center; vertical-align:middle; ">중도탈락례수</caption>
  597. <input id="ipt_cnts1" ref="/root/main/reptdetl/item/cnts1" class="input_default" style="left:209px; top:106px; width:100px; height:19px; "/>
  598. <caption id="caption3" class="cell_1" style="left:312px; top:105px; width:100px; height:23px; text-align:center; vertical-align:middle; ">중도탈락사유</caption>
  599. <input id="ipt_cnts2" ref="/root/main/reptdetl/item/cnts2" class="input_default" style="left:414px; top:106px; width:488px; height:19px; "/>
  600. <caption id="caption4" class="cell_1" style="left:107px; top:130px; width:100px; height:23px; text-align:center; vertical-align:middle; ">발생한 원내SAE</caption>
  601. <input id="ipt_cnts3" ref="/root/main/reptdetl/item/cnts3" class="input_default" style="left:209px; top:131px; width:100px; height:19px; "/>
  602. <caption id="caption5" class="cell_1" style="left:312px; top:130px; width:100px; height:23px; text-align:center; vertical-align:middle; ">발생한 SAE내용</caption>
  603. <input id="ipt_cnts4" ref="/root/main/reptdetl/item/cnts4" class="input_default" style="left:414px; top:131px; width:488px; height:19px; "/>
  604. <caption id="caption6" class="cell_1" style="left:107px; top:155px; width:100px; height:35px; text-align:center; vertical-align:middle; ">계획서 위반내용</caption>
  605. <caption id="caption9" class="cell_1" style="left:107px; top:192px; width:100px; height:35px; text-align:center; vertical-align:middle; ">
  606. <![CDATA[계획서 예외적용
  607. 내용]]>
  608. </caption>
  609. <caption id="caption10" class="cell_1" style="left:475px; top:267px; width:163px; height:42px; text-align:center; vertical-align:middle; ">
  610. <![CDATA[임상연구 진행
  611. 중 발생된 기타 문제점]]>
  612. </caption>
  613. <textarea id="tar_cnts5" ref="/root/main/reptdetl/item/cnts5" style="left:209px; top:155px; width:261px; height:35px; "/>
  614. <textarea id="tar_cnts6" ref="/root/main/reptdetl/item/cnts6" style="left:209px; top:192px; width:261px; height:35px; "/>
  615. <textarea id="tar_cnts7" ref="/root/main/reptdetl/item/cnts7" style="left:640px; top:267px; width:261px; height:42px; "/>
  616. <line id="line13" class="line_3" style="x1:5px; y1:362px; x2:903px; y2:362px; "/>
  617. <input id="ipt_fstplanjudgdd" ref="/root/main/reptdetl/item/fstplanjudgdd" class="input_search" disabled="true" inputtype="date" style="left:392px; top:33px; width:100px; height:19px; "/>
  618. <line id="line2" class="line_1" style="x1:5px; y1:26px; x2:901px; y2:26px; "/>
  619. <button id="btn_filedel" class="btn5_letter4" _auth="X" style="left:534px; top:5px; width:64px; height:19px; ">
  620. <caption>첨부삭제</caption>
  621. <script type="javascript" ev:event="DOMActivate">
  622. <![CDATA[
  623. //접수 후 수정불가
  624. if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
  625. messageBox("이미 접수되어 저장 또는 수정", "E001");
  626. return;
  627. } else {
  628. if (submit("TXIRS00188")) {
  629. messageBox("첨부파일이 삭제되었습니다.","I999");
  630. model.refresh();
  631. }
  632. }
  633. if ( model.getValue("/root/hidden/ret/reptseqno") != '' ) {
  634. submit("TRIRB00124"); //지속심의 내용 조회
  635. }
  636. ]]>
  637. </script>
  638. </button>
  639. <input id="ipt_filenm" ref="/root/main/reptdetl/item/attfile" class="input_default" style="left:260px; top:5px; width:200px; height:19px; "/>
  640. <button id="btn_fileatt" class="btn2_letter4" _auth="X" style="left:462px; top:5px; width:64px; height:19px; ">
  641. <caption>파일첨부</caption>
  642. <script type="javascript" ev:event="DOMActivate">
  643. <![CDATA[
  644. if ( model.getValue("/root/main/reptdetl/item/acptyn") == '' ) {
  645. messageBox("임시저장 후 첨부파일을 올리세요", "I");
  646. return;
  647. }
  648. var maxsize = upload1.attribute("filesize");
  649. files = window.fileDialog("open", "|", true);
  650. filelist = files.split("|");
  651. for(var i = 0 ; i < filelist.length ; i++ ) {
  652. grd_attach.addRow(false);
  653. grd_attach.valueMatrix(grd_attach.rows - 1, 0) = filelist[i];
  654. if (!checkFileSize(upload1)){
  655. grd_attach.removeItem();
  656. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  657. return;
  658. }
  659. }
  660. if ( filelist[0] != "") {
  661. if (submit("TXIRS00189")) {
  662. messageBox("Upload가 성공적으로 이루어졌습니다.","I999");
  663. model.removeNodeset("/root/send/attach");
  664. parent.model.setValue("/root/temp/ivieweryn", "N"); //중간보고서 iviewer 호출 여부 = N
  665. parent.btn_report8.selected = true;
  666. parent.btn_report8.dispatch("DOMActivate");
  667. model.refresh();
  668. }
  669. }
  670. submit("TRIRB00124"); //지속심의 내용 조회
  671. model.setValue("/root/main/reptdetl/item/subjid", parent.model.getValue("/root/send/searchitem2/subjid"));
  672. model.setValue("/root/main/reptdetl/item/instcd", parent.model.getValue("/root/send/searchitem2/instcd"));
  673. model.setValue("/root/main/reptdetl/item/judgappdg", parent.model.getValue("/root/send/searchitem2/judgappdg"));
  674. model.setValue("/root/main/reptdetl/item/roothospidxcasecnt", parent.model.getValue("/root/send/searchitem2/roothospidxcasecnt"));
  675. model.setValue("/root/main/reptdetl/item/subjno", parent.model.getValue("/root/send/searchitem2/subjno"));
  676. model.setValue("/root/main/reptdetl/item/subjnm", parent.model.getValue("/root/send/searchitem2/subjnm"));
  677. model.setValue("/root/main/reptdetl/item/fstplanjudgdd", parent.model.getValue("/root/send/searchitem2/judgdd"));
  678. model.setValue("/root/main/reptdetl/item/screenmenu", parent.model.getValue("/root/init/screenmenu"));
  679. model.setValue("/root/main/reptdetl/item/stdykind2", parent.model.getValue("/root/send/searchitem2/stdykind2"));
  680. model.setValue("/root/main/reptdetl/item/rc", parent.model.getValue("/root/send/searchitem2/rc"));
  681. model.refresh();
  682. ]]>
  683. </script>
  684. </button>
  685. <button id="btn_tmpsave" class="btn2_letter4" _auth="X" style="left:602px; top:5px; width:64px; height:19px; ">
  686. <caption>임시저장</caption>
  687. <script type="javascript" ev:event="DOMActivate">
  688. <![CDATA[
  689. //접수 후 수정불가
  690. if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
  691. messageBox("이미 접수되어 저장 또는 수정", "E001");
  692. return;
  693. }
  694. var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
  695. if ( reptseqno != '') {
  696. model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
  697. }
  698. model.copyNode("/root/send/savedata", "/root/main/reptdetl/item");
  699. model.setValue("/root/send/savedata/reptkind", "8"); //보고서종류=지속심의서(8)
  700. model.setValue("/root/send/savedata/acptyn", "N"); //접수여부=미접수(N)
  701. model.makeValue("/root/send/savedata/judgkind", "N"); //심의종류
  702. if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
  703. submit("TXIRB00122");
  704. } else {
  705. submit("TXIRB00121");
  706. }
  707. model.setValue("/root/main/reptdetl/item/acptyn", "N"); //접수여부를 미접수로 보여줌.
  708. model.setValue( "/root/send/searchitem/reptseqno",model.getValue("/root/hidden/ret/reptseqno"));
  709. model.refresh();
  710. parent.model.setValue("/root/temp/ivieweryn", "N"); //지속심의서 iviewer 호출 여부 = N
  711. parent.btn_report8.selected = true;
  712. parent.btn_report8.dispatch("DOMActivate");
  713. model.removeNodeset("/root/send/savedata");
  714. model.makeNode("/root/send/savedata");
  715. model.makeValue("/root/send/savedata/croinstcd", model.getValue("/root/send/searchitem/croinstcd"));
  716. ]]>
  717. </script>
  718. </button>
  719. <button id="btn_reptacpt" class="btn2_letter5" _auth="X" style="left:717px; top:5px; width:64px; height:19px; ">
  720. <caption>보고서접수</caption>
  721. <script type="javascript" ev:event="DOMActivate">
  722. <![CDATA[
  723. //접수 후 수정불가
  724. if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
  725. messageBox("이미 접수되어 저장 또는 수정", "E001");
  726. return;
  727. }
  728. var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
  729. if ( reptseqno != '') {
  730. model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
  731. }
  732. model.copyNode("/root/send/savedata", "/root/main/reptdetl/item");
  733. model.setValue("/root/send/savedata/reptkind", "8"); //보고서종류=지속심의서(8)
  734. model.setValue("/root/send/savedata/acptyn", "Y"); //접수여부=접수(Y)
  735. model.setValue("/root/send/savedata/acptdd", getCurrentDate()); //접수일=오늘날짜
  736. model.makeValue("/root/send/savedata/judgkind", "N"); //심의종류
  737. if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
  738. submit("TXIRB00122");
  739. } else {
  740. submit("TXIRB00121");
  741. }
  742. model.setValue("/root/main/reptdetl/item/acptyn", "Y"); //접수여부를 접수로 보여줌.
  743. model.setValue( "/root/send/searchitem/reptseqno",model.getValue("/root/hidden/ret/reptseqno"));
  744. model.refresh();
  745. parent.model.setValue("/root/temp/ivieweryn", "N"); //지속심의서 iviewer 호출 여부 = N
  746. parent.btn_report8.selected = true;
  747. parent.btn_report8.dispatch("DOMActivate");
  748. model.removeNodeset("/root/send/savedata");
  749. model.makeNode("/root/send/savedata");
  750. model.makeValue("/root/send/savedata/croinstcd", model.getValue("/root/send/searchitem/croinstcd"));
  751. ]]>
  752. </script>
  753. </button>
  754. <caption id="caption7" class="tit_2" style="left:10px; top:10px; width:140px; height:14px; ">지속심의</caption>
  755. <caption id="caption8" class="cell_1" style="left:107px; top:229px; width:100px; height:35px; text-align:center; vertical-align:middle; ">계획서 변경 여부</caption>
  756. <textarea id="textarea1" ref="/root/main/reptdetl/item/cnts8" style="left:209px; top:229px; width:261px; height:35px; "/>
  757. <caption id="caption11" class="cell_1" style="left:107px; top:266px; width:100px; height:42px; text-align:center; vertical-align:middle; ">
  758. <![CDATA[동의획득과정의
  759. 적법성 및 동의서
  760. 내용의 변경여부]]>
  761. </caption>
  762. <textarea id="textarea2" ref="/root/main/reptdetl/item/cnts9" style="left:209px; top:267px; width:261px; height:42px; "/>
  763. <textarea id="textarea3" ref="/root/main/reptdetl/item/cnts10" style="left:640px; top:155px; width:261px; height:35px; "/>
  764. <caption id="caption12" class="cell_1" style="left:475px; top:155px; width:163px; height:35px; text-align:center; vertical-align:middle; ">
  765. <![CDATA[참여연구자 추가
  766. 또는 탈퇴여부]]>
  767. </caption>
  768. <caption id="caption13" class="cell_1" style="left:475px; top:192px; width:163px; height:35px; text-align:center; vertical-align:middle; ">
  769. <![CDATA[공동연구기관의 추가
  770. 또는탈퇴여부]]>
  771. </caption>
  772. <textarea id="textarea4" ref="/root/main/reptdetl/item/cnts11" style="left:640px; top:192px; width:261px; height:35px; "/>
  773. <caption id="caption14" class="cell_1" style="left:475px; top:229px; width:163px; height:35px; text-align:center; vertical-align:middle; ">의뢰자와 새로이 이해갈등관계가 생긴 연구자 발생여부</caption>
  774. <textarea id="textarea5" ref="/root/main/reptdetl/item/cnts12" style="left:640px; top:229px; width:261px; height:35px; "/>
  775. <caption id="caption15" class="cell_1" style="left:107px; top:310px; width:268px; height:50px; text-align:center; vertical-align:middle; ">본연구와 관련되어위험/이익평가에 영향을 줄 수 있는 새로운 정보가 문헌에 발표되거나 이 연구나 유사한 연구를 통해 도출 되었는지 여부</caption>
  776. <textarea id="textarea6" ref="/root/main/reptdetl/item/cnts13" style="left:376px; top:310px; width:526px; height:50px; "/>
  777. <button id="btn_filedown" class="btn2_letter4" visibility="hidden" _auth="R" style="left:465px; top:5px; width:64px; height:19px; ">
  778. <caption>내려받기</caption>
  779. <script type="javascript" ev:event="DOMActivate">
  780. <![CDATA[
  781. var s = model.getValue("/root/main/reptdetl/item/attfile");
  782. var ss = s.split("/");
  783. var filepath = "";
  784. var filenm = "";
  785. for ( var i = 0; i < ss.length; i ++){
  786. if ( i < ss.length -2 ) {
  787. filepath = filepath+ss[i] +"/";
  788. } else if ( i < ss.length -1 ) {
  789. filepath = filepath+ss[i] ;
  790. } else {
  791. filenm = ss[i];
  792. }
  793. }
  794. var localfile = window.fileDialog("save","|",false,filenm,"","All Files(*.*)|*.*");
  795. if (localfile != "") {
  796. model.download(getActionURL("TRIRS00135")+"&filepath="+filepath,localfile);
  797. var rtn = messageBox("파일을", "Q004");
  798. if( rtn == 6 ) {
  799. window.exec(localfile);
  800. }
  801. }
  802. ]]>
  803. </script>
  804. </button>
  805. <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="52428800" validate="true" style="left:920px; top:10px; width:100px; height:20px; "/>
  806. <datagrid id="grd_attach" nodeset="/root/send/attach" visibility="hidden" caption="파일경로^" colwidth="644" extendlastcol="scroll" mergecellsfixedrows="bycolrec" style="left:315px; top:50px; width:665px; height:150px; ">
  807. <col ref="file"/>
  808. </datagrid>
  809. <button id="button1" class="btn5_letter2" _auth="X" style="left:670px; top:5px; width:42px; height:19px; ">
  810. <caption>삭제</caption>
  811. <script type="javascript" ev:event="DOMActivate">
  812. <![CDATA[
  813. //접수 후 수정불가
  814. if ( model.getValue("/root/main/reptdetl/item/acptyn") == "Y" ) {
  815. messageBox("이미 접수되어 저장 또는 수정", "E001");
  816. return;
  817. }
  818. var reptseqno = model.getValue("/root/hidden/ret/reptseqno");
  819. if ( reptseqno != '') {
  820. model.setValue("/root/main/reptdetl/item/reptseqno", model.getValue("/root/hidden/ret/reptseqno"));
  821. }
  822. if (model.getValue("/root/send/searchitem/consorflag") == 'Y') {
  823. submit("TXIRB00124");
  824. } else {
  825. submit("TXIRB00123");
  826. }
  827. model.refresh();
  828. parent.model.setValue("/root/temp/ivieweryn", "N"); //지속심의서 iviewer 호출 여부 = N
  829. parent.btn_report8.selected = true;
  830. parent.btn_report8.dispatch("DOMActivate");
  831. ]]>
  832. </script>
  833. </button>
  834. </xhtml:body>
  835. </xhtml:html>