SPMNW17100_프로그램 도움말 조회.xrw 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>
  6. <![CDATA[프로그램 도움말 조회]]>
  7. </xhtml:title>
  8. <model id="model1">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <main>
  12. <helpinfo/>
  13. <cond>
  14. <gubun>T</gubun>
  15. <todd/>
  16. <fromdd/>
  17. <scrncd/>
  18. </cond>
  19. <iteminfo>
  20. <attfilenm/>
  21. <gubun/>
  22. <seqno/>
  23. </iteminfo>
  24. </main>
  25. <send/>
  26. <hidden/>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. if(checkOpener() ) {
  32. var scrncd = opener.javascript.getParameter("SCRNCD");
  33. }
  34. model.setValue("/root/main/cond/scrncd", scrncd );
  35. fgetHelpList2();
  36. ]]>
  37. </script>
  38. <submission id="TRMNW17001" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/hidden"/>
  39. <submission id="TRMNW17000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/helpinfo/helplist"/>
  40. </model>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  43. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  44. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  46. <script type="javascript" src="../../../emr/wardcareweb/js/SPMNW17000.js"/>
  47. </xhtml:head>
  48. <xhtml:body pagewidth="633" pageheight="430" guideline="1,944;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  49. <group id="group1" style="left:0px; top:0px; width:615px; height:13px; ">
  50. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:15px; ">프로그램 도움말 조회</caption>
  51. </group>
  52. <button id="button2" class="btn_sw" group="tab" selected="true" style="left:0px; top:20px; width:95px; height:22px; font-family:굴림; ">
  53. <caption>사용Tip</caption>
  54. <script type="javascript" ev:event="DOMActivate">
  55. <![CDATA[
  56. model.setValue("/root/main/cond/gubun","T");
  57. fgetHelpList2();
  58. ]]>
  59. </script>
  60. </button>
  61. <button id="button3" class="btn_sw" group="tab" style="left:95px; top:20px; width:95px; height:22px; font-family:굴림; ">
  62. <caption>
  63. <![CDATA[F&Q]]>
  64. </caption>
  65. <script type="javascript" ev:event="DOMActivate">
  66. <![CDATA[
  67. model.setValue("/root/main/cond/gubun","F");
  68. fgetHelpList2();
  69. ]]>
  70. </script>
  71. </button>
  72. <button id="button4" class="btn_sw" group="tab" style="left:190px; top:20px; width:95px; height:22px; font-family:굴림; ">
  73. <caption>추가 개발사항</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. model.setValue("/root/main/cond/gubun","A");
  77. fgetHelpList2();
  78. ]]>
  79. </script>
  80. </button>
  81. <input id="ipt_scrncd" ref="/root/main/cond/scrncd" visibility="hidden" style="left:510px; top:20px; width:105px; height:19px; "/>
  82. <select1 id="cmb_gubun" ref="/root/main/cond/gubun" visibility="hidden" appearance="minimal" style="left:405px; top:20px; width:100px; height:19px; ">
  83. <choices>
  84. <item>
  85. <label>사용Tip</label>
  86. <value>T</value>
  87. </item>
  88. <item>
  89. <label>
  90. <![CDATA[F&Q]]>
  91. </label>
  92. <value>F</value>
  93. </item>
  94. <item>
  95. <label>추가개발사항</label>
  96. <value>A</value>
  97. </item>
  98. </choices>
  99. </select1>
  100. <line id="line1" class="line_1" style="x1:0px; y1:40px; x2:615px; y2:40px; "/>
  101. <datagrid id="grd_help" nodeset="/root/main/helpinfo/helplist" autoresize="true" caption="도움말^첨부^seqno^화면코드^첨부파일명^첨부파일패스^작성자^작성자ID^등록일시^수정자^수정자아이디^수정일시^삭제여부^구분^화면코드^" colsep="^" colwidth="525, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:45px; width:615px; height:380px; ">
  102. <col ref="content"/>
  103. <col editable="false" ref="attyn" type="inputbutton" style="text-align:center; "/>
  104. <col ref="seqno" visibility="hidden"/>
  105. <col ref="attfilenm" visibility="hidden"/>
  106. <col ref="attfilepath" visibility="hidden"/>
  107. <col ref="fstrgstrnm" visibility="hidden" style="text-align:center; "/>
  108. <col ref="fstrgstrid" visibility="hidden"/>
  109. <col ref="fstrgstdt" visibility="hidden" format="yyyy/mm/dd hh:nn" style="text-align:center; "/>
  110. <col ref="lastupdtrnm" visibility="hidden"/>
  111. <col ref="lastupdtrid" visibility="hidden"/>
  112. <col ref="lastupdtdt" visibility="hidden" format="yyyy/mm/dd hh:nn"/>
  113. <col ref="delyn" visibility="hidden"/>
  114. <col disabled="true" ref="gubun" type="combo" visibility="hidden" style="text-align:center; ">
  115. <choices>
  116. <item>
  117. <label>사용Tip</label>
  118. <value>T</value>
  119. </item>
  120. <item>
  121. <label>
  122. <![CDATA[F&Q]]>
  123. </label>
  124. <value>F</value>
  125. </item>
  126. <item>
  127. <label>추가개발사항</label>
  128. <value>A</value>
  129. </item>
  130. </choices>
  131. </col>
  132. <col ref="scrncd" visibility="hidden"/>
  133. <script type="javascript" ev:event="onbuttonclick">
  134. <![CDATA[
  135. var attyn = grd_help.valueMatrix(grd_help.row, grd_help.colRef("attyn"));
  136. if(attyn == "Y" ){
  137. model.setValue("/root/main/iteminfo/attfilenm", grd_help.valueMatrix(grd_help.row, grd_help.colRef("attfilenm")));
  138. model.setValue("/root/main/iteminfo/gubun", grd_help.valueMatrix(grd_help.row, grd_help.colRef("gubun")));
  139. model.setValue("/root/main/iteminfo/seqno", grd_help.valueMatrix(grd_help.row, grd_help.colRef("seqno")));
  140. group2.visible = true;
  141. }else {
  142. messageBox("첨부파일이 없습니다.","E");
  143. return;
  144. }
  145. ]]>
  146. </script>
  147. </datagrid>
  148. <group id="group2" visibility="hidden" style="left:395px; top:90px; width:155px; height:45px; background-color:#ffcc00; ">
  149. <button id="btn_preview" class="btn2_letter4" navindex="6" style="left:10px; top:20px; width:64px; height:19px; ">
  150. <caption>미리보기</caption>
  151. <script type="javascript" ev:event="DOMActivate">
  152. <![CDATA[
  153. fFilePreview();
  154. group2.visible = false;
  155. ]]>
  156. </script>
  157. </button>
  158. <button id="button1" class="btn2_letter4" navindex="6" style="left:80px; top:20px; width:64px; height:19px; ">
  159. <caption>다운로드</caption>
  160. <script type="javascript" ev:event="DOMActivate">
  161. <![CDATA[
  162. fFileDown();
  163. group2.visible = false;
  164. ]]>
  165. </script>
  166. </button>
  167. <button id="button5" style="left:140px; top:0px; width:15px; height:20px; ">
  168. <caption>X</caption>
  169. <script type="javascript" ev:event="onclick">
  170. <![CDATA[
  171. group2.visible = false;
  172. ]]>
  173. </script>
  174. </button>
  175. </group>
  176. </xhtml:body>
  177. </xhtml:html>