SPATR00500_시험자조회.xrw 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. <orddrinfo>
  11. <info>
  12. <ordrid/>
  13. <ordrnm/>
  14. <empflag/>
  15. <orddeptnm/>
  16. <orddeptcd/>
  17. <subjno/>
  18. <subjid/>
  19. <stdyno/>
  20. </info>
  21. </orddrinfo>
  22. </main>
  23. <send>
  24. <srchinfo>
  25. <orddrid/>
  26. <orddrnm/>
  27. <subjno/>
  28. <stdyno/>
  29. </srchinfo>
  30. </send>
  31. <init/>
  32. <hidden>
  33. </hidden>
  34. </root>
  35. </instance>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  39. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  40. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  41. <script type="javascript" ev:event="xforms-ready">
  42. <![CDATA[
  43. var srchNm = opener.javascript.getParameter("SMATR00500_srchnm");
  44. var srchNo = opener.javascript.getParameter("SMATR00500_srchno");
  45. var srchCd = opener.javascript.getParameter("SMATR00500_srchcd");
  46. if( !isNull(srchNm) || !isNull(srchNo) || !isNull(srchCd) ){
  47. model.setValue("/root/send/srchinfo/orddrnm", srchNm);
  48. model.setValue("/root/send/srchinfo/subjno", srchNo);
  49. model.setValue("/root/send/srchinfo/stdyno", srchCd);
  50. submit("TRATR00501");
  51. }
  52. ]]>
  53. </script>
  54. <submission id="TRATR00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/orddrinfo"/>
  55. </model>
  56. </xhtml:head>
  57. <xhtml:body pagewidth="516" pageheight="400" guideline="2,-1;1,1194;2,784;2,757;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  58. <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:500px; height:364px; ">
  59. <caption id="caption1" class="tit_2" style="left:5px; top:1px; width:95px; height:13px; ">시험자 조회</caption>
  60. <line id="line1" class="line_1" style="x1:0px; y1:86px; x2:500px; y2:86px; "/>
  61. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:20px; width:500px; height:60px; "/>
  62. <caption id="caption2" class="search_name" style="left:15px; top:30px; width:99px; height:17px; ">시험자ID :</caption>
  63. <caption id="caption3" class="search_name" style="left:15px; top:54px; width:99px; height:17px; ">시험자명 :</caption>
  64. <input id="input1" ref="/root/send/srchinfo/orddrid" style="left:105px; top:30px; width:85px; height:19px; "/>
  65. <input id="input2" ref="/root/send/srchinfo/orddrnm" style="left:105px; top:54px; width:85px; height:19px; "/>
  66. <button id="button1" class="btn1_letter2" style="left:435px; top:41px; width:56px; height:22px; ">
  67. <caption>조회</caption>
  68. <script type="javascript" ev:event="DOMActivate">
  69. <![CDATA[
  70. submit("TRATR00501");
  71. ]]>
  72. </script>
  73. </button>
  74. <caption id="caption4" class="search_name" style="left:210px; top:30px; width:99px; height:17px; ">과제번호 :</caption>
  75. <caption id="caption5" class="search_name" style="left:210px; top:54px; width:99px; height:17px; ">연구코드 :</caption>
  76. <input id="input3" ref="/root/send/srchinfo/subjno" style="left:300px; top:30px; width:95px; height:19px; "/>
  77. <input id="input4" ref="/root/send/srchinfo/stdyno" style="left:300px; top:54px; width:95px; height:19px; "/>
  78. <line id="line2" class="line_4" style="x1:420px; y1:29px; x2:420px; y2:74px; "/>
  79. <datagrid id="grd_drlist" nodeset="/root/main/orddrinfo/info" allowselection="false" caption="시험자ID^시험자명^구분^진료과^진료과코드^과제번호^과제ID^연구번호" colsep="^" colwidth="115, 104, 45, 172, 14, 85, 86, 86" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="byrow" style="left:0px; top:91px; width:500px; height:269px; text-align:center; ">
  80. <col ref="empid" style="text-align:center; "/>
  81. <col ref="empnm" style="text-align:center; "/>
  82. <col disabled="true" ref="empflag" type="combo" visibility="hidden">
  83. <choices>
  84. <item>
  85. <label>입원</label>
  86. <value>F</value>
  87. </item>
  88. <item>
  89. <label>외래</label>
  90. <value>G</value>
  91. </item>
  92. </choices>
  93. </col>
  94. <col ref="deptnm" style="text-align:center; "/>
  95. <col ref="deptcd" visibility="hidden"/>
  96. <col ref="subjno" visibility="hidden" format="yyyy-mm-dd hh:dd:ss" style="text-align:center; "/>
  97. <col ref="subjid" visibility="hidden"/>
  98. <col ref="stdyno" visibility="hidden"/>
  99. <script type="javascript" ev:event="onclick">
  100. <![CDATA[
  101. ]]>
  102. </script>
  103. <script type="javascript" ev:event="ondblclick">
  104. <![CDATA[
  105. if( grd_drlist.isCell(event.target) && grd_drlist.row > 0 && grd_drlist.row <= grd_drlist.rows ){
  106. var id = model.getValue("/root/main/orddrinfo/info[" + grd_drlist.row + "]/empid");
  107. var nm = model.getValue("/root/main/orddrinfo/info[" + grd_drlist.row + "]/empnm");
  108. opener.javascript.setParameter("SMATR00500_rtnid", id);
  109. opener.javascript.setParameter("SMATR00500_rtnnm", nm);
  110. window.close();
  111. }
  112. ]]>
  113. </script>
  114. </datagrid>
  115. </group>
  116. <group id="grp_btn" scroll="auto" style="left:0px; top:361px; width:500px; height:27px; ">
  117. <button id="btn_cls" class="btn4_letter2" style="left:439px; top:5px; width:56px; height:22px; ">
  118. <caption>닫기</caption>
  119. <close ev:event="DOMActivate"/>
  120. </button>
  121. </group>
  122. </xhtml:body>
  123. </xhtml:html>