SPRPC90300_근무코드HELP.xrw 5.3 KB

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