SPRSD00290_보건복지부코드HELP.xrw 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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>보건복지부코드 검색화면</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <welfprtlist>
  11. <welfprt/>
  12. <welfprtnm/>
  13. </welfprtlist>
  14. </main>
  15. <target/>
  16. <init>
  17. <refcond>
  18. <label>보건복지부코드</label>
  19. <value>welfprt</value>
  20. <label>보건복지부명칭</label>
  21. <value>welfprtnm</value>
  22. </refcond>
  23. </init>
  24. <send>
  25. <refcond/>
  26. <welfprtnm/>
  27. <welfprt/>
  28. </send>
  29. </root>
  30. </instance>
  31. <script type="javascript" ev:event="xforms-ready">
  32. <![CDATA[
  33. model.setValue(rdo_refcond.attribute("ref"),"welfprtnm");
  34. btn_search.dispatch("DOMActivate");
  35. model.setFocus("ipt_refcond");
  36. ]]>
  37. </script>
  38. <submission id="TRRSD00291" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main"/>
  39. </model>
  40. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  41. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  43. </xhtml:head>
  44. <xhtml:body pagewidth="631" pageheight="550" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  45. <group id="group3" scroll="auto" style="left:8px; top:0px; width:600px; height:540; ">
  46. <group id="group2" style="left:0px; top:5; width:600; height:35; ">
  47. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:600; height:35; "/>
  48. <input id="ipt_refcond" ref="/root/send/welfprtnm" class="input_s_essential" style="left:352px; top:8px; width:135px; height:19px; ">
  49. <script type="javascript" ev:event="onkeyup">
  50. <![CDATA[
  51. inputEnterKey("btn_search", "DOMActivate");
  52. ]]>
  53. </script>
  54. </input>
  55. <button id="btn_search" class="btn1_letter2" style="left:529px; top:6px; width:56px; height:22px; ">
  56. <caption>조회</caption>
  57. <script type="javascript" ev:event="DOMActivate">
  58. <![CDATA[
  59. if(rdo_refcond.value == "welfprtnm") {
  60. model.setValue("/root/send/welfprtnm",ipt_refcond.label);
  61. }
  62. else {
  63. model.setValue("/root/send/welfprt",ipt_refcond.label);
  64. }
  65. submit("TRRSD00291");
  66. ]]>
  67. </script>
  68. </button>
  69. <line id="line13" class="line_4" style="x1:514px; y1:2px; x2:514px; y2:31px; border-color:#ffe4bb; border-left-style:solid; "/>
  70. <caption id="caption2" class="search_name" style="left:267px; top:9px; width:86px; height:17px; ">조회조건 :</caption>
  71. <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:15; top:9; width:145px; height:20px; border-style:solid; ">
  72. <choices>
  73. <itemset nodeset="/root/init/refcond">
  74. <label ref="label"/>
  75. <value ref="value"/>
  76. </itemset>
  77. </choices>
  78. <script type="javascript" ev:event="xforms-select">
  79. <![CDATA[
  80. if(rdo_refcond.value == "welfprtnm") {
  81. ipt_refcond.attribute("imemode") = "welfprtnm";
  82. }
  83. else if (rdo_refcond.value == "welfprt") {
  84. ipt_refcond.attribute("imemode") = "disabled";
  85. }
  86. else {
  87. ipt_refcond.attribute("imemode") = "disabled";
  88. }
  89. model.setFocus("ipt_refcond");
  90. ]]>
  91. </script>
  92. </select1>
  93. </group>
  94. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:157px; height:14px; ">복지부 분류코드 리스트</caption>
  95. <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:600; y2:64px; "/>
  96. <group id="group1" scroll="auto" style="left:0px; top:513px; width:600; height:27px; ">
  97. <button id="btn_confirm" class="btn4_letter2" style="left:487px; top:5px; width:56px; height:22px; ">
  98. <caption>확인</caption>
  99. <script type="javascript" ev:event="DOMActivate">
  100. <![CDATA[
  101. misfPopUpListReturn(grd_welfprtlist);
  102. ]]>
  103. </script>
  104. </button>
  105. <button id="btn_cancel" class="btn4_letter2" style="left:544px; top:5px; width:56px; height:22px; ">
  106. <caption>취소</caption>
  107. <script type="javascript" ev:event="DOMActivate">
  108. <![CDATA[
  109. window.close();
  110. ]]>
  111. </script>
  112. </button>
  113. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:600; y2:0px; "/>
  114. </group>
  115. <datagrid id="grd_welfprtlist" nodeset="/root/main/welfprtlist" class="grd_prodcmpylist" caption="복지부분류코드^복지부 분류명칭" colwidth="172, 298" dataheight="23" defaultrows="0" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" colsep="^" tooltip="true" style="left:0px; top:69px; width:600px; height:440px; ">
  116. <col ref="welfprt"/>
  117. <col ref="welfprtnm"/>
  118. <script type="javascript" ev:event="ondblclick">
  119. <![CDATA[
  120. if( grd_welfprtlist.isCell( event.target ) && grd_welfprtlist.row >= grd_welfprtlist.fixedRows ) {
  121. btn_confirm.dispatch("DOMActivate");
  122. }
  123. ]]>
  124. </script>
  125. <script type="javascript" ev:event="onaftersort">
  126. <![CDATA[
  127. grd_welfprtlist.gridToInstance();
  128. ]]>
  129. </script>
  130. </datagrid>
  131. </group>
  132. </xhtml:body>
  133. </xhtml:html>