PPRAC00700_설치장소HELP.xrw 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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. <custlist/>
  11. </main>
  12. <init>
  13. <refcond>
  14. <label>부서번호</label>
  15. <value>deptcd</value>
  16. <label>부서명</label>
  17. <value>deptnm</value>
  18. </refcond>
  19. </init>
  20. <send>
  21. <retrnm/>
  22. <refcond/>
  23. </send>
  24. <target/>
  25. </root>
  26. </instance>
  27. <script type="javascript" ev:event="xforms-ready">
  28. <![CDATA[
  29. fInit();
  30. ]]>
  31. </script>
  32. <script type="javascript">
  33. <![CDATA[
  34. function fInit()
  35. {
  36. rdo_refcond.select(0);
  37. model.removeNode("/root/main/custlist");
  38. if(instance1.selectNodes("/root/target/validation/custlist").length == 0)
  39. {
  40. btn_search.dispatch("DOMActivate");
  41. }
  42. else
  43. {
  44. model.copyNode("/root/main","/root/target/validation");
  45. model.refresh();
  46. }
  47. misfMsterDetailSet(grd_custlist, null, "TRRAC90701", "N");
  48. model.setFocus("ipt_refcond");
  49. rdo_refcond.value= 'deptnm';
  50. model.refresh();
  51. }
  52. ]]>
  53. </script>
  54. <submission id="TRRAC90701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main"/>
  55. </model>
  56. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  57. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  58. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  59. </xhtml:head>
  60. <xhtml:body pagewidth="700" pageheight="570" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  61. <group id="group3" scroll="auto" style="left:8px; top:5px; width:624px; height:559px; ">
  62. <group id="group2" style="left:0px; top:5px; width:620; height:35px; ">
  63. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:620; height:35px; "/>
  64. <input id="ipt_refcond" ref="/root/send/retrnm" class="input_s_essential" style="left:320px; top:8px; width:148px; height:19px; ">
  65. <script type="javascript" ev:event="onkeypress">
  66. <![CDATA[
  67. if(event.keyCode == 13)
  68. {
  69. ipt_refcond.value = ipt_refcond.currentText;
  70. btn_search.dispatch("DOMActivate");
  71. }
  72. ]]>
  73. </script>
  74. <script type="javascript" ev:event="xforms-value-changed">
  75. <![CDATA[
  76. if(ipt_refcond.value != "")
  77. {
  78. btn_search.dispatch("DOMActivate");
  79. }
  80. ]]>
  81. </script>
  82. </input>
  83. <button id="btn_search" class="btn1_letter2" style="left:549px; top:7px; width:56px; height:22px; ">
  84. <caption>조회</caption>
  85. <script type="javascript" ev:event="DOMActivate">
  86. <![CDATA[
  87. misfMsterDetailRetrieve();
  88. ]]>
  89. </script>
  90. </button>
  91. <line id="line13" class="line_4" style="x1:534px; y1:5px; x2:534px; y2:30px; border-color:#ffe4bb; border-left-style:solid; "/>
  92. <caption id="caption2" class="search_name" style="left:235px; top:9px; width:86px; height:17px; ">조회조건 :</caption>
  93. <caption id="caption3" class="search_name" style="left:15; top:9px; width:86px; height:17px; ">조회조건 :</caption>
  94. <select1 id="rdo_refcond" ref="/root/send/refcond" class="radio_search" appearance="full" cols="2" overflow="visible" style="left:100; top:9px; width:133px; height:20px; border-style:solid; ">
  95. <choices>
  96. <itemset nodeset="/root/init/refcond">
  97. <label ref="label"/>
  98. <value ref="value"/>
  99. </itemset>
  100. </choices>
  101. <script type="javascript" ev:event="xforms-select">
  102. <![CDATA[
  103. model.setFocus("ipt_refcond");
  104. ]]>
  105. </script>
  106. </select1>
  107. </group>
  108. <caption id="caption1" class="tit_2" style="left:5px; top:49px; width:145px; height:13px; ">설치장소리스트</caption>
  109. <line id="line1" class="line_1" style="x1:0px; y1:64px; x2:620px; y2:64px; "/>
  110. <datagrid id="grd_custlist" nodeset="/root/main/custlist" class="grd_custlist" caption="설치장소코드^설치장소^부서코드^부서명^관리자(정)ID^관리자(정)^관리자(부)ID^관리자(부)" colsep="^" colwidth="80, 130, 20, 140, 20, 90, 20, 90" dataheight="23" defaultrows="0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:69px; width:620px; height:456px; ">
  111. <col ref="installplcecd"/>
  112. <col ref="installplcenm"/>
  113. <col ref="deptcd" visibility="hidden"/>
  114. <col ref="deptnm"/>
  115. <col ref="mainmnger" visibility="hidden"/>
  116. <col ref="mainmngernm"/>
  117. <col ref="submnger" visibility="hidden"/>
  118. <col ref="submngernm"/>
  119. <script type="javascript" ev:event="ondblclick">
  120. <![CDATA[
  121. if( grd_custlist.isCell(event.target) && grd_custlist.row >= grd_custlist.fixedRows )
  122. {
  123. btn_confirm.dispatch("DOMActivate");
  124. }
  125. ]]>
  126. </script>
  127. </datagrid>
  128. <group id="group1" scroll="auto" style="left:0px; top:529px; width:620px; height:27px; ">
  129. <button id="btn_confirm" class="btn4_letter2" style="left:507px; top:5px; width:56px; height:22px; ">
  130. <caption>확인</caption>
  131. <script type="javascript" ev:event="DOMActivate">
  132. <![CDATA[
  133. misfPopUpListReturn(grd_custlist);
  134. ]]>
  135. </script>
  136. </button>
  137. <button id="btn_cancel" class="btn4_letter2" style="left:564px; top:5px; width:56px; height:22px; ">
  138. <caption>취소</caption>
  139. <script type="javascript" ev:event="DOMActivate">
  140. <![CDATA[
  141. window.close();
  142. ]]>
  143. </script>
  144. </button>
  145. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:620; y2:0px; "/>
  146. </group>
  147. </group>
  148. </xhtml:body>
  149. </xhtml:html>