SMIIS00101_과제관리.xrw 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  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>IRB과제관리</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <view>
  11. <irsmsubjinfo>
  12. <subjid/>
  13. <perchgrid/>
  14. <judgkind/>
  15. <subjnm/>
  16. <subjpwd/>
  17. <acptyn/>
  18. <clinictrgtflag/>
  19. <reqinstflag/>
  20. <stdycostsuppinst/>
  21. <stdycostsuppinstnm/>
  22. <comnm/>
  23. <itemnm/>
  24. <stdystartdd/>
  25. <allidxcase/>
  26. <stdyenddd/>
  27. <appdd/>
  28. <testeeaprvflag/>
  29. <relprstdata1/>
  30. <relprstdata2/>
  31. <relprstdata3/>
  32. <relprstdata4/>
  33. <relprstdata5/>
  34. <prstdataetc5/>
  35. <resercd/>
  36. <reqinstchrgid/>
  37. <concernrela/>
  38. <verplan/>
  39. <veraprv/>
  40. <vercrf/>
  41. <verib/>
  42. <consorflag/>
  43. <deptcd/>
  44. <reqcnfmyn/>
  45. <inptdd/>
  46. <inptuserid/>
  47. <updtuserid/>
  48. <updtdd/>
  49. <stdykind1/>
  50. <etctrgt1/>
  51. <stdykind2/>
  52. <etctrgt2/>
  53. <stdykind3/>
  54. <stdykind4/>
  55. <etctrgt4/>
  56. <manynation/>
  57. <manyinst/>
  58. <cmcinstcnt/>
  59. <stdytrgt/>
  60. <etctrgt/>
  61. <agenestdyflag/>
  62. <cellcurestdyyn/>
  63. <testeestat/>
  64. <fratesteeflag/>
  65. <stdyspcl1>
  66. </stdyspcl1>
  67. <stdyspcl2/>
  68. <stdyspcl3/>
  69. <stdyspcl4/>
  70. <stdyspcl5/>
  71. <stdyspcl6/>
  72. <stdyspcl7/>
  73. <examadjthosp/>
  74. <examadjtprf/>
  75. <allexamrespnm/>
  76. <allexamresppos/>
  77. <foodscrtgovpassyn/>
  78. <prmisnnatiyn/>
  79. <intermarketyn/>
  80. <inqrgoal/>
  81. <trgtsick/>
  82. <inqrmthd/>
  83. <subjno/>
  84. <croinstcd/>
  85. <testrecruit/>
  86. <testrecruityn/>
  87. <croinstnm/>
  88. </irsmsubjinfo>
  89. <imcmreqinst>
  90. <reqinstcd/>
  91. <cmpynm/>
  92. <bizcondkind/>
  93. <prsdnm/>
  94. <jobposnm/>
  95. <location/>
  96. </imcmreqinst>
  97. <imcmreqchrg>
  98. <nm/>
  99. <posnm/>
  100. <jobposnm/>
  101. <cntctelno/>
  102. <email/>
  103. <mpphonno/>
  104. <faxno/>
  105. </imcmreqchrg>
  106. <irsdsubjhosp>
  107. <subjid/>
  108. <instcd/>
  109. <reqyn/>
  110. <stdystartdd/>
  111. <stdyenddd/>
  112. <roothosp/>
  113. <direccost/>
  114. <depomthd/>
  115. <respstdyempno/>
  116. <usernm/>
  117. <posnm/>
  118. <jobposnm/>
  119. <respstdynm/>
  120. </irsdsubjhosp>
  121. <imcmreser>
  122. <usernm/>
  123. <hometel/>
  124. <cmpytelno/>
  125. <faxno/>
  126. <email/>
  127. </imcmreser>
  128. </view>
  129. <judgsubjlist>
  130. <item>
  131. <subjno/>
  132. <subjnm/>
  133. <itemnm/>
  134. <comnm/>
  135. <respstdynm/>
  136. <cmpynm/>
  137. <reqyn/>
  138. <endyn/>
  139. <respstdyempno/>
  140. <reqinstcd/>
  141. <judgkind/>
  142. <subjid/>
  143. <instcd/>
  144. <judgappdg/>
  145. <judgdd/>
  146. <perchgrid/>
  147. </item>
  148. </judgsubjlist>
  149. <judglist>
  150. <item>
  151. <judgkind/>
  152. <judgappdg/>
  153. <judgenddd/>
  154. <judgdd/>
  155. <reptkind/>
  156. <judgrslt/>
  157. <subjid/>
  158. <instcd/>
  159. <reptseqno/>
  160. <consorflag/>
  161. </item>
  162. <item2>
  163. <judgkind/>
  164. <judgappdg/>
  165. <judgenddd/>
  166. <judgdd/>
  167. <reptkind/>
  168. <judgrslt/>
  169. <subjid/>
  170. <instcd/>
  171. <reptseqno/>
  172. <consorflag/>
  173. </item2>
  174. <item3>
  175. <judgkind/>
  176. <judgappdg/>
  177. <judgenddd/>
  178. <judgdd/>
  179. <reptkind/>
  180. <judgrslt/>
  181. <subjid/>
  182. <instcd/>
  183. <reptseqno/>
  184. <consorflag/>
  185. <acptdd/>
  186. <resercnfmdd/>
  187. </item3>
  188. </judglist>
  189. </main>
  190. <send>
  191. <srchitemnm/>
  192. <srchrespstdyempno/>
  193. <srchsubjno/>
  194. <srchjudgddfrom/>
  195. <srchsubjid/>
  196. <srchjudgddto/>
  197. <srchrespstdynm/>
  198. <srchinstcd/>
  199. <perchgrid/>
  200. <respstdyempno/>
  201. <screenmenu/>
  202. <srchjudgstat/>
  203. <reqdata>
  204. <cntrdd/>
  205. </reqdata>
  206. </send>
  207. <hidden>
  208. </hidden>
  209. <init>
  210. <baseinfo>
  211. <instinfo>
  212. <instcd/>
  213. <hospnm/>
  214. </instinfo>
  215. </baseinfo>
  216. </init>
  217. <temp/>
  218. <result>
  219. <studyprojlist>
  220. <projcd/>
  221. <projnm/>
  222. <reqfirm/>
  223. </studyprojlist>
  224. </result>
  225. </root>
  226. </instance>
  227. <script type="javascript" ev:event="xforms-ready">
  228. <![CDATA[
  229. fIni();
  230. ]]>
  231. </script>
  232. <submission id="TRRIS00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" replace="instance" resultref="/root/result/studyprojlist"/>
  233. </model>
  234. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  235. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  236. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  237. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  238. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  239. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  240. <script type="javascript" src="../../../mis/ctmsweb/js/SMIIS00101.js"/>
  241. <script type="javascript">
  242. <![CDATA[
  243. //검색조건초기화
  244. function fSearchReset(){
  245. model.setValue("/root/send/srchitemnm","");
  246. model.setValue("/root/send/srchrespstdyempno","");
  247. model.setValue("/root/send/srchsubjno","");
  248. model.setValue("/root/send/srchsubjid","");
  249. model.setValue("/root/send/srchinstcd","");
  250. model.setValue("/root/send/srchjudgddto","");
  251. model.setValue("/root/send/srchjudgddfrom","");
  252. }
  253. //수정상태 설정
  254. function fSetEditable(){
  255. var acptyn = model.getValue("/root/main/view/irsmsubjinfo/acptyn");
  256. if(acptyn == "Y") {
  257. combo1.disabled = true;
  258. combo4.disabled = true;
  259. combo9.disabled = true;
  260. // combo12.disabled = true;
  261. combo13.disabled = true;
  262. combo2.disabled = true;
  263. combo6.disabled = true;
  264. combo5.disabled = true;
  265. combo14.disabled = true;
  266. radio1.disabled = true;
  267. radio7.disabled = true;
  268. radio2.disabled = true;
  269. radio3.disabled = true;
  270. radio4.disabled = true;
  271. radio5.disabled = true;
  272. radio6.disabled = true;
  273. checkbox1.disabled = true;
  274. checkbox3.disabled = true;
  275. checkbox4.disabled = true;
  276. checkbox5.disabled = true;
  277. checkbox6.disabled = true;
  278. // combo19.disabled = true;
  279. combo16.disabled = true;
  280. combo3.disabled = true;
  281. combo7.disabled = true;
  282. combo10.disabled = true;
  283. combo17.disabled = true;
  284. combo15.disabled = true;
  285. checkbox2.disabled = true;
  286. checkbox7.disabled = true;
  287. checkbox8.disabled = true;
  288. checkbox9.disabled = true;
  289. checkbox10.disabled = true;
  290. combo11.disabled = true;
  291. combo18.disabled = true;
  292. combo8.disabled = true;
  293. textarea1.attribute("editable") = "false";
  294. input9.attribute("editable") = "false";
  295. input30.attribute("editable") = "false";
  296. input2.attribute("editable") = "false";
  297. input26.attribute("editable") = "false";
  298. input7.attribute("editable") = "false";
  299. input8.attribute("editable") = "false";
  300. input51.attribute("editable") = "false";
  301. input25.attribute("editable") = "false";
  302. input27.attribute("editable") = "false";
  303. input61.attribute("editable") = "false";
  304. input40.attribute("editable") = "false";
  305. input54.attribute("editable") = "false";
  306. input3.attribute("editable") = "false";
  307. input4.attribute("editable") = "false";
  308. input6.attribute("editable") = "false";
  309. input11.attribute("editable") = "false";
  310. input58.attribute("editable") = "false";
  311. input62.attribute("editable") = "false";
  312. input64.attribute("editable") = "false";
  313. input60.attribute("editable") = "false";
  314. input49.attribute("editable") = "false";
  315. input14.attribute("editable") = "false";
  316. input31.attribute("editable") = "false";
  317. input38.attribute("editable") = "false";
  318. input21.attribute("editable") = "false";
  319. textarea2.attribute("editable") = "false";
  320. input43.attribute("editable") = "false";
  321. input44.attribute("editable") = "false";
  322. input45.attribute("editable") = "false";
  323. textarea3.attribute("editable") = "false";
  324. input46.attribute("editable") = "false";
  325. input28.attribute("editable") = "false";
  326. input12.attribute("editable") = "false";
  327. input13.attribute("editable") = "false";
  328. input16.attribute("editable") = "false";
  329. input15.attribute("editable") = "false";
  330. input17.attribute("editable") = "false";
  331. input18.attribute("editable") = "false";
  332. input50.attribute("editable") = "false";
  333. input47.attribute("editable") = "false";
  334. input19.attribute("editable") = "false";
  335. input48.attribute("editable") = "false";
  336. input34.attribute("editable") = "false";
  337. } else {
  338. combo1.disabled = false;
  339. combo4.disabled = false;
  340. combo9.disabled = false;
  341. // combo12.disabled = false;
  342. combo13.disabled = false;
  343. combo2.disabled = false;
  344. combo6.disabled = false;
  345. combo5.disabled = false;
  346. combo14.disabled = false;
  347. radio1.disabled = false;
  348. radio7.disabled = false;
  349. radio2.disabled = false;
  350. radio3.disabled = false;
  351. radio4.disabled = false;
  352. radio5.disabled = false;
  353. radio6.disabled = false;
  354. checkbox1.disabled = false;
  355. checkbox3.disabled = false;
  356. checkbox4.disabled = false;
  357. checkbox5.disabled = false;
  358. checkbox6.disabled = false;
  359. // combo19.disabled = false;
  360. combo16.disabled = false;
  361. combo3.disabled = false;
  362. combo7.disabled = false;
  363. combo10.disabled = false;
  364. combo17.disabled = false;
  365. combo15.disabled = true;
  366. checkbox2.disabled = false;
  367. checkbox7.disabled = false;
  368. checkbox8.disabled = false;
  369. checkbox9.disabled = false;
  370. checkbox10.disabled = false;
  371. combo11.disabled = false;
  372. combo18.disabled = false;
  373. combo8.disabled = false;
  374. textarea1.attribute("editable") = "true";
  375. input9.attribute("editable") = "true";
  376. input30.attribute("editable") = "true";
  377. input2.attribute("editable") = "true";
  378. input26.attribute("editable") = "true";
  379. input7.attribute("editable") = "true";
  380. input8.attribute("editable") = "true";
  381. input51.attribute("editable") = "true";
  382. input25.attribute("editable") = "true";
  383. input27.attribute("editable") = "true";
  384. input61.attribute("editable") = "true";
  385. input40.attribute("editable") = "true";
  386. input54.attribute("editable") = "true";
  387. input3.attribute("editable") = "true";
  388. input4.attribute("editable") = "true";
  389. input6.attribute("editable") = "true";
  390. input11.attribute("editable") = "true";
  391. input58.attribute("editable") = "true";
  392. input62.attribute("editable") = "true";
  393. input64.attribute("editable") = "true";
  394. input60.attribute("editable") = "true";
  395. input49.attribute("editable") = "true";
  396. input14.attribute("editable") = "true";
  397. input31.attribute("editable") = "true";
  398. input38.attribute("editable") = "true";
  399. input21.attribute("editable") = "true";
  400. textarea2.attribute("editable") = "true";
  401. input43.attribute("editable") = "true";
  402. input44.attribute("editable") = "true";
  403. input45.attribute("editable") = "true";
  404. textarea3.attribute("editable") = "true";
  405. input46.attribute("editable") = "true";
  406. input28.attribute("editable") = "true";
  407. input12.attribute("editable") = "true";
  408. input13.attribute("editable") = "true";
  409. input16.attribute("editable") = "true";
  410. input15.attribute("editable") = "true";
  411. input17.attribute("editable") = "true";
  412. input18.attribute("editable") = "true";
  413. input50.attribute("editable") = "true";
  414. input47.attribute("editable") = "true";
  415. input19.attribute("editable") = "true";
  416. input48.attribute("editable") = "true";
  417. input34.attribute("editable") = "true";
  418. if(model.getValue("/root/main/view/irsmsubjinfo/stdykind1") == "E") input2.disabled = false;
  419. else input2.disabled = true;
  420. if(model.getValue("/root/main/view/irsmsubjinfo/stdykind2") == "E") input26.disabled = false;
  421. else input26.disabled = true;
  422. if(model.getValue("/root/main/view/irsmsubjinfo/stdykind4") == "E") input25.disabled = false;
  423. else input25.disabled = true;
  424. if(model.getValue("/root/main/view/irsmsubjinfo/stdytrgt") == "X") input27.disabled = false;
  425. else input27.disabled = true;
  426. if(model.getValue("/root/main/view/irsmsubjinfo/testeestat") == "3") combo14.disabled = false;
  427. else combo14.disabled = true;
  428. if(model.getValue("/root/main/view/irsmsubjinfo/relprstdata5") == "Y") input61.disabled = false;
  429. else input61.disabled = true;
  430. if(model.getValue("/root/main/view/irsmsubjinfo/stdykind3") == "M") input8.disabled = false;
  431. else input8.disabled = true;
  432. if(model.getValue("/root/main/view/irsmsubjinfo/stdykind3") == "G") {
  433. input7.disabled = false;
  434. input8.disabled = false;
  435. input51.disabled = false;
  436. } else {
  437. input7.disabled = true;
  438. input8.disabled = true;
  439. input51.disabled = true;
  440. }
  441. if(model.getValue("/root/main/view/irsmsubjinfo/relprstdata5") == "Y") input28.disabled = false;
  442. else input28.disabled = true;
  443. }
  444. }
  445. ]]>
  446. </script>
  447. </xhtml:head>
  448. <xhtml:body>
  449. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:14px; "/>
  450. <group id="group3" style="left:0px; top:15px; width:1194px; height:37px; vertical-align:top; ">
  451. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  452. <button id="btn_search" class="btn1_letter2" _auth="R" style="left:1125px; top:6px; width:56px; height:22px; ">
  453. <caption>조회</caption>
  454. <script type="javascript" ev:event="DOMActivate">
  455. <![CDATA[
  456. fSearch();
  457. ]]>
  458. </script>
  459. </button>
  460. <line id="line1" style="x1:1115px; y1:9px; x2:1115px; y2:27px; border-color:#ffe4bb; border-left-style:solid; "/>
  461. </group>
  462. <switch id="switch1" style="left:0px; top:80px; width:1194px; height:605px; ">
  463. <case id="case1">
  464. <datagrid id="grd_irbsublist" nodeset="/root/result/studyprojlist" caption="과제번호^과제명^의뢰회사^품목명^성분명^시험책임자^의뢰자^승인^종료^resostdyempno^requbstcd^judgkind^subjid^instcd" colsep="^" colwidth="120, 250, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:0px; width:1170px; height:590px; ">
  465. <col ref="projcd"/>
  466. <col ref="projnm"/>
  467. <col ref="reqfirm"/>
  468. </datagrid>
  469. </case>
  470. </switch>
  471. <button id="btn_excel" class="btn2_letter3" style="left:1138px; top:59px; width:53px; height:19px; ">
  472. <caption>Excel</caption>
  473. <script type="javascript" ev:event="onclick">
  474. <![CDATA[
  475. var fileName = window.fileDialog("save",",",false,"보고서-IRB과제관리","xls","All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
  476. if(fileName !=""){
  477. grd_irbsublist.saveExcel(fileName);
  478. }
  479. ]]>
  480. </script>
  481. </button>
  482. <line id="line6" class="line_3" style="x1:0px; y1:685px; x2:1194px; y2:685px; "/>
  483. </xhtml:body>
  484. </xhtml:html>