SPRPV00500_평가분류세부코드HELP.xrw 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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>근무코드HELP</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <dutcd>
  11. <dutcdlist/>
  12. </dutcd>
  13. </main>
  14. <target/>
  15. <init>
  16. <refcond>
  17. <label>코드</label>
  18. <value>cdid</value>
  19. <label>코드명</label>
  20. <value>cdnm</value>
  21. </refcond>
  22. </init>
  23. <send>
  24. <dutcdref>
  25. <cdid/>
  26. <cdnm/>
  27. <refcond/>
  28. </dutcdref>
  29. </send>
  30. </root>
  31. </instance>
  32. <script type="javascript" ev:event="xforms-ready">
  33. <![CDATA[
  34. misfGridInit(grd_dutcdlist);
  35. misfMsterDetailSet(grd_dutcdlist,null,"TRRPC90301","Y");
  36. rdo_refcond.select(1);
  37. model.setFocus("ipt_refcond");
  38. ]]>
  39. </script>
  40. <submission id="TRRPC90301" ref="/root/send/dutcdref" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/dutcd"/>
  41. </model>
  42. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  43. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  45. </xhtml:head>
  46. <xhtml:body pagewidth="620" pageheight="560" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  47. <group id="group3" scroll="auto" style="left:8px; top:0px; width:580px; height:522px; ">
  48. <group id="group2" style="left:0px; top:5; width:580px; height:35; ">
  49. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:580px; height:35; "/>
  50. <input id="ipt_refcond" ref="/root/send/dutcdref/cdnm" class="input_s_essential" style="left:251px; top:8px; width:99px; height:19px; ">
  51. <script type="javascript" ev:event="onkeyup">
  52. <![CDATA[
  53. inputEnterKey("btn_search", "DOMActivate");
  54. ]]>
  55. </script>
  56. </input>
  57. <button id="btn_search" class="btn1_letter2" style="left:509px; top:7px; width:56px; height:22px; ">
  58. <caption>조회</caption>
  59. <script type="javascript" ev:event="DOMActivate">
  60. <![CDATA[
  61. if(rdo_refcond.value == "cdnm") {
  62. model.setValue("/root/send/dutcdref/cdnm",ipt_refcond.label);
  63. }
  64. else {
  65. model.setValue("/root/send/dutcdref/cdid",ipt_refcond.label);
  66. }
  67. submit("TRRPC90301");
  68. ]]>
  69. </script>
  70. </button>
  71. <line id="line13" class="line_4" style="x1:494px; y1:4px; x2:494px; y2:31px; border-color:#ffe4bb; border-left-style:solid; "/>
  72. <caption id="caption2" class="search_name" style="left:165px; top:9px; width:86px; height:17px; ">조회조건 :</caption>
  73. <select1 id="rdo_refcond" ref="/root/send/dutcdref/refcond" class="radio_search" overflow="visible" appearance="full" cols="2" style="left:15; top:9; width:125px; height:20px; border-style:solid; ">
  74. <choices>
  75. <itemset nodeset="/root/init/refcond">
  76. <label ref="label"/>
  77. <value ref="value"/>
  78. </itemset>
  79. </choices>
  80. <script type="javascript" ev:event="xforms-select">
  81. <![CDATA[
  82. if(rdo_refcond.value == "cdnm") {
  83. ipt_refcond.attribute("imemode") = "hangul";
  84. }
  85. else if (rdo_refcond.value == "cdid") {
  86. ipt_refcond.attribute("imemode") = "disabled";
  87. }
  88. else {
  89. ipt_refcond.attribute("imemode") = "disabled";
  90. }
  91. model.setFocus("ipt_refcond");
  92. ]]>
  93. </script>
  94. </select1>
  95. </group>
  96. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:118px; height:13px; ">공통 코드 리스트</caption>
  97. <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:580px; y2:64px; "/>
  98. <datagrid id="grd_dutcdlist" nodeset="/root/main/dutcd/dutcdlist" caption="코드^코드명" colwidth="128, 409" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" colsep="^" style="left:0px; top:69px; width:580px; height:448px; ">
  99. <col ref="cdid"/>
  100. <col ref="cdnm"/>
  101. <script type="javascript" ev:event="ondblclick">
  102. <![CDATA[
  103. if( grd_dutcdlist.isCell(event.target) && grd_dutcdlist.row >= grd_dutcdlist.fixedRows )
  104. {
  105. btn_confirm.dispatch("DOMActivate");
  106. }
  107. ]]>
  108. </script>
  109. </datagrid>
  110. </group>
  111. <group id="group1" scroll="auto" style="left:8px; top:521px; width:580px; height:27px; ">
  112. <button id="btn_confirm" class="btn4_letter2" style="left:466px; top:5px; width:56px; height:22px; ">
  113. <caption>확인</caption>
  114. <script type="javascript" ev:event="DOMActivate">
  115. <![CDATA[
  116. misfPopUpListReturn(grd_dutcdlist);
  117. ]]>
  118. </script>
  119. </button>
  120. <button id="btn_cancel" class="btn4_letter2" style="left:524px; top:5px; width:56px; height:22px; ">
  121. <caption>취소</caption>
  122. <close ev:event="DOMActivate"/>
  123. </button>
  124. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:580; y2:0px; "/>
  125. </group>
  126. </xhtml:body>
  127. </xhtml:html>