SMRFE01800_기기별 수리이력조회.xrw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  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. <rfehemhtlist3/>
  11. </main>
  12. <send>
  13. <instcd/>
  14. <fixasetcd/>
  15. <fixasetnm/>
  16. <installplcecd/>
  17. <installplcenm/>
  18. <fixtrseqmtflag/>
  19. <goodmodel/>
  20. <winseqno/>
  21. <winseqnonm/>
  22. </send>
  23. <init>
  24. <fixtrseqmtflag>
  25. <label>비품</label>
  26. <value>G</value>
  27. <label>의료장비</label>
  28. <value>E</value>
  29. </fixtrseqmtflag>
  30. </init>
  31. </root>
  32. </instance>
  33. <submission id="TRRFE01801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/rfehemhtlist3"/>
  34. </model>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. //화면 Control을 초기화한다
  38. fInitialize();
  39. ]]>
  40. </script>
  41. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  42. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  43. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  44. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  47. <script type="javascript">
  48. <![CDATA[
  49. function fInitialize()
  50. {
  51. misfGridInit(grd_rfchcgmtlist);
  52. // misfComboComCdListMulti("Z0007", "cmb_instcd"); // 기관코드
  53. // misfGridComboComCdList("R0041", grd_chgnhistlist, "updtflag");
  54. // misfGridComboComCdList("R0047", grd_chgnhistlist, "curncyunit");
  55. //misfComboComCdListMulti("Z0007,R0041,R0041,R0047",
  56. //"cmb_instcd,cmb_updtflag,grd_rfchcgmtlist.updtflag,grd_rfchcgmtlist.curncyunit");
  57. misfComboComCdListMulti("Z0007",
  58. "cmb_instcd");
  59. // 대분류 코드 콤보 설정.
  60. //rszfLMSComboList(cmb_goodflag_search.value, "", "", "cmb_lrgcd_search", "", "L", "Y") ;
  61. // 현재 날짜 기본 입력(6개월 간격 설정)
  62. //var reqdate = getCurrentDate().toDate("YYYYMMDD");
  63. //model.setValue(ipt_reqdd1.attribute("ref"), reqdate.getAddDate(-6, "M").getDateFormat("YYYYMMDD") );
  64. //model.setValue(ipt_reqdd2.attribute("ref"), getCurrentDate());
  65. model.setValue(cmb_instcd.attribute("ref"), getUserInfo("dutplceinstcd")); // 기관 설정
  66. misfMsterDetailSet(grd_rfchcgmtlist, null, "TRRFE01801", "N");
  67. model.refresh();
  68. }
  69. ]]>
  70. </script>
  71. </xhtml:head>
  72. <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  73. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  74. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:155px; height:14px; ">기기별 수리이력 조회</caption>
  75. </group>
  76. <group id="grp_biz" scroll="auto" style="left:0px; top:40; width:1195px; height:744px; ">
  77. <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
  78. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  79. <button id="button1" class="btn1_letter2" navindex="13" style="left:1125px; top:20px; width:56px; height:22px; ">
  80. <caption>조회</caption>
  81. <script type="javascript" ev:event="DOMActivate">
  82. <![CDATA[
  83. if(!isRequiredControls("cmb_instcd")) return;
  84. submit("TRRFE01801");
  85. ]]>
  86. </script>
  87. </button>
  88. <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:55; border-color:#ffe4bb; border-left-style:solid; "/>
  89. <button id="btn_fixasetcd" class="icon_search" navindex="3" style="left:509px; top:11px; width:16px; height:16px; ">
  90. <caption/>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. var temp = "fixasetcd,fixasetnm";
  94. rszfOpenPopUpListByWndName(ipt_fixasetcd,"", temp, "SPRSD00240","instcd,fixtrseqmtflag","cmb_instcd,cmb_fixtrseqmtflag");
  95. model.refresh();
  96. ]]>
  97. </script>
  98. </button>
  99. <caption id="caption4" class="search_name" style="left:303px; top:9px; width:76px; height:17px; ">자산코드</caption>
  100. <input id="ipt_fixasetcd" ref="/root/send/fixasetcd" class="input_search" navindex="2" style="left:385px; top:8px; width:120px; height:19px; ">
  101. <script type="javascript" ev:event="xforms-value-changed">
  102. <![CDATA[
  103. if(ipt_fixasetcd.value != "")
  104. {
  105. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
  106. "fixasetcd," + cmb_instcd.value + "," + ipt_fixasetcd.value, "", "fixasetcd,fixasetnm",
  107. ipt_fixasetcd, "SPRSD00240_고정자산코드검색HELP","instcd,fixtrseqmtflag","cmb_instcd,cmb_fixtrseqmtflag");
  108. }else{
  109. ipt_fixasetnm.value = "";
  110. }
  111. model.refresh();
  112. ]]>
  113. </script>
  114. </input>
  115. <input id="ipt_fixasetnm" ref="/root/send/fixasetnm" class="input_search" navindex="4" style="left:530px; top:8px; width:225px; height:19px; ">
  116. <script type="javascript" ev:event="xforms-value-changed">
  117. <![CDATA[
  118. if(ipt_fixasetnm.value != "")
  119. {
  120. rszfValidationCheck("TRRSD00241", "rfcmfacdlist", "requirementcd,instcd,requirementnm",
  121. "goodflaghngnm," + cmb_instcd.value + "," + ipt_fixasetnm.value, "", "fixasetcd,fixasetnm",
  122. ipt_fixasetnm, "SPRSD00240_고정자산코드검색HELP", "instcd,fixtrseqmtflag","cmb_instcd,cmb_fixtrseqmtflag");
  123. }else{
  124. ipt_fixasetcd.value = "";
  125. }
  126. model.refresh();
  127. ]]>
  128. </script>
  129. </input>
  130. <button id="btn_winseqno" class="icon_search" navindex="6" style="left:929px; top:8px; width:16px; height:16px; ">
  131. <caption/>
  132. <script type="javascript" ev:event="DOMActivate">
  133. <![CDATA[
  134. misfOpenPopUpList("02", ipt_winseqno,"","winseqno,winseqnonm");
  135. model.refresh();
  136. ]]>
  137. </script>
  138. </button>
  139. <caption id="caption3" class="search_name" style="left:785px; top:9px; width:76px; height:17px; ">수리부서</caption>
  140. <input id="ipt_winseqnonm" ref="/root/send/winseqnonm" class="input_default" navindex="7" appearance="input" style="left:950px; top:8px; width:140px; height:19px; "/>
  141. <input id="ipt_winseqno" ref="/root/send/winseqno" class="input_search" navindex="5" visibility="visible" style="left:865px; top:8px; width:60px; height:19px; ">
  142. <script type="javascript" ev:event="xforms-value-changed">
  143. <![CDATA[
  144. if(ipt_winseqno.value == ""){
  145. ipt_winseqnonm.value = "";
  146. }else {
  147. misfValidationCheck("02", "", "winseqno,winseqnonm");
  148. }
  149. model.refresh();
  150. ]]>
  151. </script>
  152. </input>
  153. <caption id="caption8" class="search_name" style="left:15px; top:33px; width:76px; height:17px; ">설치장소</caption>
  154. <button id="btn_installplcecd" class="icon_search" navindex="9" style="left:221px; top:36px; width:16px; height:16px; ">
  155. <caption/>
  156. <script type="javascript" ev:event="DOMActivate">
  157. <![CDATA[
  158. misfOpenPopUpList("02", ipt_installplcecd,"","installplcecd,installplcenm");
  159. model.refresh();
  160. ]]>
  161. </script>
  162. </button>
  163. <input id="ipt_installplcenm" ref="/root/send/installplcenm" class="input_default" navindex="10" appearance="input" style="left:242px; top:33px; width:225px; height:19px; ">
  164. <script type="javascript" ev:event="xforms-value-changed">
  165. <![CDATA[
  166. if(ipt_installplcenm.value == ""){
  167. ipt_installplcecd.value = "";
  168. }else {
  169. misfValidationCheck("02", "", "installplcecd,installplcenm");
  170. }
  171. model.refresh();
  172. ]]>
  173. </script>
  174. </input>
  175. <input id="ipt_installplcecd" ref="/root/send/installplcecd" class="input_search" navindex="8" style="left:97px; top:33px; width:120px; height:19px; ">
  176. <script type="javascript" ev:event="xforms-value-changed">
  177. <![CDATA[
  178. if(ipt_installplcecd.value == ""){
  179. ipt_installplcenm.value = "";
  180. }else {
  181. misfValidationCheck("02", "", "installplcecd,installplcenm");
  182. }
  183. model.refresh();
  184. ]]>
  185. </script>
  186. </input>
  187. <caption id="caption2" class="search_name" style="left:503px; top:33px; width:64px; height:17px; ">모델명</caption>
  188. <input id="ipt_goodmodel_search" ref="/root/send/goodmodel" class="input_search" navindex="11" style="left:571px; top:33px; width:184; height:19px; "/>
  189. <caption id="caption5" class="search_name" style="left:15px; top:9px; width:76px; height:17px; ">기관코드</caption>
  190. <select1 id="cmb_instcd" ref="/root/send/instcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:97px; top:8px; width:171px; height:19px; text-align:center; ">
  191. <choices>
  192. <itemset>
  193. <label/>
  194. <value/>
  195. </itemset>
  196. </choices>
  197. </select1>
  198. <select1 id="cmb_fixtrseqmtflag" ref="/root/send/fixtrseqmtflag" class="combo_s_essential" navindex="12" visibility="hidden" appearance="minimal" style="left:800px; top:35px; width:45px; height:19px; ">
  199. <choices>
  200. <itemset nodeset="/root/init/fixtrseqmtflag">
  201. <label ref="label"/>
  202. <value ref="value"/>
  203. </itemset>
  204. </choices>
  205. <script type="javascript" ev:event="xforms-value-changed">
  206. <![CDATA[
  207. ipt_fixasetcd.value = "";
  208. ipt_fixasetnm.value = "";
  209. ]]>
  210. </script>
  211. </select1>
  212. </group>
  213. <caption id="caption1" class="tit_2" style="left:5px; top:81px; width:157px; height:14px; ">수리현황</caption>
  214. <line id="line1" class="line_1" style="x1:0px; y1:96px; x2:1194px; y2:96px; "/>
  215. <datagrid id="grd_rfchcgmtlist" nodeset="/root/main/rfehemhtlist3" caption="수리년도^종합건수^자체수리^대리점수리^부품공급^미가동일수^기타" colsep="^" colwidth="96, 225, 179, 154, 149, 166, 143" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" navindex="14" style="left:0px; top:105px; width:1194px; height:632px; ">
  216. <col ref="rpirdd" format="yyyy" style="text-align:center; "/>
  217. <col/>
  218. <col/>
  219. <col/>
  220. <col/>
  221. <col ref="nonworkdayno" style="text-align:center; "/>
  222. <col ref="cmt" type="input" style="text-align:left; "/>
  223. </datagrid>
  224. </group>
  225. <group id="group4" style="left:0px; top:13; width:1195px; height:27px; ">
  226. <button id="button26" class="btn3_letter4" navindex="16" visibility="hidden" style="left:59px; top:3px; width:80px; height:22px; ">
  227. <caption>화면이동</caption>
  228. </button>
  229. <button id="button27" class="btn6_letter2" navindex="15" visibility="hidden" style="left:0px; top:3; width:56px; height:22px; ">
  230. <caption>출력</caption>
  231. </button>
  232. <button id="button28" class="btn4_letter2" navindex="17" style="left:1067px; top:3px; width:56px; height:22px; ">
  233. <caption>저장</caption>
  234. </button>
  235. <button id="btn_init" class="btn4_letter3" navindex="18" style="left:1126px; top:3; width:68px; height:22px; ">
  236. <caption>초기화</caption>
  237. <script type="javascript" ev:event="DOMActivate">
  238. <![CDATA[
  239. fInitialize();
  240. ]]>
  241. </script>
  242. </button>
  243. <line id="line15" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  244. </group>
  245. </xhtml:body>
  246. </xhtml:html>