SMIIJ00101_IRB심사위원관리New.xrw 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954
  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. <![CDATA[ㄱ]]>
  6. <xhtml:title>IRB 심사위원관리</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <commiteam>
  12. <item>
  13. <teamcd/>
  14. <startdd/>
  15. <enddd/>
  16. <allpsnno/>
  17. <teamchar/>
  18. <screenmenu/>
  19. </item>
  20. </commiteam>
  21. <commihist>
  22. <item>
  23. <teamnm/>
  24. <judgappdg/>
  25. <judgdd/>
  26. <confplc/>
  27. <teamchar/>
  28. </item>
  29. </commihist>
  30. <commimemb>
  31. <item>
  32. <chk/>
  33. <empno/>
  34. <engnm/>
  35. <gndr/>
  36. <instrera/>
  37. <frmrmertcd/>
  38. <frmrmertnm/>
  39. <frmrmertengnm/>
  40. <frmrmertild/>
  41. <acdmydgcd/>
  42. <acdmydgnm/>
  43. <acdmydgeng/>
  44. <telno/>
  45. <startdd/>
  46. <enddd/>
  47. <endyn/>
  48. <teamcd/>
  49. <prtitem/>
  50. <clsdetl/>
  51. <seq/>
  52. <usernm/>
  53. <instcd/>
  54. <irbadminworknm/>
  55. <irbchrmannm/>
  56. <hospnm/>
  57. <hospcd/>
  58. <addr/>
  59. <screenmenu/>
  60. <panelcd/>
  61. <versioncd/>
  62. </item>
  63. </commimemb>
  64. <membentry>
  65. <item>
  66. <usernm/>
  67. <teamnm/>
  68. <teamcnt/>
  69. <entrycnt/>
  70. <entryrate/>
  71. </item>
  72. </membentry>
  73. <list/>
  74. </main>
  75. <send>
  76. <srchteammngt/>
  77. <srchempno/>
  78. <teamsavedata/>
  79. <membsavedata/>
  80. <commifromdd/>
  81. <commitodd/>
  82. <membfromdd/>
  83. <membtodd/>
  84. <entryfromdd/>
  85. <entrytodd/>
  86. <entryteam/>
  87. <entrymembnm/>
  88. <teamcd/>
  89. <screenmenu/>
  90. <versioncd/>
  91. </send>
  92. <hidden/>
  93. <init/>
  94. <rex>
  95. <rexuserid/>
  96. <rexinstcd/>
  97. <view>
  98. <rexcarer00>
  99. <usernm/>
  100. <rrgstno/>
  101. <homeaddr/>
  102. <hometel/>
  103. <hospnm/>
  104. <workplceaddr/>
  105. <cmpytelno/>
  106. <cdnm/>
  107. <postrecvtret/>
  108. <cmt/>
  109. <hospcd/>
  110. </rexcarer00>
  111. <rexcarer01>
  112. <edudate/>
  113. <carerfact/>
  114. </rexcarer01>
  115. <rexcarer02>
  116. <cardate/>
  117. <carerfact/>
  118. </rexcarer02>
  119. <rexcarer03>
  120. <stdydd/>
  121. <subjnm/>
  122. </rexcarer03>
  123. <rexcarer04>
  124. <issdd/>
  125. <titl/>
  126. </rexcarer04>
  127. <appformhead>
  128. <subjnm/>
  129. <subjno/>
  130. <hospnm/>
  131. <depthngnm/>
  132. <cdnm/>
  133. <usernm/>
  134. <appformgbn/>
  135. </appformhead>
  136. <appform>
  137. <hospnm/>
  138. <subjnm/>
  139. <subjno/>
  140. <itemnm/>
  141. <comnm/>
  142. <inqrgoal/>
  143. <trgtsick/>
  144. <inqrmthd/>
  145. <roothospidxcasecnt/>
  146. <totstdycost/>
  147. <stdystartdd/>
  148. <stdyenddd/>
  149. <cdnm/>
  150. <depthngnm/>
  151. <usernm/>
  152. <appformgbn/>
  153. </appform>
  154. <irsdcollareser>
  155. <subjid/>
  156. <instcd/>
  157. <userid/>
  158. <userkind/>
  159. <usernm/>
  160. <posnm/>
  161. <jobposnm/>
  162. </irsdcollareser>
  163. <imcmreqinst>
  164. <cmpynm/>
  165. <prsdnm/>
  166. </imcmreqinst>
  167. </view>
  168. <basesubjinfo>
  169. <basesubjinfo>
  170. <subjid/>
  171. <perchgrid/>
  172. <acptyn/>
  173. <judgkind/>
  174. <subjnm/>
  175. <subjpwd/>
  176. <clinictrgtflag/>
  177. <reqinstflag/>
  178. <stdycostsuppinst/>
  179. <stdycostsuppinstnm/>
  180. <itemnm/>
  181. <comnm/>
  182. <allidxcase/>
  183. <stdystartdd/>
  184. <stdyenddd/>
  185. <appdd/>
  186. <testeeaprvflag/>
  187. <relprstdata1/>
  188. <relprstdata2/>
  189. <relprstdata3/>
  190. <relprstdata4/>
  191. <relprstdata5/>
  192. <prstdataetc5/>
  193. <resercd/>
  194. <reqinstcd/>
  195. <concernrela/>
  196. <verplan/>
  197. <veraprv/>
  198. <vercrf/>
  199. <verib/>
  200. <consorflag/>
  201. <deptcd/>
  202. <reqcnfmyn/>
  203. <inqrgoal/>
  204. <trgtsick/>
  205. <inqrmthd/>
  206. <stdykind1/>
  207. <etctrgt1/>
  208. <stdykind2/>
  209. <etctrgt2/>
  210. <stdykind3/>
  211. <manynation/>
  212. <manyinst/>
  213. <cmcinstcnt/>
  214. <stdykind4/>
  215. <etctrgt4/>
  216. <stdytrgt/>
  217. <etctrgt/>
  218. <agenestdyflag/>
  219. <cellcurestdyyn/>
  220. <testeestat/>
  221. <fratesteeflag/>
  222. <stdyspcl1/>
  223. <stdyspcl2/>
  224. <stdyspcl3/>
  225. <stdyspcl4/>
  226. <stdyspcl5/>
  227. <stdyspcl6/>
  228. <stdyspcl7/>
  229. <examadjthosp/>
  230. <examadjtprf/>
  231. <allexamresppos/>
  232. <allexamrespnm/>
  233. <foodscrtgovpassyn/>
  234. <prmisnnatiyn/>
  235. <intermarketyn/>
  236. <judgkindcode/>
  237. </basesubjinfo>
  238. </basesubjinfo>
  239. <basehospinfo>
  240. <basehospinfo>
  241. <subjid/>
  242. <instcd/>
  243. <subjno/>
  244. <condd/>
  245. <reqyn/>
  246. <reqdt/>
  247. <totstdycost/>
  248. <direccost/>
  249. <stdystartdd/>
  250. <stdyenddd/>
  251. <crccaprvyn/>
  252. <crccaprvdd/>
  253. <rtnresn/>
  254. <roothospidxcasecnt/>
  255. <depomthd/>
  256. <respstdyempno/>
  257. <respstdycnfmsubjyn/>
  258. <respstdycnfmexecyn/>
  259. <respstdycnfmselfyn/>
  260. <mdlreptdd/>
  261. <subjenddd/>
  262. <subjdiscontinudd/>
  263. <subjdiscontinuresn/>
  264. <subrecuyn/>
  265. <subrecuenddd/>
  266. <reqjudgcostdepoyn/>
  267. <reqjudgcostdepodd/>
  268. <irbjudgcostamt/>
  269. <irbjudgcostdepoyn/>
  270. <irbjudgcostdepodd/>
  271. <irbjudgflag/>
  272. <conacptyn/>
  273. <conacptdd/>
  274. <conyn/>
  275. <concondd/>
  276. <examdrugwinyn/>
  277. <examdrugwindd/>
  278. <stdycostcalcyn/>
  279. <captyn/>
  280. <captdd/>
  281. <crcccnfm1/>
  282. <crcccnfm2/>
  283. <crcccnfm3/>
  284. <irbjudgyn/>
  285. <subjattfile/>
  286. <judgcnvtyn/>
  287. <mdlschedd/>
  288. <endschedd/>
  289. <rsltschedd/>
  290. <contschedd/>
  291. </basehospinfo>
  292. </basehospinfo>
  293. <baseuserinfo>
  294. <imcmreqinst>
  295. <reqinstcd/>
  296. <cmpynm/>
  297. <bizcondkind/>
  298. <prsdnm/>
  299. <jobposnm/>
  300. <addr1/>
  301. <addr2/>
  302. </imcmreqinst>
  303. <imcmreqchrg>
  304. <nm/>
  305. <posnm/>
  306. <jobposnm/>
  307. <cntctelno/>
  308. <email/>
  309. <mpphonno/>
  310. <faxno/>
  311. </imcmreqchrg>
  312. </baseuserinfo>
  313. </rex>
  314. </root>
  315. </instance>
  316. <submission id="TRIIJ00151" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/commiteam"/>
  317. <submission id="TRIIJ00152" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/commimemb"/>
  318. <submission id="TRIIJ00153" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/commihist"/>
  319. <submission id="TRIIJ00154" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/membentry"/>
  320. <submission id="TRIIJ00155" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list"/>
  321. <submission id="TXIIJ00151" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/teamsavedata" replace="instance" resultref="/root/main/commiteam"/>
  322. <submission id="TXIIJ00152" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/membsavedata" replace="instance" resultref="/root/main/commimemb"/>
  323. <submission id="TRIRS00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/rex" replace="instance" resultref="/root/rex/view"/>
  324. </model>
  325. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  326. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  327. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  328. <script type="javascript" src="../../../com/authinfoweb/js/ZSA001.js"/>
  329. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  330. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  331. <script type="javascript">
  332. <![CDATA[
  333. function searchDtl(row){
  334. var hospcd = model.getValue("/root/main/commimemblist/item["+row+"]/hospcd");
  335. var empno = model.getValue("/root/main/commimemblist/item["+row+"]/empno");
  336. model.setValue("/root/send/srchhospcd",hospcd);
  337. model.setValue("/root/send/srchempno",empno);
  338. submit("TRIIJ00152");
  339. model.refresh();
  340. }
  341. var selrow1 = 0;
  342. ]]>
  343. </script>
  344. <script type="javascript" ev:event="xforms-ready">
  345. <![CDATA[
  346. model.setValue("/root/send/commifromdd", getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat("YYYYMMDD"));
  347. model.setValue("/root/send/commitodd", getCurrentDate());
  348. model.setValue("/root/send/membfromdd", getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat("YYYYMMDD"));
  349. model.setValue("/root/send/membtodd", getCurrentDate());
  350. model.setValue("/root/send/entryfromdd", getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat("YYYYMMDD"));
  351. model.setValue("/root/send/entrytodd", getCurrentDate());
  352. model.setValue("/root/send/screenmenu", getScreenMenuParameter());
  353. // model.setValue("/root/send/screenmenu", "I");
  354. model.removenode("/root/main/commimemb/item");
  355. submit("TRIIJ00151");
  356. ]]>
  357. </script>
  358. </xhtml:head>
  359. <xhtml:body guideline="2,768;">
  360. <switch id="switch1" style="left:0px; top:60px; width:1195px; height:700px; ">
  361. <case id="case1" selected="true">
  362. <button id="btn_commiteamsav" class="btn5_letter2" _auth="X" style="left:1140px; top:15px; width:42px; height:19px; ">
  363. <caption>저장</caption>
  364. <script type="javascript" ev:event="onclick">
  365. <![CDATA[
  366. setAlertOn();
  367. var rows = grd_commiteam.rows;
  368. for(var i = 2;i<=rows;i++){
  369. var rowStatus = grd_commiteam.rowStatus(0);
  370. }
  371. // for ( var i = 0; i < grd_commiteam.rows; i++ ) {
  372. // model.makeValue("/root/main/commiteam/item["+ ( grd_commiteam.row - 1 ) +"]/screenmenu", model.getValue("/root/send/screenmenu"));
  373. model.setValue("/root/main/commiteam/item["+ ( grd_commiteam.row - 1 ) +"]/screenmenu", model.getValue("/root/send/screenmenu"));
  374. // }
  375. model.setValue("/root/send/teamsavedata",grd_commiteam.getUpdateData());
  376. submit("TXIIJ00151");
  377. model.removenode("/root/main/commimemb/item");
  378. model.refresh();
  379. ]]>
  380. </script>
  381. <script type="javascript" ev:event="DOMFocusOut">
  382. <![CDATA[
  383. checkKeyColumn("grd_commiteam");
  384. ]]>
  385. </script>
  386. </button>
  387. <button id="btn_commimembsav" class="btn5_letter2" _auth="X" style="left:667px; top:205px; width:42px; height:19px; ">
  388. <caption>저장</caption>
  389. <script type="javascript" ev:event="onclick">
  390. <![CDATA[
  391. for ( var i = 1; i < grd_commimemb.rows; i++ ) {
  392. model.makeValue("/root/main/commimemb/item["+ i +"]/screenmenu", model.getValue("/root/send/screenmenu"));
  393. }
  394. model.setValue("/root/send/membsavedata",grd_commimemb.getUpdateData());
  395. submit("TXIIJ00152");
  396. submit("TRIIJ00152");
  397. ]]>
  398. </script>
  399. </button>
  400. <button id="button1" class="btn2_letter8" disabled="true" _auth="X" style="left:432px; top:205px; width:108px; height:19px; ">
  401. <caption>원외심사위원등록</caption>
  402. <script type="javascript" ev:event="onclick">
  403. <![CDATA[
  404. if ( model.getValue("/root/main/commimemb/item/instcd") != '' ) {
  405. setParameter("instcd", model.getValue("/root/main/commimemb/item[1]/instcd"));
  406. }
  407. window.load("../../../crc/comsubjweb/xrw/SMIMR00600_원외심사위원등록.xrw","modal","basis", "left:300px; top:300px; width:800px; height:400px;min:hidden;max:hidden;resize:true;");
  408. grd_commimemb.addRow();
  409. var irow = grd_commimemb.row - 1;
  410. if ( getParameter("userid") != '' ) {
  411. model.setValue("/root/main/commimemb/item[" + irow + "]/userid", getParameter("userid")); //성명
  412. model.setValue("/root/main/commimemb/item[" + irow + "]/usernm", getParameter("usernm")); //성명
  413. }
  414. if ( getParameter("engnm") != '') {
  415. model.setValue("/root/main/commimemb/item[" + irow + "]/engnm", getParameter("engnm")); //성명(영문)
  416. }
  417. if ( getParameter("gndr") != '') {
  418. model.setValue("/root/main/commimemb/item[" + irow + "]/gndr", getParameter("gndr")); //성별
  419. }
  420. if ( getParameter("acdmydgcd") != '') {
  421. model.setValue("/root/main/commimemb/item[" + irow + "]/acdmydgcd", getParameter("acdmydgcd")); //학위코드
  422. }
  423. if ( getParameter("acdmydgnm") != '') {
  424. model.setValue("/root/main/commimemb/item[" + irow + "]/acdmydgnm", getParameter("acdmydgnm")); //학위
  425. }
  426. if ( getParameter("acdmydgeng") != '' ) {
  427. model.setValue("/root/main/commimemb/item[" + irow + "]/acdmydgeng", getParameter("acdmydgeng")); //학위영문명
  428. }
  429. if ( getParameter("frmrmertcd") != '' ) {
  430. model.setValue("/root/main/commimemb/item[" + irow + "]/frmrmertcd", getParameter("frmrmertcd")); //전공코드
  431. }
  432. if ( getParameter("frmrmertnm") != '' ) {
  433. model.setValue("/root/main/commimemb/item[" + irow + "]/frmrmertnm", getParameter("frmrmertnm")); //전공명
  434. }
  435. if ( getParameter("frmrmertengnm") != '' ) {
  436. model.setValue("/root/main/commimemb/item[" + irow + "]/frmrmertengnm", getParameter("frmrmertengnm")); //전공영문명
  437. }
  438. if ( getParameter("frmrmertild") != '' ) {
  439. model.setValue("/root/main/commimemb/item[" + irow + "]/frmrmertild", getParameter("frmrmertild")); //전공분야
  440. }
  441. if ( getParameter("frmrmertild") != '' ) {
  442. model.setValue("/root/main/commimemb/item[" + irow + "]/startdd", getParameter("userfromdd")); //임기시작일
  443. }
  444. if ( getParameter("frmrmertild") != '' ) {
  445. model.setValue("/root/main/commimemb/item[" + irow + "]/enddd", getParameter("usertodd")); //임기종료일
  446. }
  447. model.setValue("/root/main/commimemb/item[" + irow + "]/teamcd", model.getValue("/root/send/teamcd"));
  448. model.refresh();
  449. ]]>
  450. </script>
  451. </button>
  452. <button id="btn_commiteamdel" class="btn2_letter3" _auth="X" style="left:1080px; top:15px; width:53px; height:19px; ">
  453. <caption>행삭제</caption>
  454. <script type="javascript" ev:event="onclick">
  455. <![CDATA[
  456. if(grd_commiteam.row>1){
  457. messageBox("팀정보를 삭제 하시면 해당 팀의 심사위원 정보도 삭제 됩니다.","Q003");
  458. grd_commiteam.addStatus(grd_commiteam.row, "delete");
  459. }
  460. // grd_commiteam.deleteItem(grd_commiteam.row);
  461. ]]>
  462. </script>
  463. </button>
  464. <button id="button5" class="btn2_letter5" _auth="P" style="left:807px; top:205px; width:75px; height:19px; ">
  465. <caption>서약서출력</caption>
  466. <script type="javascript" ev:event="DOMActivate">
  467. <![CDATA[
  468. if(grd_commimemb.row <1){
  469. messageBox("심사위원을 선택해 주세요", "I");
  470. return;
  471. }
  472. model.setValue("/root/rex/rexuserid", model.getValue("/root/main/commimemb/item["+ (grd_commimemb.row - 1) +"]/userid"));
  473. model.setValue("/root/rex/rexinstcd", model.getValue("/root/main/commimemb/item["+ (grd_commimemb.row - 1) +"]/instcd"));
  474. if(submit("TRIRS00107")) {
  475. exeReportPreview("PRIIJ00101", "XMLSTR" , "/root/rex");
  476. }
  477. ]]>
  478. </script>
  479. </button>
  480. <button id="button6" class="btn2_letter3" visibility="hidden" style="left:668px; top:15px; width:53px; height:19px; ">
  481. <caption>Excel</caption>
  482. <script type="javascript" ev:event="onclick">
  483. <![CDATA[
  484. var dataYn = model.getValue("/root/main/commiteam/item["+1+"]/teammngt");
  485. if(dataYn == ""){
  486. messageBox("조회된 ", "E013");
  487. return;
  488. }else{
  489. var fileName = window.fileDialog("save",",",false,"보고서-심사팀기본정보","xls","All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
  490. }
  491. if(fileName !=""){
  492. grd_commiteam.saveExcel(fileName);
  493. }
  494. ]]>
  495. </script>
  496. </button>
  497. <button id="btn_commimembdel" class="btn2_letter3" _auth="X" style="left:607px; top:205px; width:53px; height:19px; ">
  498. <caption>행삭제</caption>
  499. <script type="javascript" ev:event="onclick">
  500. <![CDATA[
  501. grd_commimemb.addStatus(grd_commimemb.row,"delete");
  502. // grd_commimemb.deleteItem(grd_commimemb.row);
  503. ]]>
  504. </script>
  505. </button>
  506. <caption id="caption10" class="tit_2" style="left:10px; top:20px; width:140px; height:13px; ">심사팀기본정보</caption>
  507. <button id="btn_commiteamins" class="btn2_letter3" _auth="X" style="left:1020px; top:15px; width:53px; height:19px; ">
  508. <caption>행추가</caption>
  509. <script type="javascript" ev:event="onclick">
  510. <![CDATA[
  511. grd_commiteam.addItem();
  512. var irow = grd_commiteam.row - 1;
  513. var enddd = new Date(new Date().getFullYear(), "26", new Date().getDate()).getDateFormat(); // kjw수정(2010.03.02, 2년 이후의 날짜를 종료일로 지정)
  514. model.setValue("/root/main/commiteam/item[" + irow + "]/startdd", getCurrentDate());
  515. model.setValue("/root/main/commiteam/item[" + irow + "]/enddd", enddd);
  516. ]]>
  517. </script>
  518. </button>
  519. <button id="button8" class="btn2_letter3" style="left:1135px; top:205px; width:53px; height:19px; ">
  520. <caption>Excel</caption>
  521. <script type="javascript" ev:event="onclick">
  522. <![CDATA[
  523. var dataYn = model.getValue("/root/main/commimemb/item["+1+"]/teammngt");
  524. if(dataYn == ""){
  525. messageBox("조회된 ", "E013");
  526. return;
  527. }else{
  528. var fileName = window.fileDialog("save",",",false,"보고서-심사위원관리","xls","All Files(*.*)|*.*|Excel Files(*.xls)|*.xls");
  529. }
  530. if(fileName !=""){
  531. grd_commimemb.saveExcel(fileName);
  532. }
  533. ]]>
  534. </script>
  535. </button>
  536. <button id="btn_commimembins" class="btn2_letter3" disabled="true" _auth="X" style="left:547px; top:205px; width:53px; height:19px; ">
  537. <caption>행추가</caption>
  538. <script type="javascript" ev:event="onclick">
  539. <![CDATA[
  540. grd_commimemb.addItem();
  541. var irow = grd_commimemb.row-1;
  542. var enddd = new Date(new Date().getFullYear(), "26", new Date().getDate()).getDateFormat(); // kjw수정(2010.03.02, 2년 이후의 날짜를 종료일로 지정)
  543. model.setValue("/root/main/commimemb/item[" + irow + "]/startdd", getCurrentDate());
  544. model.setValue("/root/main/commimemb/item[" + irow + "]/enddd", enddd);
  545. model.setValue("/root/main/commimemb/item[" + irow + "]/teamcd", opt_teamcd.value);
  546. model.setValue("/root/main/commimemb/item[" + irow + "]/versioncd", model.getValue("/root/main/commiteam/item["+(grd_commiteam.row - 1)+"]/versioncd"));
  547. ]]>
  548. </script>
  549. </button>
  550. <caption id="caption13" class="search_name" style="left:130px; top:205px; width:86px; height:17px; ">조회일</caption>
  551. <datagrid id="grd_commiteam" nodeset="/root/main/commiteam/item" caption="팀코드^버전^팀명^임기일자^임기일자^성원정족수^팀의성격^임상단계|팀코드^버전^팀명^임기시작일^임기종료일^성원정족수^팀의성격^임상단계" colsep="^" colwidth="62, 55, 123, 124, 100, 122, 300, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:40px; width:1189px; height:155px; ">
  552. <col ref="teamcd" type="input" maxlength="2" _key="true"/>
  553. <col ref="versioncd" type="input"/>
  554. <col disabled="true" ref="teamnm" type="input" _key="true"/>
  555. <col ref="startdd" type="inputdate"/>
  556. <col ref="enddd" type="inputdate"/>
  557. <col ref="allpsnno" type="input" _key="true"/>
  558. <col ref="teamchar" type="input"/>
  559. <col ref="screenmenu" visibility="hidden"/>
  560. <col ref="hidversioncd" visibility="hidden"/>
  561. <script type="javascript" ev:event="onclick">
  562. <![CDATA[
  563. if( isDataCell() ) {
  564. var irow = grd_commiteam.row -1;
  565. model.setValue("/root/send/teamcd", model.getValue("/root/main/commiteam/item[" + irow + "]/teamcd"));
  566. model.setValue("/root/send/versioncd", model.getValue("/root/main/commiteam/item[" + irow + "]/versioncd"));
  567. submit("TRIIJ00153", false);
  568. submit("TRIIJ00152");
  569. btn_commimembins.disabled = false;
  570. selrow1 = irow;
  571. }
  572. ]]>
  573. </script>
  574. </datagrid>
  575. <line id="line3" class="line_1" style="x1:0px; y1:35px; x2:1189px; y2:35px; "/>
  576. <button id="button11" class="btn2_letter9" _auth="P" style="left:887px; top:205px; width:119px; height:19px; ">
  577. <caption>위원명단출력(국문)</caption>
  578. <script type="javascript" ev:event="DOMActivate">
  579. <![CDATA[
  580. exeReportPreview("PRIIJ00102", "XMLSTR" , "/root/main");
  581. ]]>
  582. </script>
  583. </button>
  584. <datagrid id="grd_commimemb" nodeset="/root/main/commimemb/item" caption="성명^성명(영문)^성별^기관관계^전공과목^전공과목(영문)^전공분야^학위^학위(영문)^전화번호^임기일자^임기일자^임기종료여부^팀^패널^패널^패널^패널^위원분류^분류상세^caption1^caption2^caption3^caption4|성명^성명(영문)^성별^기관관계^전공과목^전공과목(영문)^전공분야^학위^학위(영문)^전화번호^임기시작일^임기종료일^임기종료여부^팀^팀1^팀2^팀3^팀4^위원분류^분류상세^caption1^caption2^caption3^caption4" colsep="^" colwidth="78, 84, 50, 64, 100, 120, 85, 65, 85, 100, 95, 91, 90, 85, 35, 35, 35, 35, 80, 85, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="free" style="left:0px; top:230px; width:1185px; height:460px; ">
  585. <col editable="false" key="true" ref="usernm" type="inputbutton" maxlength="10"/>
  586. <col ref="engnm" type="input"/>
  587. <col class="gridcombo" ref="gndr" type="combo">
  588. <choices>
  589. <item>
  590. <label>남자</label>
  591. <value>M</value>
  592. </item>
  593. <item>
  594. <label>여자</label>
  595. <value>F</value>
  596. </item>
  597. </choices>
  598. </col>
  599. <col class="gridcombo" ref="instrera" type="combo">
  600. <choices>
  601. <item>
  602. <label>원내</label>
  603. <value>Y</value>
  604. </item>
  605. <item>
  606. <label>원외</label>
  607. <value>N</value>
  608. </item>
  609. </choices>
  610. </col>
  611. <col ref="frmrmertnm" type="input"/>
  612. <col ref="frmrmertengnm" type="input"/>
  613. <col class="gridcombo" ref="frmrmertild" type="combo">
  614. <choices>
  615. <item>
  616. <label>(S)과학분야</label>
  617. <value>S</value>
  618. </item>
  619. <item>
  620. <label>(N)비과학분야</label>
  621. <value>N</value>
  622. </item>
  623. </choices>
  624. </col>
  625. <col ref="acdmydgnm" type="input"/>
  626. <col ref="acdmydgeng" type="input"/>
  627. <col ref="telno" type="input"/>
  628. <col ref="startdd" type="inputdate"/>
  629. <col ref="enddd" type="inputdate" value="99991231"/>
  630. <col class="gridcombo" ref="endyn" type="combo">
  631. <choices>
  632. <item>
  633. <label>임기중</label>
  634. <value>N</value>
  635. </item>
  636. <item>
  637. <label>임기종료</label>
  638. <value>Y</value>
  639. </item>
  640. </choices>
  641. </col>
  642. <col class="gridcombo" ref="teamcd" type="combo">
  643. <choices>
  644. <itemset nodeset="/root/main/commiteam/item">
  645. <label ref="teamnm"/>
  646. <value ref="teamcd"/>
  647. </itemset>
  648. </choices>
  649. </col>
  650. <col checkvalue="01,00" ref="pchk1" type="checkbox"/>
  651. <col checkvalue="02,00" ref="pchk2" type="checkbox"/>
  652. <col checkvalue="03,00" ref="pchk3" type="checkbox"/>
  653. <col checkvalue="04,00" ref="pchk4" type="checkbox"/>
  654. <col class="gridcombo" ref="prtitem" type="combo">
  655. <choices>
  656. <item>
  657. <label>위원장</label>
  658. <value>1</value>
  659. </item>
  660. <item>
  661. <label>부위원장</label>
  662. <value>2</value>
  663. </item>
  664. <item>
  665. <label>전문간사</label>
  666. <value>3</value>
  667. </item>
  668. <item>
  669. <label>행정간사</label>
  670. <value>4</value>
  671. </item>
  672. <item>
  673. <label>상임위원</label>
  674. <value>5</value>
  675. </item>
  676. <item>
  677. <label>위원</label>
  678. <value>6</value>
  679. </item>
  680. <item>
  681. <label>예비위원</label>
  682. <value>7</value>
  683. </item>
  684. </choices>
  685. </col>
  686. <col ref="clsdetl" type="input"/>
  687. <col ref="seq" visibility="hidden"/>
  688. <col ref="majorfild" visibility="hidden"/>
  689. <col ref="userid" visibility="hidden"/>
  690. <col ref="instcd" visibility="hidden"/>
  691. <col ref="empno" visibility="hidden"/>
  692. <col ref="frmrmert" visibility="hidden"/>
  693. <col ref="acdmydgcd" visibility="hidden"/>
  694. <col ref="irbadminworknm" visibility="hidden"/>
  695. <col ref="irbchrmannm" visibility="hidden"/>
  696. <col ref="hospnm" visibility="hidden"/>
  697. <col ref="hospcd" visibility="hidden"/>
  698. <col ref="addr" visibility="hidden"/>
  699. <col ref="frmrmertcd" visibility="hidden"/>
  700. <col ref="screenmenu" visibility="hidden"/>
  701. <col ref="versioncd" visibility="hidden"/>
  702. <script type="javascript" ev:event="onbuttonclick">
  703. <![CDATA[
  704. if(grd_commimemb.col == 1) {
  705. setParameter("userkind","1");
  706. window.load("../../../crc/comsubjweb/xrw/SPIMR00200_연구원조회.xrw","modal","reser", "left:400px; top:400px; width:534px; height:343px;min:hidden;max:hidden;resize:true;");
  707. var irow = grd_commimemb.row - 1;
  708. if ( getParameter("userid") != '' ) {
  709. model.setValue("/root/main/commimemb/item[" + irow + "]/userid", getParameter("userid")); //성명
  710. model.setValue("/root/main/commimemb/item[" + irow + "]/usernm", getParameter("usernm")); //성명
  711. }
  712. if ( getParameter("engnm") != '') {
  713. model.setValue("/root/main/commimemb/item[" + irow + "]/engnm", getParameter("engnm")); //성명(영문)
  714. }
  715. if ( getParameter("gndr") != '') {
  716. model.setValue("/root/main/commimemb/item[" + irow + "]/gndr", getParameter("gndr")); //성별
  717. }
  718. if ( getParameter("acdmydgcd") != '') {
  719. model.setValue("/root/main/commimemb/item[" + irow + "]/acdmydgcd", getParameter("acdmydgcd")); //학위코드
  720. }
  721. if ( getParameter("acdmydgnm") != '') {
  722. model.setValue("/root/main/commimemb/item[" + irow + "]/acdmydgnm", getParameter("acdmydgnm")); //학위
  723. }
  724. if ( getParameter("acdmydgeng") != '' ) {
  725. model.setValue("/root/main/commimemb/item[" + irow + "]/acdmydgeng", getParameter("acdmydgeng")); //학위영문명
  726. }
  727. if ( getParameter("frmrmertcd") != '' ) {
  728. model.setValue("/root/main/commimemb/item[" + irow + "]/frmrmertcd", getParameter("frmrmertcd")); //전공코드
  729. }
  730. if ( getParameter("frmrmertnm") != '' ) {
  731. model.setValue("/root/main/commimemb/item[" + irow + "]/frmrmertnm", getParameter("frmrmertnm")); //전공명
  732. }
  733. if ( getParameter("frmrmertengnm") != '' ) {
  734. model.setValue("/root/main/commimemb/item[" + irow + "]/frmrmertengnm", getParameter("frmrmertengnm")); //전공영문명
  735. }
  736. if ( getParameter("frmrmertild") != '' ) {
  737. model.setValue("/root/main/commimemb/item[" + irow + "]/frmrmertild", getParameter("frmrmertild")); //전공분야
  738. }
  739. model.refresh();
  740. }
  741. ]]>
  742. </script>
  743. <script type="javascript" ev:event="onclick">
  744. <![CDATA[
  745. if ( grd_commimemb.col == grd_commimemb.colRef("startdd") ) {
  746. return;
  747. }
  748. if ( grd_commimemb.col == grd_commimemb.colRef("enddd") ) {
  749. return;
  750. }
  751. grd_commimemb.editCell();
  752. model.refresh();
  753. ]]>
  754. </script>
  755. </datagrid>
  756. <line id="line4" class="line_1" style="x1:0px; y1:225px; x2:1184px; y2:225px; "/>
  757. <input id="ipt_startdd" ref="/root/send/membfromdd" class="input_search" inputtype="date" style="left:210px; top:205px; width:110px; height:19px; ">
  758. <script type="javascript" ev:event="xforms-value-changed">
  759. <![CDATA[
  760. submit("TRIIJ00152");
  761. ]]>
  762. </script>
  763. </input>
  764. <caption id="caption9" class="tit_2" style="left:10px; top:210px; width:140px; height:13px; ">심사위원관리</caption>
  765. <button id="button13" class="btn2_letter5" _auth="P" style="left:727px; top:205px; width:75px; height:19px; ">
  766. <caption>이력서출력</caption>
  767. <script type="javascript" ev:event="DOMActivate">
  768. <![CDATA[
  769. if(grd_commimemb.row <1){
  770. messageBox("심사위원을 선택해 주세요", "I");
  771. return;
  772. }
  773. model.setValue("/root/rex/rexuserid", model.getValue("/root/main/commimemb/item["+ (grd_commimemb.row - 1) +"]/userid"));
  774. model.setValue("/root/rex/rexinstcd", model.getValue("/root/main/commimemb/item["+ (grd_commimemb.row - 1) +"]/instcd"));
  775. if(submit("TRIRS00107")) {
  776. exeReportPreview("PRIRS00107", "XMLSTR" , "/root/rex");
  777. }
  778. ]]>
  779. </script>
  780. </button>
  781. <button id="button14" class="btn2_letter11" style="left:727px; top:15px; width:141px; height:19px; ">
  782. <caption>전체위원명단출력(국문)</caption>
  783. <script type="javascript" ev:event="DOMActivate">
  784. <![CDATA[
  785. if(submit("TRIIJ00155")) {
  786. exeReportPreview("PRIIJ00103", "XMLSTR" , "/root/main");
  787. }
  788. ]]>
  789. </script>
  790. </button>
  791. <button id="button4" class="btn2_letter11" style="left:873px; top:15px; width:141px; height:19px; ">
  792. <caption>전체위원명단출력(영문)</caption>
  793. <script type="javascript" ev:event="DOMActivate">
  794. <![CDATA[
  795. if(submit("TRIIJ00155")) {
  796. exeReportPreview("PRIIJ00104", "XMLSTR" , "/root/main");
  797. }
  798. ]]>
  799. </script>
  800. </button>
  801. <button id="button15" class="btn2_letter9" _auth="P" style="left:1011px; top:205px; width:119px; height:19px; ">
  802. <caption>위원명단출력(영문)</caption>
  803. <script type="javascript" ev:event="DOMActivate">
  804. <![CDATA[
  805. exeReportPreview("PRIIJ00105", "XMLSTR" , "/root/main");
  806. ]]>
  807. </script>
  808. </button>
  809. </case>
  810. <case id="case2">
  811. <output id="opt_teamcd" ref="/root/send/teamcd" visibility="hidden" style="left:475px; top:5px; width:100px; height:19px; "/>
  812. <datagrid id="grd_stdylist" nodeset="/root/main/commihist/item" caption="팀^심의차수^심의일자^심의장소^팀의성격^임상단계" colsep="^" colwidth="53, 87, 124, 200, 672, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:30px; width:1189px; height:650px; ">
  813. <col ref="teamnm"/>
  814. <col ref="judgappdg"/>
  815. <col ref="judgdd"/>
  816. <col ref="confplc"/>
  817. <col ref="teamchar"/>
  818. <col/>
  819. </datagrid>
  820. <button id="button7" class="btn2_letter3" style="left:1140px; top:5px; width:53px; height:19px; ">
  821. <caption>Excel</caption>
  822. </button>
  823. <caption id="caption3" class="tit_2" style="left:15px; top:10px; width:140px; height:13px; ">심사팀이력조회</caption>
  824. <caption id="caption4" class="search_name" style="left:135px; top:5px; width:86px; height:17px; ">조회일</caption>
  825. <line id="line1" class="line_1" style="x1:5px; y1:25px; x2:1194px; y2:25px; "/>
  826. <input id="input1" ref="/root/send/commitodd" class="input_search" inputtype="date" style="left:350px; top:5px; width:110px; height:19px; ">
  827. <script type="javascript" ev:event="xforms-value-changed">
  828. <![CDATA[
  829. submit("TRIIJ00153");
  830. ]]>
  831. </script>
  832. </input>
  833. <button id="button10" class="btn2_letter3" style="left:1080px; top:5px; width:53px; height:19px; ">
  834. <caption>출력</caption>
  835. </button>
  836. <input id="ipt_srchcnts" ref="/root/send/commifromdd" class="input_search" inputtype="date" style="left:215px; top:5px; width:110px; height:19px; ">
  837. <script type="javascript" ev:event="xforms-value-changed">
  838. <![CDATA[
  839. submit("TRIIJ00153");
  840. ]]>
  841. </script>
  842. </input>
  843. <caption id="caption5" style="left:330px; top:10px; width:20px; height:15px; ">~</caption>
  844. </case>
  845. <case id="case3">
  846. <datagrid id="grd_paperlist" nodeset="/root/main/membentry/item" caption="위원성명^팀^소속팀개최수^참석수^참석율" colsep="^" colwidth="100, 69, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:30px; width:1189px; height:655px; ">
  847. <col ref="usernm"/>
  848. <col ref="teamnm"/>
  849. <col ref="teamcnt"/>
  850. <col ref="entrycnt"/>
  851. <col ref="entryrate"/>
  852. </datagrid>
  853. <caption id="caption1" class="tit_2" style="left:10px; top:10px; width:140px; height:13px; ">위원출석현황</caption>
  854. <caption id="caption11" class="search_name" style="left:245px; top:5px; width:86px; height:17px; ">위원성명</caption>
  855. <select1 id="combo1" ref="/root/send/entryteam" appearance="minimal" style="left:180px; top:5px; width:60px; height:19px; ">
  856. <choices>
  857. <itemset nodeset="/root/main/commiteam/item">
  858. <label ref="teamnm"/>
  859. <value ref="teamcd"/>
  860. </itemset>
  861. </choices>
  862. <script type="javascript" ev:event="xforms-value-changed">
  863. <![CDATA[
  864. submit("TRIIJ00154");
  865. ]]>
  866. </script>
  867. </select1>
  868. <caption id="caption2" class="search_name" style="left:135px; top:5px; width:40px; height:17px; ">팀</caption>
  869. <button id="button9" class="btn2_letter3" style="left:1135px; top:5px; width:53px; height:19px; ">
  870. <caption>Excel</caption>
  871. </button>
  872. <line id="line2" class="line_1" style="x1:0px; y1:25px; x2:1189px; y2:25px; "/>
  873. <input id="input2" ref="/root/send/entrytodd" class="input_search" inputtype="date" style="left:650px; top:5px; width:110px; height:19px; ">
  874. <script type="javascript" ev:event="xforms-value-changed">
  875. <![CDATA[
  876. submit("TRIIJ00154");
  877. ]]>
  878. </script>
  879. </input>
  880. <caption id="caption7" class="search_name" style="left:435px; top:5px; width:86px; height:17px; ">조회일</caption>
  881. <caption id="caption8" style="left:630px; top:10px; width:20px; height:15px; ">~</caption>
  882. <input id="input3" ref="/root/send/entryfromdd" class="input_search" inputtype="date" style="left:515px; top:5px; width:110px; height:19px; ">
  883. <script type="javascript" ev:event="xforms-value-changed">
  884. <![CDATA[
  885. submit("TRIIJ00154");
  886. ]]>
  887. </script>
  888. </input>
  889. <button id="button12" class="btn2_letter3" style="left:1075px; top:5px; width:53px; height:19px; ">
  890. <caption>출력</caption>
  891. </button>
  892. <input id="input4" ref="/root/send/entrymembnm" class="input_search" style="left:325px; top:5px; width:105px; height:19px; ">
  893. <script type="javascript" ev:event="onkeydown">
  894. <![CDATA[
  895. submit("TRIIJ00154");
  896. ]]>
  897. </script>
  898. </input>
  899. </case>
  900. </switch>
  901. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:14px; ">
  902. <caption id="caption120" class="tit_1" style="left:0px; top:0px; width:158px; height:14px; ">IRB 심사위원회관리</caption>
  903. </group>
  904. <button id="btn_case1" class="btn_sw" group="tab" selected="true" style="left:2px; top:38px; width:120px; height:22px; ">
  905. <caption>IRB심사위원회관리</caption>
  906. <toggle case="case1" ev:event="onclick"/>
  907. </button>
  908. <button id="button2" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:122px; top:38px; width:120px; height:22px; ">
  909. <caption>심사팀이력</caption>
  910. <toggle case="case2" ev:event="onclick"/>
  911. </button>
  912. <button id="button3" class="btn_sw" visibility="hidden" group="tab" selected="false" style="left:242px; top:38px; width:120px; height:22px; ">
  913. <caption>위원출석현황</caption>
  914. <toggle case="case3" ev:event="onclick"/>
  915. </button>
  916. </xhtml:body>
  917. </xhtml:html>